openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 1913764781be492a20bf97a1d629427a1abb09fa
parent 0cfd2aef6581948d01aa9cb400904e934de24d08
Author: dankert <devnull@localhost>
Date:   Sat, 17 Nov 2007 03:27:03 +0100

Umwandlung aller Seiten vor Release.

Diffstat:
themes/default/pages/html/element/name.tpl.php | 2+-
themes/default/pages/html/element/properties.tpl.php | 2+-
themes/default/pages/html/element/remove.tpl.php | 4++--
themes/default/pages/html/element/type.tpl.php | 2+-
themes/default/pages/html/file/compress.tpl.php | 2+-
themes/default/pages/html/file/edit.tpl.php | 2+-
themes/default/pages/html/file/editvalue.tpl.php | 2+-
themes/default/pages/html/file/extract.tpl.php | 2+-
themes/default/pages/html/file/prop.tpl.php | 2+-
themes/default/pages/html/file/pub.tpl.php | 2+-
themes/default/pages/html/file/remove.tpl.php | 2+-
themes/default/pages/html/file/showprop.tpl.php | 2+-
themes/default/pages/html/file/size.tpl.php | 6+++---
themes/default/pages/html/file/uncompress.tpl.php | 2+-
themes/default/pages/html/folder/create.tpl.php | 298+++++++++++++++++++++++++++++++++++++++----------------------------------------
themes/default/pages/html/folder/createfile.tpl.php | 6+++---
themes/default/pages/html/folder/createfolder.tpl.php | 2+-
themes/default/pages/html/folder/createlink.tpl.php | 2+-
themes/default/pages/html/folder/createpage.tpl.php | 2+-
themes/default/pages/html/folder/edit.tpl.php | 2+-
themes/default/pages/html/folder/order.tpl.php | 2+-
themes/default/pages/html/folder/prop.tpl.php | 2+-
themes/default/pages/html/folder/pub.tpl.php | 4++--
themes/default/pages/html/folder/remove.tpl.php | 2+-
themes/default/pages/html/folder/select.tpl.php | 2+-
themes/default/pages/html/folder/show.tpl.php | 2+-
themes/default/pages/html/folder/showprop.tpl.php | 2+-
themes/default/pages/html/group/add.tpl.php | 2+-
themes/default/pages/html/group/adduser.tpl.php | 2+-
themes/default/pages/html/group/edit.tpl.php | 2+-
themes/default/pages/html/group/listing.tpl.php | 2+-
themes/default/pages/html/group/remove.tpl.php | 2+-
themes/default/pages/html/group/users.tpl.php | 2+-
themes/default/pages/html/index/applications.tpl.php | 2+-
themes/default/pages/html/index/changepassword.tpl.php | 2+-
themes/default/pages/html/index/password.tpl.php | 2+-
themes/default/pages/html/index/passwordcode.tpl.php | 2+-
themes/default/pages/html/index/projectmenu.tpl.php | 4++--
themes/default/pages/html/index/register.tpl.php | 2+-
themes/default/pages/html/index/registercode.tpl.php | 2+-
themes/default/pages/html/index/showlogin.tpl.php | 8++++----
themes/default/pages/html/language/add.tpl.php | 2+-
themes/default/pages/html/language/advanced.tpl.php | 2+-
themes/default/pages/html/language/edit.tpl.php | 2+-
themes/default/pages/html/language/listing.tpl.php | 2+-
themes/default/pages/html/language/remove.tpl.php | 2+-
themes/default/pages/html/link/edit.tpl.php | 2+-
themes/default/pages/html/link/prop.tpl.php | 2+-
themes/default/pages/html/link/remove.tpl.php | 2+-
themes/default/pages/html/link/showprop.tpl.php | 2+-
themes/default/pages/html/model/add.tpl.php | 2+-
themes/default/pages/html/model/edit.tpl.php | 2+-
themes/default/pages/html/model/listing.tpl.php | 2+-
themes/default/pages/html/model/remove.tpl.php | 2+-
themes/default/pages/html/page/changetemplate.tpl.php | 2+-
themes/default/pages/html/page/changetemplateselectelements.tpl.php | 2+-
themes/default/pages/html/page/el.tpl.php | 2+-
themes/default/pages/html/page/form.tpl.php | 4++--
themes/default/pages/html/page/prop.tpl.php | 2+-
themes/default/pages/html/page/pub.tpl.php | 2+-
themes/default/pages/html/page/showprop.tpl.php | 2+-
themes/default/pages/html/page/src.tpl.php | 2+-
themes/default/pages/html/pageelement/advanced.tpl.php | 306++++++++++++++++++++++---------------------------------------------------------
themes/default/pages/html/pageelement/archive.tpl.php | 2+-
themes/default/pages/html/pageelement/diff.tpl.php | 4++--
themes/default/pages/html/pageelement/edit.tpl.php | 294+++++++++++++++++++++----------------------------------------------------------
themes/default/pages/html/pageelement/export.tpl.php | 2+-
themes/default/pages/html/pageelement/import.tpl.php | 2+-
themes/default/pages/html/pageelement/link.tpl.php | 4++--
themes/default/pages/html/pageelement/show.tpl.php | 2+-
themes/default/pages/html/profile/confirmmail.tpl.php | 2+-
themes/default/pages/html/profile/edit.tpl.php | 4++--
themes/default/pages/html/profile/groups.tpl.php | 2+-
themes/default/pages/html/profile/mail.tpl.php | 4++--
themes/default/pages/html/profile/pwchange.tpl.php | 6+++---
themes/default/pages/html/project/add.tpl.php | 2+-
themes/default/pages/html/project/edit.tpl.php | 6+++---
themes/default/pages/html/project/export.tpl.php | 2+-
themes/default/pages/html/project/listing.tpl.php | 2+-
themes/default/pages/html/project/maintenance.tpl.php | 2+-
themes/default/pages/html/project/remove.tpl.php | 2+-
themes/default/pages/html/search/content.tpl.php | 2+-
themes/default/pages/html/search/prop.tpl.php | 6+++---
themes/default/pages/html/search/result.tpl.php | 2+-
themes/default/pages/html/template/add.tpl.php | 381+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
themes/default/pages/html/template/addel.tpl.php | 2+-
themes/default/pages/html/template/edit.tpl.php | 2+-
themes/default/pages/html/template/el.tpl.php | 2+-
themes/default/pages/html/template/extension.tpl.php | 2+-
themes/default/pages/html/template/listing.tpl.php | 2+-
themes/default/pages/html/template/name.tpl.php | 2+-
themes/default/pages/html/template/pages.tpl.php | 2+-
themes/default/pages/html/template/remove.tpl.php | 2+-
themes/default/pages/html/template/src.tpl.php | 2+-
themes/default/pages/html/template/srcelement.tpl.php | 565+++++++++++++++++++++++++++++++++++++++++++++++++------------------------------
themes/default/pages/html/treetitle/show.tpl.php | 2+-
themes/default/pages/html/user/add.tpl.php | 2+-
themes/default/pages/html/user/addgroup.tpl.php | 2+-
themes/default/pages/html/user/edit.tpl.php | 6+++---
themes/default/pages/html/user/groups.tpl.php | 2+-
themes/default/pages/html/user/listing.tpl.php | 2+-
themes/default/pages/html/user/pw.tpl.php | 6+++---
themes/default/pages/html/user/remove.tpl.php | 2+-
themes/default/pages/html/user/rights.tpl.php | 4++--
104 files changed, 1120 insertions(+), 974 deletions(-)

