Hi Johannes,
Your best bet would be to install the java stack and migrate your 3.x query to 7.x version and do the modifications in an effortless ease.
If this is not what you want, you can use the program RS_TEMPLATE_MAINTAIN to get the HTML view of the web template and do the modifications. This is bit difficult and requires utmost care.
Br, Harish