Revision 1070
Added by Matthias over 16 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
| 14 | 14 |
15-July 2009 Matthias Gallas |
| 15 |
! changed in wrapper modul modify.html to modify.htt |
|
| 15 | 16 |
# Fixed some validiation bugs in core and different modules (Thanks to luisehahne) |
| 16 | 17 |
# fixed display issue of jscalendar in news modul (Thanks to Aldus) |
| 17 | 18 |
! changed modules/admin.php to also make use of backend theme templates |
| trunk/wb/modules/wrapper/modify.html | ||
|---|---|---|
| 1 |
<!-- BEGIN main_block --> |
|
| 2 |
|
|
| 3 |
<form action="{WB_URL}/modules/wrapper/save.php" method="post">
|
|
| 4 |
|
|
| 5 |
<input type="hidden" name="page_id" value="{PAGE_ID}" />
|
|
| 6 |
<input type="hidden" name="section_id" value="{SECTION_ID}" />
|
|
| 7 |
|
|
| 8 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
|
| 9 |
<tr> |
|
| 10 |
<td align="left" width="50"> |
|
| 11 |
{TEXT_URL}:
|
|
| 12 |
</td> |
|
| 13 |
<td> |
|
| 14 |
<input type="text" name="url" value="{URL}" style="width: 100%;" />
|
|
| 15 |
</td> |
|
| 16 |
</tr> |
|
| 17 |
<tr> |
|
| 18 |
<td align="left" width="50"> |
|
| 19 |
{TEXT_HEIGHT}:
|
|
| 20 |
</td> |
|
| 21 |
<td> |
|
| 22 |
<input type="text" name="height" value="{HEIGHT}" maxlength="4" style="width: 100%;" />
|
|
| 23 |
</td> |
|
| 24 |
</tr> |
|
| 25 |
</table> |
|
| 26 |
|
|
| 27 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
|
| 28 |
<tr> |
|
| 29 |
<td align="left"> |
|
| 30 |
<input type="submit" value="{TEXT_SAVE}" style="width: 200px; margin-top: 5px;" />
|
|
| 31 |
</td> |
|
| 32 |
<td align="right"> |
|
| 33 |
</form> |
|
| 34 |
<input type="button" value="{TEXT_CANCEL}" onclick="javascript: window.location = 'index.php';" style="width: 100px; margin-top: 5px;" />
|
|
| 35 |
</td> |
|
| 36 |
</tr> |
|
| 37 |
</table> |
|
| 38 |
|
|
| 39 |
</form> |
|
| 40 |
|
|
| 41 |
<!-- END main_block --> |
|
| 42 | 0 | |
| trunk/wb/modules/wrapper/modify.htt | ||
|---|---|---|
| 1 |
<!-- BEGIN main_block --> |
|
| 2 |
|
|
| 3 |
<form action="{WB_URL}/modules/wrapper/save.php" method="post">
|
|
| 4 |
|
|
| 5 |
<input type="hidden" name="page_id" value="{PAGE_ID}" />
|
|
| 6 |
<input type="hidden" name="section_id" value="{SECTION_ID}" />
|
|
| 7 |
|
|
| 8 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
|
| 9 |
<tr> |
|
| 10 |
<td align="left" width="50"> |
|
| 11 |
{TEXT_URL}:
|
|
| 12 |
</td> |
|
| 13 |
<td> |
|
| 14 |
<input type="text" name="url" value="{URL}" style="width: 100%;" />
|
|
| 15 |
</td> |
|
| 16 |
</tr> |
|
| 17 |
<tr> |
|
| 18 |
<td align="left" width="50"> |
|
| 19 |
{TEXT_HEIGHT}:
|
|
| 20 |
</td> |
|
| 21 |
<td> |
|
| 22 |
<input type="text" name="height" value="{HEIGHT}" maxlength="4" style="width: 100%;" />
|
|
| 23 |
</td> |
|
| 24 |
</tr> |
|
| 25 |
</table> |
|
| 26 |
|
|
| 27 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
|
| 28 |
<tr> |
|
| 29 |
<td align="left"> |
|
| 30 |
<input type="submit" value="{TEXT_SAVE}" style="width: 200px; margin-top: 5px;" />
|
|
| 31 |
</td> |
|
| 32 |
<td align="right"> |
|
| 33 |
</form> |
|
| 34 |
<input type="button" value="{TEXT_CANCEL}" onclick="javascript: window.location = 'index.php';" style="width: 100px; margin-top: 5px;" />
|
|
| 35 |
</td> |
|
| 36 |
</tr> |
|
| 37 |
</table> |
|
| 38 |
|
|
| 39 |
</form> |
|
| 40 |
|
|
| 41 |
<!-- END main_block --> |
|
| 0 | 42 | |
| trunk/wb/modules/wrapper/modify.php | ||
|---|---|---|
| 25 | 25 |
|
| 26 | 26 |
// Setup template object |
| 27 | 27 |
$template = new Template(WB_PATH.'/modules/wrapper'); |
| 28 |
$template->set_file('page', 'modify.html');
|
|
| 28 |
$template->set_file('page', 'modify.htt');
|
|
| 29 | 29 |
$template->set_block('page', 'main_block', 'main');
|
| 30 | 30 |
|
| 31 | 31 |
// Get page content |
Also available in: Unified diff
changed in wrapper modul modify.html to modify.htt