diff --git a/themes/default/pages/html/element/name.tpl.php b/themes/default/pages/html/element/name.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/element/properties.tpl.php b/themes/default/pages/html/element/properties.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/element/remove.tpl.php b/themes/default/pages/html/element/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -342,7 +342,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/element/type.tpl.php b/themes/default/pages/html/element/type.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/compress.tpl.php b/themes/default/pages/html/file/compress.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/edit.tpl.php b/themes/default/pages/html/file/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/editvalue.tpl.php b/themes/default/pages/html/file/editvalue.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/extract.tpl.php b/themes/default/pages/html/file/extract.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/prop.tpl.php b/themes/default/pages/html/file/prop.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/pub.tpl.php b/themes/default/pages/html/file/pub.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/remove.tpl.php b/themes/default/pages/html/file/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/showprop.tpl.php b/themes/default/pages/html/file/showprop.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/file/size.tpl.php b/themes/default/pages/html/file/size.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -172,7 +172,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:22:"message:IMAGE_NEW_SIZE";}' ?><?php $attr6 = array('title'=>lang('IMAGE_NEW_SIZE')) ?><?php $attr6_title=lang('IMAGE_NEW_SIZE') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:22:"message:IMAGE_NEW_SIZE";}' ?><?php $attr6 = array('title'=>lang('IMAGE_NEW_SIZE')) ?><?php $attr6_title=lang('IMAGE_NEW_SIZE') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -536,7 +536,7 @@ if ($attr6_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/file/uncompress.tpl.php b/themes/default/pages/html/file/uncompress.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/create.tpl.php b/themes/default/pages/html/folder/create.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -172,7 +172,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:14:"message:folder";}' ?><?php $attr6 = array('title'=>lang('folder')) ?><?php $attr6_title=lang('folder') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:14:"message:folder";}' ?><?php $attr6 = array('title'=>lang('folder')) ?><?php $attr6_title=lang('folder') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -291,11 +291,11 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:11:"type_folder";}' ?><?php $attr6 = array('for'=>'type_folder') ?><?php $attr6_for='type_folder' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:8:{s:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:11:"folder_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'name','default'=>'','type'=>'text','name'=>'folder_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr7_class='name' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='folder_name' ?><?php $attr7_size='30' ?><?php $attr7_maxlength='250' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if(!isset($attr7_default)) $attr7_default=''; -?><input<?php if ($attr7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr7_name ?><?php if ($attr7_readonly) echo '_disabled' ?>" name="<?php echo $attr7_name ?><?php if ($attr7_readonly) echo '_disabled' ?>" type="<?php echo $attr7_type ?>" size="<?php echo $attr7_size ?>" maxlength="<?php echo $attr7_maxlength ?>" class="<?php echo $attr7_class ?>" value="<?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" <?php if (in_array($attr7_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php -if ($attr7_readonly) { -?><input type="hidden" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" value="<?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" /><?php - } ?><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?php unset($attr7_type) ?><?php unset($attr7_name) ?><?php unset($attr7_size) ?><?php unset($attr7_maxlength) ?><?php unset($attr7_onchange) ?><?php unset($attr7_readonly) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:8:{s:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:11:"folder_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'folder_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='folder_name' ?><?php $attr6_size='30' ?><?php $attr6_maxlength='250' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if(!isset($attr6_default)) $attr6_default=''; +?><input<?php if ($attr6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" name="<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" type="<?php echo $attr6_type ?>" size="<?php echo $attr6_size ?>" maxlength="<?php echo $attr6_maxlength ?>" class="<?php echo $attr6_class ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php +if ($attr6_readonly) { +?><input type="hidden" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" /><?php + } ?><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_default) ?><?php unset($attr6_type) ?><?php unset($attr6_name) ?><?php unset($attr6_size) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_onchange) ?><?php unset($attr6_readonly) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -316,7 +316,7 @@ if ($attr7_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:file";}' ?><?php $attr6 = array('title'=>lang('file')) ?><?php $attr6_title=lang('file') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:file";}' ?><?php $attr6 = array('title'=>lang('file')) ?><?php $attr6_title=lang('file') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -435,20 +435,20 @@ if ($attr7_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"type_file";}' ?><?php $attr6 = array('for'=>'type_file') ?><?php $attr6_for='type_file' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:4:{s:4:"name";s:4:"file";s:5:"class";s:6:"upload";s:9:"maxlength";s:13:"var:maxlength";s:4:"size";s:2:"30";}' ?><?php $attr7 = array('name'=>'file','class'=>'upload','maxlength'=>$maxlength,'size'=>'30') ?><?php $attr7_name='file' ?><?php $attr7_class='upload' ?><?php $attr7_maxlength=$maxlength ?><?php $attr7_size='30' ?><input size="<?php echo $attr7_size ?>" id="id_<?php echo $attr7_name ?>" type="file" <?php if (isset($attr7_maxlength))echo ' maxlength="'.$attr7_maxlength.'"' ?> name="<?php echo $attr7_name ?>" class="<?php echo $attr7_class ?>" /><?php unset($attr7) ?><?php unset($attr7_name) ?><?php unset($attr7_class) ?><?php unset($attr7_maxlength) ?><?php unset($attr7_size) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"help";s:4:"text";s:21:"message:file_max_size";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'help','text'=>lang('file_max_size'),'escape'=>true) ?><?php $attr7_class='help' ?><?php $attr7_text=lang('file_max_size') ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:4:{s:4:"name";s:4:"file";s:5:"class";s:6:"upload";s:9:"maxlength";s:13:"var:maxlength";s:4:"size";s:2:"30";}' ?><?php $attr6 = array('name'=>'file','class'=>'upload','maxlength'=>$maxlength,'size'=>'30') ?><?php $attr6_name='file' ?><?php $attr6_class='upload' ?><?php $attr6_maxlength=$maxlength ?><?php $attr6_size='30' ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" /><?php unset($attr6) ?><?php unset($attr6_name) ?><?php unset($attr6_class) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_size) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"help";s:4:"text";s:21:"message:file_max_size";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'help','text'=>lang('file_max_size'),'escape'=>true) ?><?php $attr6_class='help' ?><?php $attr6_text=lang('file_max_size') ?><?php $attr6_escape=true ?><?php + if ( isset($attr6_prefix)&& isset($attr6_key)) + $attr6_key = $attr6_prefix.$attr6_key; + if ( isset($attr6_suffix)&& isset($attr6_key)) + $attr6_key = $attr6_key.$attr6_suffix; + if(empty($attr6_title)) + if (!empty($attr6_key)) + $attr6_title = lang($attr6_key.'_HELP'); else - $attr7_title = ''; - if (empty($attr7_type)) + $attr6_title = ''; + if (empty($attr6_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr6_type ) { case 'emphatic': case 'italic': @@ -465,59 +465,59 @@ if ($attr7_readonly) { default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php + $attr6_title = ''; + if (!empty($attr6_array)) { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; + $tmpArray = $$attr6_array; + if (!empty($attr6_var)) + $tmp_text = $tmpArray[$attr6_var]; else - $tmp_text = lang($tmpArray[$attr7_text]); + $tmp_text = lang($tmpArray[$attr6_text]); } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); + elseif (!empty($attr6_text)) + if ( isset($$attr6_text)) + $tmp_text = lang($$attr6_text); else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + $tmp_text = lang($attr6_text); + elseif (!empty($attr6_textvar)) + $tmp_text = lang($$attr6_textvar); + elseif (!empty($attr6_key)) + $tmp_text = lang($attr6_key); + elseif (!empty($attr6_var)) + $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?'; + elseif (!empty($attr6_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr6_raw); + elseif (!empty($attr6_value)) + $tmp_text = $attr6_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr6_escape && empty($attr6_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) ); + if (isset($attr6_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_raw='_' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); +?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_text) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_raw='_' ?><?php $attr6_escape=true ?><?php + if ( isset($attr6_prefix)&& isset($attr6_key)) + $attr6_key = $attr6_prefix.$attr6_key; + if ( isset($attr6_suffix)&& isset($attr6_key)) + $attr6_key = $attr6_key.$attr6_suffix; + if(empty($attr6_title)) + if (!empty($attr6_key)) + $attr6_title = lang($attr6_key.'_HELP'); else - $attr7_title = ''; - if (empty($attr7_type)) + $attr6_title = ''; + if (empty($attr6_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr6_type ) { case 'emphatic': case 'italic': @@ -534,59 +534,59 @@ if ($attr7_readonly) { default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php + $attr6_title = ''; + if (!empty($attr6_array)) { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; + $tmpArray = $$attr6_array; + if (!empty($attr6_var)) + $tmp_text = $tmpArray[$attr6_var]; else - $tmp_text = lang($tmpArray[$attr7_text]); + $tmp_text = lang($tmpArray[$attr6_text]); } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); + elseif (!empty($attr6_text)) + if ( isset($$attr6_text)) + $tmp_text = lang($$attr6_text); else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + $tmp_text = lang($attr6_text); + elseif (!empty($attr6_textvar)) + $tmp_text = lang($$attr6_textvar); + elseif (!empty($attr6_key)) + $tmp_text = lang($attr6_key); + elseif (!empty($attr6_var)) + $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?'; + elseif (!empty($attr6_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr6_raw); + elseif (!empty($attr6_value)) + $tmp_text = $attr6_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr6_escape && empty($attr6_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) ); + if (isset($attr6_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_raw) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"var:max_size";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>$max_size,'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text=$max_size ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); +?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"var:max_size";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>$max_size,'escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text=$max_size ?><?php $attr6_escape=true ?><?php + if ( isset($attr6_prefix)&& isset($attr6_key)) + $attr6_key = $attr6_prefix.$attr6_key; + if ( isset($attr6_suffix)&& isset($attr6_key)) + $attr6_key = $attr6_key.$attr6_suffix; + if(empty($attr6_title)) + if (!empty($attr6_key)) + $attr6_title = lang($attr6_key.'_HELP'); else - $attr7_title = ''; - if (empty($attr7_type)) + $attr6_title = ''; + if (empty($attr6_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr6_type ) { case 'emphatic': case 'italic': @@ -603,46 +603,46 @@ if ($attr7_readonly) { default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php + $attr6_title = ''; + if (!empty($attr6_array)) { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; + $tmpArray = $$attr6_array; + if (!empty($attr6_var)) + $tmp_text = $tmpArray[$attr6_var]; else - $tmp_text = lang($tmpArray[$attr7_text]); + $tmp_text = lang($tmpArray[$attr6_text]); } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); + elseif (!empty($attr6_text)) + if ( isset($$attr6_text)) + $tmp_text = lang($$attr6_text); else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + $tmp_text = lang($attr6_text); + elseif (!empty($attr6_textvar)) + $tmp_text = lang($$attr6_textvar); + elseif (!empty($attr6_key)) + $tmp_text = lang($attr6_key); + elseif (!empty($attr6_var)) + $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?'; + elseif (!empty($attr6_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr6_raw); + elseif (!empty($attr6_value)) + $tmp_text = $attr6_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr6_escape && empty($attr6_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) ); + if (isset($attr6_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_text) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -663,7 +663,7 @@ if ($attr7_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:page";}' ?><?php $attr6 = array('title'=>lang('page')) ?><?php $attr6_title=lang('page') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:page";}' ?><?php $attr6 = array('title'=>lang('page')) ?><?php $attr6_title=lang('page') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -782,32 +782,32 @@ if ($attr7_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"type_page";}' ?><?php $attr6 = array('for'=>'type_page') ?><?php $attr6_for='type_page' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:9:"templates";s:4:"name";s:15:"page_templateid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'templates','name'=>'page_templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='templates' ?><?php $attr7_name='page_templateid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php -if ($attr7_addempty) $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list; -?><select id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name; if ($attr7_multiple) echo '[]'; ?>" onchange="<?php echo $attr7_onchange ?>" title="<?php echo $attr7_title ?>" class="<?php echo $attr7_class ?>"<?php -if (count($$attr7_list)<=1) echo ' disabled="disabled"'; -if ($attr7_multiple) echo ' multiple="multiple"'; -if (in_array($attr7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($attr7_size).'"'; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:8:{s:4:"list";s:9:"templates";s:4:"name";s:15:"page_templateid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr6 = array('list'=>'templates','name'=>'page_templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr6_list='templates' ?><?php $attr6_name='page_templateid' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php +if ($attr6_addempty) $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list; +?><select id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name; if ($attr6_multiple) echo '[]'; ?>" onchange="<?php echo $attr6_onchange ?>" title="<?php echo $attr6_title ?>" class="<?php echo $attr6_class ?>"<?php +if (count($$attr6_list)<=1) echo ' disabled="disabled"'; +if ($attr6_multiple) echo ' multiple="multiple"'; +if (in_array($attr6_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; +echo ' size="'.intval($attr6_size).'"'; ?>><?php - $attr7_tmp_list = $$attr7_list; - if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) ) - $attr7_tmp_default = $$attr7_name; - elseif ( isset($attr7_default) ) - $attr7_tmp_default = $attr7_default; + $attr6_tmp_list = $$attr6_list; + if ( isset($$attr6_name) && isset($attr6_tmp_list[$$attr6_name]) ) + $attr6_tmp_default = $$attr6_name; + elseif ( isset($attr6_default) ) + $attr6_tmp_default = $attr6_default; else - $attr7_tmp_default = ''; - foreach( $attr7_tmp_list as $box_key=>$box_value ) + $attr6_tmp_default = ''; + foreach( $attr6_tmp_list as $box_key=>$box_value ) { - echo '<option class="'.$attr7_class.'" value="'.$box_key.'"'; - if ($box_key==$attr7_tmp_default) + echo '<option class="'.$attr6_class.'" value="'.$box_key.'"'; + if ($box_key==$attr6_tmp_default) echo ' selected="selected"'; echo '>'.$box_value.'</option>'; } ?></select><?php -if (count($$attr7_list)==0) echo '<input type="hidden" name="'.$attr7_name.'" value="" />'; -if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" value="'.$box_key.'" />' -?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" value="" />'; +if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />' +?><?php unset($attr6) ?><?php unset($attr6_list) ?><?php unset($attr6_name) ?><?php unset($attr6_onchange) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_addempty) ?><?php unset($attr6_multiple) ?><?php unset($attr6_size) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -919,11 +919,11 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"type_page";}' ?><?php $attr6 = array('for'=>'type_page') ?><?php $attr6_for='type_page' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:8:{s:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:9:"page_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'name','default'=>'','type'=>'text','name'=>'page_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr7_class='name' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='page_name' ?><?php $attr7_size='30' ?><?php $attr7_maxlength='250' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if(!isset($attr7_default)) $attr7_default=''; -?><input<?php if ($attr7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr7_name ?><?php if ($attr7_readonly) echo '_disabled' ?>" name="<?php echo $attr7_name ?><?php if ($attr7_readonly) echo '_disabled' ?>" type="<?php echo $attr7_type ?>" size="<?php echo $attr7_size ?>" maxlength="<?php echo $attr7_maxlength ?>" class="<?php echo $attr7_class ?>" value="<?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" <?php if (in_array($attr7_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php -if ($attr7_readonly) { -?><input type="hidden" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" value="<?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" /><?php - } ?><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?php unset($attr7_type) ?><?php unset($attr7_name) ?><?php unset($attr7_size) ?><?php unset($attr7_maxlength) ?><?php unset($attr7_onchange) ?><?php unset($attr7_readonly) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:8:{s:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:9:"page_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'page_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='page_name' ?><?php $attr6_size='30' ?><?php $attr6_maxlength='250' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if(!isset($attr6_default)) $attr6_default=''; +?><input<?php if ($attr6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" name="<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" type="<?php echo $attr6_type ?>" size="<?php echo $attr6_size ?>" maxlength="<?php echo $attr6_maxlength ?>" class="<?php echo $attr6_class ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php +if ($attr6_readonly) { +?><input type="hidden" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" /><?php + } ?><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_default) ?><?php unset($attr6_type) ?><?php unset($attr6_name) ?><?php unset($attr6_size) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_onchange) ?><?php unset($attr6_readonly) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -944,7 +944,7 @@ if ($attr7_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:link";}' ?><?php $attr6 = array('title'=>lang('link')) ?><?php $attr6_title=lang('link') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:link";}' ?><?php $attr6 = array('title'=>lang('link')) ?><?php $attr6_title=lang('link') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -1063,11 +1063,7 @@ if ($attr7_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"type_link";}' ?><?php $attr6 = array('for'=>'type_link') ?><?php $attr6_for='type_link' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:8:{s:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:9:"link_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'name','default'=>'','type'=>'text','name'=>'link_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr7_class='name' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='link_name' ?><?php $attr7_size='30' ?><?php $attr7_maxlength='250' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if(!isset($attr7_default)) $attr7_default=''; -?><input<?php if ($attr7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr7_name ?><?php if ($attr7_readonly) echo '_disabled' ?>" name="<?php echo $attr7_name ?><?php if ($attr7_readonly) echo '_disabled' ?>" type="<?php echo $attr7_type ?>" size="<?php echo $attr7_size ?>" maxlength="<?php echo $attr7_maxlength ?>" class="<?php echo $attr7_class ?>" value="<?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" <?php if (in_array($attr7_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php -if ($attr7_readonly) { -?><input type="hidden" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" value="<?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" /><?php - } ?><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?php unset($attr7_type) ?><?php unset($attr7_name) ?><?php unset($attr7_size) ?><?php unset($attr7_maxlength) ?><?php unset($attr7_onchange) ?><?php unset($attr7_readonly) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/folder/createfile.tpl.php b/themes/default/pages/html/folder/createfile.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -172,7 +172,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:file";}' ?><?php $attr6 = array('title'=>lang('file')) ?><?php $attr6_title=lang('file') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:12:"message:file";}' ?><?php $attr6 = array('title'=>lang('file')) ?><?php $attr6_title=lang('file') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -522,7 +522,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:19:"message:description";}' ?><?php $attr6 = array('title'=>lang('description')) ?><?php $attr6_title=lang('description') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:19:"message:description";}' ?><?php $attr6 = array('title'=>lang('description')) ?><?php $attr6_title=lang('description') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/folder/createfolder.tpl.php b/themes/default/pages/html/folder/createfolder.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/createlink.tpl.php b/themes/default/pages/html/folder/createlink.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/createpage.tpl.php b/themes/default/pages/html/folder/createpage.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/edit.tpl.php b/themes/default/pages/html/folder/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/order.tpl.php b/themes/default/pages/html/folder/order.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/prop.tpl.php b/themes/default/pages/html/folder/prop.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/pub.tpl.php b/themes/default/pages/html/folder/pub.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -733,7 +733,7 @@ if ( $attr8_readonly && $checked ) $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/folder/remove.tpl.php b/themes/default/pages/html/folder/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/select.tpl.php b/themes/default/pages/html/folder/select.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/show.tpl.php b/themes/default/pages/html/folder/show.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/folder/showprop.tpl.php b/themes/default/pages/html/folder/showprop.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/group/add.tpl.php b/themes/default/pages/html/group/add.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/group/adduser.tpl.php b/themes/default/pages/html/group/adduser.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/group/edit.tpl.php b/themes/default/pages/html/group/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/group/listing.tpl.php b/themes/default/pages/html/group/listing.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/group/remove.tpl.php b/themes/default/pages/html/group/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/group/users.tpl.php b/themes/default/pages/html/group/users.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/applications.tpl.php b/themes/default/pages/html/index/applications.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/changepassword.tpl.php b/themes/default/pages/html/index/changepassword.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/password.tpl.php b/themes/default/pages/html/index/password.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/passwordcode.tpl.php b/themes/default/pages/html/index/passwordcode.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/projectmenu.tpl.php b/themes/default/pages/html/index/projectmenu.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -195,7 +195,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:8:"var:name";}' ?><?php $attr6 = array('title'=>$name) ?><?php $attr6_title=$name ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:8:"var:name";}' ?><?php $attr6 = array('title'=>$name) ?><?php $attr6_title=$name ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/index/register.tpl.php b/themes/default/pages/html/index/register.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/registercode.tpl.php b/themes/default/pages/html/index/registercode.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/index/showlogin.tpl.php b/themes/default/pages/html/index/showlogin.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -1569,7 +1569,7 @@ if ($attr8_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) $attr7['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:25:"message:USER_NEW_PASSWORD";}' ?><?php $attr8 = array('title'=>lang('USER_NEW_PASSWORD')) ?><?php $attr8_title=lang('USER_NEW_PASSWORD') ?><fieldset><legend><?php echo $attr8_title ?></legend><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php +?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:25:"message:USER_NEW_PASSWORD";}' ?><?php $attr8 = array('title'=>lang('USER_NEW_PASSWORD')) ?><?php $attr8_title=lang('USER_NEW_PASSWORD') ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo $attr8_title ?></legend><?php } ?><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -1853,7 +1853,7 @@ if ($attr8_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) $attr7['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:14:"message:OPENID";}' ?><?php $attr8 = array('title'=>lang('OPENID')) ?><?php $attr8_title=lang('OPENID') ?><fieldset><legend><?php echo $attr8_title ?></legend><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php +?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:14:"message:OPENID";}' ?><?php $attr8 = array('title'=>lang('OPENID')) ?><?php $attr8_title=lang('OPENID') ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo $attr8_title ?></legend><?php } ?><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -2184,7 +2184,7 @@ if ($attr8_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) ) $attr8['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr8 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr8) ?><?php unset($attr8_colspan) ?><?php $attr9_debug_info = 'a:1:{s:5:"title";s:16:"message:DATABASE";}' ?><?php $attr9 = array('title'=>lang('DATABASE')) ?><?php $attr9_title=lang('DATABASE') ?><fieldset><legend><?php echo $attr9_title ?></legend><?php unset($attr9) ?><?php unset($attr9_title) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></fieldset><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></td><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></tr><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php +?><td <?php foreach( $attr8 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr8) ?><?php unset($attr8_colspan) ?><?php $attr9_debug_info = 'a:1:{s:5:"title";s:16:"message:DATABASE";}' ?><?php $attr9 = array('title'=>lang('DATABASE')) ?><?php $attr9_title=lang('DATABASE') ?><fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo $attr9_title ?></legend><?php } ?><?php unset($attr9) ?><?php unset($attr9_title) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></fieldset><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></td><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></tr><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; diff --git a/themes/default/pages/html/language/add.tpl.php b/themes/default/pages/html/language/add.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/language/advanced.tpl.php b/themes/default/pages/html/language/advanced.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/language/edit.tpl.php b/themes/default/pages/html/language/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/language/listing.tpl.php b/themes/default/pages/html/language/listing.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/language/remove.tpl.php b/themes/default/pages/html/language/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/link/edit.tpl.php b/themes/default/pages/html/link/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/link/prop.tpl.php b/themes/default/pages/html/link/prop.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/link/remove.tpl.php b/themes/default/pages/html/link/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/link/showprop.tpl.php b/themes/default/pages/html/link/showprop.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/model/add.tpl.php b/themes/default/pages/html/model/add.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/model/edit.tpl.php b/themes/default/pages/html/model/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/model/listing.tpl.php b/themes/default/pages/html/model/listing.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/model/remove.tpl.php b/themes/default/pages/html/model/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/changetemplate.tpl.php b/themes/default/pages/html/page/changetemplate.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/changetemplateselectelements.tpl.php b/themes/default/pages/html/page/changetemplateselectelements.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/el.tpl.php b/themes/default/pages/html/page/el.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/form.tpl.php b/themes/default/pages/html/page/form.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -1121,7 +1121,7 @@ if (count($$attr9_list)==1) echo '<input type="hidden" name="'.$attr9_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) ) $attr8['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr8 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr8) ?><?php unset($attr8_colspan) ?><?php $attr9_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr9 = array('title'=>lang('options')) ?><?php $attr9_title=lang('options') ?><fieldset><legend><?php echo $attr9_title ?></legend><?php unset($attr9) ?><?php unset($attr9_title) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></fieldset><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></td><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></tr><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr5 = array('present'=>'release') ?><?php $attr5_present='release' ?><?php +?><td <?php foreach( $attr8 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr8) ?><?php unset($attr8_colspan) ?><?php $attr9_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr9 = array('title'=>lang('options')) ?><?php $attr9_title=lang('options') ?><fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo $attr9_title ?></legend><?php } ?><?php unset($attr9) ?><?php unset($attr9_title) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></fieldset><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></td><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></tr><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr5 = array('present'=>'release') ?><?php $attr5_present='release' ?><?php if ( isset($attr5_true) ) { if (gettype($attr5_true) === '' && gettype($attr5_true) === '1') diff --git a/themes/default/pages/html/page/prop.tpl.php b/themes/default/pages/html/page/prop.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/pub.tpl.php b/themes/default/pages/html/page/pub.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/showprop.tpl.php b/themes/default/pages/html/page/showprop.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/page/src.tpl.php b/themes/default/pages/html/page/src.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/pageelement/advanced.tpl.php b/themes/default/pages/html/pageelement/advanced.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -3833,7 +3833,7 @@ document.forms[0].<?php echo $attr7_field ?>.select(); $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) $attr7['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:7:"options";}' ?><?php $attr8 = array('title'=>'options') ?><?php $attr8_title='options' ?><fieldset><legend><?php echo $attr8_title ?></legend><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr4 = array('present'=>'release') ?><?php $attr4_present='release' ?><?php +?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:7:"options";}' ?><?php $attr8 = array('title'=>'options') ?><?php $attr8_title='options' ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo $attr8_title ?></legend><?php } ?><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr4 = array('present'=>'release') ?><?php $attr4_present='release' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') @@ -3925,20 +3925,20 @@ if ( $attr7_readonly && $checked ) { ?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php } -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_raw='_' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); - else - $attr7_title = ''; - if (empty($attr7_type)) +?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:7:"release";}' ?><?php $attr7 = array('for'=>'release') ?><?php $attr7_for='release' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_RELEASE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_RELEASE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_RELEASE' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); + else + $attr8_title = ''; + if (empty($attr8_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr8_type ) { case 'emphatic': case 'italic': @@ -3955,115 +3955,46 @@ if ( $attr7_readonly && $checked ) default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = lang($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); - else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; - else - $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) - $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; + else + $tmp_text = lang($tmpArray[$attr8_text]); } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_raw) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_RELEASE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_RELEASE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_RELEASE' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); - else - $attr7_title = ''; - if (empty($attr7_type)) - $tmp_tag = 'span'; - else - switch( $attr7_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = lang($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); - else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); + else + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"publish";}' ?><?php $attr4 = array('present'=>'publish') ?><?php $attr4_present='publish' ?><?php +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"publish";}' ?><?php $attr4 = array('present'=>'publish') ?><?php $attr4_present='publish' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') @@ -4155,20 +4086,20 @@ if ( $attr7_readonly && $checked ) { ?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php } -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_raw='_' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); - else - $attr7_title = ''; - if (empty($attr7_type)) +?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:7:"publish";}' ?><?php $attr7 = array('for'=>'publish') ?><?php $attr7_for='publish' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:23:"PAGE_PUBLISH_AFTER_SAVE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'PAGE_PUBLISH_AFTER_SAVE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='PAGE_PUBLISH_AFTER_SAVE' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); + else + $attr8_title = ''; + if (empty($attr8_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr8_type ) { case 'emphatic': case 'italic': @@ -4185,115 +4116,46 @@ if ( $attr7_readonly && $checked ) default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = lang($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); - else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; - else - $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) - $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; + else + $tmp_text = lang($tmpArray[$attr8_text]); } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_raw) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:23:"PAGE_PUBLISH_AFTER_SAVE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'PAGE_PUBLISH_AFTER_SAVE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='PAGE_PUBLISH_AFTER_SAVE' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); - else - $attr7_title = ''; - if (empty($attr7_type)) - $tmp_tag = 'span'; - else - switch( $attr7_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = lang($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); - else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); + else + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/pageelement/archive.tpl.php b/themes/default/pages/html/pageelement/archive.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/pageelement/diff.tpl.php b/themes/default/pages/html/pageelement/diff.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -614,7 +614,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:4:{s:4:"list";s:4:"diff";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr4 = array('list'=>'diff','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='diff' ?><?php $attr4_extract=true ?><?php $attr4_key='list_key' ?><?php $attr4_value='list_value' ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:4:{s:4:"list";s:4:"diff";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr4 = array('list'=>'diff','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='diff' ?><?php $attr4_extract=true ?><?php $attr4_key='list_key' ?><?php $attr4_value='list_value' ?><?php $attr4_list_tmp_key = $attr4_key; $attr4_list_tmp_value = $attr4_value; $attr4_list_extract = $attr4_extract; diff --git a/themes/default/pages/html/pageelement/edit.tpl.php b/themes/default/pages/html/pageelement/edit.tpl.php @@ -142,7 +142,7 @@ if ($attr3_readonly) { <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -1091,7 +1091,7 @@ document.forms[0].<?php echo $attr7_field ?>.select(); $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) $attr7['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr8 = array('title'=>lang('options')) ?><?php $attr8_title=lang('options') ?><fieldset><legend><?php echo $attr8_title ?></legend><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr4 = array('present'=>'release') ?><?php $attr4_present='release' ?><?php +?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr8 = array('title'=>lang('options')) ?><?php $attr8_title=lang('options') ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo $attr8_title ?></legend><?php } ?><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr4 = array('present'=>'release') ?><?php $attr4_present='release' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') @@ -1183,20 +1183,20 @@ if ( $attr7_readonly && $checked ) { ?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php } -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_raw='_' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); +?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:7:"release";}' ?><?php $attr7 = array('for'=>'release') ?><?php $attr7_for='release' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_RELEASE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_RELEASE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_RELEASE' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); else - $attr7_title = ''; - if (empty($attr7_type)) + $attr8_title = ''; + if (empty($attr8_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr8_type ) { case 'emphatic': case 'italic': @@ -1213,115 +1213,46 @@ if ( $attr7_readonly && $checked ) default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; else - $tmp_text = lang($tmpArray[$attr7_text]); + $tmp_text = lang($tmpArray[$attr8_text]); } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_raw) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_RELEASE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_RELEASE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_RELEASE' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); - else - $attr7_title = ''; - if (empty($attr7_type)) - $tmp_tag = 'span'; - else - switch( $attr7_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = lang($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); - else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; - else - $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) - $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"publish";}' ?><?php $attr4 = array('present'=>'publish') ?><?php $attr4_present='publish' ?><?php +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"publish";}' ?><?php $attr4 = array('present'=>'publish') ?><?php $attr4_present='publish' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') @@ -1413,89 +1344,20 @@ if ( $attr7_readonly && $checked ) { ?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php } -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_raw='_' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); - else - $attr7_title = ''; - if (empty($attr7_type)) - $tmp_tag = 'span'; - else - switch( $attr7_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = lang($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); - else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; - else - $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) - $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_raw) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:23:"PAGE_PUBLISH_AFTER_SAVE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'PAGE_PUBLISH_AFTER_SAVE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='PAGE_PUBLISH_AFTER_SAVE' ?><?php $attr7_escape=true ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - if (!empty($attr7_key)) - $attr7_title = lang($attr7_key.'_HELP'); +?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:7:"publish";}' ?><?php $attr7 = array('for'=>'publish') ?><?php $attr7_for='publish' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:23:"PAGE_PUBLISH_AFTER_SAVE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'PAGE_PUBLISH_AFTER_SAVE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='PAGE_PUBLISH_AFTER_SAVE' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); else - $attr7_title = ''; - if (empty($attr7_type)) + $attr8_title = ''; + if (empty($attr8_type)) $tmp_tag = 'span'; else - switch( $attr7_type ) + switch( $attr8_type ) { case 'emphatic': case 'italic': @@ -1512,46 +1374,46 @@ if ( $attr7_readonly && $checked ) default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if (!empty($attr7_array)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; else - $tmp_text = lang($tmpArray[$attr7_text]); + $tmp_text = lang($tmpArray[$attr8_text]); } - elseif (!empty($attr7_text)) - if ( isset($$attr7_text)) - $tmp_text = lang($$attr7_text); + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); else - $tmp_text = lang($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = lang($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = lang($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; else $tmp_text = '&nbsp;'; - if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/pageelement/export.tpl.php b/themes/default/pages/html/pageelement/export.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/pageelement/import.tpl.php b/themes/default/pages/html/pageelement/import.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/pageelement/link.tpl.php b/themes/default/pages/html/pageelement/link.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -430,7 +430,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) $attr7['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:7:"options";}' ?><?php $attr8 = array('title'=>'options') ?><?php $attr8_title='options' ?><fieldset><legend><?php echo $attr8_title ?></legend><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr4 = array('present'=>'release') ?><?php $attr4_present='release' ?><?php +?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:1:{s:5:"title";s:7:"options";}' ?><?php $attr8 = array('title'=>'options') ?><?php $attr8_title='options' ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo $attr8_title ?></legend><?php } ?><?php unset($attr8) ?><?php unset($attr8_title) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></fieldset><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></tr><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:7:"release";}' ?><?php $attr4 = array('present'=>'release') ?><?php $attr4_present='release' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') diff --git a/themes/default/pages/html/pageelement/show.tpl.php b/themes/default/pages/html/pageelement/show.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/profile/confirmmail.tpl.php b/themes/default/pages/html/profile/confirmmail.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/profile/edit.tpl.php b/themes/default/pages/html/profile/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -512,7 +512,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/profile/groups.tpl.php b/themes/default/pages/html/profile/groups.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/profile/mail.tpl.php b/themes/default/pages/html/profile/mail.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -193,7 +193,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:17:"message:user_mail";}' ?><?php $attr6 = array('title'=>lang('user_mail')) ?><?php $attr6_title=lang('user_mail') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:17:"message:user_mail";}' ?><?php $attr6 = array('title'=>lang('user_mail')) ?><?php $attr6_title=lang('user_mail') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/profile/pwchange.tpl.php b/themes/default/pages/html/profile/pwchange.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -193,7 +193,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:25:"message:user_act_password";}' ?><?php $attr6 = array('title'=>lang('user_act_password')) ?><?php $attr6_title=lang('user_act_password') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:25:"message:user_act_password";}' ?><?php $attr6 = array('title'=>lang('user_act_password')) ?><?php $attr6_title=lang('user_act_password') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -315,7 +315,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:25:"message:user_new_password";}' ?><?php $attr6 = array('title'=>lang('user_new_password')) ?><?php $attr6_title=lang('user_new_password') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:25:"message:user_new_password";}' ?><?php $attr6 = array('title'=>lang('user_new_password')) ?><?php $attr6_title=lang('user_new_password') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/project/add.tpl.php b/themes/default/pages/html/project/add.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/project/edit.tpl.php b/themes/default/pages/html/project/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -487,7 +487,7 @@ if ($attr6_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:19:"message:project_FTP";}' ?><?php $attr6 = array('title'=>lang('project_FTP')) ?><?php $attr6_title=lang('project_FTP') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:19:"message:project_FTP";}' ?><?php $attr6 = array('title'=>lang('project_FTP')) ?><?php $attr6_title=lang('project_FTP') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -724,7 +724,7 @@ if ( $attr6_readonly && $checked ) $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/project/export.tpl.php b/themes/default/pages/html/project/export.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/project/listing.tpl.php b/themes/default/pages/html/project/listing.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/project/maintenance.tpl.php b/themes/default/pages/html/project/maintenance.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/project/remove.tpl.php b/themes/default/pages/html/project/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/search/content.tpl.php b/themes/default/pages/html/search/content.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/search/prop.tpl.php b/themes/default/pages/html/search/prop.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -172,7 +172,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:19:"message:global_user";}' ?><?php $attr6 = array('title'=>lang('global_user')) ?><?php $attr6_title=lang('global_user') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:19:"message:global_user";}' ?><?php $attr6 = array('title'=>lang('global_user')) ?><?php $attr6_title=lang('global_user') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -402,7 +402,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:24:"message:MENU_SEARCH_PROP";}' ?><?php $attr6 = array('title'=>lang('MENU_SEARCH_PROP')) ?><?php $attr6_title=lang('MENU_SEARCH_PROP') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:24:"message:MENU_SEARCH_PROP";}' ?><?php $attr6 = array('title'=>lang('MENU_SEARCH_PROP')) ?><?php $attr6_title=lang('MENU_SEARCH_PROP') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/search/result.tpl.php b/themes/default/pages/html/search/result.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/add.tpl.php b/themes/default/pages/html/template/add.tpl.php @@ -43,7 +43,7 @@ <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php if ( $conf['interface']['url_sessionid'] ) echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_target) ?><?php unset($attr2_method) ?><?php unset($attr2_enctype) ?><?php $attr3_debug_info = 'a:4:{s:4:"name";s:16:"GLOBAL_TEMPLATES";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('name'=>'GLOBAL_TEMPLATES','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_TEMPLATES' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php +?><?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_target) ?><?php unset($attr2_method) ?><?php unset($attr2_enctype) ?><?php $attr3_debug_info = 'a:5:{s:4:"name";s:16:"GLOBAL_TEMPLATES";s:6:"widths";s:9:"10px,40px";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('name'=>'GLOBAL_TEMPLATES','widths'=>'10px,40px','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_TEMPLATES' ?><?php $attr3_widths='10px,40px' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php $coloumn_widths=array(); if (!empty($attr3_widths)) { @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -151,7 +151,7 @@ <?php } ?> <tr> <td> - <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr3) ?><?php unset($attr3_name) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php + <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr3) ?><?php unset($attr3_name) ?><?php unset($attr3_widths) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -161,7 +161,7 @@ global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php +?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -172,7 +172,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"message:name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>lang('name'),'escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text=lang('name') ?><?php $attr6_escape=true ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"message:name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>lang('name'),'escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text=lang('name') ?><?php $attr6_escape=true ?><?php if ( isset($attr6_prefix)&& isset($attr6_key)) $attr6_key = $attr6_prefix.$attr6_key; if ( isset($attr6_suffix)&& isset($attr6_key)) @@ -266,6 +266,27 @@ if ($attr6_readonly) { global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; +?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:7:"colspan";s:1:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php + $row_class_idx++; + if ($row_class_idx > count($row_classes)) + $row_class_idx=1; + $row_class=$row_classes[$row_class_idx-1]; + if (empty($attr4_class)) + $attr4_class=$row_class; + global $cell_column_nr; + $cell_column_nr=0; + $column_class_idx = 999; ?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) @@ -277,20 +298,38 @@ if ($attr6_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"message:copy";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>lang('copy'),'escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text=lang('copy') ?><?php $attr6_escape=true ?><?php - if ( isset($attr6_prefix)&& isset($attr6_key)) - $attr6_key = $attr6_prefix.$attr6_key; - if ( isset($attr6_suffix)&& isset($attr6_key)) - $attr6_key = $attr6_key.$attr6_suffix; - if(empty($attr6_title)) - if (!empty($attr6_key)) - $attr6_title = lang($attr6_key.'_HELP'); +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:5:"empty";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr6 = array('readonly'=>false,'name'=>'type','value'=>'empty','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='empty' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php + if ( isset($$attr6_name) ) + $attr6_tmp_default = $$attr6_name; + elseif ( isset($attr6_default) ) + $attr6_tmp_default = $attr6_default; else - $attr6_title = ''; - if (empty($attr6_type)) + $attr6_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php unset($attr6_value) ?><?php unset($attr6_default) ?><?php unset($attr6_prefix) ?><?php unset($attr6_suffix) ?><?php unset($attr6_class) ?><?php unset($attr6_onchange) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:10:"type_empty";}' ?><?php $attr6 = array('for'=>'type_empty') ?><?php $attr6_for='type_empty' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"message:empty";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>lang('empty'),'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text=lang('empty') ?><?php $attr7_escape=true ?><?php + if ( isset($attr7_prefix)&& isset($attr7_key)) + $attr7_key = $attr7_prefix.$attr7_key; + if ( isset($attr7_suffix)&& isset($attr7_key)) + $attr7_key = $attr7_key.$attr7_suffix; + if(empty($attr7_title)) + if (!empty($attr7_key)) + $attr7_title = lang($attr7_key.'_HELP'); + else + $attr7_title = ''; + if (empty($attr7_type)) $tmp_tag = 'span'; else - switch( $attr6_type ) + switch( $attr7_type ) { case 'emphatic': case 'italic': @@ -307,46 +346,298 @@ if ($attr6_readonly) { default: $tmp_tag = 'span'; } -?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php - $attr6_title = ''; - if (!empty($attr6_array)) +?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php + $attr7_title = ''; + if (!empty($attr7_array)) { - $tmpArray = $$attr6_array; - if (!empty($attr6_var)) - $tmp_text = $tmpArray[$attr6_var]; + $tmpArray = $$attr7_array; + if (!empty($attr7_var)) + $tmp_text = $tmpArray[$attr7_var]; else - $tmp_text = lang($tmpArray[$attr6_text]); + $tmp_text = lang($tmpArray[$attr7_text]); } - elseif (!empty($attr6_text)) - if ( isset($$attr6_text)) - $tmp_text = lang($$attr6_text); + elseif (!empty($attr7_text)) + if ( isset($$attr7_text)) + $tmp_text = lang($$attr7_text); else - $tmp_text = lang($attr6_text); - elseif (!empty($attr6_textvar)) - $tmp_text = lang($$attr6_textvar); - elseif (!empty($attr6_key)) - $tmp_text = lang($attr6_key); - elseif (!empty($attr6_var)) - $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?'; - elseif (!empty($attr6_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr6_raw); - elseif (!empty($attr6_value)) - $tmp_text = $attr6_value; + $tmp_text = lang($attr7_text); + elseif (!empty($attr7_textvar)) + $tmp_text = lang($$attr7_textvar); + elseif (!empty($attr7_key)) + $tmp_text = lang($attr7_key); + elseif (!empty($attr7_var)) + $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; + elseif (!empty($attr7_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr7_raw); + elseif (!empty($attr7_value)) + $tmp_text = $attr7_value; else $tmp_text = '&nbsp;'; - if ( $attr6_escape && empty($attr6_raw) && $tmp_text!='&nbsp;' ) + if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) $tmp_text = htmlentities($tmp_text); - if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) ); - if (isset($attr6_accesskey)) + if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); + if (isset($attr7_accesskey)) { - $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey)); + $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); if ( $pos !== false ) $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } echo $tmp_text; unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_text) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php +?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php + $row_class_idx++; + if ($row_class_idx > count($row_classes)) + $row_class_idx=1; + $row_class=$row_classes[$row_class_idx-1]; + if (empty($attr4_class)) + $attr4_class=$row_class; + global $cell_column_nr; + $cell_column_nr=0; + $column_class_idx = 999; +?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"copy";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr6 = array('readonly'=>false,'name'=>'type','value'=>'copy','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='copy' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php + if ( isset($$attr6_name) ) + $attr6_tmp_default = $$attr6_name; + elseif ( isset($attr6_default) ) + $attr6_tmp_default = $attr6_default; + else + $attr6_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php unset($attr6_value) ?><?php unset($attr6_default) ?><?php unset($attr6_prefix) ?><?php unset($attr6_suffix) ?><?php unset($attr6_class) ?><?php unset($attr6_onchange) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"type_copy";}' ?><?php $attr6 = array('for'=>'type_copy') ?><?php $attr6_for='type_copy' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"message:copy";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>lang('copy'),'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text=lang('copy') ?><?php $attr7_escape=true ?><?php + if ( isset($attr7_prefix)&& isset($attr7_key)) + $attr7_key = $attr7_prefix.$attr7_key; + if ( isset($attr7_suffix)&& isset($attr7_key)) + $attr7_key = $attr7_key.$attr7_suffix; + if(empty($attr7_title)) + if (!empty($attr7_key)) + $attr7_title = lang($attr7_key.'_HELP'); + else + $attr7_title = ''; + if (empty($attr7_type)) + $tmp_tag = 'span'; + else + switch( $attr7_type ) + { + case 'emphatic': + case 'italic': + $tmp_tag = 'em'; + break; + case 'strong': + case 'bold': + $tmp_tag = 'strong'; + break; + case 'tt': + case 'teletype': + $tmp_tag = 'tt'; + break; + default: + $tmp_tag = 'span'; + } +?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php + $attr7_title = ''; + if (!empty($attr7_array)) + { + $tmpArray = $$attr7_array; + if (!empty($attr7_var)) + $tmp_text = $tmpArray[$attr7_var]; + else + $tmp_text = lang($tmpArray[$attr7_text]); + } + elseif (!empty($attr7_text)) + if ( isset($$attr7_text)) + $tmp_text = lang($$attr7_text); + else + $tmp_text = lang($attr7_text); + elseif (!empty($attr7_textvar)) + $tmp_text = lang($$attr7_textvar); + elseif (!empty($attr7_key)) + $tmp_text = lang($attr7_key); + elseif (!empty($attr7_var)) + $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; + elseif (!empty($attr7_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr7_raw); + elseif (!empty($attr7_value)) + $tmp_text = $attr7_value; + else + $tmp_text = '&nbsp;'; + if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + $tmp_text = htmlentities($tmp_text); + if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); + if (isset($attr7_accesskey)) + { + $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + if ( $pos !== false ) + $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + } + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:4:"list";s:9:"templates";s:4:"name";s:10:"templateid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr6 = array('list'=>'templates','name'=>'templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr6_list='templates' ?><?php $attr6_name='templateid' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php +if ($attr6_addempty) $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list; +?><select id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name; if ($attr6_multiple) echo '[]'; ?>" onchange="<?php echo $attr6_onchange ?>" title="<?php echo $attr6_title ?>" class="<?php echo $attr6_class ?>"<?php +if (count($$attr6_list)<=1) echo ' disabled="disabled"'; +if ($attr6_multiple) echo ' multiple="multiple"'; +if (in_array($attr6_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; +echo ' size="'.intval($attr6_size).'"'; +?>><?php + $attr6_tmp_list = $$attr6_list; + if ( isset($$attr6_name) && isset($attr6_tmp_list[$$attr6_name]) ) + $attr6_tmp_default = $$attr6_name; + elseif ( isset($attr6_default) ) + $attr6_tmp_default = $attr6_default; + else + $attr6_tmp_default = ''; + foreach( $attr6_tmp_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr6_class.'" value="'.$box_key.'"'; + if ($box_key==$attr6_tmp_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" value="" />'; +if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />' +?><?php unset($attr6) ?><?php unset($attr6_list) ?><?php unset($attr6_name) ?><?php unset($attr6_onchange) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_addempty) ?><?php unset($attr6_multiple) ?><?php unset($attr6_size) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php + $row_class_idx++; + if ($row_class_idx > count($row_classes)) + $row_class_idx=1; + $row_class=$row_classes[$row_class_idx-1]; + if (empty($attr4_class)) + $attr4_class=$row_class; + global $cell_column_nr; + $cell_column_nr=0; + $column_class_idx = 999; +?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:7:"example";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr6 = array('readonly'=>false,'name'=>'type','value'=>'example','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='example' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php + if ( isset($$attr6_name) ) + $attr6_tmp_default = $$attr6_name; + elseif ( isset($attr6_default) ) + $attr6_tmp_default = $attr6_default; + else + $attr6_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php unset($attr6_value) ?><?php unset($attr6_default) ?><?php unset($attr6_prefix) ?><?php unset($attr6_suffix) ?><?php unset($attr6_class) ?><?php unset($attr6_onchange) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr5_class)) + $attr5['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) + $attr5['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:12:"type_example";}' ?><?php $attr6 = array('for'=>'type_example') ?><?php $attr6_for='type_example' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"message:example";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>lang('example'),'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text=lang('example') ?><?php $attr7_escape=true ?><?php + if ( isset($attr7_prefix)&& isset($attr7_key)) + $attr7_key = $attr7_prefix.$attr7_key; + if ( isset($attr7_suffix)&& isset($attr7_key)) + $attr7_key = $attr7_key.$attr7_suffix; + if(empty($attr7_title)) + if (!empty($attr7_key)) + $attr7_title = lang($attr7_key.'_HELP'); + else + $attr7_title = ''; + if (empty($attr7_type)) + $tmp_tag = 'span'; + else + switch( $attr7_type ) + { + case 'emphatic': + case 'italic': + $tmp_tag = 'em'; + break; + case 'strong': + case 'bold': + $tmp_tag = 'strong'; + break; + case 'tt': + case 'teletype': + $tmp_tag = 'tt'; + break; + default: + $tmp_tag = 'span'; + } +?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php + $attr7_title = ''; + if (!empty($attr7_array)) + { + $tmpArray = $$attr7_array; + if (!empty($attr7_var)) + $tmp_text = $tmpArray[$attr7_var]; + else + $tmp_text = lang($tmpArray[$attr7_text]); + } + elseif (!empty($attr7_text)) + if ( isset($$attr7_text)) + $tmp_text = lang($$attr7_text); + else + $tmp_text = lang($attr7_text); + elseif (!empty($attr7_textvar)) + $tmp_text = lang($$attr7_textvar); + elseif (!empty($attr7_key)) + $tmp_text = lang($attr7_key); + elseif (!empty($attr7_var)) + $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?'; + elseif (!empty($attr7_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr7_raw); + elseif (!empty($attr7_value)) + $tmp_text = $attr7_value; + else + $tmp_text = '&nbsp;'; + if ( $attr7_escape && empty($attr7_raw) && $tmp_text!='&nbsp;' ) + $tmp_text = htmlentities($tmp_text); + if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); + if (isset($attr7_accesskey)) + { + $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); + if ( $pos !== false ) + $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + } + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -357,7 +648,7 @@ if ($attr6_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:4:"list";s:9:"templates";s:4:"name";s:10:"templateid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:4:"true";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr6 = array('list'=>'templates','name'=>'templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>true,'multiple'=>false,'size'=>'1') ?><?php $attr6_list='templates' ?><?php $attr6_name='templateid' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=true ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:4:"list";s:8:"examples";s:4:"name";s:7:"example";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr6 = array('list'=>'examples','name'=>'example','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr6_list='examples' ?><?php $attr6_name='example' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php if ($attr6_addempty) $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list; ?><select id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name; if ($attr6_multiple) echo '[]'; ?>" onchange="<?php echo $attr6_onchange ?>" title="<?php echo $attr6_title ?>" class="<?php echo $attr6_class ?>"<?php if (count($$attr6_list)<=1) echo ' disabled="disabled"'; @@ -392,7 +683,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'2') ?><?php $attr5_class='act' ?><?php $attr5_colspan='2' ?><?php +?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; diff --git a/themes/default/pages/html/template/addel.tpl.php b/themes/default/pages/html/template/addel.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/edit.tpl.php b/themes/default/pages/html/template/edit.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/el.tpl.php b/themes/default/pages/html/template/el.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/extension.tpl.php b/themes/default/pages/html/template/extension.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/listing.tpl.php b/themes/default/pages/html/template/listing.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/name.tpl.php b/themes/default/pages/html/template/name.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/pages.tpl.php b/themes/default/pages/html/template/pages.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/remove.tpl.php b/themes/default/pages/html/template/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/src.tpl.php b/themes/default/pages/html/template/src.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/template/srcelement.tpl.php b/themes/default/pages/html/template/srcelement.tpl.php @@ -43,7 +43,7 @@ <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php if ( $conf['interface']['url_sessionid'] ) echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_target) ?><?php unset($attr2_method) ?><?php unset($attr2_enctype) ?><?php $attr3_debug_info = 'a:3:{s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php +?><?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_target) ?><?php unset($attr2_method) ?><?php unset($attr2_enctype) ?><?php $attr3_debug_info = 'a:4:{s:6:"widths";s:10:"10px,150px";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('widths'=>'10px,150px','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_widths='10px,150px' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php $coloumn_widths=array(); if (!empty($attr3_widths)) { @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -151,7 +151,7 @@ <?php } ?> <tr> <td> - <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr3) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:8:"elements";}' ?><?php $attr4 = array('present'=>'elements') ?><?php $attr4_present='elements' ?><?php + <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr3) ?><?php unset($attr3_widths) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:8:"elements";}' ?><?php $attr4 = array('present'=>'elements') ?><?php $attr4_present='elements' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') @@ -222,7 +222,7 @@ global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php +?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -233,17 +233,94 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:10:"addelement";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'addelement') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='addelement' ?><?php - if ( isset($$attr7_name) ) - $checked = $$attr7_name; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:10:"addelement";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addelement','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addelement' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php + if ( isset($$attr7_name) ) + $attr7_tmp_default = $$attr7_name; + elseif ( isset($attr7_default) ) + $attr7_tmp_default = $attr7_default; + else + $attr7_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr7_name.'_'.$attr7_value ?>" name="<?php echo $attr7_prefix.$attr7_name ?>"<?php if ( $attr7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr7_value ?>" <?php if($attr7_value==$attr7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr7) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php unset($attr7_value) ?><?php unset($attr7_default) ?><?php unset($attr7_prefix) ?><?php unset($attr7_suffix) ?><?php unset($attr7_class) ?><?php unset($attr7_onchange) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr6_class)) + $attr6['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) + $attr6['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:15:"type_addelement";}' ?><?php $attr7 = array('for'=>'type_addelement') ?><?php $attr7_for='type_addelement' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:5:"value";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'value','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='value' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); + else + $attr8_title = ''; + if (empty($attr8_type)) + $tmp_tag = 'span'; else - $checked = $attr7_default; -?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $attr7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php -} -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php + switch( $attr8_type ) + { + case 'emphatic': + case 'italic': + $tmp_tag = 'em'; + break; + case 'strong': + case 'bold': + $tmp_tag = 'strong'; + break; + case 'tt': + case 'teletype': + $tmp_tag = 'tt'; + break; + default: + $tmp_tag = 'span'; + } +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) + { + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; + else + $tmp_text = lang($tmpArray[$attr8_text]); + } + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); + else + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; + else + $tmp_text = '&nbsp;'; + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) + $tmp_text = htmlentities($tmp_text); + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) + { + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); + if ( $pos !== false ) + $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + } + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -254,7 +331,7 @@ if ( $attr7_readonly && $checked ) $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:8:"elements";s:4:"name";s:9:"elementid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'elements','name'=>'elementid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='elements' ?><?php $attr7_name='elementid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:8:"elements";s:4:"name";s:9:"elementid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'elements','name'=>'elementid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='elements' ?><?php $attr7_name='elementid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php if ($attr7_addempty) $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list; ?><select id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name; if ($attr7_multiple) echo '[]'; ?>" onchange="<?php echo $attr7_onchange ?>" title="<?php echo $attr7_title ?>" class="<?php echo $attr7_class ?>"<?php if (count($$attr7_list)<=1) echo ' disabled="disabled"'; @@ -279,7 +356,7 @@ echo ' size="'.intval($attr7_size).'"'; ?></select><?php if (count($$attr7_list)==0) echo '<input type="hidden" name="'.$attr7_name.'" value="" />'; if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" value="'.$box_key.'" />' -?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:13:"icon_elements";}' ?><?php $attr4 = array('present'=>'icon_elements') ?><?php $attr4_present='icon_elements' ?><?php +?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:17:"writable_elements";}' ?><?php $attr4 = array('present'=>'writable_elements') ?><?php $attr4_present='writable_elements' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') @@ -350,7 +427,28 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php +?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"colspan";s:1:"3";}' ?><?php $attr6 = array('colspan'=>'3') ?><?php $attr6_colspan='3' ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr6_class)) + $attr6['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) + $attr6['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo $attr7_title ?></legend><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></fieldset><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + $row_class_idx++; + if ($row_class_idx > count($row_classes)) + $row_class_idx=1; + $row_class=$row_classes[$row_class_idx-1]; + if (empty($attr5_class)) + $attr5_class=$row_class; + global $cell_column_nr; + $cell_column_nr=0; + $column_class_idx = 999; +?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -361,17 +459,94 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"addicon";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'addicon') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='addicon' ?><?php - if ( isset($$attr7_name) ) - $checked = $$attr7_name; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:7:"addicon";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addicon','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addicon' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php + if ( isset($$attr7_name) ) + $attr7_tmp_default = $$attr7_name; + elseif ( isset($attr7_default) ) + $attr7_tmp_default = $attr7_default; + else + $attr7_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr7_name.'_'.$attr7_value ?>" name="<?php echo $attr7_prefix.$attr7_name ?>"<?php if ( $attr7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr7_value ?>" <?php if($attr7_value==$attr7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr7) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php unset($attr7_value) ?><?php unset($attr7_default) ?><?php unset($attr7_prefix) ?><?php unset($attr7_suffix) ?><?php unset($attr7_class) ?><?php unset($attr7_onchange) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr6_class)) + $attr6['class']=$column_class; + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) + $attr6['width']=$column_widths[$cell_column_nr-1]; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:12:"type_addicon";}' ?><?php $attr7 = array('for'=>'type_addicon') ?><?php $attr7_for='type_addicon' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"GLOBAL_ICON";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'GLOBAL_ICON','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='GLOBAL_ICON' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); + else + $attr8_title = ''; + if (empty($attr8_type)) + $tmp_tag = 'span'; + else + switch( $attr8_type ) + { + case 'emphatic': + case 'italic': + $tmp_tag = 'em'; + break; + case 'strong': + case 'bold': + $tmp_tag = 'strong'; + break; + case 'tt': + case 'teletype': + $tmp_tag = 'tt'; + break; + default: + $tmp_tag = 'span'; + } +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) + { + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; + else + $tmp_text = lang($tmpArray[$attr8_text]); + } + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); + else + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; else - $checked = $attr7_default; -?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $attr7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php -} -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php + $tmp_text = '&nbsp;'; + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) + $tmp_text = htmlentities($tmp_text); + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) + { + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); + if ( $pos !== false ) + $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + } + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"rowspan";s:1:"3";}' ?><?php $attr6 = array('rowspan'=>'3') ?><?php $attr6_rowspan='3' ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -382,7 +557,7 @@ if ( $attr7_readonly && $checked ) $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:13:"icon_elements";s:4:"name";s:6:"iconid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'icon_elements','name'=>'iconid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='icon_elements' ?><?php $attr7_name='iconid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_rowspan) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:17:"writable_elements";s:4:"name";s:18:"writable_elementid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'writable_elements','name'=>'writable_elementid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='writable_elements' ?><?php $attr7_name='writable_elementid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php if ($attr7_addempty) $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list; ?><select id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name; if ($attr7_multiple) echo '[]'; ?>" onchange="<?php echo $attr7_onchange ?>" title="<?php echo $attr7_title ?>" class="<?php echo $attr7_class ?>"<?php if (count($$attr7_list)<=1) echo ' disabled="disabled"'; @@ -407,68 +582,7 @@ echo ' size="'.intval($attr7_size).'"'; ?></select><?php if (count($$attr7_list)==0) echo '<input type="hidden" name="'.$attr7_name.'" value="" />'; if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" value="'.$box_key.'" />' -?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:16:"ifempty_elements";}' ?><?php $attr4 = array('present'=>'ifempty_elements') ?><?php $attr4_present='ifempty_elements' ?><?php - if ( isset($attr4_true) ) - { - if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') - $exec = $$attr4_true == true; - else - $exec = $attr4_true == true; - } - elseif ( isset($attr4_false) ) - { - if (gettype($attr4_false) === '' && gettype($attr4_false) === '1') - $exec = $$attr4_false == false; - else - $exec = $attr4_false == false; - } - elseif( isset($attr4_contains) ) - $exec = in_array($attr4_value,explode(',',$attr4_contains)); - elseif( isset($attr4_equals)&& isset($attr4_value) ) - $exec = $attr4_equals == $attr4_value; - elseif( isset($attr4_lessthan)&& isset($attr4_value) ) - $exec = intval($attr4_lessthan) > intval($attr4_value); - elseif( isset($attr4_greaterthan)&& isset($attr4_value) ) - $exec = intval($attr4_greaterthan) < intval($attr4_value); - elseif ( isset($attr4_empty) ) - { - if ( !isset($$attr4_empty) ) - $exec = empty($attr4_empty); - elseif ( is_array($$attr4_empty) ) - $exec = (count($$attr4_empty)==0); - elseif ( is_bool($$attr4_empty) ) - $exec = true; - else - $exec = empty( $$attr4_empty ); - } - elseif ( isset($attr4_present) ) - { - $exec = isset($$attr4_present); - } - else - { - trigger_error("error in IF, assume: FALSE"); - $exec = false; - } - if ( !empty($attr4_invert) ) - $exec = !$exec; - if ( !empty($attr4_not) ) - $exec = !$exec; - unset($attr4_true); - unset($attr4_false); - unset($attr4_notempty); - unset($attr4_empty); - unset($attr4_contains); - unset($attr4_present); - unset($attr4_invert); - unset($attr4_not); - unset($attr4_value); - unset($attr4_equals); - $last_exec = $exec; - if ( $exec ) - { -?> -<?php unset($attr4) ?><?php unset($attr4_present) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php +?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -478,7 +592,7 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php +?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -489,17 +603,14 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:10:"addifempty";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'addifempty') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='addifempty' ?><?php - if ( isset($$attr7_name) ) - $checked = $$attr7_name; - else - $checked = $attr7_default; -?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $attr7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php -} -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:10:"addifempty";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addifempty','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addifempty' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php + if ( isset($$attr7_name) ) + $attr7_tmp_default = $$attr7_name; + elseif ( isset($attr7_default) ) + $attr7_tmp_default = $attr7_default; + else + $attr7_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr7_name.'_'.$attr7_value ?>" name="<?php echo $attr7_prefix.$attr7_name ?>"<?php if ( $attr7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr7_value ?>" <?php if($attr7_value==$attr7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr7) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php unset($attr7_value) ?><?php unset($attr7_default) ?><?php unset($attr7_prefix) ?><?php unset($attr7_suffix) ?><?php unset($attr7_class) ?><?php unset($attr7_onchange) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -510,93 +621,76 @@ if ( $attr7_readonly && $checked ) $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:16:"ifempty_elements";s:4:"name";s:9:"ifemptyid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'ifempty_elements','name'=>'ifemptyid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='ifempty_elements' ?><?php $attr7_name='ifemptyid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php -if ($attr7_addempty) $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list; -?><select id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name; if ($attr7_multiple) echo '[]'; ?>" onchange="<?php echo $attr7_onchange ?>" title="<?php echo $attr7_title ?>" class="<?php echo $attr7_class ?>"<?php -if (count($$attr7_list)<=1) echo ' disabled="disabled"'; -if ($attr7_multiple) echo ' multiple="multiple"'; -if (in_array($attr7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($attr7_size).'"'; -?>><?php - $attr7_tmp_list = $$attr7_list; - if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) ) - $attr7_tmp_default = $$attr7_name; - elseif ( isset($attr7_default) ) - $attr7_tmp_default = $attr7_default; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:15:"type_addifempty";}' ?><?php $attr7 = array('for'=>'type_addifempty') ?><?php $attr7_for='type_addifempty' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:20:"TEMPLATE_SRC_IFEMPTY";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'TEMPLATE_SRC_IFEMPTY','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='TEMPLATE_SRC_IFEMPTY' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); else - $attr7_tmp_default = ''; - foreach( $attr7_tmp_list as $box_key=>$box_value ) + $attr8_title = ''; + if (empty($attr8_type)) + $tmp_tag = 'span'; + else + switch( $attr8_type ) { - echo '<option class="'.$attr7_class.'" value="'.$box_key.'"'; - if ($box_key==$attr7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; + case 'emphatic': + case 'italic': + $tmp_tag = 'em'; + break; + case 'strong': + case 'bold': + $tmp_tag = 'strong'; + break; + case 'tt': + case 'teletype': + $tmp_tag = 'tt'; + break; + default: + $tmp_tag = 'span'; } -?></select><?php -if (count($$attr7_list)==0) echo '<input type="hidden" name="'.$attr7_name.'" value="" />'; -if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" value="'.$box_key.'" />' -?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:19:"ifnotempty_elements";}' ?><?php $attr4 = array('present'=>'ifnotempty_elements') ?><?php $attr4_present='ifnotempty_elements' ?><?php - if ( isset($attr4_true) ) +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) { - if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') - $exec = $$attr4_true == true; + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; else - $exec = $attr4_true == true; + $tmp_text = lang($tmpArray[$attr8_text]); } - elseif ( isset($attr4_false) ) - { - if (gettype($attr4_false) === '' && gettype($attr4_false) === '1') - $exec = $$attr4_false == false; + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); else - $exec = $attr4_false == false; - } - elseif( isset($attr4_contains) ) - $exec = in_array($attr4_value,explode(',',$attr4_contains)); - elseif( isset($attr4_equals)&& isset($attr4_value) ) - $exec = $attr4_equals == $attr4_value; - elseif( isset($attr4_lessthan)&& isset($attr4_value) ) - $exec = intval($attr4_lessthan) > intval($attr4_value); - elseif( isset($attr4_greaterthan)&& isset($attr4_value) ) - $exec = intval($attr4_greaterthan) < intval($attr4_value); - elseif ( isset($attr4_empty) ) - { - if ( !isset($$attr4_empty) ) - $exec = empty($attr4_empty); - elseif ( is_array($$attr4_empty) ) - $exec = (count($$attr4_empty)==0); - elseif ( is_bool($$attr4_empty) ) - $exec = true; - else - $exec = empty( $$attr4_empty ); - } - elseif ( isset($attr4_present) ) - { - $exec = isset($$attr4_present); - } + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; else + $tmp_text = '&nbsp;'; + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) + $tmp_text = htmlentities($tmp_text); + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) { - trigger_error("error in IF, assume: FALSE"); - $exec = false; + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); + if ( $pos !== false ) + $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); } - if ( !empty($attr4_invert) ) - $exec = !$exec; - if ( !empty($attr4_not) ) - $exec = !$exec; - unset($attr4_true); - unset($attr4_false); - unset($attr4_notempty); - unset($attr4_empty); - unset($attr4_contains); - unset($attr4_present); - unset($attr4_invert); - unset($attr4_not); - unset($attr4_value); - unset($attr4_equals); - $last_exec = $exec; - if ( $exec ) - { -?> -<?php unset($attr4) ?><?php unset($attr4_present) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -606,7 +700,7 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php +?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -617,17 +711,14 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:13:"addifnotempty";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'addifnotempty') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='addifnotempty' ?><?php - if ( isset($$attr7_name) ) - $checked = $$attr7_name; - else - $checked = $attr7_default; -?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $attr7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php -} -?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:13:"addifnotempty";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addifnotempty','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addifnotempty' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php + if ( isset($$attr7_name) ) + $attr7_tmp_default = $$attr7_name; + elseif ( isset($attr7_default) ) + $attr7_tmp_default = $attr7_default; + else + $attr7_tmp_default = ''; + ?><input type="radio" id="id_<?php echo $attr7_name.'_'.$attr7_value ?>" name="<?php echo $attr7_prefix.$attr7_name ?>"<?php if ( $attr7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr7_value ?>" <?php if($attr7_value==$attr7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr7) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php unset($attr7_value) ?><?php unset($attr7_default) ?><?php unset($attr7_prefix) ?><?php unset($attr7_suffix) ?><?php unset($attr7_class) ?><?php unset($attr7_onchange) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; @@ -638,32 +729,76 @@ if ( $attr7_readonly && $checked ) $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) ) $attr6['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:8:{s:4:"list";s:19:"ifnotempty_elements";s:4:"name";s:12:"ifnotemptyid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr7 = array('list'=>'ifnotempty_elements','name'=>'ifnotemptyid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr7_list='ifnotempty_elements' ?><?php $attr7_name='ifnotemptyid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php -if ($attr7_addempty) $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list; -?><select id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name; if ($attr7_multiple) echo '[]'; ?>" onchange="<?php echo $attr7_onchange ?>" title="<?php echo $attr7_title ?>" class="<?php echo $attr7_class ?>"<?php -if (count($$attr7_list)<=1) echo ' disabled="disabled"'; -if ($attr7_multiple) echo ' multiple="multiple"'; -if (in_array($attr7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($attr7_size).'"'; -?>><?php - $attr7_tmp_list = $$attr7_list; - if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) ) - $attr7_tmp_default = $$attr7_name; - elseif ( isset($attr7_default) ) - $attr7_tmp_default = $attr7_default; +?><td <?php foreach( $attr6 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:18:"type_addifnotempty";}' ?><?php $attr7 = array('for'=>'type_addifnotempty') ?><?php $attr7_for='type_addifnotempty' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:20:"TEMPLATE_SRC_IFEMPTY";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'TEMPLATE_SRC_IFEMPTY','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='TEMPLATE_SRC_IFEMPTY' ?><?php $attr8_escape=true ?><?php + if ( isset($attr8_prefix)&& isset($attr8_key)) + $attr8_key = $attr8_prefix.$attr8_key; + if ( isset($attr8_suffix)&& isset($attr8_key)) + $attr8_key = $attr8_key.$attr8_suffix; + if(empty($attr8_title)) + if (!empty($attr8_key)) + $attr8_title = lang($attr8_key.'_HELP'); else - $attr7_tmp_default = ''; - foreach( $attr7_tmp_list as $box_key=>$box_value ) + $attr8_title = ''; + if (empty($attr8_type)) + $tmp_tag = 'span'; + else + switch( $attr8_type ) { - echo '<option class="'.$attr7_class.'" value="'.$box_key.'"'; - if ($box_key==$attr7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; + case 'emphatic': + case 'italic': + $tmp_tag = 'em'; + break; + case 'strong': + case 'bold': + $tmp_tag = 'strong'; + break; + case 'tt': + case 'teletype': + $tmp_tag = 'tt'; + break; + default: + $tmp_tag = 'span'; } -?></select><?php -if (count($$attr7_list)==0) echo '<input type="hidden" name="'.$attr7_name.'" value="" />'; -if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" value="'.$box_key.'" />' -?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?php unset($attr7_addempty) ?><?php unset($attr7_multiple) ?><?php unset($attr7_size) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php + $attr8_title = ''; + if (!empty($attr8_array)) + { + $tmpArray = $$attr8_array; + if (!empty($attr8_var)) + $tmp_text = $tmpArray[$attr8_var]; + else + $tmp_text = lang($tmpArray[$attr8_text]); + } + elseif (!empty($attr8_text)) + if ( isset($$attr8_text)) + $tmp_text = lang($$attr8_text); + else + $tmp_text = lang($attr8_text); + elseif (!empty($attr8_textvar)) + $tmp_text = lang($$attr8_textvar); + elseif (!empty($attr8_key)) + $tmp_text = lang($attr8_key); + elseif (!empty($attr8_var)) + $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?'; + elseif (!empty($attr8_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr8_raw); + elseif (!empty($attr8_value)) + $tmp_text = $attr8_value; + else + $tmp_text = '&nbsp;'; + if ( $attr8_escape && empty($attr8_raw) && $tmp_text!='&nbsp;' ) + $tmp_text = htmlentities($tmp_text); + if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) ); + if (isset($attr8_accesskey)) + { + $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey)); + if ( $pos !== false ) + $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); + } + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -673,7 +808,7 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va global $cell_column_nr; $cell_column_nr=0; $column_class_idx = 999; -?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'2') ?><?php $attr5_class='act' ?><?php $attr5_colspan='2' ?><?php +?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?php $column_class_idx++; if ($column_class_idx > count($column_classes)) $column_class_idx=1; diff --git a/themes/default/pages/html/treetitle/show.tpl.php b/themes/default/pages/html/treetitle/show.tpl.php @@ -431,7 +431,7 @@ if (isset($attr6_elementtype)) { if ( $exec ) { ?> -<?php unset($attr6) ?><?php unset($attr6_not) ?><?php unset($attr6_empty) ?><?php $attr7_debug_info = 'a:5:{s:5:"title";s:9:"var:title";s:6:"target";s:7:"_parent";s:3:"url";s:7:"var:url";s:5:"class";s:4:"menu";s:9:"accesskey";s:14:"messagevar:key";}' ?><?php $attr7 = array('title'=>$title,'target'=>'_parent','url'=>$url,'class'=>'menu','accesskey'=>lang($key)) ?><?php $attr7_title=$title ?><?php $attr7_target='_parent' ?><?php $attr7_url=$url ?><?php $attr7_class='menu' ?><?php $attr7_accesskey=lang($key) ?><?php +<?php unset($attr6) ?><?php unset($attr6_not) ?><?php unset($attr6_empty) ?><?php $attr7_debug_info = 'a:5:{s:5:"title";s:16:"messagevar:title";s:6:"target";s:7:"_parent";s:3:"url";s:7:"var:url";s:5:"class";s:4:"menu";s:9:"accesskey";s:14:"messagevar:key";}' ?><?php $attr7 = array('title'=>lang($title),'target'=>'_parent','url'=>$url,'class'=>'menu','accesskey'=>lang($key)) ?><?php $attr7_title=lang($title) ?><?php $attr7_target='_parent' ?><?php $attr7_url=$url ?><?php $attr7_class='menu' ?><?php $attr7_accesskey=lang($key) ?><?php $params = array(); if (!empty($attr7_var1) && isset($attr7_value1)) $params[$attr7_var1]=$attr7_value1; diff --git a/themes/default/pages/html/user/add.tpl.php b/themes/default/pages/html/user/add.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/user/addgroup.tpl.php b/themes/default/pages/html/user/addgroup.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/user/edit.tpl.php b/themes/default/pages/html/user/edit.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -277,7 +277,7 @@ if ($attr6_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:23:"message:ADDITIONAL_INFO";}' ?><?php $attr6 = array('title'=>lang('ADDITIONAL_INFO')) ?><?php $attr6_title=lang('ADDITIONAL_INFO') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:23:"message:ADDITIONAL_INFO";}' ?><?php $attr6 = array('title'=>lang('ADDITIONAL_INFO')) ?><?php $attr6_title=lang('ADDITIONAL_INFO') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -718,7 +718,7 @@ if ($attr6_readonly) { $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; diff --git a/themes/default/pages/html/user/groups.tpl.php b/themes/default/pages/html/user/groups.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/user/listing.tpl.php b/themes/default/pages/html/user/listing.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/user/pw.tpl.php b/themes/default/pages/html/user/pw.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -342,7 +342,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:25:"message:USER_new_password";}' ?><?php $attr6 = array('title'=>lang('USER_new_password')) ?><?php $attr6_title=lang('USER_new_password') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:25:"message:USER_new_password";}' ?><?php $attr6 = array('title'=>lang('USER_new_password')) ?><?php $attr6_title=lang('USER_new_password') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php $row_class_idx++; if ($row_class_idx > count($row_classes)) $row_class_idx=1; @@ -565,7 +565,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:4:"mail";}' ?><?php $attr4 = array('present'=>'mail') ?><?php $attr4_present='mail' ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:4:"mail";}' ?><?php $attr4 = array('present'=>'mail') ?><?php $attr4_present='mail' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1') diff --git a/themes/default/pages/html/user/remove.tpl.php b/themes/default/pages/html/user/remove.tpl.php @@ -138,7 +138,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> diff --git a/themes/default/pages/html/user/rights.tpl.php b/themes/default/pages/html/user/rights.tpl.php @@ -121,7 +121,7 @@ <tr class="notice_<?php echo $notice['status'] ?>"> <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\nasdf",$notice['log']))) ?></pre><?php } ?> + <?php if (!empty($notice['log'])) { ?><pre><?php echo nl2br(htmlentities(implode("\n",$notice['log']))) ?></pre><?php } ?> </td> </tr> </table> @@ -174,7 +174,7 @@ $cell_column_nr++; if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) $attr5['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"var:projectname";}' ?><?php $attr6 = array('title'=>$projectname) ?><?php $attr6_title=$projectname ?><fieldset><legend><?php echo $attr6_title ?></legend><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:5:"empty";s:4:"acls";}' ?><?php $attr4 = array('empty'=>'acls') ?><?php $attr4_empty='acls' ?><?php +?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:5:"title";s:15:"var:projectname";}' ?><?php $attr6 = array('title'=>$projectname) ?><?php $attr6_title=$projectname ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:5:"empty";s:4:"acls";}' ?><?php $attr4 = array('empty'=>'acls') ?><?php $attr4_empty='acls' ?><?php if ( isset($attr4_true) ) { if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')