Project

General

Profile

« Previous | Next » 

Revision 1006

Added by aldus almost 15 years ago

Changes on module "code": add the section_id to the name of the textarea,
to keep the functionality if you are using more than one code-section on a page.

View differences:

trunk/wb/modules/code/htt/modify.htt
1
{REGISTER_EDIT_AREA}
2

  
3
<!-- BEGIN main_block -->
4
<form action="{WB_URL}/modules/code/save.php" method="post">
5

  
6
<input type="hidden" name="page_id" value="{PAGE_ID}" />
7
<input type="hidden" name="section_id" value="{SECTION_ID}" />
8

  
9
<textarea id="content{SECTION}" name="content" style="WIDTH: 100%; HEIGHT: 380px">{CONTENT}</textarea>
10

  
11
<table cellpadding="0" cellspacing="0" border="0" width="100%">
12
<tr>
13
	<td align="left">
14
		<input type="submit" value="{TEXT_SAVE}" style="width: 100px; margin-top: 5px;" />
15
	</td>
16
	<td align="right">
17
		</form>
18
		<input type="button" value="{TEXT_CANCEL}" onclick="javascript: window.location = 'index.php';" style="width: 100px; margin-top: 5px;" />
19
	</td>
20
</tr>
21
</table>
22
</form>
23
<p>&nbsp;</p>
24
<!-- END main_block -->
0 25

  

Also available in: Unified diff