commit 87da6563266a0392a4d0bc2e46759d6949d4222c
parent 9c6d1b1a7160db6cb6f76d0fec9c42a9f69ea9df
Author: dankert <devnull@localhost>
Date: Thu, 19 Mar 2009 05:38:38 +0100
Umwandlung aller Templates.
Diffstat:
59 files changed, 18818 insertions(+), 22899 deletions(-)
diff --git a/themes/default/pages/html/element/name.tpl.php b/themes/default/pages/html/element/name.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/element/properties.tpl.php b/themes/default/pages/html/element/properties.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/element/remove.tpl.php b/themes/default/pages/html/element/remove.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -90,8 +82,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -353,7 +345,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><?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
+?><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 encodeHtml($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
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -268,7 +260,13 @@
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:9:{s:4:"list";s:5:"types";s:4:"name";s:4:"type";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";s:4:"lang";s:4:"true";}' ?><?php $attr6 = array('list'=>'types','name'=>'type','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>true) ?><?php $attr6_list='types' ?><?php $attr6_name='type' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=true ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -282,7 +280,6 @@ 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) )
@@ -313,7 +310,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
diff --git a/themes/default/pages/html/empty/blank.tpl.php b/themes/default/pages/html/empty/blank.tpl.php
@@ -1,38 +1,30 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/empty/border.tpl.php b/themes/default/pages/html/empty/border.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:6:"border";}' ?><?php $attr1 = array('class'=>'border') ?><?php $attr1_class='border' ?><?php
+<?php $attr1_class='border'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,5 +26,5 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr1_class); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/file/edit.tpl.php b/themes/default/pages/html/file/edit.tpl.php
@@ -1,9 +1,10 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php if (!headers_sent()) header('Content-Type: text/html; charset='.lang('CHARSET'))
+<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo lang('CHARSET') ?>" />
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="robots" content="noindex,nofollow" />
<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
@@ -17,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -40,11 +33,16 @@
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ $attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
@@ -81,17 +79,22 @@
if (!@$conf['interface']['application_mode'] )
{
echo '<tr><td class="menu">';
- if ( !empty($attr3_icon) )
- echo '<img src="'.$image_dir.'icon_'.$attr3_icon.IMG_ICON_EXT.'" align="left" border="0">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->getRequestVar('mode')=='edit') {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
$path = array();
foreach( $path as $pathElement)
{
extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.lang($name).'</a>';
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
echo ' » ';
}
- echo '<span class="title">'.lang($windowTitle).'</span>';
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
?>
</td>
<?php
@@ -100,7 +103,7 @@
<?php ?> <!--<td class="menu" style="align:right;">
<?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
{
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.lang($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
}
?>
</td>-->
@@ -110,32 +113,32 @@
$windowMenu = array();
foreach( $windowMenu as $menu )
{
- $tmp_text = lang($menu['text']);
- $tmp_key = strtoupper(lang($menu['key' ]));
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
$tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
if ( $tmp_pos !== false )
$tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
if ( isset($menu['url']) )
{
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
}
else
{
- ?><span class="menu_disabled" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
}
}
if (@$conf['help']['enabled'] )
{
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo lang('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':lang('MENU_HELP') ?></a><?php
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
}
?></td>
</tr>
<?php if (isset($notices) && count($notices)>0 )
{ ?>
<tr>
- <td align="center" style="margin-top:10px; margin-bottom:10px;padding:5px; text-align:center;">
+ <td align="center" class="notice">
<?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="100%">
+ <br><table class="notice" width="80%">
<?php if ($notice['name']!='') { ?>
<tr>
<td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
@@ -144,7 +147,7 @@
<?php } ?>
<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 } ?>
+ <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
<?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
</td>
</tr>
@@ -158,7 +161,8 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr3) ?><?php unset($attr3_title) ?><?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_title) ?><?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
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -202,12 +206,18 @@
$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:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
$attr6_type = 'submit';
if (isset($attr6_src))
$attr6_type = 'image';
else
$attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo lang($attr6_text) ?> " /><?php unset($attr6_src) ?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
</td>
</tr>
</table>
diff --git a/themes/default/pages/html/file/prop.tpl.php b/themes/default/pages/html/file/prop.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/file/pub.tpl.php b/themes/default/pages/html/file/pub.tpl.php
@@ -1,9 +1,10 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php if (!headers_sent()) header('Content-Type: text/html; charset='.lang('CHARSET'))
+<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo lang('CHARSET') ?>" />
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="robots" content="noindex,nofollow" />
<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
@@ -17,8 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -33,11 +33,16 @@
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ $attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
@@ -74,17 +79,22 @@
if (!@$conf['interface']['application_mode'] )
{
echo '<tr><td class="menu">';
- if ( !empty($attr3_icon) )
- echo '<img src="'.$image_dir.'icon_'.$attr3_icon.IMG_ICON_EXT.'" align="left" border="0">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->getRequestVar('mode')=='edit') {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
$path = array();
foreach( $path as $pathElement)
{
extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.lang($name).'</a>';
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
echo ' » ';
}
- echo '<span class="title">'.lang($windowTitle).'</span>';
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
?>
</td>
<?php
@@ -93,7 +103,7 @@
<?php ?> <!--<td class="menu" style="align:right;">
<?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
{
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.lang($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
}
?>
</td>-->
@@ -103,32 +113,32 @@
$windowMenu = array();
foreach( $windowMenu as $menu )
{
- $tmp_text = lang($menu['text']);
- $tmp_key = strtoupper(lang($menu['key' ]));
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
$tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
if ( $tmp_pos !== false )
$tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
if ( isset($menu['url']) )
{
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
}
else
{
- ?><span class="menu_disabled" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
}
}
if (@$conf['help']['enabled'] )
{
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo lang('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':lang('MENU_HELP') ?></a><?php
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
}
?></td>
</tr>
<?php if (isset($notices) && count($notices)>0 )
{ ?>
<tr>
- <td align="center" style="margin-top:10px; margin-bottom:10px;padding:5px; text-align:center;">
+ <td align="center" class="notice">
<?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="100%">
+ <br><table class="notice" width="80%">
<?php if ($notice['name']!='') { ?>
<tr>
<td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
@@ -137,7 +147,7 @@
<?php } ?>
<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 } ?>
+ <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
<?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
</td>
</tr>
@@ -151,7 +161,8 @@
<?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:0:{}' ?><?php $attr4 = array() ?><?php
+ <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:0:{}' ?><?php $attr4 = array() ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -174,12 +185,18 @@
$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:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
$attr6_type = 'submit';
if (isset($attr6_src))
$attr6_type = 'image';
else
$attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo lang($attr6_text) ?> " /><?php unset($attr6_src) ?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
</td>
</tr>
</table>
diff --git a/themes/default/pages/html/file/showprop.tpl.php b/themes/default/pages/html/file/showprop.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -68,8 +60,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -1464,6 +1456,8 @@ if (isset($attr6_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
} elseif (isset($attr6_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
+} elseif (isset($attr6_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr6_tree.IMG_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
} elseif (isset($attr6_url)) {
?><img src="<?php echo $attr6_url ?>" border="0" align="<?php echo $attr6_align ?>"><?php
} elseif (isset($attr6_fileext)) {
@@ -1661,13 +1655,15 @@ if (isset($attr6_elementtype)) {
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:4:"page";}' ?><?php $attr7 = array('align'=>'left','type'=>'page') ?><?php $attr7_align='left' ?><?php $attr7_type='page' ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:4:"page";}' ?><?php $attr7 = array('align'=>'left','type'=>'page') ?><?php $attr7_align='left' ?><?php $attr7_type='page' ?><?php
if (isset($attr7_elementtype)) {
?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_type)) {
?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
+} elseif (isset($attr7_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_url)) {
?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_fileext)) {
@@ -2038,6 +2034,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -2117,6 +2115,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -2131,7 +2131,7 @@ if (isset($attr8_elementtype)) {
$user->name = lang('GLOBAL_UNKNOWN');
if ( empty($user->fullname) )
$user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE');
- if ( !empty($user->mail) )
+ if ( !empty($user->mail) && $conf['security']['user']['show_mail'] )
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
@@ -2288,6 +2288,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -2367,6 +2369,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -2381,7 +2385,7 @@ if (isset($attr8_elementtype)) {
$user->name = lang('GLOBAL_UNKNOWN');
if ( empty($user->fullname) )
$user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE');
- if ( !empty($user->mail) )
+ if ( !empty($user->mail) && $conf['security']['user']['show_mail'] )
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
diff --git a/themes/default/pages/html/folder/create.tpl.php b/themes/default/pages/html/folder/create.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -784,7 +776,13 @@ if ($attr6_readonly) {
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:9:{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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'templates','name'=>'page_templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?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 $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -798,7 +796,6 @@ 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) )
@@ -829,7 +826,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
diff --git a/themes/default/pages/html/folder/order.tpl.php b/themes/default/pages/html/folder/order.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -68,8 +60,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -275,7 +267,7 @@
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"FOLDER_ORDER";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'FOLDER_ORDER','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='FOLDER_ORDER' ?><?php $attr6_escape=true ?><?php
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"FOLDER_ORDER";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'FOLDER_ORDER','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='FOLDER_ORDER' ?><?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))
@@ -371,7 +363,7 @@
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_TYPE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_TYPE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_TYPE' ?><?php $attr6_escape=true ?><?php
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_TYPE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_TYPE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_TYPE' ?><?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))
@@ -521,7 +513,7 @@
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NAME' ?><?php $attr6_escape=true ?><?php
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_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))
@@ -617,7 +609,7 @@
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GLOBAL_LASTCHANGE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_LASTCHANGE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_LASTCHANGE' ?><?php $attr6_escape=true ?><?php
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GLOBAL_LASTCHANGE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_LASTCHANGE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_LASTCHANGE' ?><?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))
@@ -803,7 +795,7 @@
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:8:"arrow_up";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_up') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_up' ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:8:"arrow_up";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_up') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_up' ?><?php
if (!isset($attr8_value))
unset($$attr8_var);
elseif (isset($attr8_key))
@@ -817,6 +809,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -1040,7 +1034,7 @@ if (isset($attr8_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:9:"arrow_top";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_top') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_top' ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:9:"arrow_top";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_top') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_top' ?><?php
if (!isset($attr8_value))
unset($$attr8_var);
elseif (isset($attr8_key))
@@ -1054,6 +1048,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -1277,7 +1273,7 @@ if (isset($attr8_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:12:"arrow_bottom";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_bottom') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_bottom' ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:12:"arrow_bottom";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_bottom') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_bottom' ?><?php
if (!isset($attr8_value))
unset($$attr8_var);
elseif (isset($attr8_key))
@@ -1291,6 +1287,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -1514,7 +1512,7 @@ if (isset($attr8_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:10:"arrow_down";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_down') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_down' ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:4:"bild";s:5:"value";s:10:"arrow_down";}' ?><?php $attr8 = array('var'=>'bild','value'=>'arrow_down') ?><?php $attr8_var='bild' ?><?php $attr8_value='arrow_down' ?><?php
if (!isset($attr8_value))
unset($$attr8_var);
elseif (isset($attr8_key))
@@ -1528,6 +1526,8 @@ if (isset($attr8_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
+} elseif (isset($attr8_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_url)) {
?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
} elseif (isset($attr8_fileext)) {
@@ -1677,6 +1677,8 @@ if (isset($attr6_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
} elseif (isset($attr6_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
+} elseif (isset($attr6_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr6_tree.IMG_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
} elseif (isset($attr6_url)) {
?><img src="<?php echo $attr6_url ?>" border="0" align="<?php echo $attr6_align ?>"><?php
} elseif (isset($attr6_fileext)) {
diff --git a/themes/default/pages/html/folder/prop.tpl.php b/themes/default/pages/html/folder/prop.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
@@ -56,7 +48,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:7:{s:5:"title";s:11:"global_prop";s:4:"name";s:10:"objectName";s:4:"icon";s:6:"folder";s:6:"widths";s:7:"35%,65%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('title'=>'global_prop','name'=>'objectName','icon'=>'folder','widths'=>'35%,65%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='global_prop' ?><?php $attr3_name='objectName' ?><?php $attr3_icon='folder' ?><?php $attr3_widths='35%,65%' ?><?php $attr3_width='70%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_title='global_prop'; $attr3_name='objectName'; $attr3_icon='folder'; $attr3_widths='35%,65%'; $attr3_width='70%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -170,7 +162,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_title) ?><?php unset($attr3_name) ?><?php unset($attr3_icon) ?><?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
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -180,18 +172,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"global_name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_name','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_name' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='global_name'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -256,25 +254,31 @@
}
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:1:{s:5:"class";s:4:"name";}' ?><?php $attr5 = array('class'=>'name') ?><?php $attr5_class='name' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='name'; ?><?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;
+ $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_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:4:"name";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'name','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='50' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_class='name'; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -284,18 +288,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"global_filename";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_filename','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_filename' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='global_filename'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -360,25 +370,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:8:"filename";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:8:"filename";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'filename','default'=>'','type'=>'text','name'=>'filename','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='filename' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='filename' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='filename'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -388,18 +404,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"global_description";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_description','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_description' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='global_description'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -464,22 +486,28 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:{s:4:"name";s:11:"description";s:4:"rows";s:2:"10";s:4:"cols";s:2:"40";s:5:"class";s:11:"description";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'description','rows'=>'10','cols'=>'40','class'=>'description','default'=>'') ?><?php $attr6_name='description' ?><?php $attr6_rows='10' ?><?php $attr6_cols='40' ?><?php $attr6_class='description' ?><?php $attr6_default='' ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_name='description'; $attr6_rows='10'; $attr6_cols='40'; $attr6_class='description'; $attr6_default=''; ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ( !$attr6_readonly) {
?><textarea <?php if ($attr6_readonly) echo ' disabled="true"' ?> class="<?php echo $attr6_class ?>" name="<?php echo $attr6_name ?>" rows="<?php echo $attr6_rows ?>" cols="<?php echo $attr6_cols ?>"><?php echo htmlentities(isset($$attr6_name)?$$attr6_name:$attr6_default) ?></textarea><?php
} else {
-?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6) ?><?php unset($attr6_name) ?><?php unset($attr6_rows) ?><?php unset($attr6_cols) ?><?php unset($attr6_class) ?><?php unset($attr6_default) ?><?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
+?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_name);unset($attr6_rows);unset($attr6_cols);unset($attr6_class);unset($attr6_default); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -489,18 +517,24 @@ 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: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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -513,7 +547,7 @@ if ($attr6_readonly) {
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -525,12 +559,12 @@ if ($attr6_readonly) {
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:5:"field";s:4:"name";}' ?><?php $attr2 = array('field'=>'name') ?><?php $attr2_field='name' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='name'; ?><?php
if (isset($errors[0])) $attr2_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr2_field ?>.focus();
document.forms[0].<?php echo $attr2_field ?>.select();
</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/folder/pub.tpl.php b/themes/default/pages/html/folder/pub.tpl.php
@@ -1,9 +1,10 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php if (!headers_sent()) header('Content-Type: text/html; charset='.lang('CHARSET'))
+<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo lang('CHARSET') ?>" />
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="robots" content="noindex,nofollow" />
<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
@@ -17,8 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -33,11 +33,16 @@
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ $attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
@@ -74,17 +79,22 @@
if (!@$conf['interface']['application_mode'] )
{
echo '<tr><td class="menu">';
- if ( !empty($attr3_icon) )
- echo '<img src="'.$image_dir.'icon_'.$attr3_icon.IMG_ICON_EXT.'" align="left" border="0">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->getRequestVar('mode')=='edit') {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
$path = array();
foreach( $path as $pathElement)
{
extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.lang($name).'</a>';
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
echo ' » ';
}
- echo '<span class="title">'.lang($windowTitle).'</span>';
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
?>
</td>
<?php
@@ -93,7 +103,7 @@
<?php ?> <!--<td class="menu" style="align:right;">
<?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
{
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.lang($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
}
?>
</td>-->
@@ -103,32 +113,32 @@
$windowMenu = array();
foreach( $windowMenu as $menu )
{
- $tmp_text = lang($menu['text']);
- $tmp_key = strtoupper(lang($menu['key' ]));
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
$tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
if ( $tmp_pos !== false )
$tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
if ( isset($menu['url']) )
{
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
}
else
{
- ?><span class="menu_disabled" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
}
}
if (@$conf['help']['enabled'] )
{
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo lang('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':lang('MENU_HELP') ?></a><?php
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
}
?></td>
</tr>
<?php if (isset($notices) && count($notices)>0 )
{ ?>
<tr>
- <td align="center" style="margin-top:10px; margin-bottom:10px;padding:5px; text-align:center;">
+ <td align="center" class="notice">
<?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="100%">
+ <br><table class="notice" width="80%">
<?php if ($notice['name']!='') { ?>
<tr>
<td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
@@ -137,7 +147,7 @@
<?php } ?>
<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 } ?>
+ <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
<?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
</td>
</tr>
@@ -151,7 +161,8 @@
<?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:0:{}' ?><?php $attr4 = array() ?><?php
+ <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:0:{}' ?><?php $attr4 = array() ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -295,6 +306,7 @@
{
?>
<?php unset($attr7) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:5:"pages";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>'pages') ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name='pages' ?><?php
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
if ( isset($$attr8_name) )
$checked = $$attr8_name;
else
@@ -310,9 +322,6 @@ if ( $attr8_readonly && $checked )
if ( isset($attr9_suffix)&& isset($attr9_key))
$attr9_key = $attr9_key.$attr9_suffix;
if(empty($attr9_title))
- if (!empty($attr9_key))
- $attr9_title = lang($attr9_key.'_HELP');
- else
$attr9_title = '';
if (empty($attr9_type))
$tmp_tag = 'span';
@@ -336,33 +345,32 @@ if ( $attr8_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
$attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr9_array))
{
$tmpArray = $$attr9_array;
if (!empty($attr9_var))
$tmp_text = $tmpArray[$attr9_var];
else
- $tmp_text = lang($tmpArray[$attr9_text]);
+ $tmp_text = $langF($tmpArray[$attr9_text]);
}
elseif (!empty($attr9_text))
- if ( isset($$attr9_text))
- $tmp_text = lang($$attr9_text);
- else
- $tmp_text = lang($attr9_text);
+ $tmp_text = $langF($attr9_text);
elseif (!empty($attr9_textvar))
- $tmp_text = lang($$attr9_textvar);
+ $tmp_text = $langF($$attr9_textvar);
elseif (!empty($attr9_key))
- $tmp_text = lang($attr9_key);
+ $tmp_text = $langF($attr9_key);
elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?'.$attr9_var.'?';
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
elseif (!empty($attr9_raw))
$tmp_text = str_replace('_',' ',$attr9_raw);
elseif (!empty($attr9_value))
$tmp_text = $attr9_value;
else
$tmp_text = ' ';
- if ( $attr9_escape && empty($attr9_raw) && $tmp_text!=' ' )
- $tmp_text = htmlentities($tmp_text);
if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
$tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
if (isset($attr9_accesskey))
@@ -379,9 +387,6 @@ if ( $attr8_readonly && $checked )
if ( isset($attr9_suffix)&& isset($attr9_key))
$attr9_key = $attr9_key.$attr9_suffix;
if(empty($attr9_title))
- if (!empty($attr9_key))
- $attr9_title = lang($attr9_key.'_HELP');
- else
$attr9_title = '';
if (empty($attr9_type))
$tmp_tag = 'span';
@@ -405,33 +410,32 @@ if ( $attr8_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
$attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr9_array))
{
$tmpArray = $$attr9_array;
if (!empty($attr9_var))
$tmp_text = $tmpArray[$attr9_var];
else
- $tmp_text = lang($tmpArray[$attr9_text]);
+ $tmp_text = $langF($tmpArray[$attr9_text]);
}
elseif (!empty($attr9_text))
- if ( isset($$attr9_text))
- $tmp_text = lang($$attr9_text);
- else
- $tmp_text = lang($attr9_text);
+ $tmp_text = $langF($attr9_text);
elseif (!empty($attr9_textvar))
- $tmp_text = lang($$attr9_textvar);
+ $tmp_text = $langF($$attr9_textvar);
elseif (!empty($attr9_key))
- $tmp_text = lang($attr9_key);
+ $tmp_text = $langF($attr9_key);
elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?'.$attr9_var.'?';
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
elseif (!empty($attr9_raw))
$tmp_text = str_replace('_',' ',$attr9_raw);
elseif (!empty($attr9_value))
$tmp_text = $attr9_value;
else
$tmp_text = ' ';
- if ( $attr9_escape && empty($attr9_raw) && $tmp_text!=' ' )
- $tmp_text = htmlentities($tmp_text);
if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
$tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
if (isset($attr9_accesskey))
@@ -565,6 +569,7 @@ if ( $attr8_readonly && $checked )
{
?>
<?php unset($attr7) ?><?php unset($attr7_true) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:5:"files";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>'files') ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name='files' ?><?php
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
if ( isset($$attr8_name) )
$checked = $$attr8_name;
else
@@ -580,9 +585,6 @@ if ( $attr8_readonly && $checked )
if ( isset($attr9_suffix)&& isset($attr9_key))
$attr9_key = $attr9_key.$attr9_suffix;
if(empty($attr9_title))
- if (!empty($attr9_key))
- $attr9_title = lang($attr9_key.'_HELP');
- else
$attr9_title = '';
if (empty($attr9_type))
$tmp_tag = 'span';
@@ -606,33 +608,32 @@ if ( $attr8_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
$attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr9_array))
{
$tmpArray = $$attr9_array;
if (!empty($attr9_var))
$tmp_text = $tmpArray[$attr9_var];
else
- $tmp_text = lang($tmpArray[$attr9_text]);
+ $tmp_text = $langF($tmpArray[$attr9_text]);
}
elseif (!empty($attr9_text))
- if ( isset($$attr9_text))
- $tmp_text = lang($$attr9_text);
- else
- $tmp_text = lang($attr9_text);
+ $tmp_text = $langF($attr9_text);
elseif (!empty($attr9_textvar))
- $tmp_text = lang($$attr9_textvar);
+ $tmp_text = $langF($$attr9_textvar);
elseif (!empty($attr9_key))
- $tmp_text = lang($attr9_key);
+ $tmp_text = $langF($attr9_key);
elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?'.$attr9_var.'?';
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
elseif (!empty($attr9_raw))
$tmp_text = str_replace('_',' ',$attr9_raw);
elseif (!empty($attr9_value))
$tmp_text = $attr9_value;
else
$tmp_text = ' ';
- if ( $attr9_escape && empty($attr9_raw) && $tmp_text!=' ' )
- $tmp_text = htmlentities($tmp_text);
if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
$tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
if (isset($attr9_accesskey))
@@ -649,9 +650,6 @@ if ( $attr8_readonly && $checked )
if ( isset($attr9_suffix)&& isset($attr9_key))
$attr9_key = $attr9_key.$attr9_suffix;
if(empty($attr9_title))
- if (!empty($attr9_key))
- $attr9_title = lang($attr9_key.'_HELP');
- else
$attr9_title = '';
if (empty($attr9_type))
$tmp_tag = 'span';
@@ -675,33 +673,32 @@ if ( $attr8_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
$attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr9_array))
{
$tmpArray = $$attr9_array;
if (!empty($attr9_var))
$tmp_text = $tmpArray[$attr9_var];
else
- $tmp_text = lang($tmpArray[$attr9_text]);
+ $tmp_text = $langF($tmpArray[$attr9_text]);
}
elseif (!empty($attr9_text))
- if ( isset($$attr9_text))
- $tmp_text = lang($$attr9_text);
- else
- $tmp_text = lang($attr9_text);
+ $tmp_text = $langF($attr9_text);
elseif (!empty($attr9_textvar))
- $tmp_text = lang($$attr9_textvar);
+ $tmp_text = $langF($$attr9_textvar);
elseif (!empty($attr9_key))
- $tmp_text = lang($attr9_key);
+ $tmp_text = $langF($attr9_key);
elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?'.$attr9_var.'?';
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
elseif (!empty($attr9_raw))
$tmp_text = str_replace('_',' ',$attr9_raw);
elseif (!empty($attr9_value))
$tmp_text = $attr9_value;
else
$tmp_text = ' ';
- if ( $attr9_escape && empty($attr9_raw) && $tmp_text!=' ' )
- $tmp_text = htmlentities($tmp_text);
if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
$tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
if (isset($attr9_accesskey))
@@ -733,7 +730,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><?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
+?><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 encodeHtml($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;
@@ -816,6 +813,7 @@ if ( $attr8_readonly && $checked )
{
?>
<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"subdirs";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'subdirs') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='subdirs' ?><?php
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
@@ -831,9 +829,6 @@ if ( $attr7_readonly && $checked )
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';
@@ -857,33 +852,32 @@ if ( $attr7_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
$attr8_title = '';
+ if ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr8_array))
{
$tmpArray = $$attr8_array;
if (!empty($attr8_var))
$tmp_text = $tmpArray[$attr8_var];
else
- $tmp_text = lang($tmpArray[$attr8_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
elseif (!empty($attr8_text))
- if ( isset($$attr8_text))
- $tmp_text = lang($$attr8_text);
- else
- $tmp_text = lang($attr8_text);
+ $tmp_text = $langF($attr8_text);
elseif (!empty($attr8_textvar))
- $tmp_text = lang($$attr8_textvar);
+ $tmp_text = $langF($$attr8_textvar);
elseif (!empty($attr8_key))
- $tmp_text = lang($attr8_key);
+ $tmp_text = $langF($attr8_key);
elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
elseif (!empty($attr8_raw))
$tmp_text = str_replace('_',' ',$attr8_raw);
elseif (!empty($attr8_value))
$tmp_text = $attr8_value;
else
$tmp_text = ' ';
- if ( $attr8_escape && empty($attr8_raw) && $tmp_text!=' ' )
- $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))
@@ -900,9 +894,6 @@ if ( $attr7_readonly && $checked )
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';
@@ -926,33 +917,32 @@ if ( $attr7_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
$attr8_title = '';
+ if ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr8_array))
{
$tmpArray = $$attr8_array;
if (!empty($attr8_var))
$tmp_text = $tmpArray[$attr8_var];
else
- $tmp_text = lang($tmpArray[$attr8_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
elseif (!empty($attr8_text))
- if ( isset($$attr8_text))
- $tmp_text = lang($$attr8_text);
- else
- $tmp_text = lang($attr8_text);
+ $tmp_text = $langF($attr8_text);
elseif (!empty($attr8_textvar))
- $tmp_text = lang($$attr8_textvar);
+ $tmp_text = $langF($$attr8_textvar);
elseif (!empty($attr8_key))
- $tmp_text = lang($attr8_key);
+ $tmp_text = $langF($attr8_key);
elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
elseif (!empty($attr8_raw))
$tmp_text = str_replace('_',' ',$attr8_raw);
elseif (!empty($attr8_value))
$tmp_text = $attr8_value;
else
$tmp_text = ' ';
- if ( $attr8_escape && empty($attr8_raw) && $tmp_text!=' ' )
- $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))
@@ -1025,6 +1015,7 @@ if ( $attr7_readonly && $checked )
{
?>
<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:5:"clean";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'clean') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='clean' ?><?php
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
@@ -1040,9 +1031,6 @@ if ( $attr7_readonly && $checked )
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';
@@ -1066,33 +1054,32 @@ if ( $attr7_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
$attr8_title = '';
+ if ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr8_array))
{
$tmpArray = $$attr8_array;
if (!empty($attr8_var))
$tmp_text = $tmpArray[$attr8_var];
else
- $tmp_text = lang($tmpArray[$attr8_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
elseif (!empty($attr8_text))
- if ( isset($$attr8_text))
- $tmp_text = lang($$attr8_text);
- else
- $tmp_text = lang($attr8_text);
+ $tmp_text = $langF($attr8_text);
elseif (!empty($attr8_textvar))
- $tmp_text = lang($$attr8_textvar);
+ $tmp_text = $langF($$attr8_textvar);
elseif (!empty($attr8_key))
- $tmp_text = lang($attr8_key);
+ $tmp_text = $langF($attr8_key);
elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
elseif (!empty($attr8_raw))
$tmp_text = str_replace('_',' ',$attr8_raw);
elseif (!empty($attr8_value))
$tmp_text = $attr8_value;
else
$tmp_text = ' ';
- if ( $attr8_escape && empty($attr8_raw) && $tmp_text!=' ' )
- $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))
@@ -1109,9 +1096,6 @@ if ( $attr7_readonly && $checked )
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';
@@ -1135,33 +1119,32 @@ if ( $attr7_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
$attr8_title = '';
+ if ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr8_array))
{
$tmpArray = $$attr8_array;
if (!empty($attr8_var))
$tmp_text = $tmpArray[$attr8_var];
else
- $tmp_text = lang($tmpArray[$attr8_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
elseif (!empty($attr8_text))
- if ( isset($$attr8_text))
- $tmp_text = lang($$attr8_text);
- else
- $tmp_text = lang($attr8_text);
+ $tmp_text = $langF($attr8_text);
elseif (!empty($attr8_textvar))
- $tmp_text = lang($$attr8_textvar);
+ $tmp_text = $langF($$attr8_textvar);
elseif (!empty($attr8_key))
- $tmp_text = lang($attr8_key);
+ $tmp_text = $langF($attr8_key);
elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?'.$attr8_var.'?';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
elseif (!empty($attr8_raw))
$tmp_text = str_replace('_',' ',$attr8_raw);
elseif (!empty($attr8_value))
$tmp_text = $attr8_value;
else
$tmp_text = ' ';
- if ( $attr8_escape && empty($attr8_raw) && $tmp_text!=' ' )
- $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))
@@ -1199,9 +1182,6 @@ if ( $attr7_readonly && $checked )
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
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -1225,33 +1205,32 @@ if ( $attr7_readonly && $checked )
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
$attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr6_array))
{
$tmpArray = $$attr6_array;
if (!empty($attr6_var))
$tmp_text = $tmpArray[$attr6_var];
else
- $tmp_text = lang($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr6_text]);
}
elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = lang($$attr6_text);
- else
- $tmp_text = lang($attr6_text);
+ $tmp_text = $langF($attr6_text);
elseif (!empty($attr6_textvar))
- $tmp_text = lang($$attr6_textvar);
+ $tmp_text = $langF($$attr6_textvar);
elseif (!empty($attr6_key))
- $tmp_text = lang($attr6_key);
+ $tmp_text = $langF($attr6_key);
elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
elseif (!empty($attr6_raw))
$tmp_text = str_replace('_',' ',$attr6_raw);
elseif (!empty($attr6_value))
$tmp_text = $attr6_value;
else
$tmp_text = ' ';
- if ( $attr6_escape && empty($attr6_raw) && $tmp_text!=' ' )
- $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))
@@ -1285,12 +1264,18 @@ if ( $attr7_readonly && $checked )
$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:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
$attr6_type = 'submit';
if (isset($attr6_src))
$attr6_type = 'image';
else
$attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo lang($attr6_text) ?> " /><?php unset($attr6_src) ?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
</td>
</tr>
</table>
diff --git a/themes/default/pages/html/folder/show.tpl.php b/themes/default/pages/html/folder/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:6:"widths";s:7:"75%,25%";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('widths'=>'75%,25%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_widths='75%,25%' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_widths='75%,25%'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -67,7 +59,7 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
+ <?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
@@ -148,68 +140,13 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_widths) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:1:{s:7:"present";s:6:"up_url";}' ?><?php $attr3 = array('present'=>'up_url') ?><?php $attr3_present='up_url' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+<?php unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_present='up_url'; ?><?php
+ $attr3_tmp_exec = isset($$attr3_present);
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_present) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_present); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -219,18 +156,24 @@
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:3:{s:5:"width";s:3:"50%";s:5:"class";s:2:"fx";s:7:"colspan";s:1:"8";}' ?><?php $attr5 = array('width'=>'50%','class'=>'fx','colspan'=>'8') ?><?php $attr5_width='50%' ?><?php $attr5_class='fx' ?><?php $attr5_colspan='8' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_width='50%'; $attr5_class='fx'; $attr5_colspan='8'; ?><?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;
+ $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_width) ?><?php unset($attr5_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:10:"var:up_url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'cms_main','url'=>$up_url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$up_url ?><?php $attr6_class='' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_width);unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_title=''; $attr6_target='cms_main'; $attr6_url=$up_url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -250,21 +193,10 @@
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:6:"folder";}' ?><?php $attr7 = array('align'=>'left','type'=>'folder') ?><?php $attr7_align='left' ?><?php $attr7_type='folder' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:17:"__.._____________";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
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_align='left'; $attr7_type='folder'; ?><?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_raw='__.._____________'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -329,7 +261,7 @@ if (isset($attr7_elementtype)) {
}
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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -339,18 +271,24 @@ if (isset($attr7_elementtype)) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr4 = array('class'=>'help') ?><?php $attr4_class='help' ?><?php
+?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_class='help'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_class) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_TYPE";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_TYPE','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_TYPE' ?><?php $attr5_escape=true ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_text='GLOBAL_TYPE'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -415,7 +353,7 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_text) ?><?php unset($attr5_escape) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_/_";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','raw'=>'_/_','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_/_' ?><?php $attr5_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php $attr5_class='text'; $attr5_raw='_/_'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -480,7 +418,7 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_NAME','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_NAME' ?><?php $attr5_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_raw);unset($attr5_escape); ?><?php $attr5_class='text'; $attr5_text='GLOBAL_NAME'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -545,18 +483,24 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_text) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr4 = array('class'=>'help') ?><?php $attr4_class='help' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='help'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_class) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GLOBAL_LASTCHANGE";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_LASTCHANGE','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_LASTCHANGE' ?><?php $attr5_escape=true ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_text='GLOBAL_LASTCHANGE'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -621,7 +565,7 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_text) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:6:"object";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'object','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='object' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr3_list='object'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -640,7 +584,7 @@ if (isset($attr7_elementtype)) {
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -650,18 +594,24 @@ if (isset($attr7_elementtype)) {
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:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:8:"var:desc";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:9:"var:class";}' ?><?php $attr6 = array('title'=>$desc,'target'=>'cms_main','url'=>$url,'class'=>$class) ?><?php $attr6_title=$desc ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$url ?><?php $attr6_class=$class ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_title=$desc; $attr6_target='cms_main'; $attr6_url=$url; $attr6_class=$class; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -681,21 +631,10 @@ if (isset($attr7_elementtype)) {
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:8:"var:icon";}' ?><?php $attr7 = array('align'=>'left','type'=>$icon) ?><?php $attr7_align='left' ?><?php $attr7_type=$icon ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?php $attr7_escape=true ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_align='left'; $attr7_type=$icon; ?><?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -760,7 +699,7 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_var) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php $attr7_class='text'; $attr7_raw='_'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -825,18 +764,24 @@ if (isset($attr7_elementtype)) {
}
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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:1:{s:4:"date";s:8:"var:date";}' ?><?php $attr6 = array('date'=>$date) ?><?php $attr6_date=$date ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_date=$date; ?><?php
global $conf;
$time = $attr6_date;
if ( $time==0)
@@ -892,68 +837,20 @@ if (isset($attr7_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr6) ?><?php unset($attr6_date) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:1:{s:5:"empty";s:6:"object";}' ?><?php $attr3 = array('empty'=>'object') ?><?php $attr3_empty='object' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
+?><?php unset($attr6_date); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr3_empty='object'; ?><?php
+ if ( !isset($$attr3_empty) )
+ $attr3_tmp_exec = empty($attr3_empty);
+ elseif ( is_array($$attr3_empty) )
+ $attr3_tmp_exec = (count($$attr3_empty)==0);
+ elseif ( is_bool($$attr3_empty) )
+ $attr3_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr3_tmp_exec = empty( $$attr3_empty );
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_empty) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_empty); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -963,18 +860,24 @@ if (isset($attr7_elementtype)) {
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:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'fx','colspan'=>'2') ?><?php $attr5_class='fx' ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='fx'; $attr5_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"GLOBAL_NOT_FOUND";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NOT_FOUND','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NOT_FOUND' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NOT_FOUND'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1039,7 +942,7 @@ if (isset($attr7_elementtype)) {
}
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 $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1051,5 +954,5 @@ if (isset($attr7_elementtype)) {
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/group/edit.tpl.php b/themes/default/pages/html/group/edit.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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:5:{s:4:"name";s:13:"GLOBAL_GROUPS";s:4:"icon";s:5:"group";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_GROUPS','icon'=>'group','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_GROUPS' ?><?php $attr3_icon='group' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='GLOBAL_GROUPS'; $attr3_icon='group'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,9 +81,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -170,7 +162,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_name) ?><?php unset($attr3_icon) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -180,18 +172,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NAME' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NAME'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -256,25 +254,31 @@
}
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'name','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -284,18 +288,24 @@ 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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -308,7 +318,7 @@ if ($attr6_readonly) {
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -320,12 +330,12 @@ if ($attr6_readonly) {
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:5:"field";s:4:"name";}' ?><?php $attr2 = array('field'=>'name') ?><?php $attr2_field='name' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='name'; ?><?php
if (isset($errors[0])) $attr2_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr2_field ?>.focus();
document.forms[0].<?php echo $attr2_field ?>.select();
</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/group/users.tpl.php b/themes/default/pages/html/group/users.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:4:"name";s:17:"GROUP_MEMBERSHIPS";s:4:"icon";s:4:"user";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('name'=>'GROUP_MEMBERSHIPS','icon'=>'user','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='GROUP_MEMBERSHIPS' ?><?php $attr2_icon='user' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='GROUP_MEMBERSHIPS'; $attr2_icon='user'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -67,9 +59,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -148,7 +140,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:11:"memberships";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'memberships','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='memberships' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
+<?php unset($attr2_name);unset($attr2_icon);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='memberships'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -167,7 +159,7 @@
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -177,30 +169,27 @@
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:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:2:{s:4:"file";s:9:"icon_user";s:5:"align";s:4:"left";}' ?><?php $attr6 = array('file'=>'icon_user','align'=>'left') ?><?php $attr6_file='icon_user' ?><?php $attr6_align='left' ?><?php
-if (isset($attr6_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr6_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_url)) {
-?><img src="<?php echo $attr6_url ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_fileext)) {
-?><img src="<?php echo $image_dir.$attr6_fileext ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_file)) {
-?><img src="<?php echo $image_dir.$attr6_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php } ?><?php unset($attr6) ?><?php unset($attr6_file) ?><?php unset($attr6_align) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='name' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_file='icon_user'; $attr6_align='left'; ?><?php
+ $attr6_tmp_image_file = $image_dir.$attr6_fileext;
+ $attr6_tmp_image_file = $image_dir.$attr6_file.IMG_ICON_EXT;
+?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_file);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_var='name'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -265,18 +254,24 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:14:"var:delete_url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','url'=>$delete_url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_url=$delete_url ?><?php $attr6_class='' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_url=$delete_url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -296,7 +291,7 @@ if (isset($attr6_elementtype)) {
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"GLOBAL_DELETE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'GLOBAL_DELETE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='GLOBAL_DELETE' ?><?php $attr7_escape=true ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_class='text'; $attr7_key='GLOBAL_DELETE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -361,7 +356,7 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -373,5 +368,5 @@ if (isset($attr6_elementtype)) {
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/index/applications.tpl.php b/themes/default/pages/html/index/applications.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:2:{s:5:"class";s:4:"main";s:5:"title";s:31:"message:MENU_INDEX_APPLICATIONS";}' ?><?php $attr1 = array('class'=>'main','title'=>lang('MENU_INDEX_APPLICATIONS')) ?><?php $attr1_class='main' ?><?php $attr1_title=lang('MENU_INDEX_APPLICATIONS') ?><?php
+<?php $attr1_class='main'; $attr1_title=lang('MENU_INDEX_APPLICATIONS'); ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php unset($attr1_title) ?><?php $attr2_debug_info = 'a:4:{s:4:"icon";s:7:"project";s:5:"width";s:3:"600";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('icon'=>'project','width'=>'600','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_icon='project' ?><?php $attr2_width='600' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class);unset($attr1_title); ?><?php $attr2_icon='project'; $attr2_width='600'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -67,9 +59,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -148,7 +140,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php
+<?php unset($attr2_icon);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -158,18 +150,24 @@
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_colspan='2'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_colspan) ?><?php $attr5_debug_info = 'a:5:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:5:"class";s:0:"";s:6:"action";s:5:"index";s:9:"subaction";s:11:"projectmenu";}' ?><?php $attr5 = array('title'=>'','target'=>'_self','class'=>'','action'=>'index','subaction'=>'projectmenu') ?><?php $attr5_title='' ?><?php $attr5_target='_self' ?><?php $attr5_class='' ?><?php $attr5_action='index' ?><?php $attr5_subaction='projectmenu' ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_colspan); ?><?php $attr5_title=''; $attr5_target='_self'; $attr5_class=''; $attr5_action='index'; $attr5_subaction='projectmenu'; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -189,7 +187,7 @@
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_class) ?><?php unset($attr5_action) ?><?php unset($attr5_subaction) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:7:"OpenRat";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','raw'=>'OpenRat','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_raw='OpenRat' ?><?php $attr6_escape=true ?><?php
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5_title);unset($attr5_target);unset($attr5_class);unset($attr5_action);unset($attr5_subaction); ?><?php $attr6_class='text'; $attr6_raw='OpenRat'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -254,7 +252,7 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></a><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:12:"applications";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'applications','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='applications' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr3_list='applications'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -273,7 +271,7 @@
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -283,18 +281,24 @@
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 ?><?php ?><?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;
+ $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:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','url'=>$url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_url=$url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -314,7 +318,7 @@
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?php $attr7_escape=true ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -379,18 +383,24 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:3:"var";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'description','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='description' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_var='description'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -455,7 +465,7 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -467,5 +477,5 @@
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/index/projectmenu.tpl.php b/themes/default/pages/html/index/projectmenu.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:2:{s:5:"class";s:4:"main";s:5:"title";s:30:"message:MENU_INDEX_PROJECTMENU";}' ?><?php $attr1 = array('class'=>'main','title'=>lang('MENU_INDEX_PROJECTMENU')) ?><?php $attr1_class='main' ?><?php $attr1_title=lang('MENU_INDEX_PROJECTMENU') ?><?php
+<?php $attr1_class='main'; $attr1_title=lang('MENU_INDEX_PROJECTMENU'); ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php unset($attr1_title) ?><?php $attr2_debug_info = 'a:6:{s:5:"title";s:15:"GLOBAL_PROJECTS";s:4:"name";s:5:"login";s:4:"icon";s:7:"project";s:5:"width";s:3:"600";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('title'=>'GLOBAL_PROJECTS','name'=>'login','icon'=>'project','width'=>'600','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_title='GLOBAL_PROJECTS' ?><?php $attr2_name='login' ?><?php $attr2_icon='project' ?><?php $attr2_width='600' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class);unset($attr1_title); ?><?php $attr2_title='GLOBAL_PROJECTS'; $attr2_name='login'; $attr2_icon='project'; $attr2_width='600'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -67,7 +59,7 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
+ <?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
@@ -148,7 +140,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_title) ?><?php unset($attr2_name) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php
+<?php unset($attr2_title);unset($attr2_name);unset($attr2_icon);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -158,18 +150,24 @@
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:2:{s:5:"class";s:4:"logo";s:7:"colspan";s:1:"2";}' ?><?php $attr4 = array('class'=>'logo','colspan'=>'2') ?><?php $attr4_class='logo' ?><?php $attr4_colspan='2' ?><?php
+?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_class='logo'; $attr4_colspan='2'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_class) ?><?php unset($attr4_colspan) ?><?php $attr5_debug_info = 'a:1:{s:4:"name";s:11:"projectmenu";}' ?><?php $attr5 = array('name'=>'projectmenu') ?><?php $attr5_name='projectmenu' ?><img src="<?php echo $image_dir.'logo_'.$attr5_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$attr5_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$attr5_name.'_text') ?></p><?php unset($attr5) ?><?php unset($attr5_name) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:8:"projects";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'projects','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='projects' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_class);unset($attr4_colspan); ?><?php $attr5_name='projectmenu'; ?><img src="<?php echo $image_dir.'logo_'.$attr5_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$attr5_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$attr5_name.'_text') ?></p><?php unset($attr5_name); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr3_list='projects'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -188,7 +186,7 @@
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -198,18 +196,24 @@
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
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?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;
+ $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:8:"var:name";}' ?><?php $attr6 = array('title'=>$name) ?><?php $attr6_title=$name ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=$name; ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -219,18 +223,24 @@
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 ?><?php ?><?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;
+ $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:4:{s:5:"title";s:27:"message:TREE_CHOOSE_PROJECT";s:6:"target";s:5:"_self";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>lang('TREE_CHOOSE_PROJECT'),'target'=>'_self','url'=>$url,'class'=>'') ?><?php $attr6_title=lang('TREE_CHOOSE_PROJECT') ?><?php $attr6_target='_self' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_title=lang('TREE_CHOOSE_PROJECT'); $attr6_target='_self'; $attr6_url=$url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -250,28 +260,17 @@
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:3:"var";s:7:"project";s:5:"value";s:7:"project";}' ?><?php $attr7 = array('var'=>'project','value'=>'project') ?><?php $attr7_var='project' ?><?php $attr7_value='project' ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_var='project'; $attr7_value='project'; ?><?php
if (!isset($attr7_value))
unset($$attr7_var);
elseif (isset($attr7_key))
$$attr7_var = $attr7_value[$attr7_key];
else
$$attr7_var = $attr7_value;
-?><?php unset($attr7) ?><?php unset($attr7_var) ?><?php unset($attr7_value) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:7:"project";}' ?><?php $attr7 = array('align'=>'left','type'=>'project') ?><?php $attr7_align='left' ?><?php $attr7_type='project' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?php $attr7_escape=true ?><?php
+?><?php unset($attr7_var);unset($attr7_value); ?><?php $attr7_align='left'; $attr7_type='project'; ?><?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -336,32 +335,38 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?><?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;
+ $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:7:{s:6:"action";s:5:"index";s:9:"subaction";s:7:"project";s:2:"id";s:6:"var:id";s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr6 = array('action'=>'index','subaction'=>'project','id'=>$id,'name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr6_action='index' ?><?php $attr6_subaction='project' ?><?php $attr6_id=$id ?><?php $attr6_name='' ?><?php $attr6_target='_self' ?><?php $attr6_method='post' ?><?php $attr6_enctype='application/x-www-form-urlencoded' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_action='index'; $attr6_subaction='project'; $attr6_id=$id; $attr6_name=''; $attr6_target='_self'; $attr6_method='post'; $attr6_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr6_action))
$attr6_action = $actionName;
if (empty($attr6_subaction))
$attr6_subaction = $targetSubActionName;
if (empty($attr6_id))
$attr6_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr6_subaction = $subActionName;
?><form name="<?php echo $attr6_name ?>"
target="<?php echo $attr6_target ?>"
action="<?php echo Html::url( $attr6_action,$attr6_subaction,$attr6_id ) ?>"
method="<?php echo $attr6_method ?>"
enctype="<?php echo $attr6_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr6_action ?>" />
@@ -369,7 +374,7 @@ if (isset($attr7_elementtype)) {
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr6_id ?>" /><?php
if ( $conf['interface']['url_sessionid'] )
echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
-?><?php unset($attr6) ?><?php unset($attr6_action) ?><?php unset($attr6_subaction) ?><?php unset($attr6_id) ?><?php unset($attr6_name) ?><?php unset($attr6_target) ?><?php unset($attr6_method) ?><?php unset($attr6_enctype) ?><?php $attr7_debug_info = 'a:5:{s:5:"width";s:4:"100%";s:5:"space";s:3:"0px";s:7:"padding";s:3:"0px";s:6:"widths";s:11:"150px,150px";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr7 = array('width'=>'100%','space'=>'0px','padding'=>'0px','widths'=>'150px,150px','rowclasses'=>'odd,even') ?><?php $attr7_width='100%' ?><?php $attr7_space='0px' ?><?php $attr7_padding='0px' ?><?php $attr7_widths='150px,150px' ?><?php $attr7_rowclasses='odd,even' ?><?php
+?><?php unset($attr6_action);unset($attr6_subaction);unset($attr6_id);unset($attr6_name);unset($attr6_target);unset($attr6_method);unset($attr6_enctype); ?><?php $attr7_width='100%'; $attr7_space='0px'; $attr7_padding='0px'; $attr7_widths='150px,150px'; $attr7_rowclasses='odd,even'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -397,7 +402,7 @@ if (isset($attr7_elementtype)) {
$column_classes = explode(',',$attr7_columnclasses);
unset($attr7['columnclasses']);
}
-?><table class="<?php echo $attr7_class ?>" cellspacing="<?php echo $attr7_space ?>" width="<?php echo $attr7_width ?>" cellpadding="<?php echo $attr7_padding ?>"><?php unset($attr7) ?><?php unset($attr7_width) ?><?php unset($attr7_space) ?><?php unset($attr7_padding) ?><?php unset($attr7_widths) ?><?php unset($attr7_rowclasses) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?><?php
+?><table class="<?php echo $attr7_class ?>" cellspacing="<?php echo $attr7_space ?>" width="<?php echo $attr7_width ?>" cellpadding="<?php echo $attr7_padding ?>"><?php unset($attr7_width);unset($attr7_space);unset($attr7_padding);unset($attr7_widths);unset($attr7_rowclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -407,18 +412,24 @@ if (isset($attr7_elementtype)) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr8_class ?>"><?php unset($attr8) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php
+?><tr class="<?php echo $attr8_class ?>"><?php ?><?php ?><?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($attr9_class))
- $attr9['class']=$column_class;
+ $attr9_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
- $attr9['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr9 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr9) ?><?php $attr10_debug_info = 'a:6:{s:4:"list";s:6:"models";s:4:"name";s:7:"modelid";s:7:"default";s:18:"var:defaultmodelid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";}' ?><?php $attr10 = array('list'=>'models','name'=>'modelid','default'=>$defaultmodelid,'onchange'=>'','title'=>'','class'=>'') ?><?php $attr10_list='models' ?><?php $attr10_name='modelid' ?><?php $attr10_default=$defaultmodelid ?><?php $attr10_onchange='' ?><?php $attr10_title='' ?><?php $attr10_class='' ?><?php $attr10_tmp_list = $$attr10_list;
+ $attr9_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr9_width )) { ?> width="<?php echo $attr9_width ?>" <?php }
+if ( isset($attr9_style )) { ?> style="<?php echo $attr9_style ?>" <?php }
+if ( isset($attr9_class )) { ?> class="<?php echo $attr9_class ?>" <?php }
+if ( isset($attr9_colspan)) { ?> colspan="<?php echo $attr9_colspan ?>" <?php }
+if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
+?>><?php ?><?php $attr10_list='models'; $attr10_name='modelid'; $attr10_default=$defaultmodelid; $attr10_onchange=''; $attr10_title=''; $attr10_class=''; ?><?php $attr10_tmp_list = $$attr10_list;
if ( isset($$attr10_name) && isset($attr10_tmp_list[$$attr10_name]) )
$attr10_tmp_default = $$attr10_name;
elseif ( isset($attr10_default) )
@@ -433,18 +444,24 @@ if (isset($attr7_elementtype)) {
echo ' checked="checked"';
echo '> <label for="'.$id.'">'.$box_value.'</label><br>';
}
-?><?php unset($attr10) ?><?php unset($attr10_list) ?><?php unset($attr10_name) ?><?php unset($attr10_default) ?><?php unset($attr10_onchange) ?><?php unset($attr10_title) ?><?php unset($attr10_class) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></td><?php unset($attr8) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php
+?><?php unset($attr10_list);unset($attr10_name);unset($attr10_default);unset($attr10_onchange);unset($attr10_title);unset($attr10_class); ?><?php ?></td><?php ?><?php ?><?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($attr9_class))
- $attr9['class']=$column_class;
+ $attr9_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
- $attr9['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr9 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr9) ?><?php $attr10_debug_info = 'a:6:{s:4:"list";s:9:"languages";s:4:"name";s:10:"languageid";s:7:"default";s:21:"var:defaultlanguageid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";}' ?><?php $attr10 = array('list'=>'languages','name'=>'languageid','default'=>$defaultlanguageid,'onchange'=>'','title'=>'','class'=>'') ?><?php $attr10_list='languages' ?><?php $attr10_name='languageid' ?><?php $attr10_default=$defaultlanguageid ?><?php $attr10_onchange='' ?><?php $attr10_title='' ?><?php $attr10_class='' ?><?php $attr10_tmp_list = $$attr10_list;
+ $attr9_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr9_width )) { ?> width="<?php echo $attr9_width ?>" <?php }
+if ( isset($attr9_style )) { ?> style="<?php echo $attr9_style ?>" <?php }
+if ( isset($attr9_class )) { ?> class="<?php echo $attr9_class ?>" <?php }
+if ( isset($attr9_colspan)) { ?> colspan="<?php echo $attr9_colspan ?>" <?php }
+if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
+?>><?php ?><?php $attr10_list='languages'; $attr10_name='languageid'; $attr10_default=$defaultlanguageid; $attr10_onchange=''; $attr10_title=''; $attr10_class=''; ?><?php $attr10_tmp_list = $$attr10_list;
if ( isset($$attr10_name) && isset($attr10_tmp_list[$$attr10_name]) )
$attr10_tmp_default = $$attr10_name;
elseif ( isset($attr10_default) )
@@ -459,18 +476,24 @@ if (isset($attr7_elementtype)) {
echo ' checked="checked"';
echo '> <label for="'.$id.'">'.$box_value.'</label><br>';
}
-?><?php unset($attr10) ?><?php unset($attr10_list) ?><?php unset($attr10_name) ?><?php unset($attr10_default) ?><?php unset($attr10_onchange) ?><?php unset($attr10_title) ?><?php unset($attr10_class) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></td><?php unset($attr8) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php
+?><?php unset($attr10_list);unset($attr10_name);unset($attr10_default);unset($attr10_onchange);unset($attr10_title);unset($attr10_class); ?><?php ?></td><?php ?><?php ?><?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($attr9_class))
- $attr9['class']=$column_class;
+ $attr9_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
- $attr9['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr9 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr9) ?><?php $attr10_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr10 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr10_type='ok' ?><?php $attr10_class='ok' ?><?php $attr10_value='ok' ?><?php $attr10_text='button_ok' ?><?php
+ $attr9_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr9_width )) { ?> width="<?php echo $attr9_width ?>" <?php }
+if ( isset($attr9_style )) { ?> style="<?php echo $attr9_style ?>" <?php }
+if ( isset($attr9_class )) { ?> class="<?php echo $attr9_class ?>" <?php }
+if ( isset($attr9_colspan)) { ?> colspan="<?php echo $attr9_colspan ?>" <?php }
+if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
+?>><?php ?><?php $attr10_type='ok'; $attr10_class='ok'; $attr10_value='ok'; $attr10_text='button_ok'; ?><?php
if ($attr10_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -483,8 +506,8 @@ if (isset($attr7_elementtype)) {
else
$attr10_src = '';
?><input type="<?php echo $attr10_type ?>"<?php if(isset($attr10_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr10_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr10_value ?>" class="<?php echo $attr10_class ?>" title="<?php echo lang($attr10_text.'_DESC') ?>" value=" <?php echo langHtml($attr10_text) ?> " /><?php unset($attr10_src) ?><?php
-?><?php unset($attr10) ?><?php unset($attr10_type) ?><?php unset($attr10_class) ?><?php unset($attr10_value) ?><?php unset($attr10_text) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></td><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></tr><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></table><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></form>
-<?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?><?php unset($attr10_type);unset($attr10_class);unset($attr10_value);unset($attr10_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></form>
+<?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -496,5 +519,5 @@ if (isset($attr7_elementtype)) {
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/index/show.tpl.php b/themes/default/pages/html/index/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><html>
+<?php ?><html>
<head>
<title><?php echo @$title ?> - <?php echo $cms_title ?></title>
<link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" />
@@ -16,250 +16,97 @@
?>
<meta name="robots" content="noindex,nofollow" />
</head>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:4:"true";s:33:"config:interface/application_mode";}' ?><?php $attr2 = array('true'=>@$conf['interface']['application_mode']) ?><?php $attr2_true=@$conf['interface']['application_mode'] ?><?php
- if ( isset($attr2_true) )
- {
- if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
- $exec = $$attr2_true == true;
- else
- $exec = $attr2_true == true;
- }
- elseif ( isset($attr2_false) )
- {
- if (gettype($attr2_false) === '' && gettype($attr2_false) === '1')
- $exec = $$attr2_false == false;
- else
- $exec = $attr2_false == false;
- }
- elseif( isset($attr2_contains) )
- $exec = in_array($attr2_value,explode(',',$attr2_contains));
- elseif( isset($attr2_equals)&& isset($attr2_value) )
- $exec = $attr2_equals == $attr2_value;
- elseif( isset($attr2_lessthan)&& isset($attr2_value) )
- $exec = intval($attr2_lessthan) > intval($attr2_value);
- elseif( isset($attr2_greaterthan)&& isset($attr2_value) )
- $exec = intval($attr2_greaterthan) < intval($attr2_value);
- elseif ( isset($attr2_empty) )
- {
- if ( !isset($$attr2_empty) )
- $exec = empty($attr2_empty);
- elseif ( is_array($$attr2_empty) )
- $exec = (count($$attr2_empty)==0);
- elseif ( is_bool($$attr2_empty) )
- $exec = true;
- else
- $exec = empty( $$attr2_empty );
- }
- elseif ( isset($attr2_present) )
- {
- $exec = isset($$attr2_present);
- }
+<?php ?><?php $attr2_true=@$conf['interface']['application_mode']; ?><?php
+ if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
+ $attr2_tmp_exec = $$attr2_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr2_invert) )
- $exec = !$exec;
- if ( !empty($attr2_not) )
- $exec = !$exec;
- unset($attr2_true);
- unset($attr2_false);
- unset($attr2_notempty);
- unset($attr2_empty);
- unset($attr2_contains);
- unset($attr2_present);
- unset($attr2_invert);
- unset($attr2_not);
- unset($attr2_value);
- unset($attr2_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr2_tmp_exec = $attr2_true == true;
+ $attr2_tmp_last_exec = $attr2_tmp_exec;
+ if ( $attr2_tmp_exec )
{
?>
-<?php unset($attr2) ?><?php unset($attr2_true) ?><?php $attr3_debug_info = 'a:2:{s:3:"var";s:10:"menuheight";s:5:"value";s:2:"24";}' ?><?php $attr3 = array('var'=>'menuheight','value'=>'24') ?><?php $attr3_var='menuheight' ?><?php $attr3_value='24' ?><?php
+<?php unset($attr2_true); ?><?php $attr3_var='menuheight'; $attr3_value='24'; ?><?php
if (!isset($attr3_value))
unset($$attr3_var);
elseif (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
-?><?php unset($attr3) ?><?php unset($attr3_var) ?><?php unset($attr3_value) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr2) ?><?php $attr3_debug_info = 'a:2:{s:3:"var";s:10:"menuheight";s:5:"value";s:2:"54";}' ?><?php $attr3 = array('var'=>'menuheight','value'=>'54') ?><?php $attr3_var='menuheight' ?><?php $attr3_value='54' ?><?php
+?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
+<?php ?><?php $attr3_var='menuheight'; $attr3_value='54'; ?><?php
if (!isset($attr3_value))
unset($$attr3_var);
elseif (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
-?><?php unset($attr3) ?><?php unset($attr3_var) ?><?php unset($attr3_value) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:4:"true";s:33:"config:interface/application_mode";}' ?><?php $attr2 = array('true'=>@$conf['interface']['application_mode']) ?><?php $attr2_true=@$conf['interface']['application_mode'] ?><?php
- if ( isset($attr2_true) )
- {
- if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
- $exec = $$attr2_true == true;
- else
- $exec = $attr2_true == true;
- }
- elseif ( isset($attr2_false) )
- {
- if (gettype($attr2_false) === '' && gettype($attr2_false) === '1')
- $exec = $$attr2_false == false;
- else
- $exec = $attr2_false == false;
- }
- elseif( isset($attr2_contains) )
- $exec = in_array($attr2_value,explode(',',$attr2_contains));
- elseif( isset($attr2_equals)&& isset($attr2_value) )
- $exec = $attr2_equals == $attr2_value;
- elseif( isset($attr2_lessthan)&& isset($attr2_value) )
- $exec = intval($attr2_lessthan) > intval($attr2_value);
- elseif( isset($attr2_greaterthan)&& isset($attr2_value) )
- $exec = intval($attr2_greaterthan) < intval($attr2_value);
- elseif ( isset($attr2_empty) )
- {
- if ( !isset($$attr2_empty) )
- $exec = empty($attr2_empty);
- elseif ( is_array($$attr2_empty) )
- $exec = (count($$attr2_empty)==0);
- elseif ( is_bool($$attr2_empty) )
- $exec = true;
- else
- $exec = empty( $$attr2_empty );
- }
- elseif ( isset($attr2_present) )
- {
- $exec = isset($$attr2_present);
- }
+?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php }
+unset($attr1_tmp_last_exec) ?><?php ?><?php $attr2_true=@$conf['interface']['application_mode']; ?><?php
+ if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
+ $attr2_tmp_exec = $$attr2_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr2_invert) )
- $exec = !$exec;
- if ( !empty($attr2_not) )
- $exec = !$exec;
- unset($attr2_true);
- unset($attr2_false);
- unset($attr2_notempty);
- unset($attr2_empty);
- unset($attr2_contains);
- unset($attr2_present);
- unset($attr2_invert);
- unset($attr2_not);
- unset($attr2_value);
- unset($attr2_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr2_tmp_exec = $attr2_true == true;
+ $attr2_tmp_last_exec = $attr2_tmp_exec;
+ if ( $attr2_tmp_exec )
{
?>
-<?php unset($attr2) ?><?php unset($attr2_true) ?><?php $attr3_debug_info = 'a:1:{s:4:"rows";s:1:"*";}' ?><?php $attr3 = array('rows'=>'*') ?><?php $attr3_rows='*' ?><frameset
+<?php unset($attr2_true); ?><?php $attr3_rows='*'; ?><frameset
<?php echo !empty($attr3_rows) ?' rows="'.$attr3_rows.'"':'' ?>
<?php echo !empty($attr3_columns)?' cols="'.$attr3_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr3) ?><?php unset($attr3_rows) ?><?php $attr4_debug_info = 'a:1:{s:7:"columns";s:5:"25%,*";}' ?><?php $attr4 = array('columns'=>'25%,*') ?><?php $attr4_columns='25%,*' ?><frameset
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr3_rows); ?><?php $attr4_columns='25%,*'; ?><frameset
<?php echo !empty($attr4_rows) ?' rows="'.$attr4_rows.'"':'' ?>
<?php echo !empty($attr4_columns)?' cols="'.$attr4_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr4) ?><?php unset($attr4_columns) ?><?php $attr5_debug_info = 'a:1:{s:4:"rows";s:14:"{menuheight},*";}' ?><?php $attr5 = array('rows'=>''.$menuheight.',*') ?><?php $attr5_rows=''.$menuheight.',*' ?><frameset
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr4_columns); ?><?php $attr5_rows=''.$menuheight.',*'; ?><frameset
<?php echo !empty($attr5_rows) ?' rows="'.$attr5_rows.'"':'' ?>
<?php echo !empty($attr5_columns)?' cols="'.$attr5_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr5) ?><?php unset($attr5_rows) ?><?php $attr6_debug_info = 'a:2:{s:4:"file";s:24:"var:frame_src_tree_title";s:4:"name";s:12:"cms_treemenu";}' ?><?php $attr6 = array('file'=>$frame_src_tree_title,'name'=>'cms_treemenu') ?><?php $attr6_file=$frame_src_tree_title ?><?php $attr6_name='cms_treemenu' ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
-<?php unset($attr6) ?><?php unset($attr6_file) ?><?php unset($attr6_name) ?><?php $attr6_debug_info = 'a:3:{s:4:"file";s:18:"var:frame_src_tree";s:4:"name";s:8:"cms_tree";s:9:"scrolling";s:4:"auto";}' ?><?php $attr6 = array('file'=>$frame_src_tree,'name'=>'cms_tree','scrolling'=>'auto') ?><?php $attr6_file=$frame_src_tree ?><?php $attr6_name='cms_tree' ?><?php $attr6_scrolling='auto' ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
-<?php unset($attr6) ?><?php unset($attr6_file) ?><?php unset($attr6_name) ?><?php unset($attr6_scrolling) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></frameset>
-<?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:4:"file";s:18:"var:frame_src_main";s:4:"name";s:8:"cms_main";}' ?><?php $attr5 = array('file'=>$frame_src_main,'name'=>'cms_main') ?><?php $attr5_file=$frame_src_main ?><?php $attr5_name='cms_main' ?><frame src="<?php echo $attr5_file ?>" name="<?php echo empty($attr5_name)?'':$attr5_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr5_scrolling)?'no':$attr5_scrolling ?>">
-<?php unset($attr5) ?><?php unset($attr5_file) ?><?php unset($attr5_name) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></frameset>
-<?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></frameset>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr2) ?><?php $attr3_debug_info = 'a:1:{s:4:"rows";s:6:"23,3,*";}' ?><?php $attr3 = array('rows'=>'23,3,*') ?><?php $attr3_rows='23,3,*' ?><frameset
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr5_rows); ?><?php $attr6_file=$frame_src_tree_title; $attr6_name='cms_treemenu'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
+<?php unset($attr6_file);unset($attr6_name); ?><?php $attr6_file=$frame_src_tree; $attr6_name='cms_tree'; $attr6_scrolling='auto'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
+<?php unset($attr6_file);unset($attr6_name);unset($attr6_scrolling); ?><?php ?></frameset>
+<?php ?><?php $attr5_file=$frame_src_main; $attr5_name='cms_main'; ?><frame src="<?php echo $attr5_file ?>" name="<?php echo empty($attr5_name)?'':$attr5_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr5_scrolling)?'no':$attr5_scrolling ?>">
+<?php unset($attr5_file);unset($attr5_name); ?><?php ?></frameset>
+<?php ?><?php ?></frameset>
+<?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
+<?php ?><?php $attr3_rows='23,3,*'; ?><frameset
<?php echo !empty($attr3_rows) ?' rows="'.$attr3_rows.'"':'' ?>
<?php echo !empty($attr3_columns)?' cols="'.$attr3_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr3) ?><?php unset($attr3_rows) ?><?php $attr4_debug_info = 'a:2:{s:4:"file";s:19:"var:frame_src_title";s:4:"name";s:9:"cms_title";}' ?><?php $attr4 = array('file'=>$frame_src_title,'name'=>'cms_title') ?><?php $attr4_file=$frame_src_title ?><?php $attr4_name='cms_title' ?><frame src="<?php echo $attr4_file ?>" name="<?php echo empty($attr4_name)?'':$attr4_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr4_scrolling)?'no':$attr4_scrolling ?>">
-<?php unset($attr4) ?><?php unset($attr4_file) ?><?php unset($attr4_name) ?><?php $attr4_debug_info = 'a:1:{s:4:"file";s:20:"var:frame_src_border";}' ?><?php $attr4 = array('file'=>$frame_src_border) ?><?php $attr4_file=$frame_src_border ?><frame src="<?php echo $attr4_file ?>" name="<?php echo empty($attr4_name)?'':$attr4_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr4_scrolling)?'no':$attr4_scrolling ?>">
-<?php unset($attr4) ?><?php unset($attr4_file) ?><?php $attr4_debug_info = 'a:1:{s:4:"true";s:33:"config:interface/application_mode";}' ?><?php $attr4 = array('true'=>@$conf['interface']['application_mode']) ?><?php $attr4_true=@$conf['interface']['application_mode'] ?><?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);
- }
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr3_rows); ?><?php $attr4_file=$frame_src_title; $attr4_name='cms_title'; ?><frame src="<?php echo $attr4_file ?>" name="<?php echo empty($attr4_name)?'':$attr4_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr4_scrolling)?'no':$attr4_scrolling ?>">
+<?php unset($attr4_file);unset($attr4_name); ?><?php $attr4_file=$frame_src_border; ?><frame src="<?php echo $attr4_file ?>" name="<?php echo empty($attr4_name)?'':$attr4_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr4_scrolling)?'no':$attr4_scrolling ?>">
+<?php unset($attr4_file); ?><?php $attr4_true=@$conf['interface']['application_mode']; ?><?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
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 )
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_true) ?><?php $attr5_debug_info = 'a:2:{s:3:"var";s:10:"menuheight";s:5:"value";s:2:"24";}' ?><?php $attr5 = array('var'=>'menuheight','value'=>'24') ?><?php $attr5_var='menuheight' ?><?php $attr5_value='24' ?><?php
+<?php unset($attr4_true); ?><?php $attr5_var='menuheight'; $attr5_value='24'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
elseif (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
-?><?php unset($attr5) ?><?php unset($attr5_var) ?><?php unset($attr5_value) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:3:"var";s:10:"menuheight";s:5:"value";s:2:"54";}' ?><?php $attr5 = array('var'=>'menuheight','value'=>'54') ?><?php $attr5_var='menuheight' ?><?php $attr5_value='54' ?><?php
+?><?php unset($attr5_var);unset($attr5_value); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr4_tmp_last_exec) { ?>
+<?php ?><?php $attr5_var='menuheight'; $attr5_value='54'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
elseif (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
-?><?php unset($attr5) ?><?php unset($attr5_var) ?><?php unset($attr5_value) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"columns";s:5:"25%,*";}' ?><?php $attr4 = array('columns'=>'25%,*') ?><?php $attr4_columns='25%,*' ?><frameset
+?><?php unset($attr5_var);unset($attr5_value); ?><?php ?><?php }
+unset($attr3_tmp_last_exec) ?><?php ?><?php $attr4_columns='25%,*'; ?><frameset
<?php echo !empty($attr4_rows) ?' rows="'.$attr4_rows.'"':'' ?>
<?php echo !empty($attr4_columns)?' cols="'.$attr4_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr4) ?><?php unset($attr4_columns) ?><?php $attr5_debug_info = 'a:1:{s:4:"rows";s:14:"{menuheight},*";}' ?><?php $attr5 = array('rows'=>''.$menuheight.',*') ?><?php $attr5_rows=''.$menuheight.',*' ?><frameset
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr4_columns); ?><?php $attr5_rows=''.$menuheight.',*'; ?><frameset
<?php echo !empty($attr5_rows) ?' rows="'.$attr5_rows.'"':'' ?>
<?php echo !empty($attr5_columns)?' cols="'.$attr5_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr5) ?><?php unset($attr5_rows) ?><?php $attr6_debug_info = 'a:2:{s:4:"file";s:24:"var:frame_src_tree_title";s:4:"name";s:12:"cms_treemenu";}' ?><?php $attr6 = array('file'=>$frame_src_tree_title,'name'=>'cms_treemenu') ?><?php $attr6_file=$frame_src_tree_title ?><?php $attr6_name='cms_treemenu' ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
-<?php unset($attr6) ?><?php unset($attr6_file) ?><?php unset($attr6_name) ?><?php $attr6_debug_info = 'a:3:{s:4:"file";s:18:"var:frame_src_tree";s:4:"name";s:8:"cms_tree";s:9:"scrolling";s:4:"auto";}' ?><?php $attr6 = array('file'=>$frame_src_tree,'name'=>'cms_tree','scrolling'=>'auto') ?><?php $attr6_file=$frame_src_tree ?><?php $attr6_name='cms_tree' ?><?php $attr6_scrolling='auto' ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
-<?php unset($attr6) ?><?php unset($attr6_file) ?><?php unset($attr6_name) ?><?php unset($attr6_scrolling) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></frameset>
-<?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:4:"file";s:18:"var:frame_src_main";s:4:"name";s:8:"cms_main";}' ?><?php $attr5 = array('file'=>$frame_src_main,'name'=>'cms_main') ?><?php $attr5_file=$frame_src_main ?><?php $attr5_name='cms_main' ?><frame src="<?php echo $attr5_file ?>" name="<?php echo empty($attr5_name)?'':$attr5_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr5_scrolling)?'no':$attr5_scrolling ?>">
-<?php unset($attr5) ?><?php unset($attr5_file) ?><?php unset($attr5_name) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></frameset>
-<?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></frameset>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></html><?php unset($attr0) ?>-
\ No newline at end of file
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr5_rows); ?><?php $attr6_file=$frame_src_tree_title; $attr6_name='cms_treemenu'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
+<?php unset($attr6_file);unset($attr6_name); ?><?php $attr6_file=$frame_src_tree; $attr6_name='cms_tree'; $attr6_scrolling='auto'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
+<?php unset($attr6_file);unset($attr6_name);unset($attr6_scrolling); ?><?php ?></frameset>
+<?php ?><?php $attr5_file=$frame_src_main; $attr5_name='cms_main'; ?><frame src="<?php echo $attr5_file ?>" name="<?php echo empty($attr5_name)?'':$attr5_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr5_scrolling)?'no':$attr5_scrolling ?>">
+<?php unset($attr5_file);unset($attr5_name); ?><?php ?></frameset>
+<?php ?><?php ?></frameset>
+<?php ?><?php ?><?php }
+unset($attr1_tmp_last_exec) ?><?php ?><?php ?></html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/index/showlogin.tpl.php b/themes/default/pages/html/index/showlogin.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:6:{s:6:"action";s:5:"index";s:9:"subaction";s:5:"login";s:4:"name";s:0:"";s:6:"target";s:4:"_top";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('action'=>'index','subaction'=>'login','name'=>'','target'=>'_top','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_action='index' ?><?php $attr2_subaction='login' ?><?php $attr2_name='' ?><?php $attr2_target='_top' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_action='index'; $attr2_subaction='login'; $attr2_name=''; $attr2_target='_top'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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_action) ?><?php unset($attr2_subaction) ?><?php unset($attr2_name) ?><?php unset($attr2_target) ?><?php unset($attr2_method) ?><?php unset($attr2_enctype) ?><?php $attr3_debug_info = 'a:6:{s:5:"title";s:12:"GLOBAL_LOGIN";s:4:"name";s:5:"login";s:4:"icon";s:4:"user";s:5:"width";s:5:"400px";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('title'=>'GLOBAL_LOGIN','name'=>'login','icon'=>'user','width'=>'400px','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='GLOBAL_LOGIN' ?><?php $attr3_name='login' ?><?php $attr3_icon='user' ?><?php $attr3_width='400px' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_action);unset($attr2_subaction);unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_title='GLOBAL_LOGIN'; $attr3_name='login'; $attr3_icon='user'; $attr3_width='400px'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,7 +81,7 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
+ <?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
@@ -170,129 +162,22 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_title) ?><?php unset($attr3_name) ?><?php unset($attr3_icon) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:22:"config:login/logo/file";}' ?><?php $attr4 = array('present'=>@$conf['login']['logo']['file']) ?><?php $attr4_present=@$conf['login']['logo']['file'] ?><?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($attr3_title);unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php $attr4_present=@$conf['login']['logo']['file']; ?><?php
+ $attr4_tmp_exec = isset($$attr4_present);
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_present) ?><?php $attr5_debug_info = 'a:1:{s:5:"false";s:27:"property:mustChangePassword";}' ?><?php $attr5 = array('false'=>$this->mustChangePassword) ?><?php $attr5_false=$this->mustChangePassword ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
+<?php unset($attr4_present); ?><?php $attr5_false=$this->mustChangePassword; ?><?php
+ if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
+ $attr5_tmp_exec = $$attr5_false == false;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr5_tmp_exec = $attr5_false == false;
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_false) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+<?php unset($attr5_false); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -302,79 +187,30 @@
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('colspan'=>'2') ?><?php $attr7_colspan='2' ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php $attr7_colspan='2'; ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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:7:"present";s:21:"config:login/logo/url";}' ?><?php $attr8 = array('present'=>@$conf['login']['logo']['url']) ?><?php $attr8_present=@$conf['login']['logo']['url'] ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php unset($attr7_colspan); ?><?php $attr8_present=@$conf['login']['logo']['url']; ?><?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?php unset($attr8) ?><?php unset($attr8_present) ?><?php $attr9_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:4:"_top";s:3:"url";s:21:"config:login/logo/url";s:5:"class";s:0:"";}' ?><?php $attr9 = array('title'=>'','target'=>'_top','url'=>@$conf['login']['logo']['url'],'class'=>'') ?><?php $attr9_title='' ?><?php $attr9_target='_top' ?><?php $attr9_url=@$conf['login']['logo']['url'] ?><?php $attr9_class='' ?><?php
+<?php unset($attr8_present); ?><?php $attr9_title=''; $attr9_target='_top'; $attr9_url=@$conf['login']['logo']['url']; $attr9_class=''; ?><?php
$params = array();
if (!empty($attr9_var1) && isset($attr9_value1))
$params[$attr9_var1]=$attr9_value1;
@@ -394,157 +230,30 @@
$tmp_url = $attr9_url;
else
$tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9) ?><?php unset($attr9_title) ?><?php unset($attr9_target) ?><?php unset($attr9_url) ?><?php unset($attr9_class) ?><?php $attr10_debug_info = 'a:2:{s:3:"url";s:22:"config:login/logo/file";s:5:"align";s:4:"left";}' ?><?php $attr10 = array('url'=>@$conf['login']['logo']['file'],'align'=>'left') ?><?php $attr10_url=@$conf['login']['logo']['file'] ?><?php $attr10_align='left' ?><?php
-if (isset($attr10_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr10_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr10_align ?>"><?php
-} elseif (isset($attr10_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr10_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr10_align ?>"><?php
-} elseif (isset($attr10_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr10_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr10_align ?>"><?php
-} elseif (isset($attr10_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr10_tree.IMG_EXT ?>" border="0" align="<?php echo $attr10_align ?>"><?php
-} elseif (isset($attr10_url)) {
-?><img src="<?php echo $attr10_url ?>" border="0" align="<?php echo $attr10_align ?>"><?php
-} elseif (isset($attr10_fileext)) {
-?><img src="<?php echo $image_dir.$attr10_fileext ?>" border="0" align="<?php echo $attr10_align ?>"><?php
-} elseif (isset($attr10_file)) {
-?><img src="<?php echo $image_dir.$attr10_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr10_align ?>"><?php } ?><?php unset($attr10) ?><?php unset($attr10_url) ?><?php unset($attr10_align) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></a><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr8_debug_info = 'a:1:{s:5:"empty";s:21:"config:login/logo/url";}' ?><?php $attr8 = array('empty'=>@$conf['login']['logo']['url']) ?><?php $attr8_empty=@$conf['login']['logo']['url'] ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
+?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_url=@$conf['login']['logo']['file']; $attr10_align='left'; ?><?php
+ $attr10_tmp_image_file = $attr10_url;
+?><img src="<?php echo $attr10_tmp_image_file ?>" border="0"<?php if(isset($attr10_align)) echo ' align="'.$attr10_align.'"' ?><?php if (isset($attr10_size)) { list($attr10_tmp_width,$attr10_tmp_height)=explode('x',$attr10_size);echo ' width="'.$attr10_tmp_width.'" height="'.$attr10_tmp_height.'"';} ?>><?php unset($attr10_url);unset($attr10_align); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr8_empty=@$conf['login']['logo']['url']; ?><?php
+ if ( !isset($$attr8_empty) )
+ $attr8_tmp_exec = empty($attr8_empty);
+ elseif ( is_array($$attr8_empty) )
+ $attr8_tmp_exec = (count($$attr8_empty)==0);
+ elseif ( is_bool($$attr8_empty) )
+ $attr8_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr8_tmp_exec = empty( $$attr8_empty );
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?php unset($attr8) ?><?php unset($attr8_empty) ?><?php $attr9_debug_info = 'a:2:{s:3:"url";s:22:"config:login/logo/file";s:5:"align";s:4:"left";}' ?><?php $attr9 = array('url'=>@$conf['login']['logo']['file'],'align'=>'left') ?><?php $attr9_url=@$conf['login']['logo']['file'] ?><?php $attr9_align='left' ?><?php
-if (isset($attr9_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr9_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr9_tree.IMG_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_url)) {
-?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_fileext)) {
-?><img src="<?php echo $image_dir.$attr9_fileext ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_file)) {
-?><img src="<?php echo $image_dir.$attr9_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php } ?><?php unset($attr9) ?><?php unset($attr9_url) ?><?php unset($attr9_align) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?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:17:"config:login/motd";}' ?><?php $attr4 = array('present'=>@$conf['login']['motd']) ?><?php $attr4_present=@$conf['login']['motd'] ?><?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($attr8_empty); ?><?php $attr9_url=@$conf['login']['logo']['file']; $attr9_align='left'; ?><?php
+ $attr9_tmp_image_file = $attr9_url;
+?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_url);unset($attr9_align); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present=@$conf['login']['motd']; ?><?php
+ $attr4_tmp_exec = isset($$attr4_present);
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_present) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_present); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -554,18 +263,24 @@ if (isset($attr9_elementtype)) {
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:2:{s:5:"class";s:4:"motd";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'motd','colspan'=>'2') ?><?php $attr6_class='motd' ?><?php $attr6_colspan='2' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='motd'; $attr6_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:17:"config:login/motd";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','raw'=>@$conf['login']['motd'],'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_raw=@$conf['login']['motd'] ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_raw=@$conf['login']['motd']; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -630,68 +345,16 @@ if (isset($attr9_elementtype)) {
}
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 $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:4:"true";s:20:"config:login/nologin";}' ?><?php $attr4 = array('true'=>@$conf['login']['nologin']) ?><?php $attr4_true=@$conf['login']['nologin'] ?><?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);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=@$conf['login']['nologin']; ?><?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
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 )
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_true) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -701,18 +364,24 @@ if (isset($attr9_elementtype)) {
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:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'help','colspan'=>'2') ?><?php $attr6_class='help' ?><?php $attr6_colspan='2' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='help'; $attr6_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:18:"LOGIN_NOLOGIN_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'LOGIN_NOLOGIN_DESC','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='LOGIN_NOLOGIN_DESC' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_key='LOGIN_NOLOGIN_DESC'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -777,68 +446,16 @@ if (isset($attr9_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?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:4:"true";s:24:"config:security/readonly";}' ?><?php $attr4 = array('true'=>@$conf['security']['readonly']) ?><?php $attr4_true=@$conf['security']['readonly'] ?><?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);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=@$conf['security']['readonly']; ?><?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
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 )
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_true) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -848,18 +465,24 @@ if (isset($attr9_elementtype)) {
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:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'help','colspan'=>'2') ?><?php $attr6_class='help' ?><?php $attr6_colspan='2' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='help'; $attr6_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:20:"GLOBAL_READONLY_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'GLOBAL_READONLY_DESC','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='GLOBAL_READONLY_DESC' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_key='GLOBAL_READONLY_DESC'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -924,68 +547,16 @@ if (isset($attr9_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?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:4:"true";s:25:"config:security/nopublish";}' ?><?php $attr4 = array('true'=>@$conf['security']['nopublish']) ?><?php $attr4_true=@$conf['security']['nopublish'] ?><?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);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=@$conf['security']['nopublish']; ?><?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
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 )
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_true) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -995,18 +566,24 @@ if (isset($attr9_elementtype)) {
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:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'help','colspan'=>'2') ?><?php $attr6_class='help' ?><?php $attr6_colspan='2' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='help'; $attr6_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:21:"GLOBAL_NOPUBLISH_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'GLOBAL_NOPUBLISH_DESC','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='GLOBAL_NOPUBLISH_DESC' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_key='GLOBAL_NOPUBLISH_DESC'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1071,68 +648,16 @@ if (isset($attr9_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?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:5:"false";s:20:"config:login/nologin";}' ?><?php $attr4 = array('false'=>@$conf['login']['nologin']) ?><?php $attr4_false=@$conf['login']['nologin'] ?><?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);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_false=@$conf['login']['nologin']; ?><?php
+ if (gettype($attr4_false) === '' && gettype($attr4_false) === '1')
+ $attr4_tmp_exec = $$attr4_false == false;
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 )
+ $attr4_tmp_exec = $attr4_false == false;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_false) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_false); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1142,18 +667,24 @@ if (isset($attr9_elementtype)) {
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:2:{s:5:"class";s:4:"logo";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'logo','colspan'=>'2') ?><?php $attr6_class='logo' ?><?php $attr6_colspan='2' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='logo'; $attr6_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:1:{s:4:"name";s:5:"login";}' ?><?php $attr7 = array('name'=>'login') ?><?php $attr7_name='login' ?><img src="<?php echo $image_dir.'logo_'.$attr7_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$attr7_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$attr7_name.'_text') ?></p><?php unset($attr7) ?><?php unset($attr7_name) ?><?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
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_name='login'; ?><img src="<?php echo $image_dir.'logo_'.$attr7_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$attr7_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$attr7_name.'_text') ?></p><?php unset($attr7_name); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1163,18 +694,24 @@ if (isset($attr9_elementtype)) {
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
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"USER_USERNAME";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'USER_USERNAME','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='USER_USERNAME' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_class='text'; $attr7_key='USER_USERNAME'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1239,94 +776,47 @@ if (isset($attr9_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:2:{s:3:"not";s:4:"true";s:7:"present";s:14:"force_username";}' ?><?php $attr7 = array('not'=>true,'present'=>'force_username') ?><?php $attr7_not=true ?><?php $attr7_present='force_username' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_not=true; $attr7_present='force_username'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr7_tmp_exec = !$attr7_tmp_exec;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr7) ?><?php unset($attr7_not) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:9:{s:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:10:"login_name";s:5:"value";s:0:"";s:4:"size";s:2:"20";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr8 = array('class'=>'name','default'=>'','type'=>'text','name'=>'login_name','value'=>'','size'=>'20','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr8_class='name' ?><?php $attr8_default='' ?><?php $attr8_type='text' ?><?php $attr8_name='login_name' ?><?php $attr8_value='' ?><?php $attr8_size='20' ?><?php $attr8_maxlength='256' ?><?php $attr8_onchange='' ?><?php $attr8_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+<?php unset($attr7_not);unset($attr7_present); ?><?php $attr8_class='name'; $attr8_default=''; $attr8_type='text'; $attr8_name='login_name'; $attr8_value=''; $attr8_size='20'; $attr8_maxlength='256'; $attr8_onchange=''; $attr8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
if(!isset($attr8_default)) $attr8_default='';
?><?php if (!$attr8_readonly || $attr8_type=='hidden') {
?><input<?php if ($attr8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" name="<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" type="<?php echo $attr8_type ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
if ($attr8_readonly) {
?><input type="hidden" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_default) ?><?php unset($attr8_type) ?><?php unset($attr8_name) ?><?php unset($attr8_value) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_onchange) ?><?php unset($attr8_readonly) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr7) ?><?php $attr8_debug_info = 'a:9:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:6:"hidden";s:4:"name";s:10:"login_name";s:5:"value";s:18:"var:force_username";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr8 = array('class'=>'','default'=>'','type'=>'hidden','name'=>'login_name','value'=>$force_username,'size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr8_class='' ?><?php $attr8_default='' ?><?php $attr8_type='hidden' ?><?php $attr8_name='login_name' ?><?php $attr8_value=$force_username ?><?php $attr8_size='40' ?><?php $attr8_maxlength='256' ?><?php $attr8_onchange='' ?><?php $attr8_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+ } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8_class);unset($attr8_default);unset($attr8_type);unset($attr8_name);unset($attr8_value);unset($attr8_size);unset($attr8_maxlength);unset($attr8_onchange);unset($attr8_readonly); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_class=''; $attr8_default=''; $attr8_type='hidden'; $attr8_name='login_name'; $attr8_value=$force_username; $attr8_size='40'; $attr8_maxlength='256'; $attr8_onchange=''; $attr8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
if(!isset($attr8_default)) $attr8_default='';
?><?php if (!$attr8_readonly || $attr8_type=='hidden') {
?><input<?php if ($attr8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" name="<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" type="<?php echo $attr8_type ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
if ($attr8_readonly) {
?><input type="hidden" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_default) ?><?php unset($attr8_type) ?><?php unset($attr8_name) ?><?php unset($attr8_value) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_onchange) ?><?php unset($attr8_readonly) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:18:"var:force_username";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','value'=>$force_username,'escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_value=$force_username ?><?php $attr8_escape=true ?><?php
+ } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8_class);unset($attr8_default);unset($attr8_type);unset($attr8_name);unset($attr8_value);unset($attr8_size);unset($attr8_maxlength);unset($attr8_onchange);unset($attr8_readonly); ?><?php $attr8_class='text'; $attr8_value=$force_username; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1391,7 +881,8 @@ if ($attr8_readonly) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_value) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_value);unset($attr8_escape); ?><?php ?><?php }
+unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1401,18 +892,24 @@ if ($attr8_readonly) {
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
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"USER_PASSWORD";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'USER_PASSWORD','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='USER_PASSWORD' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_class='text'; $attr7_key='USER_PASSWORD'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1477,79 +974,33 @@ if ($attr8_readonly) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:{s:4:"name";s:14:"login_password";s:7:"default";s:0:"";s:5:"class";s:4:"name";s:4:"size";s:2:"20";s:9:"maxlength";s:3:"256";}' ?><?php $attr7 = array('name'=>'login_password','default'=>'','class'=>'name','size'=>'20','maxlength'=>'256') ?><?php $attr7_name='login_password' ?><?php $attr7_default='' ?><?php $attr7_class='name' ?><?php $attr7_size='20' ?><?php $attr7_maxlength='256' ?><input type="password" name="<?php echo $attr7_name ?>" size="<?php echo $attr7_size ?>" maxlength="<?php echo $attr7_maxlength ?>" class="<?php echo $attr7_class ?>" value="<?php if (count($errors)==0) echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" <?php if (in_array($attr7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr7) ?><?php unset($attr7_name) ?><?php unset($attr7_default) ?><?php unset($attr7_class) ?><?php unset($attr7_size) ?><?php unset($attr7_maxlength) ?><?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:1:{s:4:"true";s:27:"property:mustChangePassword";}' ?><?php $attr5 = array('true'=>$this->mustChangePassword) ?><?php $attr5_true=$this->mustChangePassword ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_name='login_password'; $attr7_default=''; $attr7_class='name'; $attr7_size='20'; $attr7_maxlength='256'; ?><input type="password" name="<?php echo $attr7_name ?>" size="<?php echo $attr7_size ?>" maxlength="<?php echo $attr7_maxlength ?>" class="<?php echo $attr7_class ?>" value="<?php if (count($errors)==0) echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" <?php if (in_array($attr7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr7_name);unset($attr7_default);unset($attr7_class);unset($attr7_size);unset($attr7_maxlength); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr5_true=$this->mustChangePassword; ?><?php
+ if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
+ $attr5_tmp_exec = $$attr5_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr5_tmp_exec = $attr5_true == true;
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_true) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+<?php unset($attr5_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1559,18 +1010,24 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('colspan'=>'2') ?><?php $attr7_colspan='2' ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php $attr7_colspan='2'; ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($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
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php unset($attr7_colspan); ?><?php $attr8_title=lang('USER_NEW_PASSWORD'); ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($attr8_title) ?></legend><?php } ?><?php unset($attr8_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1580,18 +1037,24 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:17:"USER_NEW_PASSWORD";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'USER_NEW_PASSWORD','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='USER_NEW_PASSWORD' ?><?php $attr8_escape=true ?><?php
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_class='text'; $attr8_key='USER_NEW_PASSWORD'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1656,18 +1119,24 @@ if ($attr8_readonly) {
}
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() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:5:{s:4:"name";s:9:"password1";s:7:"default";s:0:"";s:5:"class";s:0:"";s:4:"size";s:2:"25";s:9:"maxlength";s:3:"256";}' ?><?php $attr8 = array('name'=>'password1','default'=>'','class'=>'','size'=>'25','maxlength'=>'256') ?><?php $attr8_name='password1' ?><?php $attr8_default='' ?><?php $attr8_class='' ?><?php $attr8_size='25' ?><?php $attr8_maxlength='256' ?><input type="password" name="<?php echo $attr8_name ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php if (count($errors)==0) echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr8) ?><?php unset($attr8_name) ?><?php unset($attr8_default) ?><?php unset($attr8_class) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?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
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_name='password1'; $attr8_default=''; $attr8_class=''; $attr8_size='25'; $attr8_maxlength='256'; ?><input type="password" name="<?php echo $attr8_name ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php if (count($errors)==0) echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr8_name);unset($attr8_default);unset($attr8_class);unset($attr8_size);unset($attr8_maxlength); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1677,18 +1146,24 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:24:"USER_NEW_PASSWORD_REPEAT";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'USER_NEW_PASSWORD_REPEAT','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='USER_NEW_PASSWORD_REPEAT' ?><?php $attr8_escape=true ?><?php
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_class='text'; $attr8_key='USER_NEW_PASSWORD_REPEAT'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1753,79 +1228,33 @@ if ($attr8_readonly) {
}
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() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:5:{s:4:"name";s:9:"password2";s:7:"default";s:0:"";s:5:"class";s:0:"";s:4:"size";s:2:"25";s:9:"maxlength";s:3:"256";}' ?><?php $attr8 = array('name'=>'password2','default'=>'','class'=>'','size'=>'25','maxlength'=>'256') ?><?php $attr8_name='password2' ?><?php $attr8_default='' ?><?php $attr8_class='' ?><?php $attr8_size='25' ?><?php $attr8_maxlength='256' ?><input type="password" name="<?php echo $attr8_name ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php if (count($errors)==0) echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr8) ?><?php unset($attr8_name) ?><?php unset($attr8_default) ?><?php unset($attr8_class) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?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 $attr5_debug_info = 'a:1:{s:4:"true";s:29:"config:security/openid/enable";}' ?><?php $attr5 = array('true'=>@$conf['security']['openid']['enable']) ?><?php $attr5_true=@$conf['security']['openid']['enable'] ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_name='password2'; $attr8_default=''; $attr8_class=''; $attr8_size='25'; $attr8_maxlength='256'; ?><input type="password" name="<?php echo $attr8_name ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php if (count($errors)==0) echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr8_name);unset($attr8_default);unset($attr8_class);unset($attr8_size);unset($attr8_maxlength); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr5_true=@$conf['security']['openid']['enable']; ?><?php
+ if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
+ $attr5_tmp_exec = $$attr5_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr5_tmp_exec = $attr5_true == true;
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_true) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+<?php unset($attr5_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1835,18 +1264,24 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('colspan'=>'2') ?><?php $attr7_colspan='2' ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php $attr7_colspan='2'; ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($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
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php unset($attr7_colspan); ?><?php $attr8_title=lang('OPENID'); ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($attr8_title) ?></legend><?php } ?><?php unset($attr8_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1856,93 +1291,41 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:2:{s:3:"not";s:4:"true";s:5:"empty";s:31:"config:security/openid/logo_url";}' ?><?php $attr8 = array('not'=>true,'empty'=>@$conf['security']['openid']['logo_url']) ?><?php $attr8_not=true ?><?php $attr8_empty=@$conf['security']['openid']['logo_url'] ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_not=true; $attr8_empty=@$conf['security']['openid']['logo_url']; ?><?php
+ if ( !isset($$attr8_empty) )
+ $attr8_tmp_exec = empty($attr8_empty);
+ elseif ( is_array($$attr8_empty) )
+ $attr8_tmp_exec = (count($$attr8_empty)==0);
+ elseif ( is_bool($$attr8_empty) )
+ $attr8_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
+ $attr8_tmp_exec = empty( $$attr8_empty );
if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr8_tmp_exec = !$attr8_tmp_exec;
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?php unset($attr8) ?><?php unset($attr8_not) ?><?php unset($attr8_empty) ?><?php $attr9_debug_info = 'a:2:{s:3:"url";s:31:"config:security/openid/logo_url";s:5:"align";s:4:"left";}' ?><?php $attr9 = array('url'=>@$conf['security']['openid']['logo_url'],'align'=>'left') ?><?php $attr9_url=@$conf['security']['openid']['logo_url'] ?><?php $attr9_align='left' ?><?php
-if (isset($attr9_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr9_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr9_tree.IMG_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_url)) {
-?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_fileext)) {
-?><img src="<?php echo $image_dir.$attr9_fileext ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_file)) {
-?><img src="<?php echo $image_dir.$attr9_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php } ?><?php unset($attr9) ?><?php unset($attr9_url) ?><?php unset($attr9_align) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"openid_user";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'openid_user','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='openid_user' ?><?php $attr8_escape=true ?><?php
+<?php unset($attr8_not);unset($attr8_empty); ?><?php $attr9_url=@$conf['security']['openid']['logo_url']; $attr9_align='left'; ?><?php
+ $attr9_tmp_image_file = $attr9_url;
+?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_url);unset($attr9_align); ?><?php ?><?php } ?><?php ?><?php $attr8_class='text'; $attr8_key='openid_user'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -2007,86 +1390,37 @@ if (isset($attr9_elementtype)) {
}
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() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_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:10:"openid_url";s:4:"size";s:2:"20";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr8 = array('class'=>'name','default'=>'','type'=>'text','name'=>'openid_url','size'=>'20','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr8_class='name' ?><?php $attr8_default='' ?><?php $attr8_type='text' ?><?php $attr8_name='openid_url' ?><?php $attr8_size='20' ?><?php $attr8_maxlength='256' ?><?php $attr8_onchange='' ?><?php $attr8_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_class='name'; $attr8_default=''; $attr8_type='text'; $attr8_name='openid_url'; $attr8_size='20'; $attr8_maxlength='256'; $attr8_onchange=''; $attr8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
if(!isset($attr8_default)) $attr8_default='';
?><?php if (!$attr8_readonly || $attr8_type=='hidden') {
?><input<?php if ($attr8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" name="<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" type="<?php echo $attr8_type ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
if ($attr8_readonly) {
?><input type="hidden" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_default) ?><?php unset($attr8_type) ?><?php unset($attr8_name) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_onchange) ?><?php unset($attr8_readonly) ?><?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 $attr5_debug_info = 'a:2:{s:5:"value";s:10:"size:dbids";s:11:"greaterthan";s:1:"1";}' ?><?php $attr5 = array('value'=>@count($dbids),'greaterthan'=>'1') ?><?php $attr5_value=@count($dbids) ?><?php $attr5_greaterthan='1' ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+ } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8_class);unset($attr8_default);unset($attr8_type);unset($attr8_name);unset($attr8_size);unset($attr8_maxlength);unset($attr8_onchange);unset($attr8_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr5_value=@count($dbids); $attr5_greaterthan='1'; ?><?php
+ $attr5_tmp_exec = intval($attr5_greaterthan) < intval($attr5_value);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_value) ?><?php unset($attr5_greaterthan) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+<?php unset($attr5_value);unset($attr5_greaterthan); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -2096,7 +1430,7 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -2106,29 +1440,41 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr7_class ?>"><?php unset($attr7) ?><?php $attr8_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr8 = array('colspan'=>'2') ?><?php $attr8_colspan='2' ?><?php
+?><tr class="<?php echo $attr7_class ?>"><?php ?><?php $attr8_colspan='2'; ?><?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($attr8_class))
- $attr8['class']=$column_class;
+ $attr8_class=$column_class;
global $cell_column_nr;
$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><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($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
+ $attr8_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr8_width )) { ?> width="<?php echo $attr8_width ?>" <?php }
+if ( isset($attr8_style )) { ?> style="<?php echo $attr8_style ?>" <?php }
+if ( isset($attr8_class )) { ?> class="<?php echo $attr8_class ?>" <?php }
+if ( isset($attr8_colspan)) { ?> colspan="<?php echo $attr8_colspan ?>" <?php }
+if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
+?>><?php unset($attr8_colspan); ?><?php $attr9_title=lang('DATABASE'); ?><fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($attr9_title) ?></legend><?php } ?><?php unset($attr9_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:8:"DATABASE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'DATABASE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='DATABASE' ?><?php $attr8_escape=true ?><?php
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_class='text'; $attr8_key='DATABASE'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -2193,20 +1539,26 @@ if ($attr8_readonly) {
}
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() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?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($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$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 $attr8_debug_info = 'a:10:{s:4:"list";s:5:"dbids";s:4:"name";s:4:"dbid";s:7:"default";s:11:"var:actdbid";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'dbids','name'=>'dbid','default'=>$actdbid,'onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='dbids' ?><?php $attr8_name='dbid' ?><?php $attr8_default=$actdbid ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_list='dbids'; $attr8_name='dbid'; $attr8_default=$actdbid; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?><?php
$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
}
@@ -2257,14 +1609,14 @@ echo ' size="'.intval($attr8_size).'"';
if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_default) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?php $attr8_debug_info = 'a:2:{s:4:"name";s:11:"screenwidth";s:7:"default";s:4:"9999";}' ?><?php $attr8 = array('name'=>'screenwidth','default'=>'9999') ?><?php $attr8_name='screenwidth' ?><?php $attr8_default='9999' ?><?php
+?><?php unset($attr8_list);unset($attr8_name);unset($attr8_default);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php $attr8_name='screenwidth'; $attr8_default='9999'; ?><?php
if (isset($$attr8_name))
$attr8_tmp_value = $$attr8_name;
elseif ( isset($attr8_default) )
$attr8_tmp_value = $attr8_default;
else
$attr8_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr8_name ?>" value="<?php echo $attr8_tmp_value ?>" /><?php unset($attr8) ?><?php unset($attr8_name) ?><?php unset($attr8_default) ?><?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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?><input type="hidden" name="<?php echo $attr8_name ?>" value="<?php echo $attr8_tmp_value ?>" /><?php unset($attr8_name);unset($attr8_default); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -2274,18 +1626,24 @@ else
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:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'act','colspan'=>'2') ?><?php $attr6_class='act' ?><?php $attr6_colspan='2' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='act'; $attr6_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr7 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr7_type='ok' ?><?php $attr7_class='ok' ?><?php $attr7_value='ok' ?><?php $attr7_text='button_ok' ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_type='ok'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?><?php
if ($attr7_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -2298,12 +1656,12 @@ else
else
$attr7_src = '';
?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
-?><?php unset($attr7) ?><?php unset($attr7_type) ?><?php unset($attr7_class) ?><?php unset($attr7_value) ?><?php unset($attr7_text) ?><script name="javascript1.2" type="text/javascript">
+?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><script name="javascript1.2" type="text/javascript">
<!--
document.forms[0].screenwidth.value=window.innerWidth;
// -->
</script>
-<?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+<?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -2315,104 +1673,49 @@ document.forms[0].screenwidth.value=window.innerWidth;
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr3_debug_info = 'a:2:{s:5:"value";s:10:"size:dbids";s:8:"lessthan";s:1:"2";}' ?><?php $attr3 = array('value'=>@count($dbids),'lessthan'=>'2') ?><?php $attr3_value=@count($dbids) ?><?php $attr3_lessthan='2' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+<?php ?><?php $attr3_value=@count($dbids); $attr3_lessthan='2'; ?><?php
+ $attr3_tmp_exec = intval($attr3_lessthan) > intval($attr3_value);
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_value) ?><?php unset($attr3_lessthan) ?><?php $attr4_debug_info = 'a:2:{s:4:"name";s:4:"dbid";s:7:"default";s:11:"var:actdbid";}' ?><?php $attr4 = array('name'=>'dbid','default'=>$actdbid) ?><?php $attr4_name='dbid' ?><?php $attr4_default=$actdbid ?><?php
+<?php unset($attr3_value);unset($attr3_lessthan); ?><?php $attr4_name='dbid'; $attr4_default=$actdbid; ?><?php
if (isset($$attr4_name))
$attr4_tmp_value = $$attr4_name;
elseif ( isset($attr4_default) )
$attr4_tmp_value = $attr4_default;
else
$attr4_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr4_name ?>" value="<?php echo $attr4_tmp_value ?>" /><?php unset($attr4) ?><?php unset($attr4_name) ?><?php unset($attr4_default) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:1:{s:4:"name";s:8:"objectid";}' ?><?php $attr3 = array('name'=>'objectid') ?><?php $attr3_name='objectid' ?><?php
+?><input type="hidden" name="<?php echo $attr4_name ?>" value="<?php echo $attr4_tmp_value ?>" /><?php unset($attr4_name);unset($attr4_default); ?><?php ?><?php } ?><?php ?><?php $attr3_name='objectid'; ?><?php
if (isset($$attr3_name))
$attr3_tmp_value = $$attr3_name;
elseif ( isset($attr3_default) )
$attr3_tmp_value = $attr3_default;
else
$attr3_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3) ?><?php unset($attr3_name) ?><?php $attr3_debug_info = 'a:1:{s:4:"name";s:7:"modelid";}' ?><?php $attr3 = array('name'=>'modelid') ?><?php $attr3_name='modelid' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php $attr3_name='modelid'; ?><?php
if (isset($$attr3_name))
$attr3_tmp_value = $$attr3_name;
elseif ( isset($attr3_default) )
$attr3_tmp_value = $attr3_default;
else
$attr3_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3) ?><?php unset($attr3_name) ?><?php $attr3_debug_info = 'a:1:{s:4:"name";s:9:"projectid";}' ?><?php $attr3 = array('name'=>'projectid') ?><?php $attr3_name='projectid' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php $attr3_name='projectid'; ?><?php
if (isset($$attr3_name))
$attr3_tmp_value = $$attr3_name;
elseif ( isset($attr3_default) )
$attr3_tmp_value = $attr3_default;
else
$attr3_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3) ?><?php unset($attr3_name) ?><?php $attr3_debug_info = 'a:1:{s:4:"name";s:10:"languageid";}' ?><?php $attr3 = array('name'=>'languageid') ?><?php $attr3_name='languageid' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php $attr3_name='languageid'; ?><?php
if (isset($$attr3_name))
$attr3_tmp_value = $$attr3_name;
elseif ( isset($attr3_default) )
$attr3_tmp_value = $attr3_default;
else
$attr3_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3) ?><?php unset($attr3_name) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><br/><?php unset($attr2) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><br/><?php unset($attr2) ?><?php $attr2_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:4:"_top";s:3:"url";s:20:"config:login/gpl/url";s:5:"class";s:0:"";}' ?><?php $attr2 = array('title'=>'','target'=>'_top','url'=>@$conf['login']['gpl']['url'],'class'=>'') ?><?php $attr2_title='' ?><?php $attr2_target='_top' ?><?php $attr2_url=@$conf['login']['gpl']['url'] ?><?php $attr2_class='' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php ?></form>
+<?php ?><?php ?><br/><?php ?><?php ?><br/><?php ?><?php $attr2_title=''; $attr2_target='_top'; $attr2_url=@$conf['login']['gpl']['url']; $attr2_class=''; ?><?php
$params = array();
if (!empty($attr2_var1) && isset($attr2_value1))
$params[$attr2_var1]=$attr2_value1;
@@ -2432,7 +1735,7 @@ else
$tmp_url = $attr2_url;
else
$tmp_url = Html::url($attr2_action,$attr2_subaction,!empty($attr2_id)?$attr2_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr2_name)) echo ' name="'.$attr2_name.'"'; else echo ' href="'.$tmp_url.($attr2_anchor?'#'.$attr2_anchor:'').'"' ?> class="<?php echo $attr2_class ?>" target="<?php echo $attr2_target ?>"<?php if (isset($attr2_accesskey)) echo ' accesskey="'.$attr2_accesskey.'"' ?> title="<?php echo encodeHtml($attr2_title) ?>"><?php unset($attr2) ?><?php unset($attr2_title) ?><?php unset($attr2_target) ?><?php unset($attr2_url) ?><?php unset($attr2_class) ?><?php $attr3_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:18:"message:GLOBAL_GPL";s:6:"escape";s:4:"true";}' ?><?php $attr3 = array('class'=>'text','value'=>lang('GLOBAL_GPL'),'escape'=>true) ?><?php $attr3_class='text' ?><?php $attr3_value=lang('GLOBAL_GPL') ?><?php $attr3_escape=true ?><?php
+?><a<?php if (isset($attr2_name)) echo ' name="'.$attr2_name.'"'; else echo ' href="'.$tmp_url.($attr2_anchor?'#'.$attr2_anchor:'').'"' ?> class="<?php echo $attr2_class ?>" target="<?php echo $attr2_target ?>"<?php if (isset($attr2_accesskey)) echo ' accesskey="'.$attr2_accesskey.'"' ?> title="<?php echo encodeHtml($attr2_title) ?>"><?php unset($attr2_title);unset($attr2_target);unset($attr2_url);unset($attr2_class); ?><?php $attr3_class='text'; $attr3_value=lang('GLOBAL_GPL'); $attr3_escape=true; ?><?php
if ( isset($attr3_prefix)&& isset($attr3_key))
$attr3_key = $attr3_prefix.$attr3_key;
if ( isset($attr3_suffix)&& isset($attr3_key))
@@ -2497,79 +1800,25 @@ else
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr3) ?><?php unset($attr3_class) ?><?php unset($attr3_value) ?><?php unset($attr3_escape) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></a><?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:7:"present";s:14:"force_username";}' ?><?php $attr2 = array('present'=>'force_username') ?><?php $attr2_present='force_username' ?><?php
- if ( isset($attr2_true) )
- {
- if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
- $exec = $$attr2_true == true;
- else
- $exec = $attr2_true == true;
- }
- elseif ( isset($attr2_false) )
- {
- if (gettype($attr2_false) === '' && gettype($attr2_false) === '1')
- $exec = $$attr2_false == false;
- else
- $exec = $attr2_false == false;
- }
- elseif( isset($attr2_contains) )
- $exec = in_array($attr2_value,explode(',',$attr2_contains));
- elseif( isset($attr2_equals)&& isset($attr2_value) )
- $exec = $attr2_equals == $attr2_value;
- elseif( isset($attr2_lessthan)&& isset($attr2_value) )
- $exec = intval($attr2_lessthan) > intval($attr2_value);
- elseif( isset($attr2_greaterthan)&& isset($attr2_value) )
- $exec = intval($attr2_greaterthan) < intval($attr2_value);
- elseif ( isset($attr2_empty) )
- {
- if ( !isset($$attr2_empty) )
- $exec = empty($attr2_empty);
- elseif ( is_array($$attr2_empty) )
- $exec = (count($$attr2_empty)==0);
- elseif ( is_bool($$attr2_empty) )
- $exec = true;
- else
- $exec = empty( $$attr2_empty );
- }
- elseif ( isset($attr2_present) )
- {
- $exec = isset($$attr2_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr2_invert) )
- $exec = !$exec;
- if ( !empty($attr2_not) )
- $exec = !$exec;
- unset($attr2_true);
- unset($attr2_false);
- unset($attr2_notempty);
- unset($attr2_empty);
- unset($attr2_contains);
- unset($attr2_present);
- unset($attr2_invert);
- unset($attr2_not);
- unset($attr2_value);
- unset($attr2_equals);
- $last_exec = $exec;
- if ( $exec )
+?></<?php echo $tmp_tag ?>><?php unset($attr3_class);unset($attr3_value);unset($attr3_escape); ?><?php ?></a><?php ?><?php $attr2_present='force_username'; ?><?php
+ $attr2_tmp_exec = isset($$attr2_present);
+ $attr2_tmp_last_exec = $attr2_tmp_exec;
+ if ( $attr2_tmp_exec )
{
?>
-<?php unset($attr2) ?><?php unset($attr2_present) ?><?php $attr3_debug_info = 'a:1:{s:5:"field";s:14:"login_password";}' ?><?php $attr3 = array('field'=>'login_password') ?><?php $attr3_field='login_password' ?><?php
+<?php unset($attr2_present); ?><?php $attr3_field='login_password'; ?><?php
if (isset($errors[0])) $attr3_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr3_field ?>.focus();
document.forms[0].<?php echo $attr3_field ?>.select();
</script>
-<?php unset($attr3) ?><?php unset($attr3_field) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr2) ?><?php $attr3_debug_info = 'a:1:{s:5:"field";s:10:"login_name";}' ?><?php $attr3 = array('field'=>'login_name') ?><?php $attr3_field='login_name' ?><?php
+<?php unset($attr3_field); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
+<?php ?><?php $attr3_field='login_name'; ?><?php
if (isset($errors[0])) $attr3_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr3_field ?>.focus();
document.forms[0].<?php echo $attr3_field ?>.select();
</script>
-<?php unset($attr3) ?><?php unset($attr3_field) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr3_field); ?><?php ?><?php }
+unset($attr1_tmp_last_exec) ?><?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/language/edit.tpl.php b/themes/default/pages/html/language/edit.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -268,7 +260,13 @@
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:9:{s:4:"list";s:8:"isocodes";s:4:"name";s:7:"isocode";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'isocodes','name'=>'isocode','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='isocodes' ?><?php $attr6_name='isocode' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -282,7 +280,6 @@ 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) )
@@ -313,7 +310,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
diff --git a/themes/default/pages/html/language/listing.tpl.php b/themes/default/pages/html/language/listing.tpl.php
@@ -1,839 +1,736 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"icon";s:8:"language";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('icon'=>'language','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_icon='language' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr2_widths))
- {
- $column_widths = explode(',',$attr2_widths);
- unset($attr2['widths']);
- }
- if (!empty($attr2_rowclasses))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- if (!empty($attr2_columnclasses))
- {
- $column_classes = explode(',',$attr2_columnclasses);
- unset($attr2['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_icon='language'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr2_widths))
+ {
+ $column_widths = explode(',',$attr2_widths);
+ unset($attr2['widths']);
+ }
+ if (!empty($attr2_rowclasses))
+ {
+ $row_classes = explode(',',$attr2_rowclasses);
+ $row_class_idx = 999;
+ unset($attr2['rowclasses']);
+ }
+ if (!empty($attr2_columnclasses))
+ {
+ $column_classes = explode(',',$attr2_columnclasses);
+ unset($attr2['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_icon);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='el'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?> <?php
+ $attr3_list_tmp_key = $attr3_key;
+ $attr3_list_tmp_value = $attr3_value;
+ $attr3_list_extract = $attr3_extract;
+ unset($attr3_key);
+ unset($attr3_value);
+ if ( !isset($$attr3_list) || !is_array($$attr3_list) )
+ $$attr3_list = array();
+ foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
+ {
+ if ( $attr3_list_extract )
+ {
+ if ( !is_array($$attr3_list_tmp_value) )
+ {
+ print_r($$attr3_list_tmp_value);
+ die( 'not an array at key: '.$$attr3_list_tmp_key );
+ }
+ extract($$attr3_list_tmp_value);
+ }
+ ?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?> <?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 ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_title=''; $attr6_target='cms_main'; $attr6_url=$url; $attr6_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr6_var1) && isset($attr6_value1))
+ $params[$attr6_var1]=$attr6_value1;
+ if (!empty($attr6_var2) && isset($attr6_value2))
+ $params[$attr6_var2]=$attr6_value2;
+ if (!empty($attr6_var3) && isset($attr6_value3))
+ $params[$attr6_var3]=$attr6_value3;
+ if (!empty($attr6_var4) && isset($attr6_value4))
+ $params[$attr6_var4]=$attr6_value4;
+ if (!empty($attr6_var5) && isset($attr6_value5))
+ $params[$attr6_var5]=$attr6_value5;
+ if(empty($attr6_class))
+ $attr6_class='';
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if(!empty($attr6_url))
+ $tmp_url = $attr6_url;
+ else
+ $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_file='icon_language'; $attr7_align='left'; ?> <?php
+ $attr7_tmp_image_file = $image_dir.$attr7_fileext;
+ $attr7_tmp_image_file = $image_dir.$attr7_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_file);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </a><?php ?><?php ?> </td><?php ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_var='isocode'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_present='default_url'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main_main'; $attr7_url=$default_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_make_default'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_text);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_class='text'; $attr7_text='GLOBAL_is_default'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> <?php }
+ unset($attr5_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_present='select_url'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target=@$conf['interface']['frames']['top']; $attr7_url=$select_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_select'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_text);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_class='text'; $attr7_text='GLOBAL_selected'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> <?php }
+ unset($attr5_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_var='select_url'; ?> <?php
+ if (!isset($attr4_value))
+ unset($$attr4_var);
+ elseif (isset($attr4_key))
+ $$attr4_var = $attr4_value[$attr4_key];
+ else
+ $$attr4_var = $attr4_value;
+ ?><?php unset($attr4_var); ?><?php $attr4_var='default_url'; ?> <?php
+ if (!isset($attr4_value))
+ unset($$attr4_var);
+ elseif (isset($attr4_key))
+ $$attr4_var = $attr4_value[$attr4_key];
+ else
+ $$attr4_var = $attr4_value;
+ ?><?php unset($attr4_var); ?><?php ?> <?php } ?><?php ?><?php ?> </table>
+ </td>
+ </tr>
+ </table>
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:2:"el";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'el','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='el' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
- $attr3_list_tmp_key = $attr3_key;
- $attr3_list_tmp_value = $attr3_value;
- $attr3_list_extract = $attr3_extract;
- unset($attr3_key);
- unset($attr3_value);
- if ( !isset($$attr3_list) || !is_array($$attr3_list) )
- $$attr3_list = array();
- foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
- {
- if ( $attr3_list_extract )
- {
- if ( !is_array($$attr3_list_tmp_value) )
- {
- print_r($$attr3_list_tmp_value);
- die( 'not an array at key: '.$$attr3_list_tmp_key );
- }
- extract($$attr3_list_tmp_value);
- }
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'cms_main','url'=>$url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
- $params = array();
- if (!empty($attr6_var1) && isset($attr6_value1))
- $params[$attr6_var1]=$attr6_value1;
- if (!empty($attr6_var2) && isset($attr6_value2))
- $params[$attr6_var2]=$attr6_value2;
- if (!empty($attr6_var3) && isset($attr6_value3))
- $params[$attr6_var3]=$attr6_value3;
- if (!empty($attr6_var4) && isset($attr6_value4))
- $params[$attr6_var4]=$attr6_value4;
- if (!empty($attr6_var5) && isset($attr6_value5))
- $params[$attr6_var5]=$attr6_value5;
- if(empty($attr6_class))
- $attr6_class='';
- if(empty($attr6_title))
- $attr6_title = '';
- if(!empty($attr6_url))
- $tmp_url = $attr6_url;
- else
- $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:4:"file";s:13:"icon_language";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('file'=>'icon_language','align'=>'left') ?><?php $attr7_file='icon_language' ?><?php $attr7_align='left' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_file) ?><?php unset($attr7_align) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:7:"isocode";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'isocode','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='isocode' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:11:"default_url";}' ?><?php $attr6 = array('present'=>'default_url') ?><?php $attr6_present='default_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:13:"cms_main_main";s:3:"url";s:15:"var:default_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>'cms_main_main','url'=>$default_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target='cms_main_main' ?><?php $attr7_url=$default_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:19:"GLOBAL_make_default";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_make_default','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_make_default' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GLOBAL_is_default";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_is_default','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_is_default' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:10:"select_url";}' ?><?php $attr6 = array('present'=>'select_url') ?><?php $attr6_present='select_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:27:"config:interface/frames/top";s:3:"url";s:14:"var:select_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>@$conf['interface']['frames']['top'],'url'=>$select_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target=@$conf['interface']['frames']['top'] ?><?php $attr7_url=$select_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"GLOBAL_select";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_select','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_select' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"GLOBAL_selected";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_selected','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_selected' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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() ?><?php } ?><?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:3:"var";s:10:"select_url";}' ?><?php $attr4 = array('var'=>'select_url') ?><?php $attr4_var='select_url' ?><?php
- if (!isset($attr4_value))
- unset($$attr4_var);
- elseif (isset($attr4_key))
- $$attr4_var = $attr4_value[$attr4_key];
- else
- $$attr4_var = $attr4_value;
-?><?php unset($attr4) ?><?php unset($attr4_var) ?><?php $attr4_debug_info = 'a:1:{s:3:"var";s:11:"default_url";}' ?><?php $attr4 = array('var'=>'default_url') ?><?php $attr4_var='default_url' ?><?php
- if (!isset($attr4_value))
- unset($$attr4_var);
- elseif (isset($attr4_key))
- $$attr4_var = $attr4_value[$attr4_key];
- else
- $$attr4_var = $attr4_value;
-?><?php unset($attr4) ?><?php unset($attr4_var) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/link/showprop.tpl.php b/themes/default/pages/html/link/showprop.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/main/show.tpl.php b/themes/default/pages/html/main/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><html>
+<?php ?><html>
<head>
<title><?php echo @$title ?> - <?php echo $cms_title ?></title>
<link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" />
@@ -16,86 +16,35 @@
?>
<meta name="robots" content="noindex,nofollow" />
</head>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:4:"true";s:33:"config:interface/application_mode";}' ?><?php $attr2 = array('true'=>@$conf['interface']['application_mode']) ?><?php $attr2_true=@$conf['interface']['application_mode'] ?><?php
- if ( isset($attr2_true) )
- {
- if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
- $exec = $$attr2_true == true;
- else
- $exec = $attr2_true == true;
- }
- elseif ( isset($attr2_false) )
- {
- if (gettype($attr2_false) === '' && gettype($attr2_false) === '1')
- $exec = $$attr2_false == false;
- else
- $exec = $attr2_false == false;
- }
- elseif( isset($attr2_contains) )
- $exec = in_array($attr2_value,explode(',',$attr2_contains));
- elseif( isset($attr2_equals)&& isset($attr2_value) )
- $exec = $attr2_equals == $attr2_value;
- elseif( isset($attr2_lessthan)&& isset($attr2_value) )
- $exec = intval($attr2_lessthan) > intval($attr2_value);
- elseif( isset($attr2_greaterthan)&& isset($attr2_value) )
- $exec = intval($attr2_greaterthan) < intval($attr2_value);
- elseif ( isset($attr2_empty) )
- {
- if ( !isset($$attr2_empty) )
- $exec = empty($attr2_empty);
- elseif ( is_array($$attr2_empty) )
- $exec = (count($$attr2_empty)==0);
- elseif ( is_bool($$attr2_empty) )
- $exec = true;
- else
- $exec = empty( $$attr2_empty );
- }
- elseif ( isset($attr2_present) )
- {
- $exec = isset($$attr2_present);
- }
+<?php ?><?php $attr2_true=@$conf['interface']['application_mode']; ?><?php
+ if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
+ $attr2_tmp_exec = $$attr2_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr2_invert) )
- $exec = !$exec;
- if ( !empty($attr2_not) )
- $exec = !$exec;
- unset($attr2_true);
- unset($attr2_false);
- unset($attr2_notempty);
- unset($attr2_empty);
- unset($attr2_contains);
- unset($attr2_present);
- unset($attr2_invert);
- unset($attr2_not);
- unset($attr2_value);
- unset($attr2_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr2_tmp_exec = $attr2_true == true;
+ $attr2_tmp_last_exec = $attr2_tmp_exec;
+ if ( $attr2_tmp_exec )
{
?>
-<?php unset($attr2) ?><?php unset($attr2_true) ?><?php $attr3_debug_info = 'a:2:{s:3:"var";s:10:"menuheight";s:5:"value";s:2:"24";}' ?><?php $attr3 = array('var'=>'menuheight','value'=>'24') ?><?php $attr3_var='menuheight' ?><?php $attr3_value='24' ?><?php
+<?php unset($attr2_true); ?><?php $attr3_var='menuheight'; $attr3_value='24'; ?><?php
if (!isset($attr3_value))
unset($$attr3_var);
elseif (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
-?><?php unset($attr3) ?><?php unset($attr3_var) ?><?php unset($attr3_value) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr2) ?><?php $attr3_debug_info = 'a:2:{s:3:"var";s:10:"menuheight";s:5:"value";s:2:"54";}' ?><?php $attr3 = array('var'=>'menuheight','value'=>'54') ?><?php $attr3_var='menuheight' ?><?php $attr3_value='54' ?><?php
+?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
+<?php ?><?php $attr3_var='menuheight'; $attr3_value='54'; ?><?php
if (!isset($attr3_value))
unset($$attr3_var);
elseif (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
-?><?php unset($attr3) ?><?php unset($attr3_var) ?><?php unset($attr3_value) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?><?php } ?><?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:4:"rows";s:14:"{menuheight},*";}' ?><?php $attr2 = array('rows'=>''.$menuheight.',*') ?><?php $attr2_rows=''.$menuheight.',*' ?><frameset
+?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php }
+unset($attr1_tmp_last_exec) ?><?php ?><?php $attr2_rows=''.$menuheight.',*'; ?><frameset
<?php echo !empty($attr2_rows) ?' rows="'.$attr2_rows.'"':'' ?>
<?php echo !empty($attr2_columns)?' cols="'.$attr2_columns.'"':'' ?>
- border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr2) ?><?php unset($attr2_rows) ?><?php $attr3_debug_info = 'a:2:{s:4:"file";s:23:"var:frame_src_main_menu";s:4:"name";s:13:"cms_main_menu";}' ?><?php $attr3 = array('file'=>$frame_src_main_menu,'name'=>'cms_main_menu') ?><?php $attr3_file=$frame_src_main_menu ?><?php $attr3_name='cms_main_menu' ?><frame src="<?php echo $attr3_file ?>" name="<?php echo empty($attr3_name)?'':$attr3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr3_scrolling)?'no':$attr3_scrolling ?>">
-<?php unset($attr3) ?><?php unset($attr3_file) ?><?php unset($attr3_name) ?><?php $attr3_debug_info = 'a:3:{s:4:"file";s:23:"var:frame_src_main_main";s:4:"name";s:13:"cms_main_main";s:9:"scrolling";s:4:"auto";}' ?><?php $attr3 = array('file'=>$frame_src_main_main,'name'=>'cms_main_main','scrolling'=>'auto') ?><?php $attr3_file=$frame_src_main_main ?><?php $attr3_name='cms_main_main' ?><?php $attr3_scrolling='auto' ?><frame src="<?php echo $attr3_file ?>" name="<?php echo empty($attr3_name)?'':$attr3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr3_scrolling)?'no':$attr3_scrolling ?>">
-<?php unset($attr3) ?><?php unset($attr3_file) ?><?php unset($attr3_name) ?><?php unset($attr3_scrolling) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></frameset>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></html><?php unset($attr0) ?>-
\ No newline at end of file
+ border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr2_rows); ?><?php $attr3_file=$frame_src_main_menu; $attr3_name='cms_main_menu'; ?><frame src="<?php echo $attr3_file ?>" name="<?php echo empty($attr3_name)?'':$attr3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr3_scrolling)?'no':$attr3_scrolling ?>">
+<?php unset($attr3_file);unset($attr3_name); ?><?php $attr3_file=$frame_src_main_main; $attr3_name='cms_main_main'; $attr3_scrolling='auto'; ?><frame src="<?php echo $attr3_file ?>" name="<?php echo empty($attr3_name)?'':$attr3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr3_scrolling)?'no':$attr3_scrolling ?>">
+<?php unset($attr3_file);unset($attr3_name);unset($attr3_scrolling); ?><?php ?></frameset>
+<?php ?><?php ?></html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/mainmenu/show.tpl.php b/themes/default/pages/html/mainmenu/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"menu";}' ?><?php $attr1 = array('class'=>'menu') ?><?php $attr1_class='menu' ?><?php
+<?php $attr1_class='menu'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:5:"width";s:4:"100%";s:5:"space";s:1:"0";s:7:"padding";s:1:"5";s:10:"rowclasses";s:3:"a,b";s:13:"columnclasses";s:3:"a,b";}' ?><?php $attr2 = array('width'=>'100%','space'=>'0','padding'=>'5','rowclasses'=>'a,b','columnclasses'=>'a,b') ?><?php $attr2_width='100%' ?><?php $attr2_space='0' ?><?php $attr2_padding='5' ?><?php $attr2_rowclasses='a,b' ?><?php $attr2_columnclasses='a,b' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; $attr2_rowclasses='a,b'; $attr2_columnclasses='a,b'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -62,68 +54,16 @@
$column_classes = explode(',',$attr2_columnclasses);
unset($attr2['columnclasses']);
}
-?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2) ?><?php unset($attr2_width) ?><?php unset($attr2_space) ?><?php unset($attr2_padding) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:1:{s:4:"true";s:34:"!config:interface/application_mode";}' ?><?php $attr3 = array('true'=>! @$conf['interface']['application_mode']) ?><?php $attr3_true=! @$conf['interface']['application_mode'] ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
+?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2_width);unset($attr2_space);unset($attr2_padding);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_true=! @$conf['interface']['application_mode']; ?><?php
+ if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
+ $attr3_tmp_exec = $$attr3_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr3_tmp_exec = $attr3_true == true;
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_true) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -133,93 +73,35 @@
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:5:"class";s:4:"menu";}' ?><?php $attr5 = array('class'=>'menu') ?><?php $attr5_class='menu' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='menu'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:3:{s:6:"equals";s:5:"empty";s:5:"value";s:8:"var:type";s:3:"not";s:4:"true";}' ?><?php $attr6 = array('equals'=>'empty','value'=>$type,'not'=>true) ?><?php $attr6_equals='empty' ?><?php $attr6_value=$type ?><?php $attr6_not=true ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_equals='empty'; $attr6_value=$type; $attr6_not=true; ?><?php
+ $attr6_tmp_exec = $attr6_equals == $attr6_value;
if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_equals) ?><?php unset($attr6_value) ?><?php unset($attr6_not) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:8:"var:type";}' ?><?php $attr7 = array('align'=>'left','type'=>$type) ?><?php $attr7_align='left' ?><?php $attr7_type=$type ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:4:{s:4:"list";s:4:"path";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:2:"xy";}' ?><?php $attr6 = array('list'=>'path','extract'=>true,'key'=>'list_key','value'=>'xy') ?><?php $attr6_list='path' ?><?php $attr6_extract=true ?><?php $attr6_key='list_key' ?><?php $attr6_value='xy' ?><?php
+<?php unset($attr6_equals);unset($attr6_value);unset($attr6_not); ?><?php $attr7_align='left'; $attr7_type=$type; ?><?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_list='path'; $attr6_extract=true; $attr6_key='list_key'; $attr6_value='xy'; ?><?php
$attr6_list_tmp_key = $attr6_key;
$attr6_list_tmp_value = $attr6_value;
$attr6_list_extract = $attr6_extract;
@@ -238,7 +120,7 @@ if (isset($attr7_elementtype)) {
}
extract($$attr6_list_tmp_value);
}
-?><?php unset($attr6) ?><?php unset($attr6_list) ?><?php unset($attr6_extract) ?><?php unset($attr6_key) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:9:"var:title";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:4:"path";}' ?><?php $attr7 = array('title'=>$title,'target'=>'cms_main','url'=>$url,'class'=>'path') ?><?php $attr7_title=$title ?><?php $attr7_target='cms_main' ?><?php $attr7_url=$url ?><?php $attr7_class='path' ?><?php
+?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_title=$title; $attr7_target='cms_main'; $attr7_url=$url; $attr7_class='path'; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -258,7 +140,7 @@ if (isset($attr7_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:9:"maxlength";s:2:"20";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'name','maxlength'=>'20','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='name' ?><?php $attr8_maxlength='20' ?><?php $attr8_escape=true ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_var='name'; $attr8_maxlength='20'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -323,12 +205,12 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_var) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:4:"type";s:7:"filesep";}' ?><?php $attr7 = array('type'=>'filesep') ?><?php $attr7_type='filesep' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_maxlength);unset($attr8_escape); ?><?php ?></a><?php ?><?php $attr7_type='filesep'; ?><?php
if ($attr7_type=='filesep')
echo ' <strong>»</strong> ';
else
echo "char error";
-?><?php unset($attr7) ?><?php unset($attr7_type) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:8:"var:text";s:5:"class";s:5:"title";s:3:"var";s:4:"text";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('title'=>$text,'class'=>'title','var'=>'text','escape'=>true) ?><?php $attr6_title=$text ?><?php $attr6_class='title' ?><?php $attr6_var='text' ?><?php $attr6_escape=true ?><?php
+?><?php unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_title=$text; $attr6_class='title'; $attr6_var='text'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -393,93 +275,47 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"style";s:18:":text-align:right;";s:5:"class";s:4:"menu";}' ?><?php $attr5 = array('style'=>'text-align:right;','class'=>'menu') ?><?php $attr5_style='text-align:right;' ?><?php $attr5_class='menu' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_style='text-align:right;'; $attr5_class='menu'; ?><?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;
+ $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_style) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:4:"true";s:15:"property:search";}' ?><?php $attr6 = array('true'=>$this->search) ?><?php $attr6_true=$this->search ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_style);unset($attr5_class); ?><?php $attr6_true=$this->search; ?><?php
+ if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
+ $attr6_tmp_exec = $$attr6_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_tmp_exec = $attr6_true == true;
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_true) ?><?php $attr7_debug_info = 'a:6:{s:6:"action";s:6:"search";s:9:"subaction";s:11:"quicksearch";s:4:"name";s:0:"";s:6:"target";s:13:"cms_main_main";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr7 = array('action'=>'search','subaction'=>'quicksearch','name'=>'','target'=>'cms_main_main','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr7_action='search' ?><?php $attr7_subaction='quicksearch' ?><?php $attr7_name='' ?><?php $attr7_target='cms_main_main' ?><?php $attr7_method='post' ?><?php $attr7_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr6_true); ?><?php $attr7_action='search'; $attr7_subaction='quicksearch'; $attr7_name=''; $attr7_target='cms_main_main'; $attr7_method='post'; $attr7_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr7_action))
$attr7_action = $actionName;
if (empty($attr7_subaction))
$attr7_subaction = $targetSubActionName;
if (empty($attr7_id))
$attr7_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr7_subaction = $subActionName;
?><form name="<?php echo $attr7_name ?>"
target="<?php echo $attr7_target ?>"
action="<?php echo Html::url( $attr7_action,$attr7_subaction,$attr7_id ) ?>"
method="<?php echo $attr7_method ?>"
enctype="<?php echo $attr7_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr7_action ?>" />
@@ -487,75 +323,23 @@ if (isset($attr7_elementtype)) {
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr7_id ?>" /><?php
if ( $conf['interface']['url_sessionid'] )
echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
-?><?php unset($attr7) ?><?php unset($attr7_action) ?><?php unset($attr7_subaction) ?><?php unset($attr7_name) ?><?php unset($attr7_target) ?><?php unset($attr7_method) ?><?php unset($attr7_enctype) ?><?php $attr8_debug_info = 'a:8:{s:5:"class";s:6:"search";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:6:"search";s:4:"size";s:2:"15";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr8 = array('class'=>'search','default'=>'','type'=>'text','name'=>'search','size'=>'15','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr8_class='search' ?><?php $attr8_default='' ?><?php $attr8_type='text' ?><?php $attr8_name='search' ?><?php $attr8_size='15' ?><?php $attr8_maxlength='256' ?><?php $attr8_onchange='' ?><?php $attr8_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+?><?php unset($attr7_action);unset($attr7_subaction);unset($attr7_name);unset($attr7_target);unset($attr7_method);unset($attr7_enctype); ?><?php $attr8_class='search'; $attr8_default=''; $attr8_type='text'; $attr8_name='search'; $attr8_size='15'; $attr8_maxlength='256'; $attr8_onchange=''; $attr8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
if(!isset($attr8_default)) $attr8_default='';
?><?php if (!$attr8_readonly || $attr8_type=='hidden') {
?><input<?php if ($attr8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" name="<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" type="<?php echo $attr8_type ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
if ($attr8_readonly) {
?><input type="hidden" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_default) ?><?php unset($attr8_type) ?><?php unset($attr8_name) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_onchange) ?><?php unset($attr8_readonly) ?><?php $attr8_debug_info = 'a:1:{s:4:"true";s:37:"config:search/quicksearch/show_button";}' ?><?php $attr8 = array('true'=>@$conf['search']['quicksearch']['show_button']) ?><?php $attr8_true=@$conf['search']['quicksearch']['show_button'] ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
+ } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8_class);unset($attr8_default);unset($attr8_type);unset($attr8_name);unset($attr8_size);unset($attr8_maxlength);unset($attr8_onchange);unset($attr8_readonly); ?><?php $attr8_true=@$conf['search']['quicksearch']['show_button']; ?><?php
+ if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
+ $attr8_tmp_exec = $$attr8_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr8_tmp_exec = $attr8_true == true;
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?php unset($attr8) ?><?php unset($attr8_true) ?><?php $attr9_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:12:"searchbutton";s:5:"value";s:2:"ok";s:4:"text";s:6:"search";}' ?><?php $attr9 = array('type'=>'ok','class'=>'searchbutton','value'=>'ok','text'=>'search') ?><?php $attr9_type='ok' ?><?php $attr9_class='searchbutton' ?><?php $attr9_value='ok' ?><?php $attr9_text='search' ?><?php
+<?php unset($attr8_true); ?><?php $attr9_type='ok'; $attr9_class='searchbutton'; $attr9_value='ok'; $attr9_text='search'; ?><?php
if ($attr9_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -568,8 +352,8 @@ if ($attr8_readonly) {
else
$attr9_src = '';
?><input type="<?php echo $attr9_type ?>"<?php if(isset($attr9_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr9_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr9_value ?>" class="<?php echo $attr9_class ?>" title="<?php echo lang($attr9_text.'_DESC') ?>" value=" <?php echo langHtml($attr9_text) ?> " /><?php unset($attr9_src) ?><?php
-?><?php unset($attr9) ?><?php unset($attr9_type) ?><?php unset($attr9_class) ?><?php unset($attr9_value) ?><?php unset($attr9_text) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></form>
-<?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() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php
+?><?php unset($attr9_type);unset($attr9_class);unset($attr9_value);unset($attr9_text); ?><?php ?><?php } ?><?php ?><?php ?></form>
+<?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -579,18 +363,24 @@ if ($attr8_readonly) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:2:{s:5:"class";s:9:"subaction";s:7:"colspan";s:1:"2";}' ?><?php $attr4 = array('class'=>'subaction','colspan'=>'2') ?><?php $attr4_class='subaction' ?><?php $attr4_colspan='2' ?><?php
+?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_class='subaction'; $attr4_colspan='2'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_class) ?><?php unset($attr4_colspan) ?><?php $attr5_debug_info = 'a:4:{s:4:"list";s:10:"windowMenu";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:2:"xy";}' ?><?php $attr5 = array('list'=>'windowMenu','extract'=>true,'key'=>'list_key','value'=>'xy') ?><?php $attr5_list='windowMenu' ?><?php $attr5_extract=true ?><?php $attr5_key='list_key' ?><?php $attr5_value='xy' ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_class);unset($attr4_colspan); ?><?php $attr5_list='windowMenu'; $attr5_extract=true; $attr5_key='list_key'; $attr5_value='xy'; ?><?php
$attr5_list_tmp_key = $attr5_key;
$attr5_list_tmp_value = $attr5_value;
$attr5_list_extract = $attr5_extract;
@@ -609,68 +399,22 @@ if ($attr8_readonly) {
}
extract($$attr5_list_tmp_value);
}
-?><?php unset($attr5) ?><?php unset($attr5_list) ?><?php unset($attr5_extract) ?><?php unset($attr5_key) ?><?php unset($attr5_value) ?><?php $attr6_debug_info = 'a:2:{s:3:"not";s:4:"true";s:5:"empty";s:3:"url";}' ?><?php $attr6 = array('not'=>true,'empty'=>'url') ?><?php $attr6_not=true ?><?php $attr6_empty='url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
+?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_not=true; $attr6_empty='url'; ?><?php
+ if ( !isset($$attr6_empty) )
+ $attr6_tmp_exec = empty($attr6_empty);
+ elseif ( is_array($$attr6_empty) )
+ $attr6_tmp_exec = (count($$attr6_empty)==0);
+ elseif ( is_bool($$attr6_empty) )
+ $attr6_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
+ $attr6_tmp_exec = empty( $$attr6_empty );
if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_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:13:"cms_main_main";s:3:"url";s:7:"var:url";s:5:"class";s:4:"menu";s:9:"accesskey";s:7:"var:key";}' ?><?php $attr7 = array('title'=>$title,'target'=>'cms_main_main','url'=>$url,'class'=>'menu','accesskey'=>$key) ?><?php $attr7_title=$title ?><?php $attr7_target='cms_main_main' ?><?php $attr7_url=$url ?><?php $attr7_class='menu' ?><?php $attr7_accesskey=$key ?><?php
+<?php unset($attr6_not);unset($attr6_empty); ?><?php $attr7_title=$title; $attr7_target='cms_main_main'; $attr7_url=$url; $attr7_class='menu'; $attr7_accesskey=$key; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -690,7 +434,7 @@ if ($attr8_readonly) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php unset($attr7_accesskey) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:7:"textvar";s:4:"text";s:9:"accesskey";s:7:"var:key";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','textvar'=>'text','accesskey'=>$key,'escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_textvar='text' ?><?php $attr8_accesskey=$key ?><?php $attr8_escape=true ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class);unset($attr7_accesskey); ?><?php $attr8_class='text'; $attr8_textvar='text'; $attr8_accesskey=$key; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -755,68 +499,20 @@ if ($attr8_readonly) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_textvar) ?><?php unset($attr8_accesskey) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"empty";s:3:"url";}' ?><?php $attr6 = array('empty'=>'url') ?><?php $attr6_empty='url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_textvar);unset($attr8_accesskey);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='url'; ?><?php
+ if ( !isset($$attr6_empty) )
+ $attr6_tmp_exec = empty($attr6_empty);
+ elseif ( is_array($$attr6_empty) )
+ $attr6_tmp_exec = (count($$attr6_empty)==0);
+ elseif ( is_bool($$attr6_empty) )
+ $attr6_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_tmp_exec = empty( $$attr6_empty );
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_empty) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:13:"menu_disabled";s:7:"textvar";s:4:"text";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'menu_disabled','textvar'=>'text','escape'=>true) ?><?php $attr7_class='menu_disabled' ?><?php $attr7_textvar='text' ?><?php $attr7_escape=true ?><?php
+<?php unset($attr6_empty); ?><?php $attr7_class='menu_disabled'; $attr7_textvar='text'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -881,7 +577,7 @@ if ($attr8_readonly) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_textvar) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"__";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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_textvar);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php $attr6_class='text'; $attr6_raw='__'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -946,7 +642,7 @@ if ($attr8_readonly) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_' ?><?php $attr5_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php $attr5_class='text'; $attr5_raw='_'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1011,5 +707,5 @@ if ($attr8_readonly) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></table><?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_raw);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/model/listing.tpl.php b/themes/default/pages/html/model/listing.tpl.php
@@ -1,761 +1,654 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:6:{s:4:"name";s:13:"GLOBAL_MODELS";s:4:"icon";s:5:"group";s:6:"widths";s:11:"50%,25%,25%";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('name'=>'GLOBAL_MODELS','icon'=>'group','widths'=>'50%,25%,25%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='GLOBAL_MODELS' ?><?php $attr2_icon='group' ?><?php $attr2_widths='50%,25%,25%' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr2_widths))
- {
- $column_widths = explode(',',$attr2_widths);
- unset($attr2['widths']);
- }
- if (!empty($attr2_rowclasses))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- if (!empty($attr2_columnclasses))
- {
- $column_classes = explode(',',$attr2_columnclasses);
- unset($attr2['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name='GLOBAL_MODELS'; $attr2_icon='group'; $attr2_widths='50%,25%,25%'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr2_widths))
+ {
+ $column_widths = explode(',',$attr2_widths);
+ unset($attr2['widths']);
+ }
+ if (!empty($attr2_rowclasses))
+ {
+ $row_classes = explode(',',$attr2_rowclasses);
+ $row_class_idx = 999;
+ unset($attr2['rowclasses']);
+ }
+ if (!empty($attr2_columnclasses))
+ {
+ $column_classes = explode(',',$attr2_columnclasses);
+ unset($attr2['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_name);unset($attr2_icon);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='el'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?> <?php
+ $attr3_list_tmp_key = $attr3_key;
+ $attr3_list_tmp_value = $attr3_value;
+ $attr3_list_extract = $attr3_extract;
+ unset($attr3_key);
+ unset($attr3_value);
+ if ( !isset($$attr3_list) || !is_array($$attr3_list) )
+ $$attr3_list = array();
+ foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
+ {
+ if ( $attr3_list_extract )
+ {
+ if ( !is_array($$attr3_list_tmp_value) )
+ {
+ print_r($$attr3_list_tmp_value);
+ die( 'not an array at key: '.$$attr3_list_tmp_key );
+ }
+ extract($$attr3_list_tmp_value);
+ }
+ ?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?> <?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 ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_title=''; $attr6_target='cms_main'; $attr6_url=$url; $attr6_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr6_var1) && isset($attr6_value1))
+ $params[$attr6_var1]=$attr6_value1;
+ if (!empty($attr6_var2) && isset($attr6_value2))
+ $params[$attr6_var2]=$attr6_value2;
+ if (!empty($attr6_var3) && isset($attr6_value3))
+ $params[$attr6_var3]=$attr6_value3;
+ if (!empty($attr6_var4) && isset($attr6_value4))
+ $params[$attr6_var4]=$attr6_value4;
+ if (!empty($attr6_var5) && isset($attr6_value5))
+ $params[$attr6_var5]=$attr6_value5;
+ if(empty($attr6_class))
+ $attr6_class='';
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if(!empty($attr6_url))
+ $tmp_url = $attr6_url;
+ else
+ $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_file='icon_model'; $attr7_align='left'; ?> <?php
+ $attr7_tmp_image_file = $image_dir.$attr7_fileext;
+ $attr7_tmp_image_file = $image_dir.$attr7_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_file);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </a><?php ?><?php ?> </td><?php ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_present='default_url'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main'; $attr7_url=$default_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_make_default'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_text);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_class='text'; $attr7_text='GLOBAL_is_default'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> <?php }
+ unset($attr5_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_present='select_url'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target=@$conf['interface']['frames']['top']; $attr7_url=$select_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_select'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_text);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_class='text'; $attr7_text='GLOBAL_selected'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> <?php }
+ unset($attr5_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_var='select_url'; ?> <?php
+ if (!isset($attr4_value))
+ unset($$attr4_var);
+ elseif (isset($attr4_key))
+ $$attr4_var = $attr4_value[$attr4_key];
+ else
+ $$attr4_var = $attr4_value;
+ ?><?php unset($attr4_var); ?><?php $attr4_var='default_url'; ?> <?php
+ if (!isset($attr4_value))
+ unset($$attr4_var);
+ elseif (isset($attr4_key))
+ $$attr4_var = $attr4_value[$attr4_key];
+ else
+ $$attr4_var = $attr4_value;
+ ?><?php unset($attr4_var); ?><?php ?> <?php } ?><?php ?><?php ?> </table>
+ </td>
+ </tr>
+ </table>
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_icon) ?><?php unset($attr2_widths) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:2:"el";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'el','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='el' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
- $attr3_list_tmp_key = $attr3_key;
- $attr3_list_tmp_value = $attr3_value;
- $attr3_list_extract = $attr3_extract;
- unset($attr3_key);
- unset($attr3_value);
- if ( !isset($$attr3_list) || !is_array($$attr3_list) )
- $$attr3_list = array();
- foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
- {
- if ( $attr3_list_extract )
- {
- if ( !is_array($$attr3_list_tmp_value) )
- {
- print_r($$attr3_list_tmp_value);
- die( 'not an array at key: '.$$attr3_list_tmp_key );
- }
- extract($$attr3_list_tmp_value);
- }
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'cms_main','url'=>$url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
- $params = array();
- if (!empty($attr6_var1) && isset($attr6_value1))
- $params[$attr6_var1]=$attr6_value1;
- if (!empty($attr6_var2) && isset($attr6_value2))
- $params[$attr6_var2]=$attr6_value2;
- if (!empty($attr6_var3) && isset($attr6_value3))
- $params[$attr6_var3]=$attr6_value3;
- if (!empty($attr6_var4) && isset($attr6_value4))
- $params[$attr6_var4]=$attr6_value4;
- if (!empty($attr6_var5) && isset($attr6_value5))
- $params[$attr6_var5]=$attr6_value5;
- if(empty($attr6_class))
- $attr6_class='';
- if(empty($attr6_title))
- $attr6_title = '';
- if(!empty($attr6_url))
- $tmp_url = $attr6_url;
- else
- $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:4:"file";s:10:"icon_model";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('file'=>'icon_model','align'=>'left') ?><?php $attr7_file='icon_model' ?><?php $attr7_align='left' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_file) ?><?php unset($attr7_align) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:11:"default_url";}' ?><?php $attr6 = array('present'=>'default_url') ?><?php $attr6_present='default_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:15:"var:default_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>'cms_main','url'=>$default_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target='cms_main' ?><?php $attr7_url=$default_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:19:"GLOBAL_make_default";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_make_default','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_make_default' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GLOBAL_is_default";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_is_default','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_is_default' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:10:"select_url";}' ?><?php $attr6 = array('present'=>'select_url') ?><?php $attr6_present='select_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:27:"config:interface/frames/top";s:3:"url";s:14:"var:select_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>@$conf['interface']['frames']['top'],'url'=>$select_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target=@$conf['interface']['frames']['top'] ?><?php $attr7_url=$select_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"GLOBAL_select";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_select','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_select' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"GLOBAL_selected";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_selected','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_selected' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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() ?><?php } ?><?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:3:"var";s:10:"select_url";}' ?><?php $attr4 = array('var'=>'select_url') ?><?php $attr4_var='select_url' ?><?php
- if (!isset($attr4_value))
- unset($$attr4_var);
- elseif (isset($attr4_key))
- $$attr4_var = $attr4_value[$attr4_key];
- else
- $$attr4_var = $attr4_value;
-?><?php unset($attr4) ?><?php unset($attr4_var) ?><?php $attr4_debug_info = 'a:1:{s:3:"var";s:11:"default_url";}' ?><?php $attr4 = array('var'=>'default_url') ?><?php $attr4_var='default_url' ?><?php
- if (!isset($attr4_value))
- unset($$attr4_var);
- elseif (isset($attr4_key))
- $$attr4_var = $attr4_value[$attr4_key];
- else
- $$attr4_var = $attr4_value;
-?><?php unset($attr4) ?><?php unset($attr4_var) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/object/aclform.tpl.php b/themes/default/pages/html/object/aclform.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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:5:"title";s:10:"GLOBAL_ADD";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('title'=>'GLOBAL_ADD','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='GLOBAL_ADD' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_title='GLOBAL_ADD'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,9 +81,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -170,7 +162,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_title) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_title);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -180,18 +172,24 @@
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
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?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;
+ $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:13:"message:users";}' ?><?php $attr6 = array('title'=>lang('users')) ?><?php $attr6_title=lang('users') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('users'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -201,37 +199,49 @@
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:"width";s:4:"10px";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'10px','class'=>'fx') ?><?php $attr5_width='10px' ?><?php $attr5_class='fx' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_width='10px'; $attr5_class='fx'; ?><?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;
+ $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_width) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:3:"all";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'=>'all','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='all' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_width);unset($attr5_class); ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='all'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+ ?><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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:3:"all";}' ?><?php $attr6 = array('for'=>'type','value'=>'all') ?><?php $attr6_for='type' ?><?php $attr6_value='all' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:10:"GLOBAL_ALL";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_ALL','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_ALL' ?><?php $attr7_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_for='type'; $attr6_value='all'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_ALL'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -296,18 +306,24 @@
}
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_raw='_'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -372,7 +388,7 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -382,37 +398,49 @@
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:"width";s:4:"10px";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'10px','class'=>'fx') ?><?php $attr5_width='10px' ?><?php $attr5_class='fx' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_width='10px'; $attr5_class='fx'; ?><?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;
+ $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_width) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"user";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'=>'user','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='user' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_width);unset($attr5_class); ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+ ?><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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:4:"user";}' ?><?php $attr6 = array('for'=>'type','value'=>'user') ?><?php $attr6_for='type' ?><?php $attr6_value='user' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_USER";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_USER','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_USER' ?><?php $attr7_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_for='type'; $attr6_value='user'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_USER'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -477,19 +505,31 @@
}
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:9:{s:4:"list";s:5:"users";s:4:"name";s:6:"userid";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'users','name'=>'userid','onchange'=>'','title'=>'','class'=>'','addempty'=>true,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='users' ?><?php $attr6_name='userid' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=true ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_list='users'; $attr6_name='userid'; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=true; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && !$this->isEditMode())
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -503,7 +543,6 @@ 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) )
@@ -534,69 +573,15 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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 unset($attr6_lang) ?><?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:6:"groups";}' ?><?php $attr4 = array('present'=>'groups') ?><?php $attr4_present='groups' ?><?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 )
+if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />';
+}
+?><?php unset($attr6_list);unset($attr6_name);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_present='groups'; ?><?php
+ $attr4_tmp_exec = isset($$attr4_present);
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_present) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_present); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -606,37 +591,49 @@ 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 $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:2:{s:5:"width";s:4:"10px";s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('width'=>'10px','class'=>'fx') ?><?php $attr6_width='10px' ?><?php $attr6_class='fx' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_width='10px'; $attr6_class='fx'; ?><?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;
+ $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_width) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:5:"group";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'=>'group','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='group' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_width);unset($attr6_class); ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='group'; $attr7_default=false; $attr7_prefix=''; $attr7_suffix=''; $attr7_class=''; $attr7_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php
+ ?><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_readonly);unset($attr7_name);unset($attr7_value);unset($attr7_default);unset($attr7_prefix);unset($attr7_suffix);unset($attr7_class);unset($attr7_onchange); ?><?php ?></td><?php ?><?php $attr6_class='fx'; ?><?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;
+ $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_class) ?><?php $attr7_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:5:"group";}' ?><?php $attr7 = array('for'=>'type','value'=>'group') ?><?php $attr7_for='type' ?><?php $attr7_value='group' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php unset($attr7_value) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"GLOBAL_GROUP";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_GROUP','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_GROUP' ?><?php $attr8_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_for='type'; $attr7_value='group'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for);unset($attr7_value); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_GROUP'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -701,19 +698,31 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
}
echo $tmp_text;
unset($tmp_text);
-?></<?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 $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php $attr6_class='fx'; ?><?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;
+ $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_class) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:6:"groups";s:4:"name";s:7:"groupid";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";s:4:"lang";s:5:"false";}' ?><?php $attr7 = array('list'=>'groups','name'=>'groupid','onchange'=>'','title'=>'','class'=>'','addempty'=>true,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='groups' ?><?php $attr7_name='groupid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=true ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php $attr7_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_list='groups'; $attr7_name='groupid'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; $attr7_addempty=true; $attr7_multiple=false; $attr7_size='1'; $attr7_lang=false; ?><?php
+$attr7_tmp_list = $$attr7_list;
+if ($this->isEditable() && !$this->isEditMode())
+{
+ echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
+}
+else
+{
if ( $attr7_addempty!==FALSE )
{
if ($attr7_addempty===TRUE)
@@ -727,7 +736,6 @@ 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) )
@@ -758,8 +766,9 @@ 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 unset($attr7_lang) ?><?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
+if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" value="'.$box_key.'" />';
+}
+?><?php unset($attr7_list);unset($attr7_name);unset($attr7_onchange);unset($attr7_title);unset($attr7_class);unset($attr7_addempty);unset($attr7_multiple);unset($attr7_size);unset($attr7_lang); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -769,18 +778,24 @@ 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:1:{s:7:"colspan";s:1:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?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;
+ $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:16:"message:language";}' ?><?php $attr6 = array('title'=>lang('language')) ?><?php $attr6_title=lang('language') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('language'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -790,18 +805,24 @@ 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:1:{s:5:"width";s:4:"10px";}' ?><?php $attr5 = array('width'=>'10px') ?><?php $attr5_width='10px' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_width='10px'; ?><?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;
+ $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_width) ?><?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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_width); ?><?php $attr6_class='text'; $attr6_raw='_'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -866,18 +887,24 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:10:"languageid";}' ?><?php $attr6 = array('for'=>'languageid') ?><?php $attr6_for='languageid' ?><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:"GLOBAL_LANGUAGE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_LANGUAGE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_LANGUAGE' ?><?php $attr7_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_for='languageid'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_LANGUAGE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -942,19 +969,31 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
}
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:9:{s:4:"list";s:9:"languages";s:4:"name";s:10:"languageid";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'languages','name'=>'languageid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='languages' ?><?php $attr6_name='languageid' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_list='languages'; $attr6_name='languageid'; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && !$this->isEditMode())
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -968,7 +1007,6 @@ 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) )
@@ -999,8 +1037,9 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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 unset($attr6_lang) ?><?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)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />';
+}
+?><?php unset($attr6_list);unset($attr6_name);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1010,18 +1049,24 @@ 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:1:{s:7:"colspan";s:1:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?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;
+ $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:11:"message:acl";}' ?><?php $attr6 = array('title'=>lang('acl')) ?><?php $attr6_title=lang('acl') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($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:4:{s:4:"list";s:4:"show";s:7:"extract";s:5:"false";s:3:"key";s:1:"k";s:5:"value";s:1:"t";}' ?><?php $attr4 = array('list'=>'show','extract'=>false,'key'=>'k','value'=>'t') ?><?php $attr4_list='show' ?><?php $attr4_extract=false ?><?php $attr4_key='k' ?><?php $attr4_value='t' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('acl'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_list='show'; $attr4_extract=false; $attr4_key='k'; $attr4_value='t'; ?><?php
$attr4_list_tmp_key = $attr4_key;
$attr4_list_tmp_value = $attr4_value;
$attr4_list_extract = $attr4_extract;
@@ -1040,7 +1085,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
}
extract($$attr4_list_tmp_value);
}
-?><?php unset($attr4) ?><?php unset($attr4_list) ?><?php unset($attr4_extract) ?><?php unset($attr4_key) ?><?php unset($attr4_value) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1050,87 +1095,38 @@ 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 $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"width";s:4:"10px";}' ?><?php $attr6 = array('width'=>'10px') ?><?php $attr6_width='10px' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_width='10px'; ?><?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;
+ $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_width) ?><?php $attr7_debug_info = 'a:2:{s:6:"equals";s:4:"read";s:5:"value";s:5:"var:t";}' ?><?php $attr7 = array('equals'=>'read','value'=>$t) ?><?php $attr7_equals='read' ?><?php $attr7_value=$t ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_width); ?><?php $attr7_equals='read'; $attr7_value=$t; ?><?php
+ $attr7_tmp_exec = $attr7_equals == $attr7_value;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr7) ?><?php unset($attr7_equals) ?><?php unset($attr7_value) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:5:"var:t";s:5:"value";s:4:"true";}' ?><?php $attr8 = array('var'=>$t,'value'=>true) ?><?php $attr8_var=$t ?><?php $attr8_value=true ?><?php
+<?php unset($attr7_equals);unset($attr7_value); ?><?php $attr8_var=$t; $attr8_value=true; ?><?php
if (!isset($attr8_value))
unset($$attr8_var);
elseif (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
-?><?php unset($attr8) ?><?php unset($attr8_var) ?><?php unset($attr8_value) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:4:"true";s:4:"name";s:5:"var:t";}' ?><?php $attr8 = array('default'=>false,'readonly'=>true,'name'=>$t) ?><?php $attr8_default=false ?><?php $attr8_readonly=true ?><?php $attr8_name=$t ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+?><?php unset($attr8_var);unset($attr8_value); ?><?php $attr8_default=false; $attr8_readonly=true; $attr8_name=$t; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ( isset($$attr8_name) )
$checked = $$attr8_name;
else
@@ -1140,16 +1136,16 @@ if ( $attr8_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
}
-?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8) ?><?php unset($attr8_default) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr7) ?><?php $attr8_debug_info = 'a:2:{s:3:"var";s:5:"var:t";s:5:"value";s:5:"false";}' ?><?php $attr8 = array('var'=>$t,'value'=>false) ?><?php $attr8_var=$t ?><?php $attr8_value=false ?><?php
+?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_var=$t; $attr8_value=false; ?><?php
if (!isset($attr8_value))
unset($$attr8_var);
elseif (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
-?><?php unset($attr8) ?><?php unset($attr8_var) ?><?php unset($attr8_value) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:5:"var:t";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>$t) ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name=$t ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+?><?php unset($attr8_var);unset($attr8_value); ?><?php $attr8_default=false; $attr8_readonly=false; $attr8_name=$t; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ( isset($$attr8_name) )
$checked = $$attr8_name;
else
@@ -1159,18 +1155,25 @@ if ( $attr8_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
}
-?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8) ?><?php unset($attr8_default) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?php
+?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php ?><?php }
+unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php $attr6_colspan='2'; ?><?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;
+ $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:1:{s:3:"for";s:5:"var:t";}' ?><?php $attr7 = array('for'=>$t) ?><?php $attr7_for=$t ?><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:4:{s:5:"class";s:4:"text";s:3:"key";s:5:"var:t";s:6:"prefix";s:4:"acl_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>$t,'prefix'=>'acl_','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key=$t ?><?php $attr8_prefix='acl_' ?><?php $attr8_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_colspan); ?><?php $attr7_for=$t; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_class='text'; $attr8_key=$t; $attr8_prefix='acl_'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1235,7 +1238,7 @@ if ( $attr8_readonly && $checked )
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_prefix) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_prefix);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1245,18 +1248,24 @@ if ( $attr8_readonly && $checked )
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:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='act'; $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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -1269,7 +1278,7 @@ if ( $attr8_readonly && $checked )
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1281,6 +1290,6 @@ if ( $attr8_readonly && $checked )
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/object/rights.tpl.php b/themes/default/pages/html/object/rights.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,23 +26,45 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:5:"title";s:3:"ACL";s:4:"name";s:1:"x";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('title'=>'ACL','name'=>'x','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_title='ACL' ?><?php $attr2_name='x' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
+<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+<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_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_title='ACL'; $attr3_name='x'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
- if (!empty($attr2_widths))
+ if (!empty($attr3_widths))
{
- $column_widths = explode(',',$attr2_widths);
- unset($attr2['widths']);
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
}
- if (!empty($attr2_rowclasses))
+ if (!empty($attr3_rowclasses))
{
- $row_classes = explode(',',$attr2_rowclasses);
+ $row_classes = explode(',',$attr3_rowclasses);
$row_class_idx = 999;
- unset($attr2['rowclasses']);
+ unset($attr3['rowclasses']);
}
- if (!empty($attr2_columnclasses))
+ if (!empty($attr3_columnclasses))
{
- $column_classes = explode(',',$attr2_columnclasses);
- unset($attr2['columnclasses']);
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
}
global $image_dir;
if (@$conf['interface']['application_mode'] )
@@ -60,16 +74,16 @@
else
{
echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
}
if (!@$conf['interface']['application_mode'] )
{
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -148,99 +162,57 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_title) ?><?php unset($attr2_name) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:1:{s:5:"empty";s:4:"acls";}' ?><?php $attr3 = array('empty'=>'acls') ?><?php $attr3_empty='acls' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php $attr4_empty='acls'; ?><?php
+ if ( !isset($$attr4_empty) )
+ $attr4_tmp_exec = empty($attr4_empty);
+ elseif ( is_array($$attr4_empty) )
+ $attr4_tmp_exec = (count($$attr4_empty)==0);
+ elseif ( is_bool($$attr4_empty) )
+ $attr4_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr4_tmp_exec = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_empty) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr4_empty); ?><?php ?><?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;
+ if (empty($attr5_class))
+ $attr5_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='fx'; ?><?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;
+ if (empty($attr6_class))
+ $attr6_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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"GLOBAL_NOT_FOUND";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NOT_FOUND','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NOT_FOUND' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NOT_FOUND'; $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))
+ $attr7_title = '';
+ if (empty($attr7_type))
$tmp_tag = 'span';
else
- switch( $attr6_type )
+ switch( $attr7_type )
{
case 'emphatic':
case 'italic':
@@ -257,213 +229,97 @@
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $attr7_title = '';
+ if ( $attr7_escape )
$langF = 'langHtml';
else
$langF = 'lang';
- if (!empty($attr6_array))
+ 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 = $langF($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
else
$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 $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:2:{s:3:"not";s:4:"true";s:5:"empty";s:4:"acls";}' ?><?php $attr3 = array('not'=>true,'empty'=>'acls') ?><?php $attr3_not=true ?><?php $attr3_empty='acls' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_not=true; $attr4_empty='acls'; ?><?php
+ if ( !isset($$attr4_empty) )
+ $attr4_tmp_exec = empty($attr4_empty);
+ elseif ( is_array($$attr4_empty) )
+ $attr4_tmp_exec = (count($$attr4_empty)==0);
+ elseif ( is_bool($$attr4_empty) )
+ $attr4_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr4_tmp_exec = empty( $$attr4_empty );
+ if ( !empty($attr4_not) )
+ $attr4_tmp_exec = !$attr4_tmp_exec;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_not) ?><?php unset($attr3_empty) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr4_not);unset($attr4_empty); ?><?php ?><?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;
+ if (empty($attr5_class))
+ $attr5_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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='help'; ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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;
+ if (empty($attr6_class))
+ $attr6_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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"GLOBAL_LANGUAGE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_LANGUAGE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_LANGUAGE' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NAME'; $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))
+ $attr7_title = '';
+ if (empty($attr7_type))
$tmp_tag = 'span';
else
- switch( $attr6_type )
+ switch( $attr7_type )
{
case 'emphatic':
case 'italic':
@@ -480,75 +336,62 @@
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $attr7_title = '';
+ if ( $attr7_escape )
$langF = 'langHtml';
else
$langF = 'lang';
- if (!empty($attr6_array))
+ 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 = $langF($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
else
$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:4:{s:4:"list";s:4:"show";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:1:"t";}' ?><?php $attr5 = array('list'=>'show','extract'=>false,'key'=>'list_key','value'=>'t') ?><?php $attr5_list='show' ?><?php $attr5_extract=false ?><?php $attr5_key='list_key' ?><?php $attr5_value='t' ?><?php
- $attr5_list_tmp_key = $attr5_key;
- $attr5_list_tmp_value = $attr5_value;
- $attr5_list_extract = $attr5_extract;
- unset($attr5_key);
- unset($attr5_value);
- if ( !isset($$attr5_list) || !is_array($$attr5_list) )
- $$attr5_list = array();
- foreach( $$attr5_list as $$attr5_list_tmp_key => $$attr5_list_tmp_value )
- {
- if ( $attr5_list_extract )
- {
- if ( !is_array($$attr5_list_tmp_value) )
- {
- print_r($$attr5_list_tmp_value);
- die( 'not an array at key: '.$$attr5_list_tmp_key );
- }
- extract($$attr5_list_tmp_value);
- }
-?><?php unset($attr5) ?><?php unset($attr5_list) ?><?php unset($attr5_extract) ?><?php unset($attr5_key) ?><?php unset($attr5_value) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr6 = array('class'=>'help') ?><?php $attr6_class='help' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php $attr6_class='help'; ?><?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;
+ $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_class) ?><?php $attr7_debug_info = 'a:5:{s:5:"class";s:4:"text";s:3:"key";s:5:"var:t";s:6:"suffix";s:7:"_abbrev";s:6:"prefix";s:4:"acl_";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>$t,'suffix'=>'_abbrev','prefix'=>'acl_','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key=$t ?><?php $attr7_suffix='_abbrev' ?><?php $attr7_prefix='acl_' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_LANGUAGE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -613,28 +456,53 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?php unset($attr7_suffix) ?><?php unset($attr7_prefix) ?><?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() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php $attr6_list='show'; $attr6_extract=false; $attr6_key='list_key'; $attr6_value='t'; ?><?php
+ $attr6_list_tmp_key = $attr6_key;
+ $attr6_list_tmp_value = $attr6_value;
+ $attr6_list_extract = $attr6_extract;
+ unset($attr6_key);
+ unset($attr6_value);
+ if ( !isset($$attr6_list) || !is_array($$attr6_list) )
+ $$attr6_list = array();
+ foreach( $$attr6_list as $$attr6_list_tmp_key => $$attr6_list_tmp_value )
+ {
+ if ( $attr6_list_extract )
+ {
+ if ( !is_array($$attr6_list_tmp_value) )
+ {
+ print_r($$attr6_list_tmp_value);
+ die( 'not an array at key: '.$$attr6_list_tmp_key );
+ }
+ extract($$attr6_list_tmp_value);
+ }
+?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_class='help'; ?><?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;
+ if (empty($attr7_class))
+ $attr7_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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"global_delete";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_delete','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_delete' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php unset($attr7_class); ?><?php $attr8_class='text'; $attr8_key=$t; $attr8_suffix='_abbrev'; $attr8_prefix='acl_'; $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))
+ $attr8_title = '';
+ if (empty($attr8_type))
$tmp_tag = 'span';
else
- switch( $attr6_type )
+ switch( $attr8_type )
{
case 'emphatic':
case 'italic':
@@ -651,168 +519,81 @@
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
+?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
+ $attr8_title = '';
+ if ( $attr8_escape )
$langF = 'langHtml';
else
$langF = 'lang';
- if (!empty($attr6_array))
+ if (!empty($attr8_array))
{
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
else
- $tmp_text = $langF($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
else
$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($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($attr6_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($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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:4:"acls";s:7:"extract";s:4:"true";s:3:"key";s:5:"aclid";s:5:"value";s:3:"acl";}' ?><?php $attr3 = array('list'=>'acls','extract'=>true,'key'=>'aclid','value'=>'acl') ?><?php $attr3_list='acls' ?><?php $attr3_extract=true ?><?php $attr3_key='aclid' ?><?php $attr3_value='acl' ?><?php
- $attr3_list_tmp_key = $attr3_key;
- $attr3_list_tmp_value = $attr3_value;
- $attr3_list_extract = $attr3_extract;
- unset($attr3_key);
- unset($attr3_value);
- if ( !isset($$attr3_list) || !is_array($$attr3_list) )
- $$attr3_list = array();
- foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
- {
- if ( $attr3_list_extract )
- {
- if ( !is_array($$attr3_list_tmp_value) )
- {
- print_r($$attr3_list_tmp_value);
- die( 'not an array at key: '.$$attr3_list_tmp_key );
- }
- extract($$attr3_list_tmp_value);
- }
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_suffix);unset($attr8_prefix);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr6_class='help'; ?><?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;
+ if (empty($attr6_class))
+ $attr6_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:7:"present";s:8:"username";}' ?><?php $attr6 = array('present'=>'username') ?><?php $attr6_present='username' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_true=$mode=="edit"; ?><?php
+ if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
+ $attr7_tmp_exec = $$attr7_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:4:"user";}' ?><?php $attr7 = array('align'=>'left','type'=>'user') ?><?php $attr7_align='left' ?><?php $attr7_type='user' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"username";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'username','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='username' ?><?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))
- $attr7_title = '';
- if (empty($attr7_type))
+<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_text='global_delete'; $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))
+ $attr8_title = '';
+ if (empty($attr8_type))
$tmp_tag = 'span';
else
- switch( $attr7_type )
+ switch( $attr8_type )
{
case 'emphatic':
case 'italic':
@@ -829,128 +610,110 @@ if (isset($attr7_elementtype)) {
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
+?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
+ $attr8_title = '';
+ if ( $attr8_escape )
$langF = 'langHtml';
else
$langF = 'lang';
- if (!empty($attr7_array))
+ 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 = $langF($tmpArray[$attr7_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
$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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:9:"groupname";}' ?><?php $attr6 = array('present'=>'groupname') ?><?php $attr6_present='groupname' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_list='acls'; $attr4_extract=true; $attr4_key='aclid'; $attr4_value='acl'; ?><?php
+ $attr4_list_tmp_key = $attr4_key;
+ $attr4_list_tmp_value = $attr4_value;
+ $attr4_list_extract = $attr4_extract;
+ unset($attr4_key);
+ unset($attr4_value);
+ if ( !isset($$attr4_list) || !is_array($$attr4_list) )
+ $$attr4_list = array();
+ foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
+ {
+ if ( $attr4_list_extract )
+ {
+ if ( !is_array($$attr4_list_tmp_value) )
+ {
+ print_r($$attr4_list_tmp_value);
+ die( 'not an array at key: '.$$attr4_list_tmp_key );
+ }
+ extract($$attr4_list_tmp_value);
+ }
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?><?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 ?><?php ?><?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
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_present='username'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:5:"group";}' ?><?php $attr7 = array('align'=>'left','type'=>'group') ?><?php $attr7_align='left' ?><?php $attr7_type='group' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:9:"groupname";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'groupname','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='groupname' ?><?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))
- $attr7_title = '';
- if (empty($attr7_type))
+<?php unset($attr7_present); ?><?php $attr8_align='left'; $attr8_type='user'; ?><?php
+ $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='username'; $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))
+ $attr8_title = '';
+ if (empty($attr8_type))
$tmp_tag = 'span';
else
- switch( $attr7_type )
+ switch( $attr8_type )
{
case 'emphatic':
case 'italic':
@@ -967,179 +730,54 @@ if (isset($attr7_elementtype)) {
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
+?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
+ $attr8_title = '';
+ if ( $attr8_escape )
$langF = 'langHtml';
else
$langF = 'lang';
- if (!empty($attr7_array))
+ 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 = $langF($tmpArray[$attr7_text]);
+ $tmp_text = $langF($tmpArray[$attr8_text]);
}
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
else
$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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:2:{s:3:"not";s:4:"true";s:7:"present";s:8:"username";}' ?><?php $attr6 = array('not'=>true,'present'=>'username') ?><?php $attr6_not=true ?><?php $attr6_present='username' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?><?php } ?><?php ?><?php $attr7_present='groupname'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_not) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:2:{s:3:"not";s:4:"true";s:7:"present";s:9:"groupname";}' ?><?php $attr7 = array('not'=>true,'present'=>'groupname') ?><?php $attr7_not=true ?><?php $attr7_present='groupname' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_not) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:5:"group";}' ?><?php $attr8 = array('align'=>'left','type'=>'group') ?><?php $attr8_align='left' ?><?php $attr8_type='group' ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_align) ?><?php unset($attr8_type) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:10:"global_all";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'global_all','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='global_all' ?><?php $attr8_escape=true ?><?php
+<?php unset($attr7_present); ?><?php $attr8_align='left'; $attr8_type='group'; ?><?php
+ $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='groupname'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1204,28 +842,118 @@ if (isset($attr8_elementtype)) {
}
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() ?><?php } ?><?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() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?><?php } ?><?php ?><?php $attr7_not=true; $attr7_present='username'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ if ( !empty($attr7_not) )
+ $attr7_tmp_exec = !$attr7_tmp_exec;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+?>
+<?php unset($attr7_not);unset($attr7_present); ?><?php $attr8_not=true; $attr8_present='groupname'; ?><?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ if ( !empty($attr8_not) )
+ $attr8_tmp_exec = !$attr8_tmp_exec;
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+?>
+<?php unset($attr8_not);unset($attr8_present); ?><?php $attr9_align='left'; $attr9_type='group'; ?><?php
+ $attr9_tmp_image_file = $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT;
+ $attr9_size = '16x16';
+?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_align);unset($attr9_type); ?><?php $attr9_class='text'; $attr9_key='global_all'; $attr9_escape=true; ?><?php
+ if ( isset($attr9_prefix)&& isset($attr9_key))
+ $attr9_key = $attr9_prefix.$attr9_key;
+ if ( isset($attr9_suffix)&& isset($attr9_key))
+ $attr9_key = $attr9_key.$attr9_suffix;
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if (empty($attr9_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
+ $attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr9_array))
+ {
+ $tmpArray = $$attr9_array;
+ if (!empty($attr9_var))
+ $tmp_text = $tmpArray[$attr9_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr9_text]);
+ }
+ elseif (!empty($attr9_text))
+ $tmp_text = $langF($attr9_text);
+ elseif (!empty($attr9_textvar))
+ $tmp_text = $langF($$attr9_textvar);
+ elseif (!empty($attr9_key))
+ $tmp_text = $langF($attr9_key);
+ elseif (!empty($attr9_var))
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
+ elseif (!empty($attr9_raw))
+ $tmp_text = str_replace('_',' ',$attr9_raw);
+ elseif (!empty($attr9_value))
+ $tmp_text = $attr9_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
+ if (isset($attr9_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9_class);unset($attr9_key);unset($attr9_escape); ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?><?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;
+ if (empty($attr6_class))
+ $attr6_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:3:{s:5:"class";s:4:"text";s:3:"var";s:12:"languagename";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'languagename','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='languagename' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_class='text'; $attr7_var='languagename'; $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))
+ $attr7_title = '';
+ if (empty($attr7_type))
$tmp_tag = 'span';
else
- switch( $attr6_type )
+ switch( $attr7_type )
{
case 'emphatic':
case 'italic':
@@ -1242,178 +970,259 @@ if (isset($attr8_elementtype)) {
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $attr7_title = '';
+ if ( $attr7_escape )
$langF = 'langHtml';
else
$langF = 'lang';
- if (!empty($attr6_array))
+ 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 = $langF($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
else
$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_var) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:4:{s:4:"list";s:4:"show";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:1:"t";}' ?><?php $attr5 = array('list'=>'show','extract'=>false,'key'=>'list_key','value'=>'t') ?><?php $attr5_list='show' ?><?php $attr5_extract=false ?><?php $attr5_key='list_key' ?><?php $attr5_value='t' ?><?php
- $attr5_list_tmp_key = $attr5_key;
- $attr5_list_tmp_value = $attr5_value;
- $attr5_list_extract = $attr5_extract;
- unset($attr5_key);
- unset($attr5_value);
- if ( !isset($$attr5_list) || !is_array($$attr5_list) )
- $$attr5_list = array();
- foreach( $$attr5_list as $$attr5_list_tmp_key => $$attr5_list_tmp_value )
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></td><?php ?><?php $attr6_list='show'; $attr6_extract=false; $attr6_key='list_key'; $attr6_value='t'; ?><?php
+ $attr6_list_tmp_key = $attr6_key;
+ $attr6_list_tmp_value = $attr6_value;
+ $attr6_list_extract = $attr6_extract;
+ unset($attr6_key);
+ unset($attr6_value);
+ if ( !isset($$attr6_list) || !is_array($$attr6_list) )
+ $$attr6_list = array();
+ foreach( $$attr6_list as $$attr6_list_tmp_key => $$attr6_list_tmp_value )
{
- if ( $attr5_list_extract )
+ if ( $attr6_list_extract )
{
- if ( !is_array($$attr5_list_tmp_value) )
+ if ( !is_array($$attr6_list_tmp_value) )
{
- print_r($$attr5_list_tmp_value);
- die( 'not an array at key: '.$$attr5_list_tmp_key );
+ print_r($$attr6_list_tmp_value);
+ die( 'not an array at key: '.$$attr6_list_tmp_key );
}
- extract($$attr5_list_tmp_value);
+ extract($$attr6_list_tmp_value);
}
-?><?php unset($attr5) ?><?php unset($attr5_list) ?><?php unset($attr5_extract) ?><?php unset($attr5_key) ?><?php unset($attr5_value) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php ?><?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;
+ if (empty($attr7_class))
+ $attr7_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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:4:"true";s:4:"name";s:5:"var:t";}' ?><?php $attr7 = array('default'=>false,'readonly'=>true,'name'=>$t) ?><?php $attr7_default=false ?><?php $attr7_readonly=true ?><?php $attr7_name=$t ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
- if ( isset($$attr7_name) )
- $checked = $$attr7_name;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+?>><?php ?><?php $attr8_default=false; $attr8_readonly=true; $attr8_name=$t; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $checked = $$attr8_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 )
+ $checked = $attr8_default;
+?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+if ( $attr8_readonly && $checked )
{
-?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
+?><input type="hidden" name="<?php echo $attr8_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 $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php ?><?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;
+ if (empty($attr6_class))
+ $attr6_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:7:"present";s:10:"delete_url";}' ?><?php $attr6 = array('present'=>'delete_url') ?><?php $attr6_present='delete_url' ?><?php
- if ( isset($attr6_true) )
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_true=$mode=="edit"; ?><?php
+ if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
+ $attr7_tmp_exec = $$attr7_true == true;
+ else
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
+?>
+<?php unset($attr7_true); ?><?php $attr8_present='delete_url'; ?><?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
+?>
+<?php unset($attr8_present); ?><?php $attr9_title=''; $attr9_target='_self'; $attr9_url=$delete_url; $attr9_class=''; ?><?php
+ $params = array();
+ if (!empty($attr9_var1) && isset($attr9_value1))
+ $params[$attr9_var1]=$attr9_value1;
+ if (!empty($attr9_var2) && isset($attr9_value2))
+ $params[$attr9_var2]=$attr9_value2;
+ if (!empty($attr9_var3) && isset($attr9_value3))
+ $params[$attr9_var3]=$attr9_value3;
+ if (!empty($attr9_var4) && isset($attr9_value4))
+ $params[$attr9_var4]=$attr9_value4;
+ if (!empty($attr9_var5) && isset($attr9_value5))
+ $params[$attr9_var5]=$attr9_value5;
+ if(empty($attr9_class))
+ $attr9_class='';
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if(!empty($attr9_url))
+ $tmp_url = $attr9_url;
+ else
+ $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
+?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_DELETE'; $attr10_escape=true; ?><?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
{
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
+ $tmp_text = $langF($tmpArray[$attr10_text]);
}
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
{
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr10_class);unset($attr10_key);unset($attr10_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=$mode=="edit"; ?><?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
+ else
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:14:"var:delete_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>'_self','url'=>$delete_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target='_self' ?><?php $attr7_url=$delete_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
+<?php unset($attr4_true); ?><?php ?><?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 ?><?php $attr6_colspan='15'; ?><?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
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_colspan); ?><?php $attr7_var='inherit'; $attr7_value='1'; ?><?php
+ if (!isset($attr7_value))
+ unset($$attr7_var);
+ elseif (isset($attr7_key))
+ $$attr7_var = $attr7_value[$attr7_key];
else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"GLOBAL_DELETE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'GLOBAL_DELETE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='GLOBAL_DELETE' ?><?php $attr8_escape=true ?><?php
+ $$attr7_var = $attr7_value;
+?><?php unset($attr7_var);unset($attr7_value); ?><?php $attr7_class=''; $attr7_default=''; $attr7_type='checkbox'; $attr7_name='inherit'; $attr7_size='40'; $attr7_maxlength='256'; $attr7_onchange=''; $attr7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
+ if ($attr7_readonly && empty($$attr7_name)) $$attr7_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr7_default)) $attr7_default='';
+?><?php if (!$attr7_readonly || $attr7_type=='hidden') {
+?><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
+ } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_class);unset($attr7_default);unset($attr7_type);unset($attr7_name);unset($attr7_size);unset($attr7_maxlength);unset($attr7_onchange);unset($attr7_readonly); ?><?php $attr7_for='inherit'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_class='text'; $attr8_key='inherit_rights'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1478,73 +1287,47 @@ if ( $attr7_readonly && $checked )
}
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() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"ACL_INHERITED";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'ACL_INHERITED','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='ACL_INHERITED' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?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 ?><?php $attr6_class='act'; $attr6_colspan='15'; ?><?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
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_type='ok'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?><?php
+ if ($attr7_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr7_text = 'MODE_EDIT';
}
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
+ if ($attr7_type=='ok')
+ $attr7_type = 'submit';
+ if (isset($attr7_src))
+ $attr7_type = 'image';
else
- $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_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+ $attr7_src = '';
+?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
+?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1556,5 +1339,6 @@ if ( $attr7_readonly && $checked )
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/page/changetemplate.tpl.php b/themes/default/pages/html/page/changetemplate.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -90,8 +82,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -287,13 +279,15 @@
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:8:"template";}' ?><?php $attr7 = array('align'=>'left','type'=>'template') ?><?php $attr7_align='left' ?><?php $attr7_type='template' ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:8:"template";}' ?><?php $attr7 = array('align'=>'left','type'=>'template') ?><?php $attr7_align='left' ?><?php $attr7_type='template' ?><?php
if (isset($attr7_elementtype)) {
?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_type)) {
?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
+} elseif (isset($attr7_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_url)) {
?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
} elseif (isset($attr7_fileext)) {
@@ -462,7 +456,13 @@ if (isset($attr7_elementtype)) {
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:9:{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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'templates','name'=>'templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?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 $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -476,7 +476,6 @@ 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) )
@@ -507,7 +506,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
diff --git a/themes/default/pages/html/page/el.tpl.php b/themes/default/pages/html/page/el.tpl.php
@@ -1,1487 +1,1374 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:6:{s:5:"title";s:17:"TEMPLATE_ELEMENTS";s:4:"name";s:1:"x";s:6:"widths";s:11:"30%,50%,20%";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('title'=>'TEMPLATE_ELEMENTS','name'=>'x','widths'=>'30%,50%,20%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_title='TEMPLATE_ELEMENTS' ?><?php $attr2_name='x' ?><?php $attr2_widths='30%,50%,20%' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr2_widths))
- {
- $column_widths = explode(',',$attr2_widths);
- unset($attr2['widths']);
- }
- if (!empty($attr2_rowclasses))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- if (!empty($attr2_columnclasses))
- {
- $column_classes = explode(',',$attr2_columnclasses);
- unset($attr2['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_title='TEMPLATE_ELEMENTS'; $attr2_name='x'; $attr2_widths='30%,50%,20%'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr2_widths))
+ {
+ $column_widths = explode(',',$attr2_widths);
+ unset($attr2['widths']);
+ }
+ if (!empty($attr2_rowclasses))
+ {
+ $row_classes = explode(',',$attr2_rowclasses);
+ $row_class_idx = 999;
+ unset($attr2['rowclasses']);
+ }
+ if (!empty($attr2_columnclasses))
+ {
+ $column_classes = explode(',',$attr2_columnclasses);
+ unset($attr2['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_title);unset($attr2_name);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_invert=true; $attr3_empty='el'; ?> <?php
+ if ( !isset($$attr3_empty) )
+ $attr3_tmp_exec = empty($attr3_empty);
+ elseif ( is_array($$attr3_empty) )
+ $attr3_tmp_exec = (count($$attr3_empty)==0);
+ elseif ( is_bool($$attr3_empty) )
+ $attr3_tmp_exec = true;
+ else
+ $attr3_tmp_exec = empty( $$attr3_empty );
+ if ( !empty($attr3_invert) )
+ $attr3_tmp_exec = !$attr3_tmp_exec;
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
+ {
+ ?>
+<?php unset($attr3_invert);unset($attr3_empty); ?><?php ?> <?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 ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='PAGE_ELEMENT_NAME'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='PAGE_ELEMENT_VALUE'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_ARCHIVE'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr3_empty='el'; ?> <?php
+ if ( !isset($$attr3_empty) )
+ $attr3_tmp_exec = empty($attr3_empty);
+ elseif ( is_array($$attr3_empty) )
+ $attr3_tmp_exec = (count($$attr3_empty)==0);
+ elseif ( is_bool($$attr3_empty) )
+ $attr3_tmp_exec = true;
+ else
+ $attr3_tmp_exec = empty( $$attr3_empty );
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
+ {
+ ?>
+<?php unset($attr3_empty); ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NOT_FOUND'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr3_list='el'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?> <?php
+ $attr3_list_tmp_key = $attr3_key;
+ $attr3_list_tmp_value = $attr3_value;
+ $attr3_list_extract = $attr3_extract;
+ unset($attr3_key);
+ unset($attr3_value);
+ if ( !isset($$attr3_list) || !is_array($$attr3_list) )
+ $$attr3_list = array();
+ foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
+ {
+ if ( $attr3_list_extract )
+ {
+ if ( !is_array($$attr3_list_tmp_value) )
+ {
+ print_r($$attr3_list_tmp_value);
+ die( 'not an array at key: '.$$attr3_list_tmp_key );
+ }
+ extract($$attr3_list_tmp_value);
+ }
+ ?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_title=$desc; $attr6_target='_self'; $attr6_url=$url; $attr6_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr6_var1) && isset($attr6_value1))
+ $params[$attr6_var1]=$attr6_value1;
+ if (!empty($attr6_var2) && isset($attr6_value2))
+ $params[$attr6_var2]=$attr6_value2;
+ if (!empty($attr6_var3) && isset($attr6_value3))
+ $params[$attr6_var3]=$attr6_value3;
+ if (!empty($attr6_var4) && isset($attr6_value4))
+ $params[$attr6_var4]=$attr6_value4;
+ if (!empty($attr6_var5) && isset($attr6_value5))
+ $params[$attr6_var5]=$attr6_value5;
+ if(empty($attr6_class))
+ $attr6_class='';
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if(!empty($attr6_url))
+ $tmp_url = $attr6_url;
+ else
+ $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_align='left'; $attr7_elementtype=$type; ?> <?php
+ $attr7_tmp_image_file = $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_elementtype); ?><?php $attr7_class='text'; $attr7_var='name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </a><?php ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_var='value'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_raw='_'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_present='archive_url'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=lang('GLOBAL_ARCHIVE_DESC'); $attr7_target='_self'; $attr7_url=$archive_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_ARCHIVE'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_text);unset($attr8_escape); ?><?php ?> </a><?php ?><?php $attr7_class='text'; $attr7_raw='_(_'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_raw);unset($attr7_escape); ?><?php $attr7_class='text'; $attr7_var='archive_count'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php $attr7_class='text'; $attr7_raw='_)'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_title=lang('GLOBAL_NO_ARCHIVE_DESC'); $attr7_class='text'; $attr7_text='GLOBAL_NO_ARCHIVE'; $attr7_escape=true; $attr7_type='emphatic'; ?> <?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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_title);unset($attr7_class);unset($attr7_text);unset($attr7_escape);unset($attr7_type); ?><?php ?> <?php }
+ unset($attr5_tmp_last_exec) ?><?php ?><?php $attr6_var='archive_url'; ?> <?php
+ if (!isset($attr6_value))
+ unset($$attr6_var);
+ elseif (isset($attr6_key))
+ $$attr6_var = $attr6_value[$attr6_key];
+ else
+ $$attr6_var = $attr6_value;
+ ?><?php unset($attr6_var); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?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($attr3_class))
+ $attr3_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_class='help'; $attr4_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($attr4_class))
+ $attr4_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
+ $attr4_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+ if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+ if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+ if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+ ?>><?php unset($attr4_class);unset($attr4_colspan); ?><?php $attr5_class='text'; $attr5_text='PAGE_ELEMENTS_DESC'; $attr5_escape=true; ?> <?php
+ if ( isset($attr5_prefix)&& isset($attr5_key))
+ $attr5_key = $attr5_prefix.$attr5_key;
+ if ( isset($attr5_suffix)&& isset($attr5_key))
+ $attr5_key = $attr5_key.$attr5_suffix;
+ if(empty($attr5_title))
+ $attr5_title = '';
+ if (empty($attr5_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr5_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 $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php
+ $attr5_title = '';
+ if ( $attr5_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr5_array))
{
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ $tmpArray = $$attr5_array;
+ if (!empty($attr5_var))
+ $tmp_text = $tmpArray[$attr5_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr5_text]);
}
+ elseif (!empty($attr5_text))
+ $tmp_text = $langF($attr5_text);
+ elseif (!empty($attr5_textvar))
+ $tmp_text = $langF($$attr5_textvar);
+ elseif (!empty($attr5_key))
+ $tmp_text = $langF($attr5_key);
+ elseif (!empty($attr5_var))
+ $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
+ elseif (!empty($attr5_raw))
+ $tmp_text = str_replace('_',' ',$attr5_raw);
+ elseif (!empty($attr5_value))
+ $tmp_text = $attr5_value;
else
+ $tmp_text = ' ';
+ if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) );
+ if (isset($attr5_accesskey))
{
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ $pos = strpos(strtolower($tmp_text),strtolower($attr5_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 (@$conf['help']['enabled'] )
+ echo $tmp_text;
+ unset($tmp_text);
+ ?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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($attr3_class))
+ $attr3_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_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($attr4_class))
+ $attr4_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
+ $attr4_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+ if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+ if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+ if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+ ?>><?php unset($attr4_colspan); ?><?php $attr5_class='text'; $attr5_raw='_'; $attr5_escape=true; ?> <?php
+ if ( isset($attr5_prefix)&& isset($attr5_key))
+ $attr5_key = $attr5_prefix.$attr5_key;
+ if ( isset($attr5_suffix)&& isset($attr5_key))
+ $attr5_key = $attr5_key.$attr5_suffix;
+ if(empty($attr5_title))
+ $attr5_title = '';
+ if (empty($attr5_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr5_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 $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php
+ $attr5_title = '';
+ if ( $attr5_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr5_array))
+ {
+ $tmpArray = $$attr5_array;
+ if (!empty($attr5_var))
+ $tmp_text = $tmpArray[$attr5_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr5_text]);
+ }
+ elseif (!empty($attr5_text))
+ $tmp_text = $langF($attr5_text);
+ elseif (!empty($attr5_textvar))
+ $tmp_text = $langF($$attr5_textvar);
+ elseif (!empty($attr5_key))
+ $tmp_text = $langF($attr5_key);
+ elseif (!empty($attr5_var))
+ $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
+ elseif (!empty($attr5_raw))
+ $tmp_text = str_replace('_',' ',$attr5_raw);
+ elseif (!empty($attr5_value))
+ $tmp_text = $attr5_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) );
+ if (isset($attr5_accesskey))
{
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ $pos = strpos(strtolower($tmp_text),strtolower($attr5_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);
}
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
+ echo $tmp_text;
+ unset($tmp_text);
+ ?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_raw);unset($attr5_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
+ </td>
+ </tr>
+ </table>
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_title) ?><?php unset($attr2_name) ?><?php unset($attr2_widths) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:2:{s:6:"invert";s:4:"true";s:5:"empty";s:2:"el";}' ?><?php $attr3 = array('invert'=>true,'empty'=>'el') ?><?php $attr3_invert=true ?><?php $attr3_empty='el' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr3) ?><?php unset($attr3_invert) ?><?php unset($attr3_empty) ?><?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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"PAGE_ELEMENT_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'PAGE_ELEMENT_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='PAGE_ELEMENT_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"PAGE_ELEMENT_VALUE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'PAGE_ELEMENT_VALUE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='PAGE_ELEMENT_VALUE' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_ARCHIVE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_ARCHIVE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_ARCHIVE' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:1:{s:5:"empty";s:2:"el";}' ?><?php $attr3 = array('empty'=>'el') ?><?php $attr3_empty='el' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr3) ?><?php unset($attr3_empty) ?><?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:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"GLOBAL_NOT_FOUND";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NOT_FOUND','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NOT_FOUND' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:2:"el";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'el','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='el' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
- $attr3_list_tmp_key = $attr3_key;
- $attr3_list_tmp_value = $attr3_value;
- $attr3_list_extract = $attr3_extract;
- unset($attr3_key);
- unset($attr3_value);
- if ( !isset($$attr3_list) || !is_array($$attr3_list) )
- $$attr3_list = array();
- foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
- {
- if ( $attr3_list_extract )
- {
- if ( !is_array($$attr3_list_tmp_value) )
- {
- print_r($$attr3_list_tmp_value);
- die( 'not an array at key: '.$$attr3_list_tmp_key );
- }
- extract($$attr3_list_tmp_value);
- }
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?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:4:{s:5:"title";s:8:"var:desc";s:6:"target";s:5:"_self";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>$desc,'target'=>'_self','url'=>$url,'class'=>'') ?><?php $attr6_title=$desc ?><?php $attr6_target='_self' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
- $params = array();
- if (!empty($attr6_var1) && isset($attr6_value1))
- $params[$attr6_var1]=$attr6_value1;
- if (!empty($attr6_var2) && isset($attr6_value2))
- $params[$attr6_var2]=$attr6_value2;
- if (!empty($attr6_var3) && isset($attr6_value3))
- $params[$attr6_var3]=$attr6_value3;
- if (!empty($attr6_var4) && isset($attr6_value4))
- $params[$attr6_var4]=$attr6_value4;
- if (!empty($attr6_var5) && isset($attr6_value5))
- $params[$attr6_var5]=$attr6_value5;
- if(empty($attr6_class))
- $attr6_class='';
- if(empty($attr6_title))
- $attr6_title = '';
- if(!empty($attr6_url))
- $tmp_url = $attr6_url;
- else
- $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:11:"elementtype";s:8:"var:type";}' ?><?php $attr7 = array('align'=>'left','elementtype'=>$type) ?><?php $attr7_align='left' ?><?php $attr7_elementtype=$type ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_elementtype) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?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:3:{s:5:"class";s:4:"text";s:3:"var";s:5:"value";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'value','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='value' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?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
- $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:7:"present";s:11:"archive_url";}' ?><?php $attr6 = array('present'=>'archive_url') ?><?php $attr6_present='archive_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:27:"message:GLOBAL_ARCHIVE_DESC";s:6:"target";s:5:"_self";s:3:"url";s:15:"var:archive_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>lang('GLOBAL_ARCHIVE_DESC'),'target'=>'_self','url'=>$archive_url,'class'=>'') ?><?php $attr7_title=lang('GLOBAL_ARCHIVE_DESC') ?><?php $attr7_target='_self' ?><?php $attr7_url=$archive_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_ARCHIVE";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_ARCHIVE','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_ARCHIVE' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_text) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_(_";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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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:3:"var";s:13:"archive_count";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'archive_count','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='archive_count' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"_)";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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:5:{s:5:"title";s:30:"message:GLOBAL_NO_ARCHIVE_DESC";s:5:"class";s:4:"text";s:4:"text";s:17:"GLOBAL_NO_ARCHIVE";s:6:"escape";s:4:"true";s:4:"type";s:8:"emphatic";}' ?><?php $attr7 = array('title'=>lang('GLOBAL_NO_ARCHIVE_DESC'),'class'=>'text','text'=>'GLOBAL_NO_ARCHIVE','escape'=>true,'type'=>'emphatic') ?><?php $attr7_title=lang('GLOBAL_NO_ARCHIVE_DESC') ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_NO_ARCHIVE' ?><?php $attr7_escape=true ?><?php $attr7_type='emphatic' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_title) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_escape) ?><?php unset($attr7_type) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:3:"var";s:11:"archive_url";}' ?><?php $attr6 = array('var'=>'archive_url') ?><?php $attr6_var='archive_url' ?><?php
- if (!isset($attr6_value))
- unset($$attr6_var);
- elseif (isset($attr6_key))
- $$attr6_var = $attr6_value[$attr6_key];
- else
- $$attr6_var = $attr6_value;
-?><?php unset($attr6) ?><?php unset($attr6_var) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = 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($attr3_class))
- $attr3_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"3";}' ?><?php $attr4 = array('class'=>'help','colspan'=>'3') ?><?php $attr4_class='help' ?><?php $attr4_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($attr4_class))
- $attr4['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_class) ?><?php unset($attr4_colspan) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"PAGE_ELEMENTS_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'PAGE_ELEMENTS_DESC','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='PAGE_ELEMENTS_DESC' ?><?php $attr5_escape=true ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
- $tmp_tag = 'span';
- else
- switch( $attr5_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 $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php
- $attr5_title = '';
- if ( $attr5_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr5_array))
- {
- $tmpArray = $$attr5_array;
- if (!empty($attr5_var))
- $tmp_text = $tmpArray[$attr5_var];
- else
- $tmp_text = $langF($tmpArray[$attr5_text]);
- }
- elseif (!empty($attr5_text))
- $tmp_text = $langF($attr5_text);
- elseif (!empty($attr5_textvar))
- $tmp_text = $langF($$attr5_textvar);
- elseif (!empty($attr5_key))
- $tmp_text = $langF($attr5_key);
- elseif (!empty($attr5_var))
- $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
- elseif (!empty($attr5_raw))
- $tmp_text = str_replace('_',' ',$attr5_raw);
- elseif (!empty($attr5_value))
- $tmp_text = $attr5_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) );
- if (isset($attr5_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr5_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($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_text) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = 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($attr3_class))
- $attr3_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"colspan";s:1:"3";}' ?><?php $attr4 = array('colspan'=>'3') ?><?php $attr4_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($attr4_class))
- $attr4['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_colspan) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_' ?><?php $attr5_escape=true ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
- $tmp_tag = 'span';
- else
- switch( $attr5_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 $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php
- $attr5_title = '';
- if ( $attr5_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr5_array))
- {
- $tmpArray = $$attr5_array;
- if (!empty($attr5_var))
- $tmp_text = $tmpArray[$attr5_var];
- else
- $tmp_text = $langF($tmpArray[$attr5_text]);
- }
- elseif (!empty($attr5_text))
- $tmp_text = $langF($attr5_text);
- elseif (!empty($attr5_textvar))
- $tmp_text = $langF($$attr5_textvar);
- elseif (!empty($attr5_key))
- $tmp_text = $langF($attr5_key);
- elseif (!empty($attr5_var))
- $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
- elseif (!empty($attr5_raw))
- $tmp_text = str_replace('_',' ',$attr5_raw);
- elseif (!empty($attr5_value))
- $tmp_text = $attr5_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) );
- if (isset($attr5_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr5_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($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/page/form.tpl.php b/themes/default/pages/html/page/form.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -90,8 +82,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -663,6 +655,8 @@ if (isset($attr9_elementtype)) {
?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
} elseif (isset($attr9_icon)) {
?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
+} elseif (isset($attr9_tree)) {
+?><img src="<?php echo $image_dir.'tree_'.$attr9_tree.IMG_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
} elseif (isset($attr9_url)) {
?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
} elseif (isset($attr9_fileext)) {
@@ -830,7 +824,7 @@ if ( $attr8_readonly && $checked )
<?php unset($attr8) ?><?php unset($attr8_value) ?><?php unset($attr8_contains) ?><?php $attr9_debug_info = 'a:9:{s:5:"class";s:0:"";s:7:"default";s:9:"var:value";s:4:"type";s:4:"text";s:5:"index";s:4:"true";s:4:"name";s:6:"var:id";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"255";s:8:"onchange";s:8:"onchange";s:8:"readonly";s:5:"false";}' ?><?php $attr9 = array('class'=>'','default'=>$value,'type'=>'text','index'=>true,'name'=>$id,'size'=>'40','maxlength'=>'255','onchange'=>'onchange','readonly'=>false) ?><?php $attr9_class='' ?><?php $attr9_default=$value ?><?php $attr9_type='text' ?><?php $attr9_index=true ?><?php $attr9_name=$id ?><?php $attr9_size='40' ?><?php $attr9_maxlength='255' ?><?php $attr9_onchange='onchange' ?><?php $attr9_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr9_readonly=true;
if ($attr9_readonly && empty($$attr9_name)) $$attr9_name = '- '.lang('EMPTY').' -';
if(!isset($attr9_default)) $attr9_default='';
-?><?php if (!$attr9_readonly) {
+?><?php if (!$attr9_readonly || $attr9_type=='hidden') {
?><input<?php if ($attr9_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr9_name ?><?php if ($attr9_readonly) echo '_disabled' ?>" name="<?php echo $attr9_name ?><?php if ($attr9_readonly) echo '_disabled' ?>" type="<?php echo $attr9_type ?>" size="<?php echo $attr9_size ?>" maxlength="<?php echo $attr9_maxlength ?>" class="<?php echo $attr9_class ?>" value="<?php echo isset($$attr9_name)?$$attr9_name:$attr9_default ?>" <?php if (in_array($attr9_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
if ($attr9_readonly) {
?><input type="hidden" id="id_<?php echo $attr9_name ?>" name="<?php echo $attr9_name ?>" value="<?php echo isset($$attr9_name)?$$attr9_name:$attr9_default ?>" /><?php
@@ -961,7 +955,13 @@ if ($attr9_readonly) {
{
?>
<?php unset($attr8) ?><?php unset($attr8_value) ?><?php unset($attr8_contains) ?><?php $attr9_debug_info = 'a:10:{s:4:"list";s:4:"list";s:4:"name";s:6:"var:id";s:7:"default";s:9:"var:value";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";s:4:"lang";s:5:"false";}' ?><?php $attr9 = array('list'=>'list','name'=>$id,'default'=>$value,'onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr9_list='list' ?><?php $attr9_name=$id ?><?php $attr9_default=$value ?><?php $attr9_onchange='' ?><?php $attr9_title='' ?><?php $attr9_class='' ?><?php $attr9_addempty=false ?><?php $attr9_multiple=false ?><?php $attr9_size='1' ?><?php $attr9_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr9_readonly=true;
+$attr9_tmp_list = $$attr9_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr9_name)?'- '.lang('EMPTY').' -':$attr9_tmp_list[$$attr9_name];
+}
+else
+{
if ( $attr9_addempty!==FALSE )
{
if ($attr9_addempty===TRUE)
@@ -975,7 +975,6 @@ if ($attr9_multiple) echo ' multiple="multiple"';
if (in_array($attr9_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
echo ' size="'.intval($attr9_size).'"';
?>><?php
- $attr9_tmp_list = $$attr9_list;
if ( isset($$attr9_name) && isset($attr9_tmp_list[$$attr9_name]) )
$attr9_tmp_default = $$attr9_name;
elseif ( isset($attr9_default) )
@@ -1006,7 +1005,8 @@ echo ' size="'.intval($attr9_size).'"';
}
?></select><?php
if (count($$attr9_list)==0) echo '<input type="hidden" name="'.$attr9_name.'" value="" />';
-if (count($$attr9_list)==1) echo '<input type="hidden" name="'.$attr9_name.'" value="'.$box_key.'" />'
+if (count($$attr9_list)==1) echo '<input type="hidden" name="'.$attr9_name.'" value="'.$box_key.'" />';
+}
?><?php unset($attr9) ?><?php unset($attr9_list) ?><?php unset($attr9_name) ?><?php unset($attr9_default) ?><?php unset($attr9_onchange) ?><?php unset($attr9_title) ?><?php unset($attr9_class) ?><?php unset($attr9_addempty) ?><?php unset($attr9_multiple) ?><?php unset($attr9_size) ?><?php unset($attr9_lang) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?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 $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) )
{
@@ -1150,7 +1150,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><?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
+?><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 encodeHtml($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
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/page/pub.tpl.php b/themes/default/pages/html/page/pub.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -90,8 +82,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
diff --git a/themes/default/pages/html/page/showprop.tpl.php b/themes/default/pages/html/page/showprop.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/page/src.tpl.php b/themes/default/pages/html/page/src.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -68,8 +60,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
diff --git a/themes/default/pages/html/pageelement/archive.tpl.php b/themes/default/pages/html/pageelement/archive.tpl.php
@@ -1,2150 +1,1765 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
- $attr2_subaction = $subActionName;
-?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
-<input type="hidden" name="mode" value="edit" />
-<?php } ?>
-<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
-<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
-<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:6:"widths";s:28:"5%,5%,5%,15%,15%,35%,10%,10%";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'=>'5%,5%,5%,15%,15%,35%,10%,10%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_widths='5%,5%,5%,15%,15%,35%,10%,10%' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+ ?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+ <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+ <input type="hidden" name="mode" value="edit" />
+ <?php } ?>
+ <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+ <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+ <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_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_widths='5%,5%,5%,15%,15%,35%,10%,10%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?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 ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NR'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_present='compareid'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_COMPARE'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='DATE'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_USER'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_VALUE'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_STATE'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_ACTION'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_empty='el'; ?> <?php
+ if ( !isset($$attr4_empty) )
+ $attr4_tmp_exec = empty($attr4_empty);
+ elseif ( is_array($$attr4_empty) )
+ $attr4_tmp_exec = (count($$attr4_empty)==0);
+ elseif ( is_bool($$attr4_empty) )
+ $attr4_tmp_exec = true;
+ else
+ $attr4_tmp_exec = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_empty); ?><?php ?> <?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 ?><?php $attr6_class='fx'; $attr6_colspan='8'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NOT_FOUND'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_list='el'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?> <?php
+ $attr4_list_tmp_key = $attr4_key;
+ $attr4_list_tmp_value = $attr4_value;
+ $attr4_list_extract = $attr4_extract;
+ unset($attr4_key);
+ unset($attr4_value);
+ if ( !isset($$attr4_list) || !is_array($$attr4_list) )
+ $$attr4_list = array();
+ foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
+ {
+ if ( $attr4_list_extract )
+ {
+ if ( !is_array($$attr4_list_tmp_value) )
+ {
+ print_r($$attr4_list_tmp_value);
+ die( 'not an array at key: '.$$attr4_list_tmp_key );
+ }
+ extract($$attr4_list_tmp_value);
+ }
+ ?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='lfd_nr'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_present='compareid'; ?> <?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_present); ?><?php $attr8_readonly=false; $attr8_name='compareid'; $attr8_value=$id; $attr8_default=false; $attr8_prefix=''; $attr8_suffix=''; $attr8_class=''; $attr8_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ ?><input type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr8_readonly);unset($attr8_name);unset($attr8_value);unset($attr8_default);unset($attr8_prefix);unset($attr8_suffix);unset($attr8_class);unset($attr8_onchange); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_present='compareid'; ?> <?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_present); ?><?php $attr8_readonly=false; $attr8_name='withid'; $attr8_value=$id; $attr8_default=false; $attr8_prefix=''; $attr8_suffix=''; $attr8_class=''; $attr8_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ ?><input type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr8_readonly);unset($attr8_name);unset($attr8_value);unset($attr8_default);unset($attr8_prefix);unset($attr8_suffix);unset($attr8_class);unset($attr8_onchange); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_date=$date; ?> <?php
+ global $conf;
+ $time = $attr7_date;
+ if ( $time==0)
+ echo lang('GLOBAL_UNKNOWN');
+ elseif ( !$conf['interface']['human_date_format'] )
+ {
+ echo '<span title="';
+ $dl = date(lang('DATE_FORMAT_LONG'),$time);
+ $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
+ $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
+ echo $dl;
+ unset($dl);
+ echo '">';
+ echo date(lang('DATE_FORMAT'),$time);
+ echo '</span>';
+ }
+ else
+ {
+ $sekunden = time()-$time;
+ $minuten = intval($sekunden/60);
+ $stunden = intval($minuten /60);
+ $tage = intval($stunden /24);
+ $monate = intval($tage /30);
+ $jahre = intval($monate /12);
+ echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
+ if ( $time==0)
+ echo lang('GLOBAL_UNKNOWN');
+ elseif ( !$conf['interface']['human_date_format'] )
+ echo date(lang('DATE_FORMAT'),$time);
+ elseif ( $sekunden == 1 )
+ echo $sekunden.' '.lang('GLOBAL_SECOND');
+ elseif ( $sekunden < 60 )
+ echo $sekunden.' '.lang('GLOBAL_SECONDS');
+ elseif ( $minuten == 1 )
+ echo $minuten.' '.lang('GLOBAL_MINUTE');
+ elseif ( $minuten < 60 )
+ echo $minuten.' '.lang('GLOBAL_MINUTES');
+ elseif ( $stunden == 1 )
+ echo $stunden.' '.lang('GLOBAL_HOUR');
+ elseif ( $stunden < 60 )
+ echo $stunden.' '.lang('GLOBAL_HOURS');
+ elseif ( $tage == 1 )
+ echo $tage.' '.lang('GLOBAL_DAY');
+ elseif ( $tage < 60 )
+ echo $tage.' '.lang('GLOBAL_DAYS');
+ elseif ( $monate == 1 )
+ echo $monate.' '.lang('GLOBAL_MONTH');
+ elseif ( $monate < 12 )
+ echo $monate.' '.lang('GLOBAL_MONTHS');
+ elseif ( $jahre == 1 )
+ echo $jahre.' '.lang('GLOBAL_YEAR');
+ else
+ echo $jahre.' '.lang('GLOBAL_YEARS');
+ echo '</span>';
+ }
+ ?><?php unset($attr7_date); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='user'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='value'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_true=$public; ?> <?php
+ if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
+ $attr7_tmp_exec = $$attr7_true == true;
+ else
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_key='GLOBAL_PUBLIC'; $attr8_escape=true; $attr8_type='strong'; ?> <?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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_key);unset($attr8_escape);unset($attr8_type); ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_present='releaseUrl'; ?> <?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+ ?>
+<?php unset($attr8_present); ?><?php $attr9_title=lang('GLOBAL_RELEASE_DESC'); $attr9_target='_self'; $attr9_url=$releaseUrl; $attr9_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr9_var1) && isset($attr9_value1))
+ $params[$attr9_var1]=$attr9_value1;
+ if (!empty($attr9_var2) && isset($attr9_value2))
+ $params[$attr9_var2]=$attr9_value2;
+ if (!empty($attr9_var3) && isset($attr9_value3))
+ $params[$attr9_var3]=$attr9_value3;
+ if (!empty($attr9_var4) && isset($attr9_value4))
+ $params[$attr9_var4]=$attr9_value4;
+ if (!empty($attr9_var5) && isset($attr9_value5))
+ $params[$attr9_var5]=$attr9_value5;
+ if(empty($attr9_class))
+ $attr9_class='';
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if(!empty($attr9_url))
+ $tmp_url = $attr9_url;
+ else
+ $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_RELEASE'; $attr10_escape=true; $attr10_type='strong'; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_key);unset($attr10_escape);unset($attr10_type); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr8_tmp_last_exec) { ?>
+<?php ?><?php $attr9_class='text'; $attr9_key='GLOBAL_INACTIVE'; $attr9_escape=true; $attr9_type='emphatic'; ?> <?php
+ if ( isset($attr9_prefix)&& isset($attr9_key))
+ $attr9_key = $attr9_prefix.$attr9_key;
+ if ( isset($attr9_suffix)&& isset($attr9_key))
+ $attr9_key = $attr9_key.$attr9_suffix;
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if (empty($attr9_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
+ $attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr9_array))
+ {
+ $tmpArray = $$attr9_array;
+ if (!empty($attr9_var))
+ $tmp_text = $tmpArray[$attr9_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr9_text]);
+ }
+ elseif (!empty($attr9_text))
+ $tmp_text = $langF($attr9_text);
+ elseif (!empty($attr9_textvar))
+ $tmp_text = $langF($$attr9_textvar);
+ elseif (!empty($attr9_key))
+ $tmp_text = $langF($attr9_key);
+ elseif (!empty($attr9_var))
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
+ elseif (!empty($attr9_raw))
+ $tmp_text = str_replace('_',' ',$attr9_raw);
+ elseif (!empty($attr9_value))
+ $tmp_text = $attr9_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
+ if (isset($attr9_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9_class);unset($attr9_key);unset($attr9_escape);unset($attr9_type); ?><?php ?> <?php }
+ unset($attr7_tmp_last_exec) ?><?php ?><?php ?> <?php }
+ unset($attr6_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_true=$active; ?> <?php
+ if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
+ $attr7_tmp_exec = $$attr7_true == true;
+ else
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_key='GLOBAL_ACTIVE'; $attr8_escape=true; $attr8_type='emphatic'; ?> <?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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_key);unset($attr8_escape);unset($attr8_type); ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_present='useUrl'; ?> <?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+ ?>
+<?php unset($attr8_present); ?><?php $attr9_title=lang('GLOBAL_USE_DESC'); $attr9_target='_self'; $attr9_url=$useUrl; $attr9_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr9_var1) && isset($attr9_value1))
+ $params[$attr9_var1]=$attr9_value1;
+ if (!empty($attr9_var2) && isset($attr9_value2))
+ $params[$attr9_var2]=$attr9_value2;
+ if (!empty($attr9_var3) && isset($attr9_value3))
+ $params[$attr9_var3]=$attr9_value3;
+ if (!empty($attr9_var4) && isset($attr9_value4))
+ $params[$attr9_var4]=$attr9_value4;
+ if (!empty($attr9_var5) && isset($attr9_value5))
+ $params[$attr9_var5]=$attr9_value5;
+ if(empty($attr9_class))
+ $attr9_class='';
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if(!empty($attr9_url))
+ $tmp_url = $attr9_url;
+ else
+ $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_USE'; $attr10_escape=true; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_key);unset($attr10_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php }
+ unset($attr6_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_present='compareid'; ?> <?php
+ $attr4_tmp_exec = isset($$attr4_present);
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_present); ?><?php ?> <?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 ?><?php $attr6_class='act'; $attr6_colspan='8'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_type='ok'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?> <?php
+ if ($attr7_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr7_text = 'MODE_EDIT';
+ }
+ if ($attr7_type=='ok')
+ $attr7_type = 'submit';
+ if (isset($attr7_src))
+ $attr7_type = 'image';
+ else
+ $attr7_src = '';
+ ?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
+ ?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> </table>
+ </td>
+ </tr>
</table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <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: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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"GLOBAL_NR";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NR','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NR' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'help','colspan'=>'2') ?><?php $attr5_class='help' ?><?php $attr5_colspan='2' ?><?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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:9:"compareid";}' ?><?php $attr6 = array('present'=>'compareid') ?><?php $attr6_present='compareid' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_COMPARE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_COMPARE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_COMPARE' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:4:"DATE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'DATE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='DATE' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_USER";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_USER','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_USER' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"GLOBAL_VALUE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_VALUE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_VALUE' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"GLOBAL_STATE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_STATE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_STATE' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"GLOBAL_ACTION";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_ACTION','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_ACTION' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"empty";s:2:"el";}' ?><?php $attr4 = array('empty'=>'el') ?><?php $attr4_empty='el' ?><?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_empty) ?><?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:2:{s:5:"class";s:2:"fx";s:7:"colspan";s:1:"8";}' ?><?php $attr6 = array('class'=>'fx','colspan'=>'8') ?><?php $attr6_class='fx' ?><?php $attr6_colspan='8' ?><?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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"GLOBAL_NOT_FOUND";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_NOT_FOUND','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_NOT_FOUND' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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:4:{s:4:"list";s:2:"el";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr4 = array('list'=>'el','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='el' ?><?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;
- unset($attr4_key);
- unset($attr4_value);
- if ( !isset($$attr4_list) || !is_array($$attr4_list) )
- $$attr4_list = array();
- foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
- {
- if ( $attr4_list_extract )
- {
- if ( !is_array($$attr4_list_tmp_value) )
- {
- print_r($$attr4_list_tmp_value);
- die( 'not an array at key: '.$$attr4_list_tmp_key );
- }
- extract($$attr4_list_tmp_value);
- }
-?><?php unset($attr4) ?><?php unset($attr4_list) ?><?php unset($attr4_extract) ?><?php unset($attr4_key) ?><?php unset($attr4_value) ?><?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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:6:"lfd_nr";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'lfd_nr','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='lfd_nr' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:1:{s:7:"present";s:9:"compareid";}' ?><?php $attr7 = array('present'=>'compareid') ?><?php $attr7_present='compareid' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:9:"compareid";s:5:"value";s:6:"var:id";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 $attr8 = array('readonly'=>false,'name'=>'compareid','value'=>$id,'default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr8_readonly=false ?><?php $attr8_name='compareid' ?><?php $attr8_value=$id ?><?php $attr8_default=false ?><?php $attr8_prefix='' ?><?php $attr8_suffix='' ?><?php $attr8_class='' ?><?php $attr8_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr8) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php unset($attr8_value) ?><?php unset($attr8_default) ?><?php unset($attr8_prefix) ?><?php unset($attr8_suffix) ?><?php unset($attr8_class) ?><?php unset($attr8_onchange) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:1:{s:7:"present";s:9:"compareid";}' ?><?php $attr7 = array('present'=>'compareid') ?><?php $attr7_present='compareid' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:6:"withid";s:5:"value";s:6:"var:id";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 $attr8 = array('readonly'=>false,'name'=>'withid','value'=>$id,'default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr8_readonly=false ?><?php $attr8_name='withid' ?><?php $attr8_value=$id ?><?php $attr8_default=false ?><?php $attr8_prefix='' ?><?php $attr8_suffix='' ?><?php $attr8_class='' ?><?php $attr8_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr8) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php unset($attr8_value) ?><?php unset($attr8_default) ?><?php unset($attr8_prefix) ?><?php unset($attr8_suffix) ?><?php unset($attr8_class) ?><?php unset($attr8_onchange) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:1:{s:4:"date";s:8:"var:date";}' ?><?php $attr7 = array('date'=>$date) ?><?php $attr7_date=$date ?><?php
- global $conf;
- $time = $attr7_date;
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- {
- echo '<span title="';
- $dl = date(lang('DATE_FORMAT_LONG'),$time);
- $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
- $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
- echo $dl;
- unset($dl);
- echo '">';
- echo date(lang('DATE_FORMAT'),$time);
- echo '</span>';
- }
- else
- {
- $sekunden = time()-$time;
- $minuten = intval($sekunden/60);
- $stunden = intval($minuten /60);
- $tage = intval($stunden /24);
- $monate = intval($tage /30);
- $jahre = intval($monate /12);
- echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- echo date(lang('DATE_FORMAT'),$time);
- elseif ( $sekunden == 1 )
- echo $sekunden.' '.lang('GLOBAL_SECOND');
- elseif ( $sekunden < 60 )
- echo $sekunden.' '.lang('GLOBAL_SECONDS');
- elseif ( $minuten == 1 )
- echo $minuten.' '.lang('GLOBAL_MINUTE');
- elseif ( $minuten < 60 )
- echo $minuten.' '.lang('GLOBAL_MINUTES');
- elseif ( $stunden == 1 )
- echo $stunden.' '.lang('GLOBAL_HOUR');
- elseif ( $stunden < 60 )
- echo $stunden.' '.lang('GLOBAL_HOURS');
- elseif ( $tage == 1 )
- echo $tage.' '.lang('GLOBAL_DAY');
- elseif ( $tage < 60 )
- echo $tage.' '.lang('GLOBAL_DAYS');
- elseif ( $monate == 1 )
- echo $monate.' '.lang('GLOBAL_MONTH');
- elseif ( $monate < 12 )
- echo $monate.' '.lang('GLOBAL_MONTHS');
- elseif ( $jahre == 1 )
- echo $jahre.' '.lang('GLOBAL_YEAR');
- else
- echo $jahre.' '.lang('GLOBAL_YEARS');
- echo '</span>';
- }
-?><?php unset($attr7) ?><?php unset($attr7_date) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"user";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'user','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='user' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:5:"value";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'value','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='value' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:1:{s:4:"true";s:10:"var:public";}' ?><?php $attr7 = array('true'=>$public) ?><?php $attr7_true=$public ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_true) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"key";s:13:"GLOBAL_PUBLIC";s:6:"escape";s:4:"true";s:4:"type";s:6:"strong";}' ?><?php $attr8 = array('class'=>'text','key'=>'GLOBAL_PUBLIC','escape'=>true,'type'=>'strong') ?><?php $attr8_class='text' ?><?php $attr8_key='GLOBAL_PUBLIC' ?><?php $attr8_escape=true ?><?php $attr8_type='strong' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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 unset($attr8_type) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr7) ?><?php $attr8_debug_info = 'a:1:{s:7:"present";s:10:"releaseUrl";}' ?><?php $attr8 = array('present'=>'releaseUrl') ?><?php $attr8_present='releaseUrl' ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr8) ?><?php unset($attr8_present) ?><?php $attr9_debug_info = 'a:4:{s:5:"title";s:27:"message:GLOBAL_RELEASE_DESC";s:6:"target";s:5:"_self";s:3:"url";s:14:"var:releaseUrl";s:5:"class";s:0:"";}' ?><?php $attr9 = array('title'=>lang('GLOBAL_RELEASE_DESC'),'target'=>'_self','url'=>$releaseUrl,'class'=>'') ?><?php $attr9_title=lang('GLOBAL_RELEASE_DESC') ?><?php $attr9_target='_self' ?><?php $attr9_url=$releaseUrl ?><?php $attr9_class='' ?><?php
- $params = array();
- if (!empty($attr9_var1) && isset($attr9_value1))
- $params[$attr9_var1]=$attr9_value1;
- if (!empty($attr9_var2) && isset($attr9_value2))
- $params[$attr9_var2]=$attr9_value2;
- if (!empty($attr9_var3) && isset($attr9_value3))
- $params[$attr9_var3]=$attr9_value3;
- if (!empty($attr9_var4) && isset($attr9_value4))
- $params[$attr9_var4]=$attr9_value4;
- if (!empty($attr9_var5) && isset($attr9_value5))
- $params[$attr9_var5]=$attr9_value5;
- if(empty($attr9_class))
- $attr9_class='';
- if(empty($attr9_title))
- $attr9_title = '';
- if(!empty($attr9_url))
- $tmp_url = $attr9_url;
- else
- $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9) ?><?php unset($attr9_title) ?><?php unset($attr9_target) ?><?php unset($attr9_url) ?><?php unset($attr9_class) ?><?php $attr10_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"key";s:14:"GLOBAL_RELEASE";s:6:"escape";s:4:"true";s:4:"type";s:6:"strong";}' ?><?php $attr10 = array('class'=>'text','key'=>'GLOBAL_RELEASE','escape'=>true,'type'=>'strong') ?><?php $attr10_class='text' ?><?php $attr10_key='GLOBAL_RELEASE' ?><?php $attr10_escape=true ?><?php $attr10_type='strong' ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10) ?><?php unset($attr10_class) ?><?php unset($attr10_key) ?><?php unset($attr10_escape) ?><?php unset($attr10_type) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></a><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr8) ?><?php $attr9_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"key";s:15:"GLOBAL_INACTIVE";s:6:"escape";s:4:"true";s:4:"type";s:8:"emphatic";}' ?><?php $attr9 = array('class'=>'text','key'=>'GLOBAL_INACTIVE','escape'=>true,'type'=>'emphatic') ?><?php $attr9_class='text' ?><?php $attr9_key='GLOBAL_INACTIVE' ?><?php $attr9_escape=true ?><?php $attr9_type='emphatic' ?><?php
- if ( isset($attr9_prefix)&& isset($attr9_key))
- $attr9_key = $attr9_prefix.$attr9_key;
- if ( isset($attr9_suffix)&& isset($attr9_key))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
- $tmp_tag = 'span';
- else
- switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
- $attr9_title = '';
- if ( $attr9_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr9_array))
- {
- $tmpArray = $$attr9_array;
- if (!empty($attr9_var))
- $tmp_text = $tmpArray[$attr9_var];
- else
- $tmp_text = $langF($tmpArray[$attr9_text]);
- }
- elseif (!empty($attr9_text))
- $tmp_text = $langF($attr9_text);
- elseif (!empty($attr9_textvar))
- $tmp_text = $langF($$attr9_textvar);
- elseif (!empty($attr9_key))
- $tmp_text = $langF($attr9_key);
- elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
- elseif (!empty($attr9_raw))
- $tmp_text = str_replace('_',' ',$attr9_raw);
- elseif (!empty($attr9_value))
- $tmp_text = $attr9_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
- if (isset($attr9_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_key) ?><?php unset($attr9_escape) ?><?php unset($attr9_type) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?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
- $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_class) ?><?php $attr7_debug_info = 'a:1:{s:4:"true";s:10:"var:active";}' ?><?php $attr7 = array('true'=>$active) ?><?php $attr7_true=$active ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_true) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"key";s:13:"GLOBAL_ACTIVE";s:6:"escape";s:4:"true";s:4:"type";s:8:"emphatic";}' ?><?php $attr8 = array('class'=>'text','key'=>'GLOBAL_ACTIVE','escape'=>true,'type'=>'emphatic') ?><?php $attr8_class='text' ?><?php $attr8_key='GLOBAL_ACTIVE' ?><?php $attr8_escape=true ?><?php $attr8_type='emphatic' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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 unset($attr8_type) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr7) ?><?php $attr8_debug_info = 'a:1:{s:7:"present";s:6:"useUrl";}' ?><?php $attr8 = array('present'=>'useUrl') ?><?php $attr8_present='useUrl' ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr8) ?><?php unset($attr8_present) ?><?php $attr9_debug_info = 'a:4:{s:5:"title";s:23:"message:GLOBAL_USE_DESC";s:6:"target";s:5:"_self";s:3:"url";s:10:"var:useUrl";s:5:"class";s:0:"";}' ?><?php $attr9 = array('title'=>lang('GLOBAL_USE_DESC'),'target'=>'_self','url'=>$useUrl,'class'=>'') ?><?php $attr9_title=lang('GLOBAL_USE_DESC') ?><?php $attr9_target='_self' ?><?php $attr9_url=$useUrl ?><?php $attr9_class='' ?><?php
- $params = array();
- if (!empty($attr9_var1) && isset($attr9_value1))
- $params[$attr9_var1]=$attr9_value1;
- if (!empty($attr9_var2) && isset($attr9_value2))
- $params[$attr9_var2]=$attr9_value2;
- if (!empty($attr9_var3) && isset($attr9_value3))
- $params[$attr9_var3]=$attr9_value3;
- if (!empty($attr9_var4) && isset($attr9_value4))
- $params[$attr9_var4]=$attr9_value4;
- if (!empty($attr9_var5) && isset($attr9_value5))
- $params[$attr9_var5]=$attr9_value5;
- if(empty($attr9_class))
- $attr9_class='';
- if(empty($attr9_title))
- $attr9_title = '';
- if(!empty($attr9_url))
- $tmp_url = $attr9_url;
- else
- $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9) ?><?php unset($attr9_title) ?><?php unset($attr9_target) ?><?php unset($attr9_url) ?><?php unset($attr9_class) ?><?php $attr10_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:10:"GLOBAL_USE";s:6:"escape";s:4:"true";}' ?><?php $attr10 = array('class'=>'text','key'=>'GLOBAL_USE','escape'=>true) ?><?php $attr10_class='text' ?><?php $attr10_key='GLOBAL_USE' ?><?php $attr10_escape=true ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10) ?><?php unset($attr10_class) ?><?php unset($attr10_key) ?><?php unset($attr10_escape) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></a><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?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:9:"compareid";}' ?><?php $attr4 = array('present'=>'compareid') ?><?php $attr4_present='compareid' ?><?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
- $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:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"8";}' ?><?php $attr6 = array('class'=>'act','colspan'=>'8') ?><?php $attr6_class='act' ?><?php $attr6_colspan='8' ?><?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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr7 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr7_type='ok' ?><?php $attr7_class='ok' ?><?php $attr7_value='ok' ?><?php $attr7_text='button_ok' ?><?php
- if ($attr7_type=='ok')
- {
- if ($this->isEditable() && !$this->isEditMode())
- $attr7_text = 'MODE_EDIT';
- }
- if ($attr7_type=='ok')
- $attr7_type = 'submit';
- if (isset($attr7_src))
- $attr7_type = 'image';
- else
- $attr7_src = '';
-?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
-?><?php unset($attr7) ?><?php unset($attr7_type) ?><?php unset($attr7_class) ?><?php unset($attr7_value) ?><?php unset($attr7_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
+ <?php } ?>
+<?php ?><?php ?> </form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/pageelement/edit.tpl.php b/themes/default/pages/html/pageelement/edit.tpl.php
@@ -1,7035 +1,6048 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
- $attr2_subaction = $subActionName;
-?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
-<input type="hidden" name="mode" value="edit" />
-<?php } ?>
-<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
-<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
-<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:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:6:"hidden";s:4:"name";s:9:"elementid";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr3 = array('class'=>'','default'=>'','type'=>'hidden','name'=>'elementid','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr3_class='' ?><?php $attr3_default='' ?><?php $attr3_type='hidden' ?><?php $attr3_name='elementid' ?><?php $attr3_size='40' ?><?php $attr3_maxlength='256' ?><?php $attr3_onchange='' ?><?php $attr3_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr3_readonly=true;
- if ($attr3_readonly && empty($$attr3_name)) $$attr3_name = '- '.lang('EMPTY').' -';
- if(!isset($attr3_default)) $attr3_default='';
-?><?php if (!$attr3_readonly || $attr3_type=='hidden') {
-?><input<?php if ($attr3_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr3_name ?><?php if ($attr3_readonly) echo '_disabled' ?>" name="<?php echo $attr3_name ?><?php if ($attr3_readonly) echo '_disabled' ?>" type="<?php echo $attr3_type ?>" size="<?php echo $attr3_size ?>" maxlength="<?php echo $attr3_maxlength ?>" class="<?php echo $attr3_class ?>" value="<?php echo isset($$attr3_name)?$$attr3_name:$attr3_default ?>" <?php if (in_array($attr3_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
-if ($attr3_readonly) {
-?><input type="hidden" id="id_<?php echo $attr3_name ?>" name="<?php echo $attr3_name ?>" value="<?php echo isset($$attr3_name)?$$attr3_name:$attr3_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr3_class ?>"><?php echo isset($$attr3_name)?$$attr3_name:$attr3_default ?></span><?php } ?><?php unset($attr3) ?><?php unset($attr3_class) ?><?php unset($attr3_default) ?><?php unset($attr3_type) ?><?php unset($attr3_name) ?><?php unset($attr3_size) ?><?php unset($attr3_maxlength) ?><?php unset($attr3_onchange) ?><?php unset($attr3_readonly) ?><?php $attr3_debug_info = 'a:4:{s:4:"name";s:7:"element";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'=>'element','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='element' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+ ?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+ <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+ <input type="hidden" name="mode" value="edit" />
+ <?php } ?>
+ <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+ <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+ <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_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_class=''; $attr3_default=''; $attr3_type='hidden'; $attr3_name='elementid'; $attr3_size='40'; $attr3_maxlength='256'; $attr3_onchange=''; $attr3_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr3_readonly=true;
+ if ($attr3_readonly && empty($$attr3_name)) $$attr3_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr3_default)) $attr3_default='';
+ ?><?php if (!$attr3_readonly || $attr3_type=='hidden') {
+ ?><input<?php if ($attr3_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr3_name ?><?php if ($attr3_readonly) echo '_disabled' ?>" name="<?php echo $attr3_name ?><?php if ($attr3_readonly) echo '_disabled' ?>" type="<?php echo $attr3_type ?>" size="<?php echo $attr3_size ?>" maxlength="<?php echo $attr3_maxlength ?>" class="<?php echo $attr3_class ?>" value="<?php echo isset($$attr3_name)?$$attr3_name:$attr3_default ?>" <?php if (in_array($attr3_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
+ if ($attr3_readonly) {
+ ?><input type="hidden" id="id_<?php echo $attr3_name ?>" name="<?php echo $attr3_name ?>" value="<?php echo isset($$attr3_name)?$$attr3_name:$attr3_default ?>" /><?php
+ } } else { ?><span class="<?php echo $attr3_class ?>"><?php echo isset($$attr3_name)?$$attr3_name:$attr3_default ?></span><?php } ?><?php unset($attr3_class);unset($attr3_default);unset($attr3_type);unset($attr3_name);unset($attr3_size);unset($attr3_maxlength);unset($attr3_onchange);unset($attr3_readonly); ?><?php $attr3_name='element'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?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 ?><?php $attr5_class='help'; $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_class='text'; $attr6_var='desc'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_equals='date'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_title=lang('calendar'); ?> <fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_class='calendar'; $attr7_width='85%'; $attr7_space='0px'; $attr7_padding='0px'; $attr7_rowclasses='odd,even'; ?> <?php
+ $coloumn_widths=array();
+ $row_classes = array('');
+ $column_classes= array('');
+ if(empty($attr7_class))
+ $attr7_class='';
+ if (!empty($attr7_widths))
+ {
+ $column_widths = explode(',',$attr7_widths);
+ unset($attr7['widths']);
+ }
+ if (!empty($attr7_classes))
+ {
+ $row_classes = explode(',',$attr7_rowclasses);
+ $row_class_idx = 999;
+ unset($attr7['rowclasses']);
+ }
+ if (!empty($attr7_rowclasses))
+ {
+ $row_classes = explode(',',$attr7_rowclasses);
+ $row_class_idx = 999;
+ unset($attr7['rowclasses']);
+ }
+ if (!empty($attr7_columnclasses))
+ {
+ $column_classes = explode(',',$attr7_columnclasses);
+ unset($attr7['columnclasses']);
+ }
+ ?><table class="<?php echo $attr7_class ?>" cellspacing="<?php echo $attr7_space ?>" width="<?php echo $attr7_width ?>" cellpadding="<?php echo $attr7_padding ?>"><?php unset($attr7_class);unset($attr7_width);unset($attr7_space);unset($attr7_padding);unset($attr7_rowclasses); ?><?php ?> <?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($attr8_class))
+ $attr8_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr8_class ?>"><?php ?><?php $attr9_class='help'; $attr9_colspan='8'; ?> <?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($attr9_class))
+ $attr9_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
+ $attr9_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr9_width )) { ?> width="<?php echo $attr9_width ?>" <?php }
+ if ( isset($attr9_style )) { ?> style="<?php echo $attr9_style ?>" <?php }
+ if ( isset($attr9_class )) { ?> class="<?php echo $attr9_class ?>" <?php }
+ if ( isset($attr9_colspan)) { ?> colspan="<?php echo $attr9_colspan ?>" <?php }
+ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
+ ?>><?php unset($attr9_class);unset($attr9_colspan); ?><?php $attr10_true=$mode=="edit"; ?> <?php
+ if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
+ $attr10_tmp_exec = $$attr10_true == true;
+ else
+ $attr10_tmp_exec = $attr10_true == true;
+ $attr10_tmp_last_exec = $attr10_tmp_exec;
+ if ( $attr10_tmp_exec )
+ {
+ ?>
+<?php unset($attr10_true); ?><?php $attr11_title=''; $attr11_target='_self'; $attr11_url=$lastmonthurl; $attr11_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr11_var1) && isset($attr11_value1))
+ $params[$attr11_var1]=$attr11_value1;
+ if (!empty($attr11_var2) && isset($attr11_value2))
+ $params[$attr11_var2]=$attr11_value2;
+ if (!empty($attr11_var3) && isset($attr11_value3))
+ $params[$attr11_var3]=$attr11_value3;
+ if (!empty($attr11_var4) && isset($attr11_value4))
+ $params[$attr11_var4]=$attr11_value4;
+ if (!empty($attr11_var5) && isset($attr11_value5))
+ $params[$attr11_var5]=$attr11_value5;
+ if(empty($attr11_class))
+ $attr11_class='';
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if(!empty($attr11_url))
+ $tmp_url = $attr11_url;
+ else
+ $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11_title);unset($attr11_target);unset($attr11_url);unset($attr11_class); ?><?php $attr12_file='left'; $attr12_align='middle'; ?> <?php
+ $attr12_tmp_image_file = $image_dir.$attr12_fileext;
+ $attr12_tmp_image_file = $image_dir.$attr12_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr12_tmp_image_file ?>" border="0"<?php if(isset($attr12_align)) echo ' align="'.$attr12_align.'"' ?><?php if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo ' width="'.$attr12_tmp_width.'" height="'.$attr12_tmp_height.'"';} ?>><?php unset($attr12_file);unset($attr12_align); ?><?php ?> </a><?php ?><?php $attr11_class='text'; $attr11_raw='_'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php ?> <?php } ?><?php ?><?php $attr10_class='text'; $attr10_var='monthname'; $attr10_escape=true; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_var);unset($attr10_escape); ?><?php $attr10_true=$mode=="edit"; ?> <?php
+ if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
+ $attr10_tmp_exec = $$attr10_true == true;
+ else
+ $attr10_tmp_exec = $attr10_true == true;
+ $attr10_tmp_last_exec = $attr10_tmp_exec;
+ if ( $attr10_tmp_exec )
+ {
+ ?>
+<?php unset($attr10_true); ?><?php $attr11_class='text'; $attr11_raw='_'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_title=''; $attr11_target='_self'; $attr11_url=$nextmonthurl; $attr11_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr11_var1) && isset($attr11_value1))
+ $params[$attr11_var1]=$attr11_value1;
+ if (!empty($attr11_var2) && isset($attr11_value2))
+ $params[$attr11_var2]=$attr11_value2;
+ if (!empty($attr11_var3) && isset($attr11_value3))
+ $params[$attr11_var3]=$attr11_value3;
+ if (!empty($attr11_var4) && isset($attr11_value4))
+ $params[$attr11_var4]=$attr11_value4;
+ if (!empty($attr11_var5) && isset($attr11_value5))
+ $params[$attr11_var5]=$attr11_value5;
+ if(empty($attr11_class))
+ $attr11_class='';
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if(!empty($attr11_url))
+ $tmp_url = $attr11_url;
+ else
+ $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11_title);unset($attr11_target);unset($attr11_url);unset($attr11_class); ?><?php $attr12_file='right'; $attr12_align='middle'; ?> <?php
+ $attr12_tmp_image_file = $image_dir.$attr12_fileext;
+ $attr12_tmp_image_file = $image_dir.$attr12_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr12_tmp_image_file ?>" border="0"<?php if(isset($attr12_align)) echo ' align="'.$attr12_align.'"' ?><?php if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo ' width="'.$attr12_tmp_width.'" height="'.$attr12_tmp_height.'"';} ?>><?php unset($attr12_file);unset($attr12_align); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php $attr10_class='text'; $attr10_raw='_____'; $attr10_escape=true; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_raw);unset($attr10_escape); ?><?php $attr10_true=$mode=="edit"; ?> <?php
+ if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
+ $attr10_tmp_exec = $$attr10_true == true;
+ else
+ $attr10_tmp_exec = $attr10_true == true;
+ $attr10_tmp_last_exec = $attr10_tmp_exec;
+ if ( $attr10_tmp_exec )
+ {
+ ?>
+<?php unset($attr10_true); ?><?php $attr11_title=''; $attr11_target='_self'; $attr11_url=$lastyearurl; $attr11_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr11_var1) && isset($attr11_value1))
+ $params[$attr11_var1]=$attr11_value1;
+ if (!empty($attr11_var2) && isset($attr11_value2))
+ $params[$attr11_var2]=$attr11_value2;
+ if (!empty($attr11_var3) && isset($attr11_value3))
+ $params[$attr11_var3]=$attr11_value3;
+ if (!empty($attr11_var4) && isset($attr11_value4))
+ $params[$attr11_var4]=$attr11_value4;
+ if (!empty($attr11_var5) && isset($attr11_value5))
+ $params[$attr11_var5]=$attr11_value5;
+ if(empty($attr11_class))
+ $attr11_class='';
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if(!empty($attr11_url))
+ $tmp_url = $attr11_url;
+ else
+ $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11_title);unset($attr11_target);unset($attr11_url);unset($attr11_class); ?><?php $attr12_file='left'; $attr12_align='middle'; ?> <?php
+ $attr12_tmp_image_file = $image_dir.$attr12_fileext;
+ $attr12_tmp_image_file = $image_dir.$attr12_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr12_tmp_image_file ?>" border="0"<?php if(isset($attr12_align)) echo ' align="'.$attr12_align.'"' ?><?php if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo ' width="'.$attr12_tmp_width.'" height="'.$attr12_tmp_height.'"';} ?>><?php unset($attr12_file);unset($attr12_align); ?><?php ?> </a><?php ?><?php $attr11_class='text'; $attr11_raw='_'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php ?> <?php } ?><?php ?><?php $attr10_class='text'; $attr10_var='yearname'; $attr10_escape=true; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_var);unset($attr10_escape); ?><?php $attr10_true=$mode=="edit"; ?> <?php
+ if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
+ $attr10_tmp_exec = $$attr10_true == true;
+ else
+ $attr10_tmp_exec = $attr10_true == true;
+ $attr10_tmp_last_exec = $attr10_tmp_exec;
+ if ( $attr10_tmp_exec )
+ {
+ ?>
+<?php unset($attr10_true); ?><?php $attr11_class='text'; $attr11_raw='_'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_title=''; $attr11_target='_self'; $attr11_url=$nextyearurl; $attr11_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr11_var1) && isset($attr11_value1))
+ $params[$attr11_var1]=$attr11_value1;
+ if (!empty($attr11_var2) && isset($attr11_value2))
+ $params[$attr11_var2]=$attr11_value2;
+ if (!empty($attr11_var3) && isset($attr11_value3))
+ $params[$attr11_var3]=$attr11_value3;
+ if (!empty($attr11_var4) && isset($attr11_value4))
+ $params[$attr11_var4]=$attr11_value4;
+ if (!empty($attr11_var5) && isset($attr11_value5))
+ $params[$attr11_var5]=$attr11_value5;
+ if(empty($attr11_class))
+ $attr11_class='';
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if(!empty($attr11_url))
+ $tmp_url = $attr11_url;
+ else
+ $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11_title);unset($attr11_target);unset($attr11_url);unset($attr11_class); ?><?php $attr12_file='right'; $attr12_align='middle'; ?> <?php
+ $attr12_tmp_image_file = $image_dir.$attr12_fileext;
+ $attr12_tmp_image_file = $image_dir.$attr12_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr12_tmp_image_file ?>" border="0"<?php if(isset($attr12_align)) echo ' align="'.$attr12_align.'"' ?><?php if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo ' width="'.$attr12_tmp_width.'" height="'.$attr12_tmp_height.'"';} ?>><?php unset($attr12_file);unset($attr12_align); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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($attr8_class))
+ $attr8_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr8_class ?>"><?php ?><?php ?> <?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($attr9_class))
+ $attr9_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
+ $attr9_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr9_width )) { ?> width="<?php echo $attr9_width ?>" <?php }
+ if ( isset($attr9_style )) { ?> style="<?php echo $attr9_style ?>" <?php }
+ if ( isset($attr9_class )) { ?> class="<?php echo $attr9_class ?>" <?php }
+ if ( isset($attr9_colspan)) { ?> colspan="<?php echo $attr9_colspan ?>" <?php }
+ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr10_class='text'; $attr10_key='week'; $attr10_escape=true; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_key);unset($attr10_escape); ?><?php ?> </td><?php ?><?php $attr9_list='weekdays'; $attr9_extract=false; $attr9_key='list_key'; $attr9_value='weekday'; ?> <?php
+ $attr9_list_tmp_key = $attr9_key;
+ $attr9_list_tmp_value = $attr9_value;
+ $attr9_list_extract = $attr9_extract;
+ unset($attr9_key);
+ unset($attr9_value);
+ if ( !isset($$attr9_list) || !is_array($$attr9_list) )
+ $$attr9_list = array();
+ foreach( $$attr9_list as $$attr9_list_tmp_key => $$attr9_list_tmp_value )
+ {
+ if ( $attr9_list_extract )
+ {
+ if ( !is_array($$attr9_list_tmp_value) )
+ {
+ print_r($$attr9_list_tmp_value);
+ die( 'not an array at key: '.$$attr9_list_tmp_key );
+ }
+ extract($$attr9_list_tmp_value);
+ }
+ ?><?php unset($attr9_list);unset($attr9_extract);unset($attr9_key);unset($attr9_value); ?><?php ?> <?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($attr10_class))
+ $attr10_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
+ $attr10_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr10_width )) { ?> width="<?php echo $attr10_width ?>" <?php }
+ if ( isset($attr10_style )) { ?> style="<?php echo $attr10_style ?>" <?php }
+ if ( isset($attr10_class )) { ?> class="<?php echo $attr10_class ?>" <?php }
+ if ( isset($attr10_colspan)) { ?> colspan="<?php echo $attr10_colspan ?>" <?php }
+ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr11_class='text'; $attr11_var='weekday'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_var);unset($attr11_escape); ?><?php ?> </td><?php ?><?php ?> <?php } ?><?php ?><?php ?> </tr><?php ?><?php $attr8_list='weeklist'; $attr8_extract=false; $attr8_key='weeknr'; $attr8_value='week'; ?> <?php
+ $attr8_list_tmp_key = $attr8_key;
+ $attr8_list_tmp_value = $attr8_value;
+ $attr8_list_extract = $attr8_extract;
+ unset($attr8_key);
+ unset($attr8_value);
+ if ( !isset($$attr8_list) || !is_array($$attr8_list) )
+ $$attr8_list = array();
+ foreach( $$attr8_list as $$attr8_list_tmp_key => $$attr8_list_tmp_value )
+ {
+ if ( $attr8_list_extract )
+ {
+ if ( !is_array($$attr8_list_tmp_value) )
+ {
+ print_r($$attr8_list_tmp_value);
+ die( 'not an array at key: '.$$attr8_list_tmp_key );
+ }
+ extract($$attr8_list_tmp_value);
+ }
+ ?><?php unset($attr8_list);unset($attr8_extract);unset($attr8_key);unset($attr8_value); ?><?php ?> <?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($attr9_class))
+ $attr9_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr9_class ?>"><?php ?><?php $attr10_width='12%'; ?> <?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($attr10_class))
+ $attr10_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
+ $attr10_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr10_width )) { ?> width="<?php echo $attr10_width ?>" <?php }
+ if ( isset($attr10_style )) { ?> style="<?php echo $attr10_style ?>" <?php }
+ if ( isset($attr10_class )) { ?> class="<?php echo $attr10_class ?>" <?php }
+ if ( isset($attr10_colspan)) { ?> colspan="<?php echo $attr10_colspan ?>" <?php }
+ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php }
+ ?>><?php unset($attr10_width); ?><?php $attr11_class='text'; $attr11_var='weeknr'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_var);unset($attr11_escape); ?><?php ?> </td><?php ?><?php $attr10_list='week'; $attr10_extract=true; $attr10_key='list_key'; $attr10_value='list_value'; ?> <?php
+ $attr10_list_tmp_key = $attr10_key;
+ $attr10_list_tmp_value = $attr10_value;
+ $attr10_list_extract = $attr10_extract;
+ unset($attr10_key);
+ unset($attr10_value);
+ if ( !isset($$attr10_list) || !is_array($$attr10_list) )
+ $$attr10_list = array();
+ foreach( $$attr10_list as $$attr10_list_tmp_key => $$attr10_list_tmp_value )
+ {
+ if ( $attr10_list_extract )
+ {
+ if ( !is_array($$attr10_list_tmp_value) )
+ {
+ print_r($$attr10_list_tmp_value);
+ die( 'not an array at key: '.$$attr10_list_tmp_key );
+ }
+ extract($$attr10_list_tmp_value);
+ }
+ ?><?php unset($attr10_list);unset($attr10_extract);unset($attr10_key);unset($attr10_value); ?><?php $attr11_width='12%'; ?> <?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($attr11_class))
+ $attr11_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr11_rowspan) )
+ $attr11_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr11_width )) { ?> width="<?php echo $attr11_width ?>" <?php }
+ if ( isset($attr11_style )) { ?> style="<?php echo $attr11_style ?>" <?php }
+ if ( isset($attr11_class )) { ?> class="<?php echo $attr11_class ?>" <?php }
+ if ( isset($attr11_colspan)) { ?> colspan="<?php echo $attr11_colspan ?>" <?php }
+ if ( isset($attr11_rowspan)) { ?> rowspan="<?php echo $attr11_rowspan ?>" <?php }
+ ?>><?php unset($attr11_width); ?><?php $attr12_empty='url'; ?> <?php
+ if ( !isset($$attr12_empty) )
+ $attr12_tmp_exec = empty($attr12_empty);
+ elseif ( is_array($$attr12_empty) )
+ $attr12_tmp_exec = (count($$attr12_empty)==0);
+ elseif ( is_bool($$attr12_empty) )
+ $attr12_tmp_exec = true;
+ else
+ $attr12_tmp_exec = empty( $$attr12_empty );
+ $attr12_tmp_last_exec = $attr12_tmp_exec;
+ if ( $attr12_tmp_exec )
+ {
+ ?>
+<?php unset($attr12_empty); ?><?php $attr13_class='text'; $attr13_raw='__'; $attr13_escape=true; ?> <?php
+ if ( isset($attr13_prefix)&& isset($attr13_key))
+ $attr13_key = $attr13_prefix.$attr13_key;
+ if ( isset($attr13_suffix)&& isset($attr13_key))
+ $attr13_key = $attr13_key.$attr13_suffix;
+ if(empty($attr13_title))
+ $attr13_title = '';
+ if (empty($attr13_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
+ $attr13_title = '';
+ if ( $attr13_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr13_array))
+ {
+ $tmpArray = $$attr13_array;
+ if (!empty($attr13_var))
+ $tmp_text = $tmpArray[$attr13_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr13_text]);
+ }
+ elseif (!empty($attr13_text))
+ $tmp_text = $langF($attr13_text);
+ elseif (!empty($attr13_textvar))
+ $tmp_text = $langF($$attr13_textvar);
+ elseif (!empty($attr13_key))
+ $tmp_text = $langF($attr13_key);
+ elseif (!empty($attr13_var))
+ $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
+ elseif (!empty($attr13_raw))
+ $tmp_text = str_replace('_',' ',$attr13_raw);
+ elseif (!empty($attr13_value))
+ $tmp_text = $attr13_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
+ if (isset($attr13_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13_class);unset($attr13_raw);unset($attr13_escape); ?><?php $attr13_class='text'; $attr13_var='nr'; $attr13_escape=true; ?> <?php
+ if ( isset($attr13_prefix)&& isset($attr13_key))
+ $attr13_key = $attr13_prefix.$attr13_key;
+ if ( isset($attr13_suffix)&& isset($attr13_key))
+ $attr13_key = $attr13_key.$attr13_suffix;
+ if(empty($attr13_title))
+ $attr13_title = '';
+ if (empty($attr13_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
+ $attr13_title = '';
+ if ( $attr13_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr13_array))
+ {
+ $tmpArray = $$attr13_array;
+ if (!empty($attr13_var))
+ $tmp_text = $tmpArray[$attr13_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr13_text]);
+ }
+ elseif (!empty($attr13_text))
+ $tmp_text = $langF($attr13_text);
+ elseif (!empty($attr13_textvar))
+ $tmp_text = $langF($$attr13_textvar);
+ elseif (!empty($attr13_key))
+ $tmp_text = $langF($attr13_key);
+ elseif (!empty($attr13_var))
+ $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
+ elseif (!empty($attr13_raw))
+ $tmp_text = str_replace('_',' ',$attr13_raw);
+ elseif (!empty($attr13_value))
+ $tmp_text = $attr13_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
+ if (isset($attr13_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13_class);unset($attr13_var);unset($attr13_escape); ?><?php $attr13_class='text'; $attr13_raw='__'; $attr13_escape=true; ?> <?php
+ if ( isset($attr13_prefix)&& isset($attr13_key))
+ $attr13_key = $attr13_prefix.$attr13_key;
+ if ( isset($attr13_suffix)&& isset($attr13_key))
+ $attr13_key = $attr13_key.$attr13_suffix;
+ if(empty($attr13_title))
+ $attr13_title = '';
+ if (empty($attr13_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
+ $attr13_title = '';
+ if ( $attr13_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr13_array))
+ {
+ $tmpArray = $$attr13_array;
+ if (!empty($attr13_var))
+ $tmp_text = $tmpArray[$attr13_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr13_text]);
+ }
+ elseif (!empty($attr13_text))
+ $tmp_text = $langF($attr13_text);
+ elseif (!empty($attr13_textvar))
+ $tmp_text = $langF($$attr13_textvar);
+ elseif (!empty($attr13_key))
+ $tmp_text = $langF($attr13_key);
+ elseif (!empty($attr13_var))
+ $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
+ elseif (!empty($attr13_raw))
+ $tmp_text = str_replace('_',' ',$attr13_raw);
+ elseif (!empty($attr13_value))
+ $tmp_text = $attr13_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
+ if (isset($attr13_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13_class);unset($attr13_raw);unset($attr13_escape); ?><?php ?> <?php } ?><?php ?><?php $attr12_not=true; $attr12_empty='url'; ?> <?php
+ if ( !isset($$attr12_empty) )
+ $attr12_tmp_exec = empty($attr12_empty);
+ elseif ( is_array($$attr12_empty) )
+ $attr12_tmp_exec = (count($$attr12_empty)==0);
+ elseif ( is_bool($$attr12_empty) )
+ $attr12_tmp_exec = true;
+ else
+ $attr12_tmp_exec = empty( $$attr12_empty );
+ if ( !empty($attr12_not) )
+ $attr12_tmp_exec = !$attr12_tmp_exec;
+ $attr12_tmp_last_exec = $attr12_tmp_exec;
+ if ( $attr12_tmp_exec )
+ {
+ ?>
+<?php unset($attr12_not);unset($attr12_empty); ?><?php $attr13_title=''; $attr13_target='_self'; $attr13_url=$url; $attr13_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr13_var1) && isset($attr13_value1))
+ $params[$attr13_var1]=$attr13_value1;
+ if (!empty($attr13_var2) && isset($attr13_value2))
+ $params[$attr13_var2]=$attr13_value2;
+ if (!empty($attr13_var3) && isset($attr13_value3))
+ $params[$attr13_var3]=$attr13_value3;
+ if (!empty($attr13_var4) && isset($attr13_value4))
+ $params[$attr13_var4]=$attr13_value4;
+ if (!empty($attr13_var5) && isset($attr13_value5))
+ $params[$attr13_var5]=$attr13_value5;
+ if(empty($attr13_class))
+ $attr13_class='';
+ if(empty($attr13_title))
+ $attr13_title = '';
+ if(!empty($attr13_url))
+ $tmp_url = $attr13_url;
+ else
+ $tmp_url = Html::url($attr13_action,$attr13_subaction,!empty($attr13_id)?$attr13_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr13_name)) echo ' name="'.$attr13_name.'"'; else echo ' href="'.$tmp_url.($attr13_anchor?'#'.$attr13_anchor:'').'"' ?> class="<?php echo $attr13_class ?>" target="<?php echo $attr13_target ?>"<?php if (isset($attr13_accesskey)) echo ' accesskey="'.$attr13_accesskey.'"' ?> title="<?php echo encodeHtml($attr13_title) ?>"><?php unset($attr13_title);unset($attr13_target);unset($attr13_url);unset($attr13_class); ?><?php $attr14_class='text'; $attr14_raw='__'; $attr14_escape=true; ?> <?php
+ if ( isset($attr14_prefix)&& isset($attr14_key))
+ $attr14_key = $attr14_prefix.$attr14_key;
+ if ( isset($attr14_suffix)&& isset($attr14_key))
+ $attr14_key = $attr14_key.$attr14_suffix;
+ if(empty($attr14_title))
+ $attr14_title = '';
+ if (empty($attr14_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr14_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 $attr14_class ?>" title="<?php echo $attr14_title ?>"><?php
+ $attr14_title = '';
+ if ( $attr14_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr14_array))
+ {
+ $tmpArray = $$attr14_array;
+ if (!empty($attr14_var))
+ $tmp_text = $tmpArray[$attr14_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr14_text]);
+ }
+ elseif (!empty($attr14_text))
+ $tmp_text = $langF($attr14_text);
+ elseif (!empty($attr14_textvar))
+ $tmp_text = $langF($$attr14_textvar);
+ elseif (!empty($attr14_key))
+ $tmp_text = $langF($attr14_key);
+ elseif (!empty($attr14_var))
+ $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
+ elseif (!empty($attr14_raw))
+ $tmp_text = str_replace('_',' ',$attr14_raw);
+ elseif (!empty($attr14_value))
+ $tmp_text = $attr14_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr14_maxlength) && intval($attr14_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr14_maxlength) );
+ if (isset($attr14_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr14_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($attr14_class);unset($attr14_raw);unset($attr14_escape); ?><?php $attr14_class='text'; $attr14_var='nr'; $attr14_escape=true; ?> <?php
+ if ( isset($attr14_prefix)&& isset($attr14_key))
+ $attr14_key = $attr14_prefix.$attr14_key;
+ if ( isset($attr14_suffix)&& isset($attr14_key))
+ $attr14_key = $attr14_key.$attr14_suffix;
+ if(empty($attr14_title))
+ $attr14_title = '';
+ if (empty($attr14_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr14_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 $attr14_class ?>" title="<?php echo $attr14_title ?>"><?php
+ $attr14_title = '';
+ if ( $attr14_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr14_array))
+ {
+ $tmpArray = $$attr14_array;
+ if (!empty($attr14_var))
+ $tmp_text = $tmpArray[$attr14_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr14_text]);
+ }
+ elseif (!empty($attr14_text))
+ $tmp_text = $langF($attr14_text);
+ elseif (!empty($attr14_textvar))
+ $tmp_text = $langF($$attr14_textvar);
+ elseif (!empty($attr14_key))
+ $tmp_text = $langF($attr14_key);
+ elseif (!empty($attr14_var))
+ $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
+ elseif (!empty($attr14_raw))
+ $tmp_text = str_replace('_',' ',$attr14_raw);
+ elseif (!empty($attr14_value))
+ $tmp_text = $attr14_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr14_maxlength) && intval($attr14_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr14_maxlength) );
+ if (isset($attr14_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr14_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($attr14_class);unset($attr14_var);unset($attr14_escape); ?><?php $attr14_class='text'; $attr14_raw='__'; $attr14_escape=true; ?> <?php
+ if ( isset($attr14_prefix)&& isset($attr14_key))
+ $attr14_key = $attr14_prefix.$attr14_key;
+ if ( isset($attr14_suffix)&& isset($attr14_key))
+ $attr14_key = $attr14_key.$attr14_suffix;
+ if(empty($attr14_title))
+ $attr14_title = '';
+ if (empty($attr14_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr14_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 $attr14_class ?>" title="<?php echo $attr14_title ?>"><?php
+ $attr14_title = '';
+ if ( $attr14_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr14_array))
+ {
+ $tmpArray = $$attr14_array;
+ if (!empty($attr14_var))
+ $tmp_text = $tmpArray[$attr14_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr14_text]);
+ }
+ elseif (!empty($attr14_text))
+ $tmp_text = $langF($attr14_text);
+ elseif (!empty($attr14_textvar))
+ $tmp_text = $langF($$attr14_textvar);
+ elseif (!empty($attr14_key))
+ $tmp_text = $langF($attr14_key);
+ elseif (!empty($attr14_var))
+ $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
+ elseif (!empty($attr14_raw))
+ $tmp_text = str_replace('_',' ',$attr14_raw);
+ elseif (!empty($attr14_value))
+ $tmp_text = $attr14_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr14_maxlength) && intval($attr14_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr14_maxlength) );
+ if (isset($attr14_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr14_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($attr14_class);unset($attr14_raw);unset($attr14_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php $attr12_true=$today; ?> <?php
+ if (gettype($attr12_true) === '' && gettype($attr12_true) === '1')
+ $attr12_tmp_exec = $$attr12_true == true;
+ else
+ $attr12_tmp_exec = $attr12_true == true;
+ $attr12_tmp_last_exec = $attr12_tmp_exec;
+ if ( $attr12_tmp_exec )
+ {
+ ?>
+<?php unset($attr12_true); ?><?php $attr13_class='text'; $attr13_raw='*'; $attr13_escape=true; ?> <?php
+ if ( isset($attr13_prefix)&& isset($attr13_key))
+ $attr13_key = $attr13_prefix.$attr13_key;
+ if ( isset($attr13_suffix)&& isset($attr13_key))
+ $attr13_key = $attr13_key.$attr13_suffix;
+ if(empty($attr13_title))
+ $attr13_title = '';
+ if (empty($attr13_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
+ $attr13_title = '';
+ if ( $attr13_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr13_array))
+ {
+ $tmpArray = $$attr13_array;
+ if (!empty($attr13_var))
+ $tmp_text = $tmpArray[$attr13_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr13_text]);
+ }
+ elseif (!empty($attr13_text))
+ $tmp_text = $langF($attr13_text);
+ elseif (!empty($attr13_textvar))
+ $tmp_text = $langF($$attr13_textvar);
+ elseif (!empty($attr13_key))
+ $tmp_text = $langF($attr13_key);
+ elseif (!empty($attr13_var))
+ $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
+ elseif (!empty($attr13_raw))
+ $tmp_text = str_replace('_',' ',$attr13_raw);
+ elseif (!empty($attr13_value))
+ $tmp_text = $attr13_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
+ if (isset($attr13_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13_class);unset($attr13_raw);unset($attr13_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> <?php } ?><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> </table><?php ?><?php ?> </td><?php ?><?php ?> <?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($attr6_class))
+ $attr6_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr6_class ?>"><?php ?><?php $attr7_colspan='2'; ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php unset($attr7_colspan); ?><?php $attr8_title=lang('date'); ?> <fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($attr8_title) ?></legend><?php } ?><?php unset($attr8_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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($attr6_class))
+ $attr6_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_class='text'; $attr8_key='date'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_key);unset($attr8_escape); ?><?php ?> </td><?php ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_list='all_years'; $attr8_name='year'; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?> <?php
+ $attr8_tmp_list = $$attr8_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
+ }
+ else
+ {
+ if ( $attr8_addempty!==FALSE )
+ {
+ if ($attr8_addempty===TRUE)
+ $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
+ else
+ $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
+ }
+ ?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
+ if (count($$attr8_list)<=1) echo ' disabled="disabled"';
+ if ($attr8_multiple) echo ' multiple="multiple"';
+ if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+ echo ' size="'.intval($attr8_size).'"';
+ ?>><?php
+ if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ foreach( $attr8_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr8_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr8_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+ ?></select><?php
+ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
+ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
+ }
+ ?><?php unset($attr8_list);unset($attr8_name);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php $attr8_class='text'; $attr8_raw='_-_'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_list='all_months'; $attr8_name='month'; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?> <?php
+ $attr8_tmp_list = $$attr8_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
+ }
+ else
+ {
+ if ( $attr8_addempty!==FALSE )
+ {
+ if ($attr8_addempty===TRUE)
+ $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
+ else
+ $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
+ }
+ ?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
+ if (count($$attr8_list)<=1) echo ' disabled="disabled"';
+ if ($attr8_multiple) echo ' multiple="multiple"';
+ if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+ echo ' size="'.intval($attr8_size).'"';
+ ?>><?php
+ if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ foreach( $attr8_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr8_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr8_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+ ?></select><?php
+ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
+ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
+ }
+ ?><?php unset($attr8_list);unset($attr8_name);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php $attr8_class='text'; $attr8_raw='_-_'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_list='all_days'; $attr8_name='day'; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?> <?php
+ $attr8_tmp_list = $$attr8_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
+ }
+ else
+ {
+ if ( $attr8_addempty!==FALSE )
+ {
+ if ($attr8_addempty===TRUE)
+ $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
+ else
+ $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
+ }
+ ?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
+ if (count($$attr8_list)<=1) echo ' disabled="disabled"';
+ if ($attr8_multiple) echo ' multiple="multiple"';
+ if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+ echo ' size="'.intval($attr8_size).'"';
+ ?>><?php
+ if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ foreach( $attr8_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr8_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr8_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+ ?></select><?php
+ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
+ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
+ }
+ ?><?php unset($attr8_list);unset($attr8_name);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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($attr6_class))
+ $attr6_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_class='text'; $attr8_key='date_time'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_key);unset($attr8_escape); ?><?php ?> </td><?php ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_list='all_hours'; $attr8_name='hour'; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?> <?php
+ $attr8_tmp_list = $$attr8_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
+ }
+ else
+ {
+ if ( $attr8_addempty!==FALSE )
+ {
+ if ($attr8_addempty===TRUE)
+ $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
+ else
+ $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
+ }
+ ?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
+ if (count($$attr8_list)<=1) echo ' disabled="disabled"';
+ if ($attr8_multiple) echo ' multiple="multiple"';
+ if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+ echo ' size="'.intval($attr8_size).'"';
+ ?>><?php
+ if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ foreach( $attr8_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr8_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr8_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+ ?></select><?php
+ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
+ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
+ }
+ ?><?php unset($attr8_list);unset($attr8_name);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php $attr8_class='text'; $attr8_raw='_-_'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_list='all_minutes'; $attr8_name='minute'; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?> <?php
+ $attr8_tmp_list = $$attr8_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
+ }
+ else
+ {
+ if ( $attr8_addempty!==FALSE )
+ {
+ if ($attr8_addempty===TRUE)
+ $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
+ else
+ $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
+ }
+ ?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
+ if (count($$attr8_list)<=1) echo ' disabled="disabled"';
+ if ($attr8_multiple) echo ' multiple="multiple"';
+ if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+ echo ' size="'.intval($attr8_size).'"';
+ ?>><?php
+ if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ foreach( $attr8_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr8_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr8_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+ ?></select><?php
+ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
+ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
+ }
+ ?><?php unset($attr8_list);unset($attr8_name);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php $attr8_class='text'; $attr8_raw='_-_'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_list='all_seconds'; $attr8_name='second'; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?> <?php
+ $attr8_tmp_list = $$attr8_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
+ }
+ else
+ {
+ if ( $attr8_addempty!==FALSE )
+ {
+ if ($attr8_addempty===TRUE)
+ $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
+ else
+ $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
+ }
+ ?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
+ if (count($$attr8_list)<=1) echo ' disabled="disabled"';
+ if ($attr8_multiple) echo ' multiple="multiple"';
+ if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+ echo ' size="'.intval($attr8_size).'"';
+ ?>><?php
+ if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ foreach( $attr8_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr8_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr8_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+ ?></select><?php
+ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
+ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
+ }
+ ?><?php unset($attr8_list);unset($attr8_name);unset($attr8_onchange);unset($attr8_title);unset($attr8_class);unset($attr8_addempty);unset($attr8_multiple);unset($attr8_size);unset($attr8_lang); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='text'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_class='fx'; $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='text'; $attr7_size='50'; $attr7_maxlength='255'; $attr7_onchange=''; $attr7_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
+ if ($attr7_readonly && empty($$attr7_name)) $$attr7_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr7_default)) $attr7_default='';
+ ?><?php if (!$attr7_readonly || $attr7_type=='hidden') {
+ ?><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
+ } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_class);unset($attr7_default);unset($attr7_type);unset($attr7_name);unset($attr7_size);unset($attr7_maxlength);unset($attr7_onchange);unset($attr7_readonly); ?><?php $attr7_field='text'; ?> <?php
+ if (isset($errors[0])) $attr7_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr7_field ?>.focus();
+ document.forms[0].<?php echo $attr7_field ?>.select();
+ </script>
+<?php unset($attr7_field); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='longtext'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_class='fx'; $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_equals='html'; $attr7_value=$editor; ?> <?php
+ $attr7_tmp_exec = $attr7_equals == $attr7_value;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_equals);unset($attr7_value); ?><?php $attr8_name='text'; $attr8_type='html'; ?> <?php
+ function checkbox( $name,$value=false,$writable=true,$params=Array() )
+ {
+ $src = '<input type="checkbox" name="'.$name.'"';
+ foreach( $params as $name=>$val )
+ $src .= " $name=\"$val\"";
+ if ( !$writable )
+ $src .= ' disabled="disabled"';
+ if ( $value )
+ $src .= ' value="1" checked="checked"';
+ $src .= ' />';
+ return $src;
+ }
+ function selectBox( $name,$values,$default='',$params=Array() )
+ {
+ if ( ! is_array($values) )
+ $values = array($values);
+ $src = '<select size="1" name="'.$name.'"';
+ foreach( $params as $name=>$value )
+ $src .= " $name=\"$value\"";
+ $src .= '>';
+ foreach( $values as $key=>$value )
+ {
+ $src .= '<option value="'.$key.'"';
+ if ($key == $default)
+ $src .= ' selected="selected"';
+ $src .= '>'.$value.'</option>';
+ }
+ $src .= '</select>';
+ return $src;
+ }
+ ?><?php
+ switch( $attr8_type )
+ {
+ case 'fckeditor':
+ case 'html':
+ if ( $this->isEditMode() )
+ {
+ include('./editor/fckeditor.php');
+ $editor = new FCKeditor( $attr8_name ) ;
+ $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
+ $editor->Value = $$attr8_name;
+ $editor->Height = '290';
+ $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
+ $editor->Create();
+ }
+ else
+ {
+ echo ($$attr8_name);
+ }
+ break;
+ case 'wiki':
+ $conf_tags = $conf['editor']['text-markup'];
+ if ( $this->isEditMode() )
+ {
+ ?>
+ <script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
+ <script name="JavaScript" type="text/javascript">
+ function strong()
+ {
+ insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
+ }
+ function emphatic()
+ {
+ insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
+ }
+ function link()
+ {
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr8_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
+ }
+ function image()
+ {
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr8_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
+ }
+ function list()
+ {
+ insert('<?php echo $attr8_name ?>',"","\n");
+ while( true )
+ {
+ t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
+ if ( t != '' && t != null )
+ insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
+ else
+ break;
+ }
+ }
+ function numlist()
+ {
+ insert('<?php echo $attr8_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
+ }
+ function table()
+ {
+ column=1;
+ while( true )
+ {
+ if ( column==1 )
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
+ else
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
+ t = window.prompt(text,'');
+ if ( t != '' && t != null )
+ {
+ insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
+ column++;
+ }
+ else
+ {
+ if (column==1)
+ {
+ break;
+ }
+ else
+ {
+ insert('text',"\n","");
+ column=1;
+ }
+ }
+ }
+ }
+ </script>
+ <table>
+ <tr>
+ <noscript><input type="text" name="addtext" size="10" /></noscript>
+ <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
+ <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
+ <td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
+ </tr>
+ </table>
+ <?php ?>
+ <?php
+ echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
+ }
+ else
+ {
+ $attr8_tmp_doc = new DocumentElement();
+ $attr8_tmp_text = $$attr8_name;
+ if ( !is_array($attr8_tmp_text))
+ $attr8_tmp_text = explode("\n",$attr8_tmp_text);
+ $attr8_tmp_doc->parse($attr8_tmp_text);
+ echo $attr8_tmp_doc->render('application/html');
+ }
+ break;
+ case 'text':
+ case 'raw':
+ if ( $this->isEditMode() )
+ echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
+ else
+ echo nl2br($$attr8_name);
+ break;
+ case 'dom':
+ case 'tree':
+ $attr8_tmp_doc = new DocumentElement();
+ $attr8_tmp_text = $$attr8_name;
+ if ( !is_array($attr8_tmp_text))
+ $attr8_tmp_text = explode("\n",$attr8_tmp_text);
+ $attr8_tmp_doc->parse($attr8_tmp_text);
+ echo $attr8_tmp_doc->render('application/html-dom');
+ break;
+ default:
+ echo "Unknown editor type: ".$attr8_type;
+ }
+ ?><?php unset($attr8_name);unset($attr8_type); ?><?php ?> <?php } ?><?php ?><?php $attr7_equals='wiki'; $attr7_value=$editor; ?> <?php
+ $attr7_tmp_exec = $attr7_equals == $attr7_value;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_equals);unset($attr7_value); ?><?php $attr8_present='preview'; ?> <?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+ ?>
+<?php unset($attr8_present); ?><?php $attr9_title=lang('page_preview'); ?> <fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($attr9_title) ?></legend><?php } ?><?php unset($attr9_title); ?><?php $attr10_class='text'; $attr10_var='preview'; $attr10_escape=false; ?> <?php
+ if ( isset($attr10_prefix)&& isset($attr10_key))
+ $attr10_key = $attr10_prefix.$attr10_key;
+ if ( isset($attr10_suffix)&& isset($attr10_key))
+ $attr10_key = $attr10_key.$attr10_suffix;
+ if(empty($attr10_title))
+ $attr10_title = '';
+ if (empty($attr10_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $attr10_title = '';
+ if ( $attr10_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr10_array))
+ {
+ $tmpArray = $$attr10_array;
+ if (!empty($attr10_var))
+ $tmp_text = $tmpArray[$attr10_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr10_text]);
+ }
+ elseif (!empty($attr10_text))
+ $tmp_text = $langF($attr10_text);
+ elseif (!empty($attr10_textvar))
+ $tmp_text = $langF($$attr10_textvar);
+ elseif (!empty($attr10_key))
+ $tmp_text = $langF($attr10_key);
+ elseif (!empty($attr10_var))
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
+ elseif (!empty($attr10_raw))
+ $tmp_text = str_replace('_',' ',$attr10_raw);
+ elseif (!empty($attr10_value))
+ $tmp_text = $attr10_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
+ if (isset($attr10_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10_class);unset($attr10_var);unset($attr10_escape); ?><?php ?> </fieldset><?php ?><?php ?> <br/><?php ?><?php ?> <br/><?php ?><?php ?> <?php } ?><?php ?><?php $attr8_name='text'; $attr8_type='wiki'; ?> <?php
+ function checkbox( $name,$value=false,$writable=true,$params=Array() )
+ {
+ $src = '<input type="checkbox" name="'.$name.'"';
+ foreach( $params as $name=>$val )
+ $src .= " $name=\"$val\"";
+ if ( !$writable )
+ $src .= ' disabled="disabled"';
+ if ( $value )
+ $src .= ' value="1" checked="checked"';
+ $src .= ' />';
+ return $src;
+ }
+ function selectBox( $name,$values,$default='',$params=Array() )
+ {
+ if ( ! is_array($values) )
+ $values = array($values);
+ $src = '<select size="1" name="'.$name.'"';
+ foreach( $params as $name=>$value )
+ $src .= " $name=\"$value\"";
+ $src .= '>';
+ foreach( $values as $key=>$value )
+ {
+ $src .= '<option value="'.$key.'"';
+ if ($key == $default)
+ $src .= ' selected="selected"';
+ $src .= '>'.$value.'</option>';
+ }
+ $src .= '</select>';
+ return $src;
+ }
+ ?><?php
+ switch( $attr8_type )
+ {
+ case 'fckeditor':
+ case 'html':
+ if ( $this->isEditMode() )
+ {
+ include('./editor/fckeditor.php');
+ $editor = new FCKeditor( $attr8_name ) ;
+ $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
+ $editor->Value = $$attr8_name;
+ $editor->Height = '290';
+ $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
+ $editor->Create();
+ }
+ else
+ {
+ echo ($$attr8_name);
+ }
+ break;
+ case 'wiki':
+ $conf_tags = $conf['editor']['text-markup'];
+ if ( $this->isEditMode() )
+ {
+ ?>
+ <script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
+ <script name="JavaScript" type="text/javascript">
+ function strong()
+ {
+ insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
+ }
+ function emphatic()
+ {
+ insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
+ }
+ function link()
+ {
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr8_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
+ }
+ function image()
+ {
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr8_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
+ }
+ function list()
+ {
+ insert('<?php echo $attr8_name ?>',"","\n");
+ while( true )
+ {
+ t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
+ if ( t != '' && t != null )
+ insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
+ else
+ break;
+ }
+ }
+ function numlist()
+ {
+ insert('<?php echo $attr8_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
+ }
+ function table()
+ {
+ column=1;
+ while( true )
+ {
+ if ( column==1 )
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
+ else
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
+ t = window.prompt(text,'');
+ if ( t != '' && t != null )
+ {
+ insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
+ column++;
+ }
+ else
+ {
+ if (column==1)
+ {
+ break;
+ }
+ else
+ {
+ insert('text',"\n","");
+ column=1;
+ }
+ }
+ }
+ }
+ </script>
+ <table>
+ <tr>
+ <noscript><input type="text" name="addtext" size="10" /></noscript>
+ <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
+ <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
+ <td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
+ </tr>
+ </table>
+ <?php ?>
+ <?php
+ echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
+ }
+ else
+ {
+ $attr8_tmp_doc = new DocumentElement();
+ $attr8_tmp_text = $$attr8_name;
+ if ( !is_array($attr8_tmp_text))
+ $attr8_tmp_text = explode("\n",$attr8_tmp_text);
+ $attr8_tmp_doc->parse($attr8_tmp_text);
+ echo $attr8_tmp_doc->render('application/html');
+ }
+ break;
+ case 'text':
+ case 'raw':
+ if ( $this->isEditMode() )
+ echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
+ else
+ echo nl2br($$attr8_name);
+ break;
+ case 'dom':
+ case 'tree':
+ $attr8_tmp_doc = new DocumentElement();
+ $attr8_tmp_text = $$attr8_name;
+ if ( !is_array($attr8_tmp_text))
+ $attr8_tmp_text = explode("\n",$attr8_tmp_text);
+ $attr8_tmp_doc->parse($attr8_tmp_text);
+ echo $attr8_tmp_doc->render('application/html-dom');
+ break;
+ default:
+ echo "Unknown editor type: ".$attr8_type;
+ }
+ ?><?php unset($attr8_name);unset($attr8_type); ?><?php $attr8_true=$mode=="edit"; ?> <?php
+ if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
+ $attr8_tmp_exec = $$attr8_true == true;
+ else
+ $attr8_tmp_exec = $attr8_true == true;
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+ ?>
+<?php unset($attr8_true); ?><?php $attr9_title=lang('help'); ?> <fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($attr9_title) ?></legend><?php } ?><?php unset($attr9_title); ?><?php ?> </fieldset><?php ?><?php $attr9_width='100%'; $attr9_space='0px'; $attr9_padding='0px'; $attr9_rowclasses='odd,even'; ?> <?php
+ $coloumn_widths=array();
+ $row_classes = array('');
+ $column_classes= array('');
+ if(empty($attr9_class))
+ $attr9_class='';
+ if (!empty($attr9_widths))
+ {
+ $column_widths = explode(',',$attr9_widths);
+ unset($attr9['widths']);
+ }
+ if (!empty($attr9_classes))
+ {
+ $row_classes = explode(',',$attr9_rowclasses);
+ $row_class_idx = 999;
+ unset($attr9['rowclasses']);
+ }
+ if (!empty($attr9_rowclasses))
+ {
+ $row_classes = explode(',',$attr9_rowclasses);
+ $row_class_idx = 999;
+ unset($attr9['rowclasses']);
+ }
+ if (!empty($attr9_columnclasses))
+ {
+ $column_classes = explode(',',$attr9_columnclasses);
+ unset($attr9['columnclasses']);
+ }
+ ?><table class="<?php echo $attr9_class ?>" cellspacing="<?php echo $attr9_space ?>" width="<?php echo $attr9_width ?>" cellpadding="<?php echo $attr9_padding ?>"><?php unset($attr9_width);unset($attr9_space);unset($attr9_padding);unset($attr9_rowclasses); ?><?php ?> <?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($attr10_class))
+ $attr10_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
+ $attr10_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr10_width )) { ?> width="<?php echo $attr10_width ?>" <?php }
+ if ( isset($attr10_style )) { ?> style="<?php echo $attr10_style ?>" <?php }
+ if ( isset($attr10_class )) { ?> class="<?php echo $attr10_class ?>" <?php }
+ if ( isset($attr10_colspan)) { ?> colspan="<?php echo $attr10_colspan ?>" <?php }
+ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['strong-begin']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_key='text_markup_strong'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_key);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['strong-end']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['emphatic-begin']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_key='text_markup_emphatic'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_key);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['emphatic-end']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php ?> </td><?php ?><?php ?> <?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($attr10_class))
+ $attr10_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
+ $attr10_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr10_width )) { ?> width="<?php echo $attr10_width ?>" <?php }
+ if ( isset($attr10_style )) { ?> style="<?php echo $attr10_style ?>" <?php }
+ if ( isset($attr10_class )) { ?> class="<?php echo $attr10_class ?>" <?php }
+ if ( isset($attr10_colspan)) { ?> colspan="<?php echo $attr10_colspan ?>" <?php }
+ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['list-numbered']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_key='text_markup_numbered_list'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_key);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['list-numbered']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php ?> </td><?php ?><?php ?> <?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($attr10_class))
+ $attr10_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
+ $attr10_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr10_width )) { ?> width="<?php echo $attr10_width ?>" <?php }
+ if ( isset($attr10_style )) { ?> style="<?php echo $attr10_style ?>" <?php }
+ if ( isset($attr10_class )) { ?> class="<?php echo $attr10_class ?>" <?php }
+ if ( isset($attr10_colspan)) { ?> colspan="<?php echo $attr10_colspan ?>" <?php }
+ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['list-unnumbered']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_key='text_markup_unnumbered_list'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_key);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['list-unnumbered']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php ?> </td><?php ?><?php ?> <?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($attr10_class))
+ $attr10_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
+ $attr10_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr10_width )) { ?> width="<?php echo $attr10_width ?>" <?php }
+ if ( isset($attr10_style )) { ?> style="<?php echo $attr10_style ?>" <?php }
+ if ( isset($attr10_class )) { ?> class="<?php echo $attr10_class ?>" <?php }
+ if ( isset($attr10_colspan)) { ?> colspan="<?php echo $attr10_colspan ?>" <?php }
+ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_key='text_markup_table'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_key);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_raw);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_value=@$conf['editor']['text-markup']['table-cell-sep']; $attr11_escape=true; ?> <?php
+ if ( isset($attr11_prefix)&& isset($attr11_key))
+ $attr11_key = $attr11_prefix.$attr11_key;
+ if ( isset($attr11_suffix)&& isset($attr11_key))
+ $attr11_key = $attr11_key.$attr11_suffix;
+ if(empty($attr11_title))
+ $attr11_title = '';
+ if (empty($attr11_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $attr11_title = '';
+ if ( $attr11_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr11_array))
+ {
+ $tmpArray = $$attr11_array;
+ if (!empty($attr11_var))
+ $tmp_text = $tmpArray[$attr11_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr11_text]);
+ }
+ elseif (!empty($attr11_text))
+ $tmp_text = $langF($attr11_text);
+ elseif (!empty($attr11_textvar))
+ $tmp_text = $langF($$attr11_textvar);
+ elseif (!empty($attr11_key))
+ $tmp_text = $langF($attr11_key);
+ elseif (!empty($attr11_var))
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
+ elseif (!empty($attr11_raw))
+ $tmp_text = str_replace('_',' ',$attr11_raw);
+ elseif (!empty($attr11_value))
+ $tmp_text = $attr11_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
+ if (isset($attr11_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php ?> <br/><?php ?><?php ?> </td><?php ?><?php ?> </table><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php } ?><?php ?><?php $attr7_equals='text'; $attr7_value=$editor; ?> <?php
+ $attr7_tmp_exec = $attr7_equals == $attr7_value;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_equals);unset($attr7_value); ?><?php $attr8_name='text'; $attr8_rows='25'; $attr8_cols='70'; $attr8_class='longtext'; $attr8_default=''; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( !$attr8_readonly) {
+ ?><textarea <?php if ($attr8_readonly) echo ' disabled="true"' ?> class="<?php echo $attr8_class ?>" name="<?php echo $attr8_name ?>" rows="<?php echo $attr8_rows ?>" cols="<?php echo $attr8_cols ?>"><?php echo htmlentities(isset($$attr8_name)?$$attr8_name:$attr8_default) ?></textarea><?php
+ } else {
+ ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8_name);unset($attr8_rows);unset($attr8_cols);unset($attr8_class);unset($attr8_default); ?><?php $attr8_field='text'; ?> <?php
+ if (isset($errors[0])) $attr8_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr8_field ?>.focus();
+ document.forms[0].<?php echo $attr8_field ?>.select();
+ </script>
+<?php unset($attr8_field); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='link'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr7_class='text'; $attr7_key='link_target'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr7_list='objects'; $attr7_name='linkobjectid'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; $attr7_addempty=false; $attr7_multiple=false; $attr7_size='1'; $attr7_lang=false; ?> <?php
+ $attr7_tmp_list = $$attr7_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
+ }
+ else
+ {
+ if ( $attr7_addempty!==FALSE )
+ {
+ if ($attr7_addempty===TRUE)
+ $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
+ else
+ $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
+ }
+ ?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
+ if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
+ $attr7_tmp_default = $$attr7_name;
+ elseif ( isset($attr7_default) )
+ $attr7_tmp_default = $attr7_default;
+ else
+ $attr7_tmp_default = '';
+ foreach( $attr7_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr7_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr7_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_list);unset($attr7_name);unset($attr7_onchange);unset($attr7_title);unset($attr7_class);unset($attr7_addempty);unset($attr7_multiple);unset($attr7_size);unset($attr7_lang); ?><?php $attr7_field='linkobjectid'; ?> <?php
+ if (isset($errors[0])) $attr7_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr7_field ?>.focus();
+ document.forms[0].<?php echo $attr7_field ?>.select();
+ </script>
+<?php unset($attr7_field); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr5_true=$mode=="edit"; ?> <?php
+ if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
+ $attr5_tmp_exec = $$attr5_true == true;
else
+ $attr5_tmp_exec = $attr5_true == true;
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
+ ?>
+<?php unset($attr5_true); ?><?php ?> <?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($attr6_class))
+ $attr6_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr6_class ?>"><?php ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_class='text'; $attr8_key='link_url'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_key);unset($attr8_escape); ?><?php ?> </td><?php ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_class=''; $attr8_default=''; $attr8_type='text'; $attr8_name='linkurl'; $attr8_size='40'; $attr8_maxlength='256'; $attr8_onchange=''; $attr8_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr8_default)) $attr8_default='';
+ ?><?php if (!$attr8_readonly || $attr8_type=='hidden') {
+ ?><input<?php if ($attr8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" name="<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" type="<?php echo $attr8_type ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
+ if ($attr8_readonly) {
+ ?><input type="hidden" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" /><?php
+ } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8_class);unset($attr8_default);unset($attr8_type);unset($attr8_name);unset($attr8_size);unset($attr8_maxlength);unset($attr8_onchange);unset($attr8_readonly); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='list'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_list='objects'; $attr7_name='linkobjectid'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; $attr7_addempty=false; $attr7_multiple=false; $attr7_size='1'; $attr7_lang=false; ?> <?php
+ $attr7_tmp_list = $$attr7_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
+ }
+ else
+ {
+ if ( $attr7_addempty!==FALSE )
+ {
+ if ($attr7_addempty===TRUE)
+ $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
+ else
+ $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
+ }
+ ?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
+ if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
+ $attr7_tmp_default = $$attr7_name;
+ elseif ( isset($attr7_default) )
+ $attr7_tmp_default = $attr7_default;
+ else
+ $attr7_tmp_default = '';
+ foreach( $attr7_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr7_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr7_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_list);unset($attr7_name);unset($attr7_onchange);unset($attr7_title);unset($attr7_class);unset($attr7_addempty);unset($attr7_multiple);unset($attr7_size);unset($attr7_lang); ?><?php $attr7_field='linkobjectid'; ?> <?php
+ if (isset($errors[0])) $attr7_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr7_field ?>.focus();
+ document.forms[0].<?php echo $attr7_field ?>.select();
+ </script>
+<?php unset($attr7_field); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='insert'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_list='objects'; $attr7_name='linkobjectid'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; $attr7_addempty=false; $attr7_multiple=false; $attr7_size='1'; $attr7_lang=false; ?> <?php
+ $attr7_tmp_list = $$attr7_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
+ }
+ else
+ {
+ if ( $attr7_addempty!==FALSE )
+ {
+ if ($attr7_addempty===TRUE)
+ $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
+ else
+ $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
+ }
+ ?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
+ if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
+ $attr7_tmp_default = $$attr7_name;
+ elseif ( isset($attr7_default) )
+ $attr7_tmp_default = $attr7_default;
+ else
+ $attr7_tmp_default = '';
+ foreach( $attr7_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr7_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr7_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_list);unset($attr7_name);unset($attr7_onchange);unset($attr7_title);unset($attr7_class);unset($attr7_addempty);unset($attr7_multiple);unset($attr7_size);unset($attr7_lang); ?><?php $attr7_field='linkobjectid'; ?> <?php
+ if (isset($errors[0])) $attr7_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr7_field ?>.focus();
+ document.forms[0].<?php echo $attr7_field ?>.select();
+ </script>
+<?php unset($attr7_field); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='number'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_name='decimals'; $attr7_default='decimals'; ?> <?php
+ if (isset($$attr7_name))
+ $attr7_tmp_value = $$attr7_name;
+ elseif ( isset($attr7_default) )
+ $attr7_tmp_value = $attr7_default;
+ else
+ $attr7_tmp_value = "";
+ ?><input type="hidden" name="<?php echo $attr7_name ?>" value="<?php echo $attr7_tmp_value ?>" /><?php unset($attr7_name);unset($attr7_default); ?><?php $attr7_class=''; $attr7_default=''; $attr7_type='text'; $attr7_name='number'; $attr7_size='15'; $attr7_maxlength='20'; $attr7_onchange=''; $attr7_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
+ if ($attr7_readonly && empty($$attr7_name)) $$attr7_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr7_default)) $attr7_default='';
+ ?><?php if (!$attr7_readonly || $attr7_type=='hidden') {
+ ?><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
+ } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_class);unset($attr7_default);unset($attr7_type);unset($attr7_name);unset($attr7_size);unset($attr7_maxlength);unset($attr7_onchange);unset($attr7_readonly); ?><?php $attr7_field='number'; ?> <?php
+ if (isset($errors[0])) $attr7_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr7_field ?>.focus();
+ document.forms[0].<?php echo $attr7_field ?>.select();
+ </script>
+<?php unset($attr7_field); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_equals='select'; $attr4_value=$type; ?> <?php
+ $attr4_tmp_exec = $attr4_equals == $attr4_value;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_equals);unset($attr4_value); ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_list='items'; $attr7_name='text'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; $attr7_addempty=false; $attr7_multiple=false; $attr7_size='1'; $attr7_lang=false; ?> <?php
+ $attr7_tmp_list = $$attr7_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
+ }
+ else
+ {
+ if ( $attr7_addempty!==FALSE )
+ {
+ if ($attr7_addempty===TRUE)
+ $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
+ else
+ $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
+ }
+ ?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
+ if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
+ $attr7_tmp_default = $$attr7_name;
+ elseif ( isset($attr7_default) )
+ $attr7_tmp_default = $attr7_default;
+ else
+ $attr7_tmp_default = '';
+ foreach( $attr7_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr7_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr7_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_list);unset($attr7_name);unset($attr7_onchange);unset($attr7_title);unset($attr7_class);unset($attr7_addempty);unset($attr7_multiple);unset($attr7_size);unset($attr7_lang); ?><?php $attr7_field='text'; ?> <?php
+ if (isset($errors[0])) $attr7_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr7_field ?>.focus();
+ document.forms[0].<?php echo $attr7_field ?>.select();
+ </script>
+<?php unset($attr7_field); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_true=$mode=="edit"; ?> <?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
+ else
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_true); ?><?php $attr5_present='release'; ?> <?php
+ $attr5_tmp_exec = isset($$attr5_present);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?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
- $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:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'help','colspan'=>'2') ?><?php $attr5_class='help' ?><?php $attr5_colspan='2' ?><?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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"desc";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'desc','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='desc' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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:2:{s:6:"equals";s:4:"date";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'date','value'=>$type) ?><?php $attr4_equals='date' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:1:{s:5:"title";s:16:"message:calendar";}' ?><?php $attr7 = array('title'=>lang('calendar')) ?><?php $attr7_title=lang('calendar') ?><fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7) ?><?php unset($attr7_title) ?><?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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:5:{s:5:"class";s:8:"calendar";s:5:"width";s:3:"85%";s:5:"space";s:3:"0px";s:7:"padding";s:3:"0px";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr7 = array('class'=>'calendar','width'=>'85%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr7_class='calendar' ?><?php $attr7_width='85%' ?><?php $attr7_space='0px' ?><?php $attr7_padding='0px' ?><?php $attr7_rowclasses='odd,even' ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr7_class))
- $attr7_class='';
- if (!empty($attr7_widths))
- {
- $column_widths = explode(',',$attr7_widths);
- unset($attr7['widths']);
- }
- if (!empty($attr7_classes))
- {
- $row_classes = explode(',',$attr7_rowclasses);
- $row_class_idx = 999;
- unset($attr7['rowclasses']);
- }
- if (!empty($attr7_rowclasses))
- {
- $row_classes = explode(',',$attr7_rowclasses);
- $row_class_idx = 999;
- unset($attr7['rowclasses']);
- }
- if (!empty($attr7_columnclasses))
- {
- $column_classes = explode(',',$attr7_columnclasses);
- unset($attr7['columnclasses']);
- }
-?><table class="<?php echo $attr7_class ?>" cellspacing="<?php echo $attr7_space ?>" width="<?php echo $attr7_width ?>" cellpadding="<?php echo $attr7_padding ?>"><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_width) ?><?php unset($attr7_space) ?><?php unset($attr7_padding) ?><?php unset($attr7_rowclasses) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = 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($attr8_class))
- $attr8_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr8_class ?>"><?php unset($attr8) ?><?php $attr9_debug_info = 'a:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"8";}' ?><?php $attr9 = array('class'=>'help','colspan'=>'8') ?><?php $attr9_class='help' ?><?php $attr9_colspan='8' ?><?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($attr9_class))
- $attr9['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
- $attr9['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr9 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_colspan) ?><?php $attr10_debug_info = 'a:1:{s:4:"true";s:9:"mode:edit";}' ?><?php $attr10 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr10_true=$this->getRequestVar("mode")=="edit" ?><?php
- if ( isset($attr10_true) )
- {
- if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
- $exec = $$attr10_true == true;
- else
- $exec = $attr10_true == true;
- }
- elseif ( isset($attr10_false) )
- {
- if (gettype($attr10_false) === '' && gettype($attr10_false) === '1')
- $exec = $$attr10_false == false;
- else
- $exec = $attr10_false == false;
- }
- elseif( isset($attr10_contains) )
- $exec = in_array($attr10_value,explode(',',$attr10_contains));
- elseif( isset($attr10_equals)&& isset($attr10_value) )
- $exec = $attr10_equals == $attr10_value;
- elseif( isset($attr10_lessthan)&& isset($attr10_value) )
- $exec = intval($attr10_lessthan) > intval($attr10_value);
- elseif( isset($attr10_greaterthan)&& isset($attr10_value) )
- $exec = intval($attr10_greaterthan) < intval($attr10_value);
- elseif ( isset($attr10_empty) )
- {
- if ( !isset($$attr10_empty) )
- $exec = empty($attr10_empty);
- elseif ( is_array($$attr10_empty) )
- $exec = (count($$attr10_empty)==0);
- elseif ( is_bool($$attr10_empty) )
- $exec = true;
- else
- $exec = empty( $$attr10_empty );
- }
- elseif ( isset($attr10_present) )
- {
- $exec = isset($$attr10_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr10_invert) )
- $exec = !$exec;
- if ( !empty($attr10_not) )
- $exec = !$exec;
- unset($attr10_true);
- unset($attr10_false);
- unset($attr10_notempty);
- unset($attr10_empty);
- unset($attr10_contains);
- unset($attr10_present);
- unset($attr10_invert);
- unset($attr10_not);
- unset($attr10_value);
- unset($attr10_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr10) ?><?php unset($attr10_true) ?><?php $attr11_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:16:"var:lastmonthurl";s:5:"class";s:0:"";}' ?><?php $attr11 = array('title'=>'','target'=>'_self','url'=>$lastmonthurl,'class'=>'') ?><?php $attr11_title='' ?><?php $attr11_target='_self' ?><?php $attr11_url=$lastmonthurl ?><?php $attr11_class='' ?><?php
- $params = array();
- if (!empty($attr11_var1) && isset($attr11_value1))
- $params[$attr11_var1]=$attr11_value1;
- if (!empty($attr11_var2) && isset($attr11_value2))
- $params[$attr11_var2]=$attr11_value2;
- if (!empty($attr11_var3) && isset($attr11_value3))
- $params[$attr11_var3]=$attr11_value3;
- if (!empty($attr11_var4) && isset($attr11_value4))
- $params[$attr11_var4]=$attr11_value4;
- if (!empty($attr11_var5) && isset($attr11_value5))
- $params[$attr11_var5]=$attr11_value5;
- if(empty($attr11_class))
- $attr11_class='';
- if(empty($attr11_title))
- $attr11_title = '';
- if(!empty($attr11_url))
- $tmp_url = $attr11_url;
- else
- $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11) ?><?php unset($attr11_title) ?><?php unset($attr11_target) ?><?php unset($attr11_url) ?><?php unset($attr11_class) ?><?php $attr12_debug_info = 'a:2:{s:4:"file";s:4:"left";s:5:"align";s:6:"middle";}' ?><?php $attr12 = array('file'=>'left','align'=>'middle') ?><?php $attr12_file='left' ?><?php $attr12_align='middle' ?><?php
-if (isset($attr12_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr12_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr12_tree.IMG_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_url)) {
-?><img src="<?php echo $attr12_url ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_fileext)) {
-?><img src="<?php echo $image_dir.$attr12_fileext ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_file)) {
-?><img src="<?php echo $image_dir.$attr12_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php } ?><?php unset($attr12) ?><?php unset($attr12_file) ?><?php unset($attr12_align) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = array() ?></a><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='_' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php } ?><?php unset($attr9) ?><?php $attr10_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:9:"monthname";s:6:"escape";s:4:"true";}' ?><?php $attr10 = array('class'=>'text','var'=>'monthname','escape'=>true) ?><?php $attr10_class='text' ?><?php $attr10_var='monthname' ?><?php $attr10_escape=true ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10) ?><?php unset($attr10_class) ?><?php unset($attr10_var) ?><?php unset($attr10_escape) ?><?php $attr10_debug_info = 'a:1:{s:4:"true";s:9:"mode:edit";}' ?><?php $attr10 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr10_true=$this->getRequestVar("mode")=="edit" ?><?php
- if ( isset($attr10_true) )
- {
- if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
- $exec = $$attr10_true == true;
- else
- $exec = $attr10_true == true;
- }
- elseif ( isset($attr10_false) )
- {
- if (gettype($attr10_false) === '' && gettype($attr10_false) === '1')
- $exec = $$attr10_false == false;
- else
- $exec = $attr10_false == false;
- }
- elseif( isset($attr10_contains) )
- $exec = in_array($attr10_value,explode(',',$attr10_contains));
- elseif( isset($attr10_equals)&& isset($attr10_value) )
- $exec = $attr10_equals == $attr10_value;
- elseif( isset($attr10_lessthan)&& isset($attr10_value) )
- $exec = intval($attr10_lessthan) > intval($attr10_value);
- elseif( isset($attr10_greaterthan)&& isset($attr10_value) )
- $exec = intval($attr10_greaterthan) < intval($attr10_value);
- elseif ( isset($attr10_empty) )
- {
- if ( !isset($$attr10_empty) )
- $exec = empty($attr10_empty);
- elseif ( is_array($$attr10_empty) )
- $exec = (count($$attr10_empty)==0);
- elseif ( is_bool($$attr10_empty) )
- $exec = true;
- else
- $exec = empty( $$attr10_empty );
- }
- elseif ( isset($attr10_present) )
- {
- $exec = isset($$attr10_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr10_invert) )
- $exec = !$exec;
- if ( !empty($attr10_not) )
- $exec = !$exec;
- unset($attr10_true);
- unset($attr10_false);
- unset($attr10_notempty);
- unset($attr10_empty);
- unset($attr10_contains);
- unset($attr10_present);
- unset($attr10_invert);
- unset($attr10_not);
- unset($attr10_value);
- unset($attr10_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr10) ?><?php unset($attr10_true) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='_' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:16:"var:nextmonthurl";s:5:"class";s:0:"";}' ?><?php $attr11 = array('title'=>'','target'=>'_self','url'=>$nextmonthurl,'class'=>'') ?><?php $attr11_title='' ?><?php $attr11_target='_self' ?><?php $attr11_url=$nextmonthurl ?><?php $attr11_class='' ?><?php
- $params = array();
- if (!empty($attr11_var1) && isset($attr11_value1))
- $params[$attr11_var1]=$attr11_value1;
- if (!empty($attr11_var2) && isset($attr11_value2))
- $params[$attr11_var2]=$attr11_value2;
- if (!empty($attr11_var3) && isset($attr11_value3))
- $params[$attr11_var3]=$attr11_value3;
- if (!empty($attr11_var4) && isset($attr11_value4))
- $params[$attr11_var4]=$attr11_value4;
- if (!empty($attr11_var5) && isset($attr11_value5))
- $params[$attr11_var5]=$attr11_value5;
- if(empty($attr11_class))
- $attr11_class='';
- if(empty($attr11_title))
- $attr11_title = '';
- if(!empty($attr11_url))
- $tmp_url = $attr11_url;
- else
- $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11) ?><?php unset($attr11_title) ?><?php unset($attr11_target) ?><?php unset($attr11_url) ?><?php unset($attr11_class) ?><?php $attr12_debug_info = 'a:2:{s:4:"file";s:5:"right";s:5:"align";s:6:"middle";}' ?><?php $attr12 = array('file'=>'right','align'=>'middle') ?><?php $attr12_file='right' ?><?php $attr12_align='middle' ?><?php
-if (isset($attr12_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr12_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr12_tree.IMG_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_url)) {
-?><img src="<?php echo $attr12_url ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_fileext)) {
-?><img src="<?php echo $image_dir.$attr12_fileext ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_file)) {
-?><img src="<?php echo $image_dir.$attr12_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php } ?><?php unset($attr12) ?><?php unset($attr12_file) ?><?php unset($attr12_align) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = array() ?></a><?php unset($attr10) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php } ?><?php unset($attr9) ?><?php $attr10_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:5:"_____";s:6:"escape";s:4:"true";}' ?><?php $attr10 = array('class'=>'text','raw'=>'_____','escape'=>true) ?><?php $attr10_class='text' ?><?php $attr10_raw='_____' ?><?php $attr10_escape=true ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10) ?><?php unset($attr10_class) ?><?php unset($attr10_raw) ?><?php unset($attr10_escape) ?><?php $attr10_debug_info = 'a:1:{s:4:"true";s:9:"mode:edit";}' ?><?php $attr10 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr10_true=$this->getRequestVar("mode")=="edit" ?><?php
- if ( isset($attr10_true) )
- {
- if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
- $exec = $$attr10_true == true;
- else
- $exec = $attr10_true == true;
- }
- elseif ( isset($attr10_false) )
- {
- if (gettype($attr10_false) === '' && gettype($attr10_false) === '1')
- $exec = $$attr10_false == false;
- else
- $exec = $attr10_false == false;
- }
- elseif( isset($attr10_contains) )
- $exec = in_array($attr10_value,explode(',',$attr10_contains));
- elseif( isset($attr10_equals)&& isset($attr10_value) )
- $exec = $attr10_equals == $attr10_value;
- elseif( isset($attr10_lessthan)&& isset($attr10_value) )
- $exec = intval($attr10_lessthan) > intval($attr10_value);
- elseif( isset($attr10_greaterthan)&& isset($attr10_value) )
- $exec = intval($attr10_greaterthan) < intval($attr10_value);
- elseif ( isset($attr10_empty) )
- {
- if ( !isset($$attr10_empty) )
- $exec = empty($attr10_empty);
- elseif ( is_array($$attr10_empty) )
- $exec = (count($$attr10_empty)==0);
- elseif ( is_bool($$attr10_empty) )
- $exec = true;
- else
- $exec = empty( $$attr10_empty );
- }
- elseif ( isset($attr10_present) )
- {
- $exec = isset($$attr10_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr10_invert) )
- $exec = !$exec;
- if ( !empty($attr10_not) )
- $exec = !$exec;
- unset($attr10_true);
- unset($attr10_false);
- unset($attr10_notempty);
- unset($attr10_empty);
- unset($attr10_contains);
- unset($attr10_present);
- unset($attr10_invert);
- unset($attr10_not);
- unset($attr10_value);
- unset($attr10_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr10) ?><?php unset($attr10_true) ?><?php $attr11_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:15:"var:lastyearurl";s:5:"class";s:0:"";}' ?><?php $attr11 = array('title'=>'','target'=>'_self','url'=>$lastyearurl,'class'=>'') ?><?php $attr11_title='' ?><?php $attr11_target='_self' ?><?php $attr11_url=$lastyearurl ?><?php $attr11_class='' ?><?php
- $params = array();
- if (!empty($attr11_var1) && isset($attr11_value1))
- $params[$attr11_var1]=$attr11_value1;
- if (!empty($attr11_var2) && isset($attr11_value2))
- $params[$attr11_var2]=$attr11_value2;
- if (!empty($attr11_var3) && isset($attr11_value3))
- $params[$attr11_var3]=$attr11_value3;
- if (!empty($attr11_var4) && isset($attr11_value4))
- $params[$attr11_var4]=$attr11_value4;
- if (!empty($attr11_var5) && isset($attr11_value5))
- $params[$attr11_var5]=$attr11_value5;
- if(empty($attr11_class))
- $attr11_class='';
- if(empty($attr11_title))
- $attr11_title = '';
- if(!empty($attr11_url))
- $tmp_url = $attr11_url;
- else
- $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11) ?><?php unset($attr11_title) ?><?php unset($attr11_target) ?><?php unset($attr11_url) ?><?php unset($attr11_class) ?><?php $attr12_debug_info = 'a:2:{s:4:"file";s:4:"left";s:5:"align";s:6:"middle";}' ?><?php $attr12 = array('file'=>'left','align'=>'middle') ?><?php $attr12_file='left' ?><?php $attr12_align='middle' ?><?php
-if (isset($attr12_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr12_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr12_tree.IMG_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_url)) {
-?><img src="<?php echo $attr12_url ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_fileext)) {
-?><img src="<?php echo $image_dir.$attr12_fileext ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_file)) {
-?><img src="<?php echo $image_dir.$attr12_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php } ?><?php unset($attr12) ?><?php unset($attr12_file) ?><?php unset($attr12_align) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = array() ?></a><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='_' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php } ?><?php unset($attr9) ?><?php $attr10_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"yearname";s:6:"escape";s:4:"true";}' ?><?php $attr10 = array('class'=>'text','var'=>'yearname','escape'=>true) ?><?php $attr10_class='text' ?><?php $attr10_var='yearname' ?><?php $attr10_escape=true ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10) ?><?php unset($attr10_class) ?><?php unset($attr10_var) ?><?php unset($attr10_escape) ?><?php $attr10_debug_info = 'a:1:{s:4:"true";s:9:"mode:edit";}' ?><?php $attr10 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr10_true=$this->getRequestVar("mode")=="edit" ?><?php
- if ( isset($attr10_true) )
- {
- if (gettype($attr10_true) === '' && gettype($attr10_true) === '1')
- $exec = $$attr10_true == true;
- else
- $exec = $attr10_true == true;
- }
- elseif ( isset($attr10_false) )
- {
- if (gettype($attr10_false) === '' && gettype($attr10_false) === '1')
- $exec = $$attr10_false == false;
- else
- $exec = $attr10_false == false;
- }
- elseif( isset($attr10_contains) )
- $exec = in_array($attr10_value,explode(',',$attr10_contains));
- elseif( isset($attr10_equals)&& isset($attr10_value) )
- $exec = $attr10_equals == $attr10_value;
- elseif( isset($attr10_lessthan)&& isset($attr10_value) )
- $exec = intval($attr10_lessthan) > intval($attr10_value);
- elseif( isset($attr10_greaterthan)&& isset($attr10_value) )
- $exec = intval($attr10_greaterthan) < intval($attr10_value);
- elseif ( isset($attr10_empty) )
- {
- if ( !isset($$attr10_empty) )
- $exec = empty($attr10_empty);
- elseif ( is_array($$attr10_empty) )
- $exec = (count($$attr10_empty)==0);
- elseif ( is_bool($$attr10_empty) )
- $exec = true;
- else
- $exec = empty( $$attr10_empty );
- }
- elseif ( isset($attr10_present) )
- {
- $exec = isset($$attr10_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr10_invert) )
- $exec = !$exec;
- if ( !empty($attr10_not) )
- $exec = !$exec;
- unset($attr10_true);
- unset($attr10_false);
- unset($attr10_notempty);
- unset($attr10_empty);
- unset($attr10_contains);
- unset($attr10_present);
- unset($attr10_invert);
- unset($attr10_not);
- unset($attr10_value);
- unset($attr10_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr10) ?><?php unset($attr10_true) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='_' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:15:"var:nextyearurl";s:5:"class";s:0:"";}' ?><?php $attr11 = array('title'=>'','target'=>'_self','url'=>$nextyearurl,'class'=>'') ?><?php $attr11_title='' ?><?php $attr11_target='_self' ?><?php $attr11_url=$nextyearurl ?><?php $attr11_class='' ?><?php
- $params = array();
- if (!empty($attr11_var1) && isset($attr11_value1))
- $params[$attr11_var1]=$attr11_value1;
- if (!empty($attr11_var2) && isset($attr11_value2))
- $params[$attr11_var2]=$attr11_value2;
- if (!empty($attr11_var3) && isset($attr11_value3))
- $params[$attr11_var3]=$attr11_value3;
- if (!empty($attr11_var4) && isset($attr11_value4))
- $params[$attr11_var4]=$attr11_value4;
- if (!empty($attr11_var5) && isset($attr11_value5))
- $params[$attr11_var5]=$attr11_value5;
- if(empty($attr11_class))
- $attr11_class='';
- if(empty($attr11_title))
- $attr11_title = '';
- if(!empty($attr11_url))
- $tmp_url = $attr11_url;
- else
- $tmp_url = Html::url($attr11_action,$attr11_subaction,!empty($attr11_id)?$attr11_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr11_name)) echo ' name="'.$attr11_name.'"'; else echo ' href="'.$tmp_url.($attr11_anchor?'#'.$attr11_anchor:'').'"' ?> class="<?php echo $attr11_class ?>" target="<?php echo $attr11_target ?>"<?php if (isset($attr11_accesskey)) echo ' accesskey="'.$attr11_accesskey.'"' ?> title="<?php echo encodeHtml($attr11_title) ?>"><?php unset($attr11) ?><?php unset($attr11_title) ?><?php unset($attr11_target) ?><?php unset($attr11_url) ?><?php unset($attr11_class) ?><?php $attr12_debug_info = 'a:2:{s:4:"file";s:5:"right";s:5:"align";s:6:"middle";}' ?><?php $attr12 = array('file'=>'right','align'=>'middle') ?><?php $attr12_file='right' ?><?php $attr12_align='middle' ?><?php
-if (isset($attr12_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr12_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr12_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr12_tree.IMG_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_url)) {
-?><img src="<?php echo $attr12_url ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_fileext)) {
-?><img src="<?php echo $image_dir.$attr12_fileext ?>" border="0" align="<?php echo $attr12_align ?>"><?php
-} elseif (isset($attr12_file)) {
-?><img src="<?php echo $image_dir.$attr12_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr12_align ?>"><?php } ?><?php unset($attr12) ?><?php unset($attr12_file) ?><?php unset($attr12_align) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = array() ?></a><?php unset($attr10) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php } ?><?php unset($attr9) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></td><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></tr><?php unset($attr7) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = 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($attr8_class))
- $attr8_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr8_class ?>"><?php unset($attr8) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = 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($attr9_class))
- $attr9['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr9_rowspan) )
- $attr9['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr9 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr9) ?><?php $attr10_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:4:"week";s:6:"escape";s:4:"true";}' ?><?php $attr10 = array('class'=>'text','key'=>'week','escape'=>true) ?><?php $attr10_class='text' ?><?php $attr10_key='week' ?><?php $attr10_escape=true ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_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 $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_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($attr10) ?><?php unset($attr10_class) ?><?php unset($attr10_key) ?><?php unset($attr10_escape) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></td><?php unset($attr8) ?><?php $attr9_debug_info = 'a:4:{s:4:"list";s:8:"weekdays";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:7:"weekday";}' ?><?php $attr9 = array('list'=>'weekdays','extract'=>false,'key'=>'list_key','value'=>'weekday') ?><?php $attr9_list='weekdays' ?><?php $attr9_extract=false ?><?php $attr9_key='list_key' ?><?php $attr9_value='weekday' ?><?php
- $attr9_list_tmp_key = $attr9_key;
- $attr9_list_tmp_value = $attr9_value;
- $attr9_list_extract = $attr9_extract;
- unset($attr9_key);
- unset($attr9_value);
- if ( !isset($$attr9_list) || !is_array($$attr9_list) )
- $$attr9_list = array();
- foreach( $$attr9_list as $$attr9_list_tmp_key => $$attr9_list_tmp_value )
- {
- if ( $attr9_list_extract )
- {
- if ( !is_array($$attr9_list_tmp_value) )
- {
- print_r($$attr9_list_tmp_value);
- die( 'not an array at key: '.$$attr9_list_tmp_key );
- }
- extract($$attr9_list_tmp_value);
- }
-?><?php unset($attr9) ?><?php unset($attr9_list) ?><?php unset($attr9_extract) ?><?php unset($attr9_key) ?><?php unset($attr9_value) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = 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($attr10_class))
- $attr10['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
- $attr10['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr10 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:7:"weekday";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','var'=>'weekday','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_var='weekday' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_var) ?><?php unset($attr11_escape) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?></td><?php unset($attr9) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?><?php } ?><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></tr><?php unset($attr7) ?><?php $attr8_debug_info = 'a:4:{s:4:"list";s:8:"weeklist";s:7:"extract";s:5:"false";s:3:"key";s:6:"weeknr";s:5:"value";s:4:"week";}' ?><?php $attr8 = array('list'=>'weeklist','extract'=>false,'key'=>'weeknr','value'=>'week') ?><?php $attr8_list='weeklist' ?><?php $attr8_extract=false ?><?php $attr8_key='weeknr' ?><?php $attr8_value='week' ?><?php
- $attr8_list_tmp_key = $attr8_key;
- $attr8_list_tmp_value = $attr8_value;
- $attr8_list_extract = $attr8_extract;
- unset($attr8_key);
- unset($attr8_value);
- if ( !isset($$attr8_list) || !is_array($$attr8_list) )
- $$attr8_list = array();
- foreach( $$attr8_list as $$attr8_list_tmp_key => $$attr8_list_tmp_value )
- {
- if ( $attr8_list_extract )
- {
- if ( !is_array($$attr8_list_tmp_value) )
- {
- print_r($$attr8_list_tmp_value);
- die( 'not an array at key: '.$$attr8_list_tmp_key );
- }
- extract($$attr8_list_tmp_value);
- }
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_extract) ?><?php unset($attr8_key) ?><?php unset($attr8_value) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = 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($attr9_class))
- $attr9_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr9_class ?>"><?php unset($attr9) ?><?php $attr10_debug_info = 'a:1:{s:5:"width";s:3:"12%";}' ?><?php $attr10 = array('width'=>'12%') ?><?php $attr10_width='12%' ?><?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($attr10_class))
- $attr10['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
- $attr10['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr10 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr10) ?><?php unset($attr10_width) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:6:"weeknr";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','var'=>'weeknr','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_var='weeknr' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_var) ?><?php unset($attr11_escape) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?></td><?php unset($attr9) ?><?php $attr10_debug_info = 'a:4:{s:4:"list";s:4:"week";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr10 = array('list'=>'week','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr10_list='week' ?><?php $attr10_extract=true ?><?php $attr10_key='list_key' ?><?php $attr10_value='list_value' ?><?php
- $attr10_list_tmp_key = $attr10_key;
- $attr10_list_tmp_value = $attr10_value;
- $attr10_list_extract = $attr10_extract;
- unset($attr10_key);
- unset($attr10_value);
- if ( !isset($$attr10_list) || !is_array($$attr10_list) )
- $$attr10_list = array();
- foreach( $$attr10_list as $$attr10_list_tmp_key => $$attr10_list_tmp_value )
- {
- if ( $attr10_list_extract )
- {
- if ( !is_array($$attr10_list_tmp_value) )
- {
- print_r($$attr10_list_tmp_value);
- die( 'not an array at key: '.$$attr10_list_tmp_key );
- }
- extract($$attr10_list_tmp_value);
- }
-?><?php unset($attr10) ?><?php unset($attr10_list) ?><?php unset($attr10_extract) ?><?php unset($attr10_key) ?><?php unset($attr10_value) ?><?php $attr11_debug_info = 'a:1:{s:5:"width";s:3:"12%";}' ?><?php $attr11 = array('width'=>'12%') ?><?php $attr11_width='12%' ?><?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($attr11_class))
- $attr11['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr11_rowspan) )
- $attr11['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr11 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr11) ?><?php unset($attr11_width) ?><?php $attr12_debug_info = 'a:1:{s:5:"empty";s:3:"url";}' ?><?php $attr12 = array('empty'=>'url') ?><?php $attr12_empty='url' ?><?php
- if ( isset($attr12_true) )
- {
- if (gettype($attr12_true) === '' && gettype($attr12_true) === '1')
- $exec = $$attr12_true == true;
- else
- $exec = $attr12_true == true;
- }
- elseif ( isset($attr12_false) )
- {
- if (gettype($attr12_false) === '' && gettype($attr12_false) === '1')
- $exec = $$attr12_false == false;
- else
- $exec = $attr12_false == false;
- }
- elseif( isset($attr12_contains) )
- $exec = in_array($attr12_value,explode(',',$attr12_contains));
- elseif( isset($attr12_equals)&& isset($attr12_value) )
- $exec = $attr12_equals == $attr12_value;
- elseif( isset($attr12_lessthan)&& isset($attr12_value) )
- $exec = intval($attr12_lessthan) > intval($attr12_value);
- elseif( isset($attr12_greaterthan)&& isset($attr12_value) )
- $exec = intval($attr12_greaterthan) < intval($attr12_value);
- elseif ( isset($attr12_empty) )
- {
- if ( !isset($$attr12_empty) )
- $exec = empty($attr12_empty);
- elseif ( is_array($$attr12_empty) )
- $exec = (count($$attr12_empty)==0);
- elseif ( is_bool($$attr12_empty) )
- $exec = true;
- else
- $exec = empty( $$attr12_empty );
- }
- elseif ( isset($attr12_present) )
- {
- $exec = isset($$attr12_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr12_invert) )
- $exec = !$exec;
- if ( !empty($attr12_not) )
- $exec = !$exec;
- unset($attr12_true);
- unset($attr12_false);
- unset($attr12_notempty);
- unset($attr12_empty);
- unset($attr12_contains);
- unset($attr12_present);
- unset($attr12_invert);
- unset($attr12_not);
- unset($attr12_value);
- unset($attr12_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr12) ?><?php unset($attr12_empty) ?><?php $attr13_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"__";s:6:"escape";s:4:"true";}' ?><?php $attr13 = array('class'=>'text','raw'=>'__','escape'=>true) ?><?php $attr13_class='text' ?><?php $attr13_raw='__' ?><?php $attr13_escape=true ?><?php
- if ( isset($attr13_prefix)&& isset($attr13_key))
- $attr13_key = $attr13_prefix.$attr13_key;
- if ( isset($attr13_suffix)&& isset($attr13_key))
- $attr13_key = $attr13_key.$attr13_suffix;
- if(empty($attr13_title))
- $attr13_title = '';
- if (empty($attr13_type))
- $tmp_tag = 'span';
- else
- switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
- $attr13_title = '';
- if ( $attr13_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr13_array))
- {
- $tmpArray = $$attr13_array;
- if (!empty($attr13_var))
- $tmp_text = $tmpArray[$attr13_var];
- else
- $tmp_text = $langF($tmpArray[$attr13_text]);
- }
- elseif (!empty($attr13_text))
- $tmp_text = $langF($attr13_text);
- elseif (!empty($attr13_textvar))
- $tmp_text = $langF($$attr13_textvar);
- elseif (!empty($attr13_key))
- $tmp_text = $langF($attr13_key);
- elseif (!empty($attr13_var))
- $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
- elseif (!empty($attr13_raw))
- $tmp_text = str_replace('_',' ',$attr13_raw);
- elseif (!empty($attr13_value))
- $tmp_text = $attr13_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
- if (isset($attr13_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13) ?><?php unset($attr13_class) ?><?php unset($attr13_raw) ?><?php unset($attr13_escape) ?><?php $attr13_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:2:"nr";s:6:"escape";s:4:"true";}' ?><?php $attr13 = array('class'=>'text','var'=>'nr','escape'=>true) ?><?php $attr13_class='text' ?><?php $attr13_var='nr' ?><?php $attr13_escape=true ?><?php
- if ( isset($attr13_prefix)&& isset($attr13_key))
- $attr13_key = $attr13_prefix.$attr13_key;
- if ( isset($attr13_suffix)&& isset($attr13_key))
- $attr13_key = $attr13_key.$attr13_suffix;
- if(empty($attr13_title))
- $attr13_title = '';
- if (empty($attr13_type))
- $tmp_tag = 'span';
- else
- switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
- $attr13_title = '';
- if ( $attr13_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr13_array))
- {
- $tmpArray = $$attr13_array;
- if (!empty($attr13_var))
- $tmp_text = $tmpArray[$attr13_var];
- else
- $tmp_text = $langF($tmpArray[$attr13_text]);
- }
- elseif (!empty($attr13_text))
- $tmp_text = $langF($attr13_text);
- elseif (!empty($attr13_textvar))
- $tmp_text = $langF($$attr13_textvar);
- elseif (!empty($attr13_key))
- $tmp_text = $langF($attr13_key);
- elseif (!empty($attr13_var))
- $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
- elseif (!empty($attr13_raw))
- $tmp_text = str_replace('_',' ',$attr13_raw);
- elseif (!empty($attr13_value))
- $tmp_text = $attr13_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
- if (isset($attr13_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13) ?><?php unset($attr13_class) ?><?php unset($attr13_var) ?><?php unset($attr13_escape) ?><?php $attr13_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"__";s:6:"escape";s:4:"true";}' ?><?php $attr13 = array('class'=>'text','raw'=>'__','escape'=>true) ?><?php $attr13_class='text' ?><?php $attr13_raw='__' ?><?php $attr13_escape=true ?><?php
- if ( isset($attr13_prefix)&& isset($attr13_key))
- $attr13_key = $attr13_prefix.$attr13_key;
- if ( isset($attr13_suffix)&& isset($attr13_key))
- $attr13_key = $attr13_key.$attr13_suffix;
- if(empty($attr13_title))
- $attr13_title = '';
- if (empty($attr13_type))
- $tmp_tag = 'span';
- else
- switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
- $attr13_title = '';
- if ( $attr13_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr13_array))
- {
- $tmpArray = $$attr13_array;
- if (!empty($attr13_var))
- $tmp_text = $tmpArray[$attr13_var];
- else
- $tmp_text = $langF($tmpArray[$attr13_text]);
- }
- elseif (!empty($attr13_text))
- $tmp_text = $langF($attr13_text);
- elseif (!empty($attr13_textvar))
- $tmp_text = $langF($$attr13_textvar);
- elseif (!empty($attr13_key))
- $tmp_text = $langF($attr13_key);
- elseif (!empty($attr13_var))
- $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
- elseif (!empty($attr13_raw))
- $tmp_text = str_replace('_',' ',$attr13_raw);
- elseif (!empty($attr13_value))
- $tmp_text = $attr13_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
- if (isset($attr13_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13) ?><?php unset($attr13_class) ?><?php unset($attr13_raw) ?><?php unset($attr13_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><?php } ?><?php unset($attr11) ?><?php $attr12_debug_info = 'a:2:{s:3:"not";s:4:"true";s:5:"empty";s:3:"url";}' ?><?php $attr12 = array('not'=>true,'empty'=>'url') ?><?php $attr12_not=true ?><?php $attr12_empty='url' ?><?php
- if ( isset($attr12_true) )
- {
- if (gettype($attr12_true) === '' && gettype($attr12_true) === '1')
- $exec = $$attr12_true == true;
- else
- $exec = $attr12_true == true;
- }
- elseif ( isset($attr12_false) )
- {
- if (gettype($attr12_false) === '' && gettype($attr12_false) === '1')
- $exec = $$attr12_false == false;
- else
- $exec = $attr12_false == false;
- }
- elseif( isset($attr12_contains) )
- $exec = in_array($attr12_value,explode(',',$attr12_contains));
- elseif( isset($attr12_equals)&& isset($attr12_value) )
- $exec = $attr12_equals == $attr12_value;
- elseif( isset($attr12_lessthan)&& isset($attr12_value) )
- $exec = intval($attr12_lessthan) > intval($attr12_value);
- elseif( isset($attr12_greaterthan)&& isset($attr12_value) )
- $exec = intval($attr12_greaterthan) < intval($attr12_value);
- elseif ( isset($attr12_empty) )
- {
- if ( !isset($$attr12_empty) )
- $exec = empty($attr12_empty);
- elseif ( is_array($$attr12_empty) )
- $exec = (count($$attr12_empty)==0);
- elseif ( is_bool($$attr12_empty) )
- $exec = true;
- else
- $exec = empty( $$attr12_empty );
- }
- elseif ( isset($attr12_present) )
- {
- $exec = isset($$attr12_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr12_invert) )
- $exec = !$exec;
- if ( !empty($attr12_not) )
- $exec = !$exec;
- unset($attr12_true);
- unset($attr12_false);
- unset($attr12_notempty);
- unset($attr12_empty);
- unset($attr12_contains);
- unset($attr12_present);
- unset($attr12_invert);
- unset($attr12_not);
- unset($attr12_value);
- unset($attr12_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr12) ?><?php unset($attr12_not) ?><?php unset($attr12_empty) ?><?php $attr13_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr13 = array('title'=>'','target'=>'_self','url'=>$url,'class'=>'') ?><?php $attr13_title='' ?><?php $attr13_target='_self' ?><?php $attr13_url=$url ?><?php $attr13_class='' ?><?php
- $params = array();
- if (!empty($attr13_var1) && isset($attr13_value1))
- $params[$attr13_var1]=$attr13_value1;
- if (!empty($attr13_var2) && isset($attr13_value2))
- $params[$attr13_var2]=$attr13_value2;
- if (!empty($attr13_var3) && isset($attr13_value3))
- $params[$attr13_var3]=$attr13_value3;
- if (!empty($attr13_var4) && isset($attr13_value4))
- $params[$attr13_var4]=$attr13_value4;
- if (!empty($attr13_var5) && isset($attr13_value5))
- $params[$attr13_var5]=$attr13_value5;
- if(empty($attr13_class))
- $attr13_class='';
- if(empty($attr13_title))
- $attr13_title = '';
- if(!empty($attr13_url))
- $tmp_url = $attr13_url;
- else
- $tmp_url = Html::url($attr13_action,$attr13_subaction,!empty($attr13_id)?$attr13_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr13_name)) echo ' name="'.$attr13_name.'"'; else echo ' href="'.$tmp_url.($attr13_anchor?'#'.$attr13_anchor:'').'"' ?> class="<?php echo $attr13_class ?>" target="<?php echo $attr13_target ?>"<?php if (isset($attr13_accesskey)) echo ' accesskey="'.$attr13_accesskey.'"' ?> title="<?php echo encodeHtml($attr13_title) ?>"><?php unset($attr13) ?><?php unset($attr13_title) ?><?php unset($attr13_target) ?><?php unset($attr13_url) ?><?php unset($attr13_class) ?><?php $attr14_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"__";s:6:"escape";s:4:"true";}' ?><?php $attr14 = array('class'=>'text','raw'=>'__','escape'=>true) ?><?php $attr14_class='text' ?><?php $attr14_raw='__' ?><?php $attr14_escape=true ?><?php
- if ( isset($attr14_prefix)&& isset($attr14_key))
- $attr14_key = $attr14_prefix.$attr14_key;
- if ( isset($attr14_suffix)&& isset($attr14_key))
- $attr14_key = $attr14_key.$attr14_suffix;
- if(empty($attr14_title))
- $attr14_title = '';
- if (empty($attr14_type))
- $tmp_tag = 'span';
- else
- switch( $attr14_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 $attr14_class ?>" title="<?php echo $attr14_title ?>"><?php
- $attr14_title = '';
- if ( $attr14_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr14_array))
- {
- $tmpArray = $$attr14_array;
- if (!empty($attr14_var))
- $tmp_text = $tmpArray[$attr14_var];
- else
- $tmp_text = $langF($tmpArray[$attr14_text]);
- }
- elseif (!empty($attr14_text))
- $tmp_text = $langF($attr14_text);
- elseif (!empty($attr14_textvar))
- $tmp_text = $langF($$attr14_textvar);
- elseif (!empty($attr14_key))
- $tmp_text = $langF($attr14_key);
- elseif (!empty($attr14_var))
- $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
- elseif (!empty($attr14_raw))
- $tmp_text = str_replace('_',' ',$attr14_raw);
- elseif (!empty($attr14_value))
- $tmp_text = $attr14_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr14_maxlength) && intval($attr14_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr14_maxlength) );
- if (isset($attr14_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr14_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($attr14) ?><?php unset($attr14_class) ?><?php unset($attr14_raw) ?><?php unset($attr14_escape) ?><?php $attr14_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:2:"nr";s:6:"escape";s:4:"true";}' ?><?php $attr14 = array('class'=>'text','var'=>'nr','escape'=>true) ?><?php $attr14_class='text' ?><?php $attr14_var='nr' ?><?php $attr14_escape=true ?><?php
- if ( isset($attr14_prefix)&& isset($attr14_key))
- $attr14_key = $attr14_prefix.$attr14_key;
- if ( isset($attr14_suffix)&& isset($attr14_key))
- $attr14_key = $attr14_key.$attr14_suffix;
- if(empty($attr14_title))
- $attr14_title = '';
- if (empty($attr14_type))
- $tmp_tag = 'span';
- else
- switch( $attr14_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 $attr14_class ?>" title="<?php echo $attr14_title ?>"><?php
- $attr14_title = '';
- if ( $attr14_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr14_array))
- {
- $tmpArray = $$attr14_array;
- if (!empty($attr14_var))
- $tmp_text = $tmpArray[$attr14_var];
- else
- $tmp_text = $langF($tmpArray[$attr14_text]);
- }
- elseif (!empty($attr14_text))
- $tmp_text = $langF($attr14_text);
- elseif (!empty($attr14_textvar))
- $tmp_text = $langF($$attr14_textvar);
- elseif (!empty($attr14_key))
- $tmp_text = $langF($attr14_key);
- elseif (!empty($attr14_var))
- $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
- elseif (!empty($attr14_raw))
- $tmp_text = str_replace('_',' ',$attr14_raw);
- elseif (!empty($attr14_value))
- $tmp_text = $attr14_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr14_maxlength) && intval($attr14_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr14_maxlength) );
- if (isset($attr14_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr14_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($attr14) ?><?php unset($attr14_class) ?><?php unset($attr14_var) ?><?php unset($attr14_escape) ?><?php $attr14_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"__";s:6:"escape";s:4:"true";}' ?><?php $attr14 = array('class'=>'text','raw'=>'__','escape'=>true) ?><?php $attr14_class='text' ?><?php $attr14_raw='__' ?><?php $attr14_escape=true ?><?php
- if ( isset($attr14_prefix)&& isset($attr14_key))
- $attr14_key = $attr14_prefix.$attr14_key;
- if ( isset($attr14_suffix)&& isset($attr14_key))
- $attr14_key = $attr14_key.$attr14_suffix;
- if(empty($attr14_title))
- $attr14_title = '';
- if (empty($attr14_type))
- $tmp_tag = 'span';
- else
- switch( $attr14_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 $attr14_class ?>" title="<?php echo $attr14_title ?>"><?php
- $attr14_title = '';
- if ( $attr14_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr14_array))
- {
- $tmpArray = $$attr14_array;
- if (!empty($attr14_var))
- $tmp_text = $tmpArray[$attr14_var];
- else
- $tmp_text = $langF($tmpArray[$attr14_text]);
- }
- elseif (!empty($attr14_text))
- $tmp_text = $langF($attr14_text);
- elseif (!empty($attr14_textvar))
- $tmp_text = $langF($$attr14_textvar);
- elseif (!empty($attr14_key))
- $tmp_text = $langF($attr14_key);
- elseif (!empty($attr14_var))
- $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
- elseif (!empty($attr14_raw))
- $tmp_text = str_replace('_',' ',$attr14_raw);
- elseif (!empty($attr14_value))
- $tmp_text = $attr14_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr14_maxlength) && intval($attr14_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr14_maxlength) );
- if (isset($attr14_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr14_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($attr14) ?><?php unset($attr14_class) ?><?php unset($attr14_raw) ?><?php unset($attr14_escape) ?><?php $attr12_debug_info = 'a:0:{}' ?><?php $attr12 = array() ?></a><?php unset($attr12) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><?php } ?><?php unset($attr11) ?><?php $attr12_debug_info = 'a:1:{s:4:"true";s:9:"var:today";}' ?><?php $attr12 = array('true'=>$today) ?><?php $attr12_true=$today ?><?php
- if ( isset($attr12_true) )
- {
- if (gettype($attr12_true) === '' && gettype($attr12_true) === '1')
- $exec = $$attr12_true == true;
- else
- $exec = $attr12_true == true;
- }
- elseif ( isset($attr12_false) )
- {
- if (gettype($attr12_false) === '' && gettype($attr12_false) === '1')
- $exec = $$attr12_false == false;
- else
- $exec = $attr12_false == false;
- }
- elseif( isset($attr12_contains) )
- $exec = in_array($attr12_value,explode(',',$attr12_contains));
- elseif( isset($attr12_equals)&& isset($attr12_value) )
- $exec = $attr12_equals == $attr12_value;
- elseif( isset($attr12_lessthan)&& isset($attr12_value) )
- $exec = intval($attr12_lessthan) > intval($attr12_value);
- elseif( isset($attr12_greaterthan)&& isset($attr12_value) )
- $exec = intval($attr12_greaterthan) < intval($attr12_value);
- elseif ( isset($attr12_empty) )
- {
- if ( !isset($$attr12_empty) )
- $exec = empty($attr12_empty);
- elseif ( is_array($$attr12_empty) )
- $exec = (count($$attr12_empty)==0);
- elseif ( is_bool($$attr12_empty) )
- $exec = true;
- else
- $exec = empty( $$attr12_empty );
- }
- elseif ( isset($attr12_present) )
- {
- $exec = isset($$attr12_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr12_invert) )
- $exec = !$exec;
- if ( !empty($attr12_not) )
- $exec = !$exec;
- unset($attr12_true);
- unset($attr12_false);
- unset($attr12_notempty);
- unset($attr12_empty);
- unset($attr12_contains);
- unset($attr12_present);
- unset($attr12_invert);
- unset($attr12_not);
- unset($attr12_value);
- unset($attr12_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr12) ?><?php unset($attr12_true) ?><?php $attr13_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"*";s:6:"escape";s:4:"true";}' ?><?php $attr13 = array('class'=>'text','raw'=>'*','escape'=>true) ?><?php $attr13_class='text' ?><?php $attr13_raw='*' ?><?php $attr13_escape=true ?><?php
- if ( isset($attr13_prefix)&& isset($attr13_key))
- $attr13_key = $attr13_prefix.$attr13_key;
- if ( isset($attr13_suffix)&& isset($attr13_key))
- $attr13_key = $attr13_key.$attr13_suffix;
- if(empty($attr13_title))
- $attr13_title = '';
- if (empty($attr13_type))
- $tmp_tag = 'span';
- else
- switch( $attr13_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 $attr13_class ?>" title="<?php echo $attr13_title ?>"><?php
- $attr13_title = '';
- if ( $attr13_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr13_array))
- {
- $tmpArray = $$attr13_array;
- if (!empty($attr13_var))
- $tmp_text = $tmpArray[$attr13_var];
- else
- $tmp_text = $langF($tmpArray[$attr13_text]);
- }
- elseif (!empty($attr13_text))
- $tmp_text = $langF($attr13_text);
- elseif (!empty($attr13_textvar))
- $tmp_text = $langF($$attr13_textvar);
- elseif (!empty($attr13_key))
- $tmp_text = $langF($attr13_key);
- elseif (!empty($attr13_var))
- $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
- elseif (!empty($attr13_raw))
- $tmp_text = str_replace('_',' ',$attr13_raw);
- elseif (!empty($attr13_value))
- $tmp_text = $attr13_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr13_maxlength) && intval($attr13_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr13_maxlength) );
- if (isset($attr13_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr13_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($attr13) ?><?php unset($attr13_class) ?><?php unset($attr13_raw) ?><?php unset($attr13_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><?php } ?><?php unset($attr11) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = array() ?></td><?php unset($attr10) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?><?php } ?><?php unset($attr9) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></tr><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></table><?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
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('colspan'=>'2') ?><?php $attr7_colspan='2' ?><?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($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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:12:"message:date";}' ?><?php $attr8 = array('title'=>lang('date')) ?><?php $attr8_title=lang('date') ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($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;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?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;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:4:"date";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'date','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='date' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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() ?></td><?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;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:9:{s:4:"list";s:9:"all_years";s:4:"name";s:4:"year";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'all_years','name'=>'year','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='all_years' ?><?php $attr8_name='year' ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
-$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
-}
-else
-{
-if ( $attr8_addempty!==FALSE )
-{
- if ($attr8_addempty===TRUE)
- $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
- else
- $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
-}
-?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
-if (count($$attr8_list)<=1) echo ' disabled="disabled"';
-if ($attr8_multiple) echo ' multiple="multiple"';
-if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
-echo ' size="'.intval($attr8_size).'"';
-?>><?php
- if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- foreach( $attr8_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr8_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr8_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
-?></select><?php
-if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
-if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
-}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_-_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','raw'=>'_-_','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_raw='_-_' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_raw) ?><?php unset($attr8_escape) ?><?php $attr8_debug_info = 'a:9:{s:4:"list";s:10:"all_months";s:4:"name";s:5:"month";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'all_months','name'=>'month','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='all_months' ?><?php $attr8_name='month' ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
-$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
-}
-else
-{
-if ( $attr8_addempty!==FALSE )
-{
- if ($attr8_addempty===TRUE)
- $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
- else
- $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
-}
-?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
-if (count($$attr8_list)<=1) echo ' disabled="disabled"';
-if ($attr8_multiple) echo ' multiple="multiple"';
-if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
-echo ' size="'.intval($attr8_size).'"';
-?>><?php
- if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- foreach( $attr8_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr8_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr8_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
-?></select><?php
-if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
-if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
-}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_-_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','raw'=>'_-_','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_raw='_-_' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_raw) ?><?php unset($attr8_escape) ?><?php $attr8_debug_info = 'a:9:{s:4:"list";s:8:"all_days";s:4:"name";s:3:"day";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'all_days','name'=>'day','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='all_days' ?><?php $attr8_name='day' ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
-$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
-}
-else
-{
-if ( $attr8_addempty!==FALSE )
-{
- if ($attr8_addempty===TRUE)
- $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
- else
- $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
-}
-?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
-if (count($$attr8_list)<=1) echo ' disabled="disabled"';
-if ($attr8_multiple) echo ' multiple="multiple"';
-if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
-echo ' size="'.intval($attr8_size).'"';
-?>><?php
- if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- foreach( $attr8_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr8_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr8_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
-?></select><?php
-if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
-if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
-}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?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;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?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;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:9:"date_time";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'date_time','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='date_time' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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() ?></td><?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;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:9:{s:4:"list";s:9:"all_hours";s:4:"name";s:4:"hour";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'all_hours','name'=>'hour','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='all_hours' ?><?php $attr8_name='hour' ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
-$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
-}
-else
-{
-if ( $attr8_addempty!==FALSE )
-{
- if ($attr8_addempty===TRUE)
- $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
- else
- $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
-}
-?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
-if (count($$attr8_list)<=1) echo ' disabled="disabled"';
-if ($attr8_multiple) echo ' multiple="multiple"';
-if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
-echo ' size="'.intval($attr8_size).'"';
-?>><?php
- if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- foreach( $attr8_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr8_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr8_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
-?></select><?php
-if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
-if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
-}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_-_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','raw'=>'_-_','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_raw='_-_' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_raw) ?><?php unset($attr8_escape) ?><?php $attr8_debug_info = 'a:9:{s:4:"list";s:11:"all_minutes";s:4:"name";s:6:"minute";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'all_minutes','name'=>'minute','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='all_minutes' ?><?php $attr8_name='minute' ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
-$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
-}
-else
-{
-if ( $attr8_addempty!==FALSE )
-{
- if ($attr8_addempty===TRUE)
- $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
- else
- $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
-}
-?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
-if (count($$attr8_list)<=1) echo ' disabled="disabled"';
-if ($attr8_multiple) echo ' multiple="multiple"';
-if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
-echo ' size="'.intval($attr8_size).'"';
-?>><?php
- if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- foreach( $attr8_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr8_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr8_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
-?></select><?php
-if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
-if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
-}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_-_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','raw'=>'_-_','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_raw='_-_' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_raw) ?><?php unset($attr8_escape) ?><?php $attr8_debug_info = 'a:9:{s:4:"list";s:11:"all_seconds";s:4:"name";s:6:"second";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";s:4:"lang";s:5:"false";}' ?><?php $attr8 = array('list'=>'all_seconds','name'=>'second','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='all_seconds' ?><?php $attr8_name='second' ?><?php $attr8_onchange='' ?><?php $attr8_title='' ?><?php $attr8_class='' ?><?php $attr8_addempty=false ?><?php $attr8_multiple=false ?><?php $attr8_size='1' ?><?php $attr8_lang=false ?><?php
-$attr8_tmp_list = $$attr8_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr8_name)?'- '.lang('EMPTY').' -':$attr8_tmp_list[$$attr8_name];
-}
-else
-{
-if ( $attr8_addempty!==FALSE )
-{
- if ($attr8_addempty===TRUE)
- $$attr8_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr8_list;
- else
- $$attr8_list = array(''=>'- '.lang($attr8_addempty).' -')+$$attr8_list;
-}
-?><select<?php if ($attr8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name; if ($attr8_multiple) echo '[]'; ?>" onchange="<?php echo $attr8_onchange ?>" title="<?php echo $attr8_title ?>" class="<?php echo $attr8_class ?>"<?php
-if (count($$attr8_list)<=1) echo ' disabled="disabled"';
-if ($attr8_multiple) echo ' multiple="multiple"';
-if (in_array($attr8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
-echo ' size="'.intval($attr8_size).'"';
-?>><?php
- if ( isset($$attr8_name) && isset($attr8_tmp_list[$$attr8_name]) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- foreach( $attr8_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr8_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr8_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr8_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
-?></select><?php
-if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" value="" />';
-if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" value="'.$box_key.'" />';
-}
-?><?php unset($attr8) ?><?php unset($attr8_list) ?><?php unset($attr8_name) ?><?php unset($attr8_onchange) ?><?php unset($attr8_title) ?><?php unset($attr8_class) ?><?php unset($attr8_addempty) ?><?php unset($attr8_multiple) ?><?php unset($attr8_size) ?><?php unset($attr8_lang) ?><?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() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:2:{s:6:"equals";s:4:"text";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'text','value'=>$type) ?><?php $attr4_equals='text' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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:2:{s:5:"class";s:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'fx','colspan'=>'2') ?><?php $attr6_class='fx' ?><?php $attr6_colspan='2' ?><?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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:8:{s:5:"class";s:4:"text";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"text";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"255";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'text','default'=>'','type'=>'text','name'=>'text','size'=>'50','maxlength'=>'255','onchange'=>'','readonly'=>false) ?><?php $attr7_class='text' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='text' ?><?php $attr7_size='50' ?><?php $attr7_maxlength='255' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
- if ($attr7_readonly && empty($$attr7_name)) $$attr7_name = '- '.lang('EMPTY').' -';
- if(!isset($attr7_default)) $attr7_default='';
-?><?php if (!$attr7_readonly || $attr7_type=='hidden') {
-?><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
- } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?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:1:{s:5:"field";s:4:"text";}' ?><?php $attr7 = array('field'=>'text') ?><?php $attr7_field='text' ?><?php
-if (isset($errors[0])) $attr7_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr7_field ?>.focus();
-document.forms[0].<?php echo $attr7_field ?>.select();
-</script>
-<?php unset($attr7) ?><?php unset($attr7_field) ?><?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:2:{s:6:"equals";s:8:"longtext";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'longtext','value'=>$type) ?><?php $attr4_equals='longtext' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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:2:{s:5:"class";s:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('class'=>'fx','colspan'=>'2') ?><?php $attr6_class='fx' ?><?php $attr6_colspan='2' ?><?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_class) ?><?php unset($attr6_colspan) ?><?php $attr7_debug_info = 'a:2:{s:6:"equals";s:4:"html";s:5:"value";s:10:"var:editor";}' ?><?php $attr7 = array('equals'=>'html','value'=>$editor) ?><?php $attr7_equals='html' ?><?php $attr7_value=$editor ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_equals) ?><?php unset($attr7_value) ?><?php $attr8_debug_info = 'a:2:{s:4:"name";s:4:"text";s:4:"type";s:4:"html";}' ?><?php $attr8 = array('name'=>'text','type'=>'html') ?><?php $attr8_name='text' ?><?php $attr8_type='html' ?><?php
- function checkbox( $name,$value=false,$writable=true,$params=Array() )
- {
- $src = '<input type="checkbox" name="'.$name.'"';
- foreach( $params as $name=>$val )
- $src .= " $name=\"$val\"";
- if ( !$writable )
- $src .= ' disabled="disabled"';
- if ( $value )
- $src .= ' value="1" checked="checked"';
- $src .= ' />';
- return $src;
- }
- function selectBox( $name,$values,$default='',$params=Array() )
- {
- if ( ! is_array($values) )
- $values = array($values);
- $src = '<select size="1" name="'.$name.'"';
- foreach( $params as $name=>$value )
- $src .= " $name=\"$value\"";
- $src .= '>';
- foreach( $values as $key=>$value )
- {
- $src .= '<option value="'.$key.'"';
- if ($key == $default)
- $src .= ' selected="selected"';
- $src .= '>'.$value.'</option>';
- }
- $src .= '</select>';
- return $src;
- }
- ?><?php
-switch( $attr8_type )
-{
- case 'fckeditor':
- case 'html':
- if ( $this->isEditMode() )
- {
- include('./editor/fckeditor.php');
- $editor = new FCKeditor( $attr8_name ) ;
- $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
- $editor->Value = $$attr8_name;
- $editor->Height = '290';
- $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
- $editor->Create();
- }
- else
- {
- echo ($$attr8_name);
- }
- break;
- case 'wiki':
- $conf_tags = $conf['editor']['text-markup'];
- if ( $this->isEditMode() )
- {
- ?>
-<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
-<script name="JavaScript" type="text/javascript">
-function strong()
-{
- insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
-}
-function emphatic()
-{
- insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
-}
-function link()
-{
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr8_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
-}
-function image()
-{
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr8_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
-}
-function list()
-{
- insert('<?php echo $attr8_name ?>',"","\n");
- while( true )
- {
- t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
- if ( t != '' && t != null )
- insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
- else
- break;
- }
-}
-function numlist()
-{
- insert('<?php echo $attr8_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
-}
-function table()
-{
- column=1;
- while( true )
- {
- if ( column==1 )
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
- else
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
- t = window.prompt(text,'');
- if ( t != '' && t != null )
- {
- insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
- column++;
- }
- else
- {
- if (column==1)
- {
- break;
- }
- else
- {
- insert('text',"\n","");
- column=1;
- }
- }
- }
-}
-</script>
- <table>
- <tr>
- <noscript><input type="text" name="addtext" size="10" /></noscript>
- <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
- <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
- </tr>
- </table>
- <?php ?>
-<?php
- echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
- }
- else
- {
- $attr8_tmp_doc = new DocumentElement();
- $attr8_tmp_text = $$attr8_name;
- if ( !is_array($attr8_tmp_text))
- $attr8_tmp_text = explode("\n",$attr8_tmp_text);
- $attr8_tmp_doc->parse($attr8_tmp_text);
- echo $attr8_tmp_doc->render('application/html');
- }
- break;
- case 'text':
- case 'raw':
- if ( $this->isEditMode() )
- echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
- else
- echo nl2br($$attr8_name);
- break;
- case 'dom':
- case 'tree':
- $attr8_tmp_doc = new DocumentElement();
- $attr8_tmp_text = $$attr8_name;
- if ( !is_array($attr8_tmp_text))
- $attr8_tmp_text = explode("\n",$attr8_tmp_text);
- $attr8_tmp_doc->parse($attr8_tmp_text);
- echo $attr8_tmp_doc->render('application/html-dom');
- break;
- default:
- echo "Unknown editor type: ".$attr8_type;
-}
-?><?php unset($attr8) ?><?php unset($attr8_name) ?><?php unset($attr8_type) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:6:"equals";s:4:"wiki";s:5:"value";s:10:"var:editor";}' ?><?php $attr7 = array('equals'=>'wiki','value'=>$editor) ?><?php $attr7_equals='wiki' ?><?php $attr7_value=$editor ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_equals) ?><?php unset($attr7_value) ?><?php $attr8_debug_info = 'a:2:{s:4:"name";s:4:"text";s:4:"type";s:4:"wiki";}' ?><?php $attr8 = array('name'=>'text','type'=>'wiki') ?><?php $attr8_name='text' ?><?php $attr8_type='wiki' ?><?php
- function checkbox( $name,$value=false,$writable=true,$params=Array() )
- {
- $src = '<input type="checkbox" name="'.$name.'"';
- foreach( $params as $name=>$val )
- $src .= " $name=\"$val\"";
- if ( !$writable )
- $src .= ' disabled="disabled"';
- if ( $value )
- $src .= ' value="1" checked="checked"';
- $src .= ' />';
- return $src;
- }
- function selectBox( $name,$values,$default='',$params=Array() )
- {
- if ( ! is_array($values) )
- $values = array($values);
- $src = '<select size="1" name="'.$name.'"';
- foreach( $params as $name=>$value )
- $src .= " $name=\"$value\"";
- $src .= '>';
- foreach( $values as $key=>$value )
- {
- $src .= '<option value="'.$key.'"';
- if ($key == $default)
- $src .= ' selected="selected"';
- $src .= '>'.$value.'</option>';
- }
- $src .= '</select>';
- return $src;
- }
- ?><?php
-switch( $attr8_type )
-{
- case 'fckeditor':
- case 'html':
- if ( $this->isEditMode() )
- {
- include('./editor/fckeditor.php');
- $editor = new FCKeditor( $attr8_name ) ;
- $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
- $editor->Value = $$attr8_name;
- $editor->Height = '290';
- $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
- $editor->Create();
- }
- else
- {
- echo ($$attr8_name);
- }
- break;
- case 'wiki':
- $conf_tags = $conf['editor']['text-markup'];
- if ( $this->isEditMode() )
- {
- ?>
-<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
-<script name="JavaScript" type="text/javascript">
-function strong()
-{
- insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
-}
-function emphatic()
-{
- insert('<?php echo $attr8_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
-}
-function link()
-{
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr8_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
-}
-function image()
-{
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr8_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
-}
-function list()
-{
- insert('<?php echo $attr8_name ?>',"","\n");
- while( true )
- {
- t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
- if ( t != '' && t != null )
- insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
- else
- break;
- }
-}
-function numlist()
-{
- insert('<?php echo $attr8_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
-}
-function table()
-{
- column=1;
- while( true )
- {
- if ( column==1 )
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
- else
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
- t = window.prompt(text,'');
- if ( t != '' && t != null )
- {
- insert('<?php echo $attr8_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
- column++;
- }
- else
- {
- if (column==1)
- {
- break;
- }
- else
- {
- insert('text',"\n","");
- column=1;
- }
- }
- }
-}
-</script>
- <table>
- <tr>
- <noscript><input type="text" name="addtext" size="10" /></noscript>
- <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
- <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
+ ?>
+<?php unset($attr5_present); ?><?php $attr6_present='publish'; ?> <?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php ?> <?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($attr7_class))
+ $attr7_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr7_class ?>"><?php ?><?php $attr8_colspan='2'; ?> <?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($attr8_class))
+ $attr8_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) )
+ $attr8_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr8_width )) { ?> width="<?php echo $attr8_width ?>" <?php }
+ if ( isset($attr8_style )) { ?> style="<?php echo $attr8_style ?>" <?php }
+ if ( isset($attr8_class )) { ?> class="<?php echo $attr8_class ?>" <?php }
+ if ( isset($attr8_colspan)) { ?> colspan="<?php echo $attr8_colspan ?>" <?php }
+ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
+ ?>><?php unset($attr8_colspan); ?><?php $attr9_title=lang('options'); ?> <fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($attr9_title) ?></legend><?php } ?><?php unset($attr9_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php } ?><?php ?><?php $attr5_present='release'; ?> <?php
+ $attr5_tmp_exec = isset($$attr5_present);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
+ {
+ ?>
+<?php unset($attr5_present); ?><?php ?> <?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($attr6_class))
+ $attr6_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr6_class ?>"><?php ?><?php $attr7_class='fx'; $attr7_colspan='2'; ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php unset($attr7_class);unset($attr7_colspan); ?><?php $attr8_default=false; $attr8_readonly=false; $attr8_name='release'; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $checked = $$attr8_name;
+ else
+ $checked = $attr8_default;
+ ?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+ if ( $attr8_readonly && $checked )
+ {
+ ?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
+ }
+ ?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php $attr8_for='release'; ?> <label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8_for); ?><?php $attr9_class='text'; $attr9_text='GLOBAL_RELEASE'; $attr9_escape=true; ?> <?php
+ if ( isset($attr9_prefix)&& isset($attr9_key))
+ $attr9_key = $attr9_prefix.$attr9_key;
+ if ( isset($attr9_suffix)&& isset($attr9_key))
+ $attr9_key = $attr9_key.$attr9_suffix;
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if (empty($attr9_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
+ $attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr9_array))
+ {
+ $tmpArray = $$attr9_array;
+ if (!empty($attr9_var))
+ $tmp_text = $tmpArray[$attr9_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr9_text]);
+ }
+ elseif (!empty($attr9_text))
+ $tmp_text = $langF($attr9_text);
+ elseif (!empty($attr9_textvar))
+ $tmp_text = $langF($$attr9_textvar);
+ elseif (!empty($attr9_key))
+ $tmp_text = $langF($attr9_key);
+ elseif (!empty($attr9_var))
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
+ elseif (!empty($attr9_raw))
+ $tmp_text = str_replace('_',' ',$attr9_raw);
+ elseif (!empty($attr9_value))
+ $tmp_text = $attr9_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
+ if (isset($attr9_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9_class);unset($attr9_text);unset($attr9_escape); ?><?php ?> </label><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr5_present='publish'; ?> <?php
+ $attr5_tmp_exec = isset($$attr5_present);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
+ {
+ ?>
+<?php unset($attr5_present); ?><?php ?> <?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($attr6_class))
+ $attr6_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr6_class ?>"><?php ?><?php $attr7_class='fx'; $attr7_colspan='2'; ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php unset($attr7_class);unset($attr7_colspan); ?><?php $attr8_default=false; $attr8_readonly=false; $attr8_name='publish'; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $checked = $$attr8_name;
+ else
+ $checked = $attr8_default;
+ ?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+ if ( $attr8_readonly && $checked )
+ {
+ ?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
+ }
+ ?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php $attr8_for='publish'; ?> <label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8_for); ?><?php $attr9_class='text'; $attr9_text='PAGE_PUBLISH_AFTER_SAVE'; $attr9_escape=true; ?> <?php
+ if ( isset($attr9_prefix)&& isset($attr9_key))
+ $attr9_key = $attr9_prefix.$attr9_key;
+ if ( isset($attr9_suffix)&& isset($attr9_key))
+ $attr9_key = $attr9_key.$attr9_suffix;
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if (empty($attr9_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
+ $attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr9_array))
+ {
+ $tmpArray = $$attr9_array;
+ if (!empty($attr9_var))
+ $tmp_text = $tmpArray[$attr9_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr9_text]);
+ }
+ elseif (!empty($attr9_text))
+ $tmp_text = $langF($attr9_text);
+ elseif (!empty($attr9_textvar))
+ $tmp_text = $langF($$attr9_textvar);
+ elseif (!empty($attr9_key))
+ $tmp_text = $langF($attr9_key);
+ elseif (!empty($attr9_var))
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
+ elseif (!empty($attr9_raw))
+ $tmp_text = str_replace('_',' ',$attr9_raw);
+ elseif (!empty($attr9_value))
+ $tmp_text = $attr9_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
+ if (isset($attr9_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9_class);unset($attr9_text);unset($attr9_escape); ?><?php ?> </label><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?> <?php
+ if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
+ $attr6_type = 'submit';
+ if (isset($attr6_src))
+ $attr6_type = 'image';
+ else
+ $attr6_src = '';
+ ?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+ ?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
+ </td>
</tr>
</table>
- <?php ?>
-<?php
- echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
- }
- else
- {
- $attr8_tmp_doc = new DocumentElement();
- $attr8_tmp_text = $$attr8_name;
- if ( !is_array($attr8_tmp_text))
- $attr8_tmp_text = explode("\n",$attr8_tmp_text);
- $attr8_tmp_doc->parse($attr8_tmp_text);
- echo $attr8_tmp_doc->render('application/html');
- }
- break;
- case 'text':
- case 'raw':
- if ( $this->isEditMode() )
- echo '<textarea name="'.$attr8_name.'" class="editor" style="width:100%;height:300px;">'.$$attr8_name.'</textarea>';
- else
- echo nl2br($$attr8_name);
- break;
- case 'dom':
- case 'tree':
- $attr8_tmp_doc = new DocumentElement();
- $attr8_tmp_text = $$attr8_name;
- if ( !is_array($attr8_tmp_text))
- $attr8_tmp_text = explode("\n",$attr8_tmp_text);
- $attr8_tmp_doc->parse($attr8_tmp_text);
- echo $attr8_tmp_doc->render('application/html-dom');
- break;
- default:
- echo "Unknown editor type: ".$attr8_type;
-}
-?><?php unset($attr8) ?><?php unset($attr8_name) ?><?php unset($attr8_type) ?><?php $attr8_debug_info = 'a:1:{s:4:"true";s:9:"mode:edit";}' ?><?php $attr8 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr8_true=$this->getRequestVar("mode")=="edit" ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr8) ?><?php unset($attr8_true) ?><?php $attr9_debug_info = 'a:1:{s:5:"title";s:12:"message:help";}' ?><?php $attr9 = array('title'=>lang('help')) ?><?php $attr9_title=lang('help') ?><fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($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 $attr9_debug_info = 'a:4:{s:5:"width";s:4:"100%";s:5:"space";s:3:"0px";s:7:"padding";s:3:"0px";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr9 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr9_width='100%' ?><?php $attr9_space='0px' ?><?php $attr9_padding='0px' ?><?php $attr9_rowclasses='odd,even' ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr9_class))
- $attr9_class='';
- if (!empty($attr9_widths))
- {
- $column_widths = explode(',',$attr9_widths);
- unset($attr9['widths']);
- }
- if (!empty($attr9_classes))
- {
- $row_classes = explode(',',$attr9_rowclasses);
- $row_class_idx = 999;
- unset($attr9['rowclasses']);
- }
- if (!empty($attr9_rowclasses))
- {
- $row_classes = explode(',',$attr9_rowclasses);
- $row_class_idx = 999;
- unset($attr9['rowclasses']);
- }
- if (!empty($attr9_columnclasses))
- {
- $column_classes = explode(',',$attr9_columnclasses);
- unset($attr9['columnclasses']);
- }
-?><table class="<?php echo $attr9_class ?>" cellspacing="<?php echo $attr9_space ?>" width="<?php echo $attr9_width ?>" cellpadding="<?php echo $attr9_padding ?>"><?php unset($attr9) ?><?php unset($attr9_width) ?><?php unset($attr9_space) ?><?php unset($attr9_padding) ?><?php unset($attr9_rowclasses) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = 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($attr10_class))
- $attr10['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
- $attr10['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr10 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:38:"config:editor/text-markup/strong-begin";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['strong-begin'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['strong-begin'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:18:"text_markup_strong";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','key'=>'text_markup_strong','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_key='text_markup_strong' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_key) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:36:"config:editor/text-markup/strong-end";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['strong-end'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['strong-end'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/emphatic-begin";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['emphatic-begin'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['emphatic-begin'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:20:"text_markup_emphatic";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','key'=>'text_markup_emphatic','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_key='text_markup_emphatic' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_key) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:38:"config:editor/text-markup/emphatic-end";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['emphatic-end'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['emphatic-end'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?></td><?php unset($attr9) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = 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($attr10_class))
- $attr10['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
- $attr10['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr10 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:39:"config:editor/text-markup/list-numbered";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['list-numbered'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['list-numbered'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:25:"text_markup_numbered_list";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','key'=>'text_markup_numbered_list','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_key='text_markup_numbered_list' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_key) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:39:"config:editor/text-markup/list-numbered";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['list-numbered'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['list-numbered'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?></td><?php unset($attr9) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = 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($attr10_class))
- $attr10['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
- $attr10['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr10 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:41:"config:editor/text-markup/list-unnumbered";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['list-unnumbered'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['list-unnumbered'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:27:"text_markup_unnumbered_list";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','key'=>'text_markup_unnumbered_list','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_key='text_markup_unnumbered_list' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_key) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:41:"config:editor/text-markup/list-unnumbered";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['list-unnumbered'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['list-unnumbered'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?></td><?php unset($attr9) ?><?php $attr10_debug_info = 'a:0:{}' ?><?php $attr10 = 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($attr10_class))
- $attr10['class']=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr10_rowspan) )
- $attr10['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr10 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr10) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:17:"text_markup_table";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','key'=>'text_markup_table','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_key='text_markup_table' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_key) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"...";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','raw'=>'...','escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_raw='...' ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_raw) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:40:"config:editor/text-markup/table-cell-sep";s:6:"escape";s:4:"true";}' ?><?php $attr11 = array('class'=>'text','value'=>@$conf['editor']['text-markup']['table-cell-sep'],'escape'=>true) ?><?php $attr11_class='text' ?><?php $attr11_value=@$conf['editor']['text-markup']['table-cell-sep'] ?><?php $attr11_escape=true ?><?php
- if ( isset($attr11_prefix)&& isset($attr11_key))
- $attr11_key = $attr11_prefix.$attr11_key;
- if ( isset($attr11_suffix)&& isset($attr11_key))
- $attr11_key = $attr11_key.$attr11_suffix;
- if(empty($attr11_title))
- $attr11_title = '';
- if (empty($attr11_type))
- $tmp_tag = 'span';
- else
- switch( $attr11_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 $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
- $attr11_title = '';
- if ( $attr11_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr11_array))
- {
- $tmpArray = $$attr11_array;
- if (!empty($attr11_var))
- $tmp_text = $tmpArray[$attr11_var];
- else
- $tmp_text = $langF($tmpArray[$attr11_text]);
- }
- elseif (!empty($attr11_text))
- $tmp_text = $langF($attr11_text);
- elseif (!empty($attr11_textvar))
- $tmp_text = $langF($$attr11_textvar);
- elseif (!empty($attr11_key))
- $tmp_text = $langF($attr11_key);
- elseif (!empty($attr11_var))
- $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
- elseif (!empty($attr11_raw))
- $tmp_text = str_replace('_',' ',$attr11_raw);
- elseif (!empty($attr11_value))
- $tmp_text = $attr11_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr11_maxlength) && intval($attr11_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr11_maxlength) );
- if (isset($attr11_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr11_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($attr11) ?><?php unset($attr11_class) ?><?php unset($attr11_value) ?><?php unset($attr11_escape) ?><?php $attr11_debug_info = 'a:0:{}' ?><?php $attr11 = array() ?><br/><?php unset($attr11) ?><?php $attr9_debug_info = 'a:0:{}' ?><?php $attr9 = array() ?></td><?php unset($attr9) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?></table><?php unset($attr8) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:6:"equals";s:4:"text";s:5:"value";s:10:"var:editor";}' ?><?php $attr7 = array('equals'=>'text','value'=>$editor) ?><?php $attr7_equals='text' ?><?php $attr7_value=$editor ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_equals) ?><?php unset($attr7_value) ?><?php $attr8_debug_info = 'a:5:{s:4:"name";s:4:"text";s:4:"rows";s:2:"25";s:4:"cols";s:2:"70";s:5:"class";s:8:"longtext";s:7:"default";s:0:"";}' ?><?php $attr8 = array('name'=>'text','rows'=>'25','cols'=>'70','class'=>'longtext','default'=>'') ?><?php $attr8_name='text' ?><?php $attr8_rows='25' ?><?php $attr8_cols='70' ?><?php $attr8_class='longtext' ?><?php $attr8_default='' ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ( !$attr8_readonly) {
-?><textarea <?php if ($attr8_readonly) echo ' disabled="true"' ?> class="<?php echo $attr8_class ?>" name="<?php echo $attr8_name ?>" rows="<?php echo $attr8_rows ?>" cols="<?php echo $attr8_cols ?>"><?php echo htmlentities(isset($$attr8_name)?$$attr8_name:$attr8_default) ?></textarea><?php
- } else {
-?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8) ?><?php unset($attr8_name) ?><?php unset($attr8_rows) ?><?php unset($attr8_cols) ?><?php unset($attr8_class) ?><?php unset($attr8_default) ?><?php $attr8_debug_info = 'a:1:{s:5:"field";s:4:"text";}' ?><?php $attr8 = array('field'=>'text') ?><?php $attr8_field='text' ?><?php
-if (isset($errors[0])) $attr8_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr8_field ?>.focus();
-document.forms[0].<?php echo $attr8_field ?>.select();
-</script>
-<?php unset($attr8) ?><?php unset($attr8_field) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?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:2:{s:6:"equals";s:4:"link";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'link','value'=>$type) ?><?php $attr4_equals='link' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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;
- $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:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"link_target";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'link_target','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='link_target' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?php unset($attr7_escape) ?><?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:9:{s:4:"list";s:7:"objects";s:4:"name";s:12:"linkobjectid";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";s:4:"lang";s:5:"false";}' ?><?php $attr7 = array('list'=>'objects','name'=>'linkobjectid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='objects' ?><?php $attr7_name='linkobjectid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php $attr7_lang=false ?><?php
-$attr7_tmp_list = $$attr7_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
-}
-else
-{
-if ( $attr7_addempty!==FALSE )
-{
- if ($attr7_addempty===TRUE)
- $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
- else
- $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
-}
-?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
- if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
- $attr7_tmp_default = $$attr7_name;
- elseif ( isset($attr7_default) )
- $attr7_tmp_default = $attr7_default;
- else
- $attr7_tmp_default = '';
- foreach( $attr7_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr7_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr7_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 unset($attr7_lang) ?><?php $attr7_debug_info = 'a:1:{s:5:"field";s:12:"linkobjectid";}' ?><?php $attr7 = array('field'=>'linkobjectid') ?><?php $attr7_field='linkobjectid' ?><?php
-if (isset($errors[0])) $attr7_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr7_field ?>.focus();
-document.forms[0].<?php echo $attr7_field ?>.select();
-</script>
-<?php unset($attr7) ?><?php unset($attr7_field) ?><?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:1:{s:4:"true";s:9:"mode:edit";}' ?><?php $attr5 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr5_true=$this->getRequestVar("mode")=="edit" ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr5) ?><?php unset($attr5_true) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = 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($attr6_class))
- $attr6_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?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;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:8:"link_url";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'link_url','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='link_url' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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() ?></td><?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;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:7:"linkurl";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr8 = array('class'=>'','default'=>'','type'=>'text','name'=>'linkurl','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr8_class='' ?><?php $attr8_default='' ?><?php $attr8_type='text' ?><?php $attr8_name='linkurl' ?><?php $attr8_size='40' ?><?php $attr8_maxlength='256' ?><?php $attr8_onchange='' ?><?php $attr8_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
- if(!isset($attr8_default)) $attr8_default='';
-?><?php if (!$attr8_readonly || $attr8_type=='hidden') {
-?><input<?php if ($attr8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" name="<?php echo $attr8_name ?><?php if ($attr8_readonly) echo '_disabled' ?>" type="<?php echo $attr8_type ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
-if ($attr8_readonly) {
-?><input type="hidden" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" value="<?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr8_class ?>"><?php echo isset($$attr8_name)?$$attr8_name:$attr8_default ?></span><?php } ?><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_default) ?><?php unset($attr8_type) ?><?php unset($attr8_name) ?><?php unset($attr8_size) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_onchange) ?><?php unset($attr8_readonly) ?><?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:2:{s:6:"equals";s:4:"list";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'list','value'=>$type) ?><?php $attr4_equals='list' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:9:{s:4:"list";s:7:"objects";s:4:"name";s:12:"linkobjectid";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";s:4:"lang";s:5:"false";}' ?><?php $attr7 = array('list'=>'objects','name'=>'linkobjectid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='objects' ?><?php $attr7_name='linkobjectid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php $attr7_lang=false ?><?php
-$attr7_tmp_list = $$attr7_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
-}
-else
-{
-if ( $attr7_addempty!==FALSE )
-{
- if ($attr7_addempty===TRUE)
- $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
- else
- $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
-}
-?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
- if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
- $attr7_tmp_default = $$attr7_name;
- elseif ( isset($attr7_default) )
- $attr7_tmp_default = $attr7_default;
- else
- $attr7_tmp_default = '';
- foreach( $attr7_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr7_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr7_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 unset($attr7_lang) ?><?php $attr7_debug_info = 'a:1:{s:5:"field";s:12:"linkobjectid";}' ?><?php $attr7 = array('field'=>'linkobjectid') ?><?php $attr7_field='linkobjectid' ?><?php
-if (isset($errors[0])) $attr7_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr7_field ?>.focus();
-document.forms[0].<?php echo $attr7_field ?>.select();
-</script>
-<?php unset($attr7) ?><?php unset($attr7_field) ?><?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:2:{s:6:"equals";s:6:"number";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'number','value'=>$type) ?><?php $attr4_equals='number' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:2:{s:4:"name";s:8:"decimals";s:7:"default";s:8:"decimals";}' ?><?php $attr7 = array('name'=>'decimals','default'=>'decimals') ?><?php $attr7_name='decimals' ?><?php $attr7_default='decimals' ?><?php
-if (isset($$attr7_name))
- $attr7_tmp_value = $$attr7_name;
-elseif ( isset($attr7_default) )
- $attr7_tmp_value = $attr7_default;
-else
- $attr7_tmp_value = "";
-?><input type="hidden" name="<?php echo $attr7_name ?>" value="<?php echo $attr7_tmp_value ?>" /><?php unset($attr7) ?><?php unset($attr7_name) ?><?php unset($attr7_default) ?><?php $attr7_debug_info = 'a:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:6:"number";s:4:"size";s:2:"15";s:9:"maxlength";s:2:"20";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'number','size'=>'15','maxlength'=>'20','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='number' ?><?php $attr7_size='15' ?><?php $attr7_maxlength='20' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
- if ($attr7_readonly && empty($$attr7_name)) $$attr7_name = '- '.lang('EMPTY').' -';
- if(!isset($attr7_default)) $attr7_default='';
-?><?php if (!$attr7_readonly || $attr7_type=='hidden') {
-?><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
- } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?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:1:{s:5:"field";s:6:"number";}' ?><?php $attr7 = array('field'=>'number') ?><?php $attr7_field='number' ?><?php
-if (isset($errors[0])) $attr7_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr7_field ?>.focus();
-document.forms[0].<?php echo $attr7_field ?>.select();
-</script>
-<?php unset($attr7) ?><?php unset($attr7_field) ?><?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:2:{s:6:"equals";s:6:"select";s:5:"value";s:8:"var:type";}' ?><?php $attr4 = array('equals'=>'select','value'=>$type) ?><?php $attr4_equals='select' ?><?php $attr4_value=$type ?><?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_equals) ?><?php unset($attr4_value) ?><?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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:9:{s:4:"list";s:5:"items";s:4:"name";s:4:"text";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";s:4:"lang";s:5:"false";}' ?><?php $attr7 = array('list'=>'items','name'=>'text','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='items' ?><?php $attr7_name='text' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php $attr7_lang=false ?><?php
-$attr7_tmp_list = $$attr7_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
-{
- echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
-}
-else
-{
-if ( $attr7_addempty!==FALSE )
-{
- if ($attr7_addempty===TRUE)
- $$attr7_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr7_list;
- else
- $$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
-}
-?><select<?php if ($attr7_readonly) echo ' disabled="disabled"' ?> 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
- if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
- $attr7_tmp_default = $$attr7_name;
- elseif ( isset($attr7_default) )
- $attr7_tmp_default = $attr7_default;
- else
- $attr7_tmp_default = '';
- foreach( $attr7_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr7_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr7_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr7_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 unset($attr7_lang) ?><?php $attr7_debug_info = 'a:1:{s:5:"field";s:4:"text";}' ?><?php $attr7 = array('field'=>'text') ?><?php $attr7_field='text' ?><?php
-if (isset($errors[0])) $attr7_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr7_field ?>.focus();
-document.forms[0].<?php echo $attr7_field ?>.select();
-</script>
-<?php unset($attr7) ?><?php unset($attr7_field) ?><?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:4:"true";s:9:"mode:edit";}' ?><?php $attr4 = array('true'=>$this->getRequestVar("mode")=="edit") ?><?php $attr4_true=$this->getRequestVar("mode")=="edit" ?><?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_true) ?><?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')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr5) ?><?php unset($attr5_present) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:7:"publish";}' ?><?php $attr6 = array('present'=>'publish') ?><?php $attr6_present='publish' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = 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($attr7_class))
- $attr7_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr7_class ?>"><?php unset($attr7) ?><?php $attr8_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr8 = array('colspan'=>'2') ?><?php $attr8_colspan='2' ?><?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($attr8_class))
- $attr8['class']=$column_class;
- global $cell_column_nr;
- $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><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($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')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr5) ?><?php unset($attr5_present) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = 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($attr6_class))
- $attr6_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:5:"class";s:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('class'=>'fx','colspan'=>'2') ?><?php $attr7_class='fx' ?><?php $attr7_colspan='2' ?><?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($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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_class) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"release";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>'release') ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name='release' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $checked = $$attr8_name;
- else
- $checked = $attr8_default;
-?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
-if ( $attr8_readonly && $checked )
-{
-?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
-}
-?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8) ?><?php unset($attr8_default) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php $attr8_debug_info = 'a:1:{s:3:"for";s:7:"release";}' ?><?php $attr8 = array('for'=>'release') ?><?php $attr8_for='release' ?><label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8) ?><?php unset($attr8_for) ?><?php $attr9_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_RELEASE";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','text'=>'GLOBAL_RELEASE','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_text='GLOBAL_RELEASE' ?><?php $attr9_escape=true ?><?php
- if ( isset($attr9_prefix)&& isset($attr9_key))
- $attr9_key = $attr9_prefix.$attr9_key;
- if ( isset($attr9_suffix)&& isset($attr9_key))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
- $tmp_tag = 'span';
- else
- switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
- $attr9_title = '';
- if ( $attr9_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr9_array))
- {
- $tmpArray = $$attr9_array;
- if (!empty($attr9_var))
- $tmp_text = $tmpArray[$attr9_var];
- else
- $tmp_text = $langF($tmpArray[$attr9_text]);
- }
- elseif (!empty($attr9_text))
- $tmp_text = $langF($attr9_text);
- elseif (!empty($attr9_textvar))
- $tmp_text = $langF($$attr9_textvar);
- elseif (!empty($attr9_key))
- $tmp_text = $langF($attr9_key);
- elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
- elseif (!empty($attr9_raw))
- $tmp_text = str_replace('_',' ',$attr9_raw);
- elseif (!empty($attr9_value))
- $tmp_text = $attr9_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
- if (isset($attr9_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_text) ?><?php unset($attr9_escape) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></label><?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 $attr5_debug_info = 'a:1:{s:7:"present";s:7:"publish";}' ?><?php $attr5 = array('present'=>'publish') ?><?php $attr5_present='publish' ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr5) ?><?php unset($attr5_present) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = 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($attr6_class))
- $attr6_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr6_class ?>"><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:5:"class";s:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('class'=>'fx','colspan'=>'2') ?><?php $attr7_class='fx' ?><?php $attr7_colspan='2' ?><?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($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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_class) ?><?php unset($attr7_colspan) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"publish";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>'publish') ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name='publish' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $checked = $$attr8_name;
- else
- $checked = $attr8_default;
-?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
-if ( $attr8_readonly && $checked )
-{
-?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
-}
-?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8) ?><?php unset($attr8_default) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php $attr8_debug_info = 'a:1:{s:3:"for";s:7:"publish";}' ?><?php $attr8 = array('for'=>'publish') ?><?php $attr8_for='publish' ?><label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8) ?><?php unset($attr8_for) ?><?php $attr9_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 $attr9 = array('class'=>'text','text'=>'PAGE_PUBLISH_AFTER_SAVE','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_text='PAGE_PUBLISH_AFTER_SAVE' ?><?php $attr9_escape=true ?><?php
- if ( isset($attr9_prefix)&& isset($attr9_key))
- $attr9_key = $attr9_prefix.$attr9_key;
- if ( isset($attr9_suffix)&& isset($attr9_key))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
- $tmp_tag = 'span';
- else
- switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
- $attr9_title = '';
- if ( $attr9_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr9_array))
- {
- $tmpArray = $$attr9_array;
- if (!empty($attr9_var))
- $tmp_text = $tmpArray[$attr9_var];
- else
- $tmp_text = $langF($tmpArray[$attr9_text]);
- }
- elseif (!empty($attr9_text))
- $tmp_text = $langF($attr9_text);
- elseif (!empty($attr9_textvar))
- $tmp_text = $langF($$attr9_textvar);
- elseif (!empty($attr9_key))
- $tmp_text = $langF($attr9_key);
- elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
- elseif (!empty($attr9_raw))
- $tmp_text = str_replace('_',' ',$attr9_raw);
- elseif (!empty($attr9_value))
- $tmp_text = $attr9_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
- if (isset($attr9_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_text) ?><?php unset($attr9_escape) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></label><?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: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: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
- $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
- if ($attr6_type=='ok')
- {
- if ($this->isEditable() && !$this->isEditMode())
- $attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
- $attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
+ <?php } ?>
+<?php ?><?php ?> </form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/pageelement/prop.tpl.php b/themes/default/pages/html/pageelement/prop.tpl.php
@@ -1,2059 +1,1927 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
- $attr2_subaction = $subActionName;
-?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
-<input type="hidden" name="mode" value="edit" />
-<?php } ?>
-<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
-<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
-<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:5:{s:4:"icon";s:6:"folder";s:6:"widths";s:7:"40%,60%";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('icon'=>'folder','widths'=>'40%,60%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_icon='folder' ?><?php $attr3_widths='40%,60%' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_icon) ?><?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;
- $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:3:{s:5:"class";s:4:"text";s:4:"text";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'name','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:4:"name";}' ?><?php $attr5 = array('class'=>'name') ?><?php $attr5_class='name' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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;
- $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:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'description','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='description' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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
- $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:3:{s:5:"class";s:4:"text";s:3:"var";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'description','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='description' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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;
- $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:3:{s:5:"class";s:4:"text";s:4:"text";s:4:"type";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'type','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='type' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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:1:{s:5:"class";s:8:"filename";}' ?><?php $attr5 = array('class'=>'filename') ?><?php $attr5_class='filename' ?><?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_class) ?><?php $attr6_debug_info = 'a:2:{s:5:"align";s:4:"left";s:11:"elementtype";s:16:"var:element_type";}' ?><?php $attr6 = array('align'=>'left','elementtype'=>$element_type) ?><?php $attr6_align='left' ?><?php $attr6_elementtype=$element_type ?><?php
-if (isset($attr6_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr6_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr6_tree.IMG_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_url)) {
-?><img src="<?php echo $attr6_url ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_fileext)) {
-?><img src="<?php echo $image_dir.$attr6_fileext ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_file)) {
-?><img src="<?php echo $image_dir.$attr6_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php } ?><?php unset($attr6) ?><?php unset($attr6_align) ?><?php unset($attr6_elementtype) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:17:"el_{element_type}";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'el_'.$element_type.'','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='el_'.$element_type.'' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_key) ?><?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;
- $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: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;
- $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: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 encodeHtml($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))
- $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:3:{s:5:"class";s:4:"text";s:3:"key";s:8:"template";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'template','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='template' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_key) ?><?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
- $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:7:"present";s:12:"template_url";}' ?><?php $attr6 = array('present'=>'template_url') ?><?php $attr6_present='template_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:13:"cms_main_main";s:3:"url";s:16:"var:template_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>'cms_main_main','url'=>$template_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target='cms_main_main' ?><?php $attr7_url=$template_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:4:"file";s:13:"icon_template";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('file'=>'icon_template','align'=>'left') ?><?php $attr8_file='icon_template' ?><?php $attr8_align='left' ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_file) ?><?php unset($attr8_align) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:13:"template_name";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'template_name','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='template_name' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_var) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"empty";s:12:"template_url";}' ?><?php $attr6 = array('empty'=>'template_url') ?><?php $attr6_empty='template_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_empty) ?><?php $attr7_debug_info = 'a:2:{s:4:"file";s:13:"icon_template";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('file'=>'icon_template','align'=>'left') ?><?php $attr7_file='icon_template' ?><?php $attr7_align='left' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_file) ?><?php unset($attr7_align) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:13:"template_name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'template_name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='template_name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?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:3:{s:5:"class";s:4:"text";s:3:"key";s:7:"element";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'element','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='element' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_key) ?><?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
- $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:7:"present";s:11:"element_url";}' ?><?php $attr6 = array('present'=>'element_url') ?><?php $attr6_present='element_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:13:"cms_main_main";s:3:"url";s:15:"var:element_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>'cms_main_main','url'=>$element_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target='cms_main_main' ?><?php $attr7_url=$element_url ?><?php $attr7_class='' ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:5:"align";s:4:"left";s:11:"elementtype";s:16:"var:element_type";}' ?><?php $attr8 = array('align'=>'left','elementtype'=>$element_type) ?><?php $attr8_align='left' ?><?php $attr8_elementtype=$element_type ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_align) ?><?php unset($attr8_elementtype) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:12:"element_name";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'element_name','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='element_name' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_var) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"empty";s:11:"element_url";}' ?><?php $attr6 = array('empty'=>'element_url') ?><?php $attr6_empty='element_url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_empty) ?><?php $attr7_debug_info = 'a:2:{s:4:"icon";s:7:"element";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('icon'=>'element','align'=>'left') ?><?php $attr7_icon='element' ?><?php $attr7_align='left' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_icon) ?><?php unset($attr7_align) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:12:"element_name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'element_name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='element_name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?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:"text";}' ?><?php $attr4 = array('present'=>'text') ?><?php $attr4_present='text' ?><?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
- $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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:1:{s:5:"title";s:21:"message:DOCUMENT_TREE";}' ?><?php $attr7 = array('title'=>lang('DOCUMENT_TREE')) ?><?php $attr7_title=lang('DOCUMENT_TREE') ?><fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7) ?><?php unset($attr7_title) ?><?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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr6 = array('colspan'=>'2') ?><?php $attr6_colspan='2' ?><?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:2:{s:4:"name";s:4:"text";s:4:"type";s:3:"dom";}' ?><?php $attr7 = array('name'=>'text','type'=>'dom') ?><?php $attr7_name='text' ?><?php $attr7_type='dom' ?><?php
- function checkbox( $name,$value=false,$writable=true,$params=Array() )
- {
- $src = '<input type="checkbox" name="'.$name.'"';
- foreach( $params as $name=>$val )
- $src .= " $name=\"$val\"";
- if ( !$writable )
- $src .= ' disabled="disabled"';
- if ( $value )
- $src .= ' value="1" checked="checked"';
- $src .= ' />';
- return $src;
- }
- function selectBox( $name,$values,$default='',$params=Array() )
- {
- if ( ! is_array($values) )
- $values = array($values);
- $src = '<select size="1" name="'.$name.'"';
- foreach( $params as $name=>$value )
- $src .= " $name=\"$value\"";
- $src .= '>';
- foreach( $values as $key=>$value )
- {
- $src .= '<option value="'.$key.'"';
- if ($key == $default)
- $src .= ' selected="selected"';
- $src .= '>'.$value.'</option>';
- }
- $src .= '</select>';
- return $src;
- }
- ?><?php
-switch( $attr7_type )
-{
- case 'fckeditor':
- case 'html':
- if ( $this->isEditMode() )
- {
- include('./editor/fckeditor.php');
- $editor = new FCKeditor( $attr7_name ) ;
- $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
- $editor->Value = $$attr7_name;
- $editor->Height = '290';
- $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
- $editor->Create();
- }
- else
- {
- echo ($$attr7_name);
- }
- break;
- case 'wiki':
- $conf_tags = $conf['editor']['text-markup'];
- if ( $this->isEditMode() )
- {
- ?>
-<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
-<script name="JavaScript" type="text/javascript">
-function strong()
-{
- insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
-}
-function emphatic()
-{
- insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
-}
-function link()
-{
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr7_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
-}
-function image()
-{
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr7_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
-}
-function list()
-{
- insert('<?php echo $attr7_name ?>',"","\n");
- while( true )
- {
- t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
- if ( t != '' && t != null )
- insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
- else
- break;
- }
-}
-function numlist()
-{
- insert('<?php echo $attr7_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
-}
-function table()
-{
- column=1;
- while( true )
- {
- if ( column==1 )
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
- else
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
- t = window.prompt(text,'');
- if ( t != '' && t != null )
- {
- insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
- column++;
- }
- else
- {
- if (column==1)
- {
- break;
- }
- else
- {
- insert('text',"\n","");
- column=1;
- }
- }
- }
-}
-</script>
- <table>
- <tr>
- <noscript><input type="text" name="addtext" size="10" /></noscript>
- <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
- <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+ ?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+ <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+ <input type="hidden" name="mode" value="edit" />
+ <?php } ?>
+ <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+ <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+ <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_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_icon='folder'; $attr3_widths='40%,60%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_text='name'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='name'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_var='name'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_text='description'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_var='description'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_text='type'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='filename'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_align='left'; $attr6_elementtype=$element_type; ?> <?php
+ $attr6_tmp_image_file = $image_dir.'icon_el_'.$attr6_elementtype.IMG_ICON_EXT;
+ $attr6_size = '16x16';
+ ?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_align);unset($attr6_elementtype); ?><?php $attr6_class='text'; $attr6_key='el_'.$element_type.''; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('additional_info'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_key='template'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_present='template_url'; ?> <?php
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #IF-ATTR present#
+ $attr6_tmp_exec = isset($$attr6_present);
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ unset($attr6_true);
+ unset($attr6_false);
+ unset($attr6_notempty);
+ unset($attr6_empty);
+ unset($attr6_contains);
+ unset($attr6_present);
+ unset($attr6_invert);
+ unset($attr6_not);
+ unset($attr6_value);
+ unset($attr6_equals);
+ $last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main_main'; $attr7_url=$template_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_file='icon_template'; $attr8_align='left'; ?> <?php
+ $attr8_tmp_image_file = $image_dir.$attr8_fileext;
+ $attr8_tmp_image_file = $image_dir.$attr8_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_file);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='template_name'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_var);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php $attr6_empty='template_url'; ?> <?php
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #IF-ATTR empty#
+ if ( !isset($$attr6_empty) )
+ $attr6_tmp_exec = empty($attr6_empty);
+ elseif ( is_array($$attr6_empty) )
+ $attr6_tmp_exec = (count($$attr6_empty)==0);
+ elseif ( is_bool($$attr6_empty) )
+ $attr6_tmp_exec = true;
+ else
+ $attr6_tmp_exec = empty( $$attr6_empty );
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ unset($attr6_true);
+ unset($attr6_false);
+ unset($attr6_notempty);
+ unset($attr6_empty);
+ unset($attr6_contains);
+ unset($attr6_present);
+ unset($attr6_invert);
+ unset($attr6_not);
+ unset($attr6_value);
+ unset($attr6_equals);
+ $last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_empty); ?><?php $attr7_file='icon_template'; $attr7_align='left'; ?> <?php
+ $attr7_tmp_image_file = $image_dir.$attr7_fileext;
+ $attr7_tmp_image_file = $image_dir.$attr7_file.IMG_ICON_EXT;
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_file);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='template_name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_key='element'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_present='element_url'; ?> <?php
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #IF-ATTR present#
+ $attr6_tmp_exec = isset($$attr6_present);
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ unset($attr6_true);
+ unset($attr6_false);
+ unset($attr6_notempty);
+ unset($attr6_empty);
+ unset($attr6_contains);
+ unset($attr6_present);
+ unset($attr6_invert);
+ unset($attr6_not);
+ unset($attr6_value);
+ unset($attr6_equals);
+ $last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main_main'; $attr7_url=$element_url; $attr7_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_align='left'; $attr8_elementtype=$element_type; ?> <?php
+ $attr8_tmp_image_file = $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+ ?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_elementtype); ?><?php $attr8_class='text'; $attr8_var='element_name'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_var);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php $attr6_empty='element_url'; ?> <?php
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #IF-ATTR empty#
+ if ( !isset($$attr6_empty) )
+ $attr6_tmp_exec = empty($attr6_empty);
+ elseif ( is_array($$attr6_empty) )
+ $attr6_tmp_exec = (count($$attr6_empty)==0);
+ elseif ( is_bool($$attr6_empty) )
+ $attr6_tmp_exec = true;
+ else
+ $attr6_tmp_exec = empty( $$attr6_empty );
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ unset($attr6_true);
+ unset($attr6_false);
+ unset($attr6_notempty);
+ unset($attr6_empty);
+ unset($attr6_contains);
+ unset($attr6_present);
+ unset($attr6_invert);
+ unset($attr6_not);
+ unset($attr6_value);
+ unset($attr6_equals);
+ $last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_empty); ?><?php $attr7_icon='element'; $attr7_align='left'; ?> <?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_icon);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='element_name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_present='text'; ?> <?php
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ #IF-ATTR present#
+ $attr4_tmp_exec = isset($$attr4_present);
+ #END-IF#
+ #END-IF#
+ #END-IF#
+ 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 = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_present); ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_title=lang('DOCUMENT_TREE'); ?> <fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php $attr6_colspan='2'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_colspan); ?><?php $attr7_name='text'; $attr7_type='dom'; ?> <?php
+ function checkbox( $name,$value=false,$writable=true,$params=Array() )
+ {
+ $src = '<input type="checkbox" name="'.$name.'"';
+ foreach( $params as $name=>$val )
+ $src .= " $name=\"$val\"";
+ if ( !$writable )
+ $src .= ' disabled="disabled"';
+ if ( $value )
+ $src .= ' value="1" checked="checked"';
+ $src .= ' />';
+ return $src;
+ }
+ function selectBox( $name,$values,$default='',$params=Array() )
+ {
+ if ( ! is_array($values) )
+ $values = array($values);
+ $src = '<select size="1" name="'.$name.'"';
+ foreach( $params as $name=>$value )
+ $src .= " $name=\"$value\"";
+ $src .= '>';
+ foreach( $values as $key=>$value )
+ {
+ $src .= '<option value="'.$key.'"';
+ if ($key == $default)
+ $src .= ' selected="selected"';
+ $src .= '>'.$value.'</option>';
+ }
+ $src .= '</select>';
+ return $src;
+ }
+ ?><?php
+ switch( $attr7_type )
+ {
+ case 'fckeditor':
+ case 'html':
+ if ( $this->isEditMode() )
+ {
+ include('./editor/fckeditor.php');
+ $editor = new FCKeditor( $attr7_name ) ;
+ $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
+ $editor->Value = $$attr7_name;
+ $editor->Height = '290';
+ $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
+ $editor->Create();
+ }
+ else
+ {
+ echo ($$attr7_name);
+ }
+ break;
+ case 'wiki':
+ $conf_tags = $conf['editor']['text-markup'];
+ if ( $this->isEditMode() )
+ {
+ ?>
+ <script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
+ <script name="JavaScript" type="text/javascript">
+ function strong()
+ {
+ insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
+ }
+ function emphatic()
+ {
+ insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
+ }
+ function link()
+ {
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr7_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
+ }
+ function image()
+ {
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr7_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
+ }
+ function list()
+ {
+ insert('<?php echo $attr7_name ?>',"","\n");
+ while( true )
+ {
+ t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
+ if ( t != '' && t != null )
+ insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
+ else
+ break;
+ }
+ }
+ function numlist()
+ {
+ insert('<?php echo $attr7_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
+ }
+ function table()
+ {
+ column=1;
+ while( true )
+ {
+ if ( column==1 )
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
+ else
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
+ t = window.prompt(text,'');
+ if ( t != '' && t != null )
+ {
+ insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
+ column++;
+ }
+ else
+ {
+ if (column==1)
+ {
+ break;
+ }
+ else
+ {
+ insert('text',"\n","");
+ column=1;
+ }
+ }
+ }
+ }
+ </script>
+ <table>
+ <tr>
+ <noscript><input type="text" name="addtext" size="10" /></noscript>
+ <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
+ <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
+ <td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
+ </tr>
+ </table>
+ <?php ?>
+ <?php
+ echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
+ }
+ else
+ {
+ $attr7_tmp_doc = new DocumentElement();
+ $attr7_tmp_text = $$attr7_name;
+ if ( !is_array($attr7_tmp_text))
+ $attr7_tmp_text = explode("\n",$attr7_tmp_text);
+ $attr7_tmp_doc->parse($attr7_tmp_text);
+ echo $attr7_tmp_doc->render('application/html');
+ }
+ break;
+ case 'text':
+ case 'raw':
+ if ( $this->isEditMode() )
+ echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
+ else
+ echo nl2br($$attr7_name);
+ break;
+ case 'dom':
+ case 'tree':
+ $attr7_tmp_doc = new DocumentElement();
+ $attr7_tmp_text = $$attr7_name;
+ if ( !is_array($attr7_tmp_text))
+ $attr7_tmp_text = explode("\n",$attr7_tmp_text);
+ $attr7_tmp_doc->parse($attr7_tmp_text);
+ echo $attr7_tmp_doc->render('application/html-dom');
+ break;
+ default:
+ echo "Unknown editor type: ".$attr7_type;
+ }
+ ?><?php unset($attr7_name);unset($attr7_type); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?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 ?><?php $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('prop_userinfo'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_text='lastchange'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_width='100%'; $attr6_space='0px'; $attr6_padding='0px'; $attr6_rowclasses='odd,even'; ?> <?php
+ $coloumn_widths=array();
+ $row_classes = array('');
+ $column_classes= array('');
+ if(empty($attr6_class))
+ $attr6_class='';
+ if (!empty($attr6_widths))
+ {
+ $column_widths = explode(',',$attr6_widths);
+ unset($attr6['widths']);
+ }
+ if (!empty($attr6_classes))
+ {
+ $row_classes = explode(',',$attr6_rowclasses);
+ $row_class_idx = 999;
+ unset($attr6['rowclasses']);
+ }
+ if (!empty($attr6_rowclasses))
+ {
+ $row_classes = explode(',',$attr6_rowclasses);
+ $row_class_idx = 999;
+ unset($attr6['rowclasses']);
+ }
+ if (!empty($attr6_columnclasses))
+ {
+ $column_classes = explode(',',$attr6_columnclasses);
+ unset($attr6['columnclasses']);
+ }
+ ?><table class="<?php echo $attr6_class ?>" cellspacing="<?php echo $attr6_space ?>" width="<?php echo $attr6_width ?>" cellpadding="<?php echo $attr6_padding ?>"><?php unset($attr6_width);unset($attr6_space);unset($attr6_padding);unset($attr6_rowclasses); ?><?php ?> <?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($attr7_class))
+ $attr7_class=$row_class;
+ global $cell_column_nr;
+ $cell_column_nr=0;
+ $column_class_idx = 999;
+ ?><tr class="<?php echo $attr7_class ?>"><?php ?><?php ?> <?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($attr8_class))
+ $attr8_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) )
+ $attr8_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr8_width )) { ?> width="<?php echo $attr8_width ?>" <?php }
+ if ( isset($attr8_style )) { ?> style="<?php echo $attr8_style?>" <?php }
+ if ( isset($attr8_class )) { ?> class="<?php echo $attr8_class ?>" <?php }
+ if ( isset($attr8_colspan)) { ?> colspan="<?php echo $attr8_colspan ?>" <?php }
+ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr9_icon='el_date'; $attr9_align='left'; ?> <?php
+ $attr9_tmp_image_file = $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT;
+ $attr9_size = '16x16';
+ ?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_icon);unset($attr9_align); ?><?php $attr9_date=$lastchange_date; ?> <?php
+ global $conf;
+ $time = $attr9_date;
+ if ( $time==0)
+ echo lang('GLOBAL_UNKNOWN');
+ elseif ( !$conf['interface']['human_date_format'] )
+ {
+ echo '<span title="';
+ $dl = date(lang('DATE_FORMAT_LONG'),$time);
+ $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
+ $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
+ echo $dl;
+ unset($dl);
+ echo '">';
+ echo date(lang('DATE_FORMAT'),$time);
+ echo '</span>';
+ }
+ else
+ {
+ $sekunden = time()-$time;
+ $minuten = intval($sekunden/60);
+ $stunden = intval($minuten /60);
+ $tage = intval($stunden /24);
+ $monate = intval($tage /30);
+ $jahre = intval($monate /12);
+ echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
+ if ( $time==0)
+ echo lang('GLOBAL_UNKNOWN');
+ elseif ( !$conf['interface']['human_date_format'] )
+ echo date(lang('DATE_FORMAT'),$time);
+ elseif ( $sekunden == 1 )
+ echo $sekunden.' '.lang('GLOBAL_SECOND');
+ elseif ( $sekunden < 60 )
+ echo $sekunden.' '.lang('GLOBAL_SECONDS');
+ elseif ( $minuten == 1 )
+ echo $minuten.' '.lang('GLOBAL_MINUTE');
+ elseif ( $minuten < 60 )
+ echo $minuten.' '.lang('GLOBAL_MINUTES');
+ elseif ( $stunden == 1 )
+ echo $stunden.' '.lang('GLOBAL_HOUR');
+ elseif ( $stunden < 60 )
+ echo $stunden.' '.lang('GLOBAL_HOURS');
+ elseif ( $tage == 1 )
+ echo $tage.' '.lang('GLOBAL_DAY');
+ elseif ( $tage < 60 )
+ echo $tage.' '.lang('GLOBAL_DAYS');
+ elseif ( $monate == 1 )
+ echo $monate.' '.lang('GLOBAL_MONTH');
+ elseif ( $monate < 12 )
+ echo $monate.' '.lang('GLOBAL_MONTHS');
+ elseif ( $jahre == 1 )
+ echo $jahre.' '.lang('GLOBAL_YEAR');
+ else
+ echo $jahre.' '.lang('GLOBAL_YEARS');
+ echo '</span>';
+ }
+ ?><?php unset($attr9_date); ?><?php ?> </td><?php ?><?php ?> <?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($attr8_class))
+ $attr8_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) )
+ $attr8_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr8_width )) { ?> width="<?php echo $attr8_width ?>" <?php }
+ if ( isset($attr8_style )) { ?> style="<?php echo $attr8_style?>" <?php }
+ if ( isset($attr8_class )) { ?> class="<?php echo $attr8_class ?>" <?php }
+ if ( isset($attr8_colspan)) { ?> colspan="<?php echo $attr8_colspan ?>" <?php }
+ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr9_icon='user'; $attr9_align='left'; ?> <?php
+ $attr9_tmp_image_file = $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT;
+ $attr9_size = '16x16';
+ ?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_icon);unset($attr9_align); ?><?php $attr9_user=$lastchange_user; ?> <?php
+ if ( is_object($attr9_user) )
+ $user = $attr9_user;
+ else
+ $user = $$attr9_user;
+ if ( empty($user->name) )
+ $user->name = lang('GLOBAL_UNKNOWN');
+ if ( empty($user->fullname) )
+ $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE');
+ if ( !empty($user->mail) && $conf['security']['user']['show_mail'] )
+ echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
+ else
+ echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
+ ?><?php unset($attr9_user); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
+ </td>
</tr>
</table>
- <?php ?>
-<?php
- echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
- }
- else
- {
- $attr7_tmp_doc = new DocumentElement();
- $attr7_tmp_text = $$attr7_name;
- if ( !is_array($attr7_tmp_text))
- $attr7_tmp_text = explode("\n",$attr7_tmp_text);
- $attr7_tmp_doc->parse($attr7_tmp_text);
- echo $attr7_tmp_doc->render('application/html');
- }
- break;
- case 'text':
- case 'raw':
- if ( $this->isEditMode() )
- echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
- else
- echo nl2br($$attr7_name);
- break;
- case 'dom':
- case 'tree':
- $attr7_tmp_doc = new DocumentElement();
- $attr7_tmp_text = $$attr7_name;
- if ( !is_array($attr7_tmp_text))
- $attr7_tmp_text = explode("\n",$attr7_tmp_text);
- $attr7_tmp_doc->parse($attr7_tmp_text);
- echo $attr7_tmp_doc->render('application/html-dom');
- break;
- default:
- echo "Unknown editor type: ".$attr7_type;
-}
-?><?php unset($attr7) ?><?php unset($attr7_name) ?><?php unset($attr7_type) ?><?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;
- $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: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;
- $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:21:"message:prop_userinfo";}' ?><?php $attr6 = array('title'=>lang('prop_userinfo')) ?><?php $attr6_title=lang('prop_userinfo') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($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))
- $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:3:{s:5:"class";s:4:"text";s:4:"text";s:10:"lastchange";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'lastchange','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='lastchange' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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
- $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:4:{s:5:"width";s:4:"100%";s:5:"space";s:3:"0px";s:7:"padding";s:3:"0px";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr6 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr6_width='100%' ?><?php $attr6_space='0px' ?><?php $attr6_padding='0px' ?><?php $attr6_rowclasses='odd,even' ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr6_class))
- $attr6_class='';
- if (!empty($attr6_widths))
- {
- $column_widths = explode(',',$attr6_widths);
- unset($attr6['widths']);
- }
- if (!empty($attr6_classes))
- {
- $row_classes = explode(',',$attr6_rowclasses);
- $row_class_idx = 999;
- unset($attr6['rowclasses']);
- }
- if (!empty($attr6_rowclasses))
- {
- $row_classes = explode(',',$attr6_rowclasses);
- $row_class_idx = 999;
- unset($attr6['rowclasses']);
- }
- if (!empty($attr6_columnclasses))
- {
- $column_classes = explode(',',$attr6_columnclasses);
- unset($attr6['columnclasses']);
- }
-?><table class="<?php echo $attr6_class ?>" cellspacing="<?php echo $attr6_space ?>" width="<?php echo $attr6_width ?>" cellpadding="<?php echo $attr6_padding ?>"><?php unset($attr6) ?><?php unset($attr6_width) ?><?php unset($attr6_space) ?><?php unset($attr6_padding) ?><?php unset($attr6_rowclasses) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = 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($attr7_class))
- $attr7_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr7_class ?>"><?php unset($attr7) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = 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($attr8_class))
- $attr8['class']=$column_class;
- global $cell_column_nr;
- $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 $attr9_debug_info = 'a:2:{s:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr9 = array('icon'=>'el_date','align'=>'left') ?><?php $attr9_icon='el_date' ?><?php $attr9_align='left' ?><?php
-if (isset($attr9_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr9_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr9_tree.IMG_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_url)) {
-?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_fileext)) {
-?><img src="<?php echo $image_dir.$attr9_fileext ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_file)) {
-?><img src="<?php echo $image_dir.$attr9_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php } ?><?php unset($attr9) ?><?php unset($attr9_icon) ?><?php unset($attr9_align) ?><?php $attr9_debug_info = 'a:1:{s:4:"date";s:19:"var:lastchange_date";}' ?><?php $attr9 = array('date'=>$lastchange_date) ?><?php $attr9_date=$lastchange_date ?><?php
- global $conf;
- $time = $attr9_date;
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- {
- echo '<span title="';
- $dl = date(lang('DATE_FORMAT_LONG'),$time);
- $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
- $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
- echo $dl;
- unset($dl);
- echo '">';
- echo date(lang('DATE_FORMAT'),$time);
- echo '</span>';
- }
- else
- {
- $sekunden = time()-$time;
- $minuten = intval($sekunden/60);
- $stunden = intval($minuten /60);
- $tage = intval($stunden /24);
- $monate = intval($tage /30);
- $jahre = intval($monate /12);
- echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- echo date(lang('DATE_FORMAT'),$time);
- elseif ( $sekunden == 1 )
- echo $sekunden.' '.lang('GLOBAL_SECOND');
- elseif ( $sekunden < 60 )
- echo $sekunden.' '.lang('GLOBAL_SECONDS');
- elseif ( $minuten == 1 )
- echo $minuten.' '.lang('GLOBAL_MINUTE');
- elseif ( $minuten < 60 )
- echo $minuten.' '.lang('GLOBAL_MINUTES');
- elseif ( $stunden == 1 )
- echo $stunden.' '.lang('GLOBAL_HOUR');
- elseif ( $stunden < 60 )
- echo $stunden.' '.lang('GLOBAL_HOURS');
- elseif ( $tage == 1 )
- echo $tage.' '.lang('GLOBAL_DAY');
- elseif ( $tage < 60 )
- echo $tage.' '.lang('GLOBAL_DAYS');
- elseif ( $monate == 1 )
- echo $monate.' '.lang('GLOBAL_MONTH');
- elseif ( $monate < 12 )
- echo $monate.' '.lang('GLOBAL_MONTHS');
- elseif ( $jahre == 1 )
- echo $jahre.' '.lang('GLOBAL_YEAR');
- else
- echo $jahre.' '.lang('GLOBAL_YEARS');
- echo '</span>';
- }
-?><?php unset($attr9) ?><?php unset($attr9_date) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></td><?php unset($attr7) ?><?php $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = 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($attr8_class))
- $attr8['class']=$column_class;
- global $cell_column_nr;
- $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 $attr9_debug_info = 'a:2:{s:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr9 = array('icon'=>'user','align'=>'left') ?><?php $attr9_icon='user' ?><?php $attr9_align='left' ?><?php
-if (isset($attr9_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr9_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr9_tree.IMG_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_url)) {
-?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_fileext)) {
-?><img src="<?php echo $image_dir.$attr9_fileext ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_file)) {
-?><img src="<?php echo $image_dir.$attr9_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php } ?><?php unset($attr9) ?><?php unset($attr9_icon) ?><?php unset($attr9_align) ?><?php $attr9_debug_info = 'a:1:{s:4:"user";s:19:"var:lastchange_user";}' ?><?php $attr9 = array('user'=>$lastchange_user) ?><?php $attr9_user=$lastchange_user ?><?php
- if ( is_object($attr9_user) )
- $user = $attr9_user;
- else
- $user = $$attr9_user;
- if ( empty($user->name) )
- $user->name = lang('GLOBAL_UNKNOWN');
- if ( empty($user->fullname) )
- $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE');
- if ( !empty($user->mail) && $conf['security']['user']['show_mail'] )
- echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
- else
- echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr9) ?><?php unset($attr9_user) ?><?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() ?></table><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
+ <?php } ?>
+<?php ?><?php ?> </form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/profile/edit.tpl.php b/themes/default/pages/html/profile/edit.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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:5:{s:4:"name";s:12:"user_profile";s:4:"icon";s:4:"user";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'=>'user_profile','icon'=>'user','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='user_profile' ?><?php $attr3_icon='user' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='user_profile'; $attr3_icon='user'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,9 +81,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -170,7 +162,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_name) ?><?php unset($attr3_icon) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -180,18 +172,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"user_username";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_username','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_username' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_username'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -256,18 +254,24 @@
}
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"name";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'name','var'=>'name','escape'=>true) ?><?php $attr6_class='name' ?><?php $attr6_var='name' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_class='name'; $attr6_var='name'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -332,7 +336,7 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -342,18 +346,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"user_mail";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_mail','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_mail' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_mail'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -418,18 +428,24 @@
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:8:"filename";s:3:"var";s:4:"mail";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'filename','var'=>'mail','escape'=>true) ?><?php $attr6_class='filename' ?><?php $attr6_var='mail' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='filename'; $attr6_var='mail'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -494,7 +510,7 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -504,18 +520,24 @@
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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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:0:{}' ?><?php $attr6 = array() ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -525,18 +547,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"name";s:4:"text";s:13:"user_fullname";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'name','text'=>'user_fullname','escape'=>true) ?><?php $attr6_class='name' ?><?php $attr6_text='user_fullname' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='name'; $attr6_text='user_fullname'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -601,25 +629,31 @@
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:8:"fullname";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"128";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'fullname','size'=>'40','maxlength'=>'128','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='fullname' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='128' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='fullname'; $attr6_size='40'; $attr6_maxlength='128'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
-?><?php if (!$attr6_readonly) {
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -629,18 +663,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:8:"user_tel";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_tel','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_tel' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_tel'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -705,25 +745,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:3:"tel";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"128";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'tel','size'=>'40','maxlength'=>'128','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='tel' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='128' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='tel'; $attr6_size='40'; $attr6_maxlength='128'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
-?><?php if (!$attr6_readonly) {
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -733,18 +779,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"user_desc";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_desc','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_desc' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_desc'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -809,25 +861,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"desc";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"128";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'desc','size'=>'40','maxlength'=>'128','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='desc' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='128' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='desc'; $attr6_size='40'; $attr6_maxlength='128'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
-?><?php if (!$attr6_readonly) {
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -837,18 +895,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:10:"user_style";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_style','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_style' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_style'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -913,19 +977,31 @@ if ($attr6_readonly) {
}
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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:10:{s:4:"list";s:9:"allstyles";s:4:"name";s:5:"style";s:7:"default";s:30:"config:interface/style/default";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'allstyles','name'=>'style','default'=>@$conf['interface']['style']['default'],'onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='allstyles' ?><?php $attr6_name='style' ?><?php $attr6_default=@$conf['interface']['style']['default'] ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_list='allstyles'; $attr6_name='style'; $attr6_default=@$conf['interface']['style']['default']; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && !$this->isEditMode())
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -939,7 +1015,6 @@ 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) )
@@ -970,8 +1045,9 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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_default) ?><?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 unset($attr6_lang) ?><?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)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />';
+}
+?><?php unset($attr6_list);unset($attr6_name);unset($attr6_default);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -981,18 +1057,24 @@ 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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -1005,7 +1087,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1017,12 +1099,12 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:5:"field";s:8:"fullname";}' ?><?php $attr2 = array('field'=>'fullname') ?><?php $attr2_field='fullname' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='fullname'; ?><?php
if (isset($errors[0])) $attr2_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr2_field ?>.focus();
document.forms[0].<?php echo $attr2_field ?>.select();
</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/profile/groups.tpl.php b/themes/default/pages/html/profile/groups.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:4:"name";s:11:"user_groups";s:4:"icon";s:4:"user";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('name'=>'user_groups','icon'=>'user','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='user_groups' ?><?php $attr2_icon='user' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='user_groups'; $attr2_icon='user'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -67,9 +59,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -148,7 +140,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:6:"groups";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:5:"group";}' ?><?php $attr3 = array('list'=>'groups','extract'=>false,'key'=>'list_key','value'=>'group') ?><?php $attr3_list='groups' ?><?php $attr3_extract=false ?><?php $attr3_key='list_key' ?><?php $attr3_value='group' ?><?php
+<?php unset($attr2_name);unset($attr2_icon);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='groups'; $attr3_extract=false; $attr3_key='list_key'; $attr3_value='group'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -167,7 +159,7 @@
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -177,26 +169,29 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:3:"var";s:5:"group";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'group','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='group' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_var='group'; $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
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -233,16 +228,13 @@
$tmp_text = $langF($tmpArray[$attr6_text]);
}
elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = $langF($$attr6_text);
- else
- $tmp_text = $langF($attr6_text);
+ $tmp_text = $langF($attr6_text);
elseif (!empty($attr6_textvar))
$tmp_text = $langF($$attr6_textvar);
elseif (!empty($attr6_key))
$tmp_text = $langF($attr6_key);
elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
elseif (!empty($attr6_raw))
$tmp_text = str_replace('_',' ',$attr6_raw);
elseif (!empty($attr6_value))
@@ -259,7 +251,7 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -271,5 +263,5 @@
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/profile/mail.tpl.php b/themes/default/pages/html/profile/mail.tpl.php
@@ -1,379 +1,395 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
- $attr2_subaction = $subActionName;
-?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
-<input type="hidden" name="mode" value="edit" />
-<?php } ?>
-<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
-<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
-<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:5:{s:4:"name";s:12:"user_profile";s:4:"icon";s:4:"user";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'=>'user_profile','icon'=>'user','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='user_profile' ?><?php $attr3_icon='user' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+ ?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+ <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+ <input type="hidden" name="mode" value="edit" />
+ <?php } ?>
+ <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+ <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+ <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_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='user_profile'; $attr3_icon='user'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?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 ?><?php $attr5_class='logo'; $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_name='changemail'; ?> <img src="<?php echo $image_dir.'logo_'.$attr6_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$attr6_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$attr6_name.'_text') ?></p><?php unset($attr6_name); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('user_mail'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class='text'; $attr6_text='user_new_mail'; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='mail'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr6_default)) $attr6_default='';
+ ?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
+ ?><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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?> <?php
+ if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
+ $attr6_type = 'submit';
+ if (isset($attr6_src))
+ $attr6_type = 'image';
+ else
+ $attr6_src = '';
+ ?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+ ?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
+ </td>
+ </tr>
</table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_name) ?><?php unset($attr3_icon) ?><?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;
- $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:2:{s:5:"class";s:4:"logo";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'logo','colspan'=>'2') ?><?php $attr5_class='logo' ?><?php $attr5_colspan='2' ?><?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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:4:"name";s:10:"changemail";}' ?><?php $attr6 = array('name'=>'changemail') ?><?php $attr6_name='changemail' ?><img src="<?php echo $image_dir.'logo_'.$attr6_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo lang('logo_'.$attr6_name) ?></h2><p class="logo"><?php echo lang('logo_'.$attr6_name.'_text') ?></p><?php unset($attr6) ?><?php unset($attr6_name) ?><?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: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;
- $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: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;
- $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:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"user_new_mail";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_new_mail','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_new_mail' ?><?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
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = $langF($$attr6_text);
- else
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($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
- $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"mail";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'mail','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='mail' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
- if(!isset($attr6_default)) $attr6_default='';
-?><?php if (!$attr6_readonly) {
-?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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;
- $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: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
- $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
- if ($attr6_type=='ok')
- {
- if ($this->isEditable() && !$this->isEditMode())
- $attr6_text = lang('MODE_EDIT');
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
- $attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo lang($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:5:"field";s:4:"mail";}' ?><?php $attr2 = array('field'=>'mail') ?><?php $attr2_field='mail' ?><?php
-if (isset($errors[0])) $attr2_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr2_field ?>.focus();
-document.forms[0].<?php echo $attr2_field ?>.select();
-</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
+ <?php } ?>
+<?php ?><?php ?> </form>
+<?php ?><?php $attr2_field='mail'; ?> <?php
+ if (isset($errors[0])) $attr2_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr2_field ?>.focus();
+ document.forms[0].<?php echo $attr2_field ?>.select();
+ </script>
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/project/edit.tpl.php b/themes/default/pages/html/project/edit.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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:5:{s:4:"name";s:14:"GLOBAL_PROJECT";s:4:"icon";s:7:"project";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_PROJECT','icon'=>'project','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROJECT' ?><?php $attr3_icon='project' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='GLOBAL_PROJECT'; $attr3_icon='project'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,7 +81,7 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
+ <?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
@@ -170,7 +162,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_name) ?><?php unset($attr3_icon) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -180,18 +172,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"PROJECT_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'PROJECT_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='PROJECT_NAME' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_NAME'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -256,25 +254,31 @@
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'name','size'=>'30','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='30' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='name'; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $attr6_size='30'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -284,18 +288,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"PROJECT_TARGET_DIR";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'PROJECT_TARGET_DIR','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='PROJECT_TARGET_DIR' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_TARGET_DIR'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -360,25 +370,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:8:"filename";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:10:"target_dir";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'filename','default'=>'','type'=>'text','name'=>'target_dir','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='filename' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='target_dir' ?><?php $attr6_size='50' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='target_dir'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -388,18 +404,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:25:"PROJECT_CMD_AFTER_PUBLISH";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'PROJECT_CMD_AFTER_PUBLISH','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='PROJECT_CMD_AFTER_PUBLISH' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_CMD_AFTER_PUBLISH'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -464,25 +486,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:8:"filename";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:17:"cmd_after_publish";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:47:"!config:publish/project/override_system_command";}' ?><?php $attr6 = array('class'=>'filename','default'=>'','type'=>'text','name'=>'cmd_after_publish','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>! @$conf['publish']['project']['override_system_command']) ?><?php $attr6_class='filename' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='cmd_after_publish' ?><?php $attr6_size='50' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=! @$conf['publish']['project']['override_system_command'] ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='cmd_after_publish'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=! @$conf['publish']['project']['override_system_command']; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -492,18 +520,24 @@ 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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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: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 encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('project_FTP'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -513,18 +547,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"PROJECT_FTP_URL";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'PROJECT_FTP_URL','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='PROJECT_FTP_URL' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_FTP_URL'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -589,25 +629,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:8:"filename";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:7:"ftp_url";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:26:"!config:publish/ftp/enable";}' ?><?php $attr6 = array('class'=>'filename','default'=>'','type'=>'text','name'=>'ftp_url','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>! @$conf['publish']['ftp']['enable']) ?><?php $attr6_class='filename' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='ftp_url' ?><?php $attr6_size='50' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=! @$conf['publish']['ftp']['enable'] ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='ftp_url'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=! @$conf['publish']['ftp']['enable']; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -617,30 +663,42 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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 $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php ?></td><?php ?><?php ?><?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;
+ $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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:26:"!config:publish/ftp/enable";s:4:"name";s:11:"ftp_passive";}' ?><?php $attr6 = array('default'=>false,'readonly'=>! @$conf['publish']['ftp']['enable'],'name'=>'ftp_passive') ?><?php $attr6_default=false ?><?php $attr6_readonly=! @$conf['publish']['ftp']['enable'] ?><?php $attr6_name='ftp_passive' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_default=false; $attr6_readonly=! @$conf['publish']['ftp']['enable']; $attr6_name='ftp_passive'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
@@ -650,7 +708,7 @@ if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
}
-?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6) ?><?php unset($attr6_default) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:11:"ftp_passive";}' ?><?php $attr6 = array('for'=>'ftp_passive') ?><?php $attr6_for='ftp_passive' ?><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:19:"PROJECT_FTP_PASSIVE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'PROJECT_FTP_PASSIVE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='PROJECT_FTP_PASSIVE' ?><?php $attr7_escape=true ?><?php
+?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='ftp_passive'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='PROJECT_FTP_PASSIVE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -715,7 +773,7 @@ if ( $attr6_readonly && $checked )
}
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($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -725,18 +783,24 @@ if ( $attr6_readonly && $checked )
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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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 encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('options'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -746,19 +810,25 @@ if ( $attr6_readonly && $checked )
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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:19:"content_negotiation";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'content_negotiation') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='content_negotiation' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_default=false; $attr6_readonly=false; $attr6_name='content_negotiation'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
@@ -768,7 +838,7 @@ if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
}
-?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6) ?><?php unset($attr6_default) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:19:"content_negotiation";}' ?><?php $attr6 = array('for'=>'content_negotiation') ?><?php $attr6_for='content_negotiation' ?><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:27:"PROJECT_CONTENT_NEGOTIATION";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'PROJECT_CONTENT_NEGOTIATION','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='PROJECT_CONTENT_NEGOTIATION' ?><?php $attr7_escape=true ?><?php
+?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='content_negotiation'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='PROJECT_CONTENT_NEGOTIATION'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -833,7 +903,7 @@ if ( $attr6_readonly && $checked )
}
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($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -843,19 +913,25 @@ if ( $attr6_readonly && $checked )
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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:9:"cut_index";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'cut_index') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='cut_index' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_default=false; $attr6_readonly=false; $attr6_name='cut_index'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
@@ -865,7 +941,7 @@ if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
}
-?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6) ?><?php unset($attr6_default) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"cut_index";}' ?><?php $attr6 = array('for'=>'cut_index') ?><?php $attr6_for='cut_index' ?><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:17:"PROJECT_CUT_INDEX";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'PROJECT_CUT_INDEX','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='PROJECT_CUT_INDEX' ?><?php $attr7_escape=true ?><?php
+?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='cut_index'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='PROJECT_CUT_INDEX'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -930,7 +1006,7 @@ if ( $attr6_readonly && $checked )
}
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($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -940,18 +1016,24 @@ if ( $attr6_readonly && $checked )
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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -964,7 +1046,7 @@ if ( $attr6_readonly && $checked )
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -976,6 +1058,6 @@ if ( $attr6_readonly && $checked )
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/search/prop.tpl.php b/themes/default/pages/html/search/prop.tpl.php
@@ -1,825 +1,865 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
- $attr2_subaction = $subActionName;
-?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
-<input type="hidden" name="mode" value="edit" />
-<?php } ?>
-<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
-<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
-<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:"icon";s:6:"search";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('icon'=>'search','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_icon='search' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+ ?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+ <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+ <input type="hidden" name="mode" value="edit" />
+ <?php } ?>
+ <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+ <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+ <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_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_icon='search'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?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 ?><?php $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('global_user'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='create_user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ 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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='create_user'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='create_user'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='lastchange_user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ 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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='lastchange_user'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='lastchange_user'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_list='users'; $attr6_name='userid'; $attr6_default=$act_userid; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?> <?php
+ $attr6_tmp_list = $$attr6_list;
+ if ($this->isEditable() && !$this->isEditMode())
+ {
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+ }
+ else
+ {
+ if ( $attr6_addempty!==FALSE )
+ {
+ if ($attr6_addempty===TRUE)
+ $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list;
+ else
+ $$attr6_list = array(''=>'- '.lang($attr6_addempty).' -')+$$attr6_list;
+ }
+ ?><select<?php if ($attr6_readonly) echo ' disabled="disabled"' ?> 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
+ 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 )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr6_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr6_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ 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_list);unset($attr6_name);unset($attr6_default);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('MENU_SEARCH_PROP'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='id'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ 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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='id'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='id'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='name'; $attr6_default=true; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ 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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='name'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='description'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ 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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='description'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='description'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='filename'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ 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_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='filename'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='filename'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='text'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr6_default)) $attr6_default='';
+ ?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
+ ?><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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_class=''; ?> <?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_class); ?><?php $attr5_class='act'; $attr5_colspan='2'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?> <?php
+ if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
+ $attr6_type = 'submit';
+ if (isset($attr6_src))
+ $attr6_type = 'image';
+ else
+ $attr6_src = '';
+ ?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+ ?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
+ </td>
+ </tr>
</table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3) ?><?php unset($attr3_icon) ?><?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;
- $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: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;
- $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: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 encodeHtml($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))
- $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:11:"create_user";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'=>'create_user','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='create_user' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- 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 $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:11:"create_user";}' ?><?php $attr6 = array('for'=>'type','value'=>'create_user') ?><?php $attr6_for='type' ?><?php $attr6_value='create_user' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"create_user";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'create_user','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='create_user' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:15:"lastchange_user";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'=>'lastchange_user','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='lastchange_user' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- 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 $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:15:"lastchange_user";}' ?><?php $attr6 = array('for'=>'type','value'=>'lastchange_user') ?><?php $attr6_for='type' ?><?php $attr6_value='lastchange_user' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:15:"lastchange_user";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'lastchange_user','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='lastchange_user' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?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:10:{s:4:"list";s:5:"users";s:4:"name";s:6:"userid";s:7:"default";s:14:"var:act_userid";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'users','name'=>'userid','default'=>$act_userid,'onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='users' ?><?php $attr6_name='userid' ?><?php $attr6_default=$act_userid ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
-if ( $attr6_addempty!==FALSE )
-{
- if ($attr6_addempty===TRUE)
- $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list;
- else
- $$attr6_list = array(''=>'- '.lang($attr6_addempty).' -')+$$attr6_list;
-}
-?><select<?php if ($attr6_readonly) echo ' disabled="disabled"' ?> 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 )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr6_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr6_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- 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_default) ?><?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 unset($attr6_lang) ?><?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: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;
- $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: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 encodeHtml($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))
- $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:2:"id";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'=>'id','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='id' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- 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 $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:2:"id";}' ?><?php $attr6 = array('for'=>'type','value'=>'id') ?><?php $attr6_for='type' ?><?php $attr6_value='id' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:2:"id";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'id','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='id' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"name";s:7:"default";s:4:"true";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'=>'name','default'=>true,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='name' ?><?php $attr6_default=true ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- 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 $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:4:"name";}' ?><?php $attr6 = array('for'=>'type','value'=>'name') ?><?php $attr6_for='type' ?><?php $attr6_value='name' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:11:"description";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'=>'description','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='description' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- 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 $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:11:"description";}' ?><?php $attr6 = array('for'=>'type','value'=>'description') ?><?php $attr6_for='type' ?><?php $attr6_value='description' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'description','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='description' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?php $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:8:"filename";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'=>'filename','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='filename' ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- 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 $attr6_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:8:"filename";}' ?><?php $attr6 = array('for'=>'type','value'=>'filename') ?><?php $attr6_for='type' ?><?php $attr6_value='filename' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:8:"filename";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'filename','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='filename' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></label><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"text";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'text','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='text' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
- if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
- if(!isset($attr6_default)) $attr6_default='';
-?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
-?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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:1:{s:5:"class";s:0:"";}' ?><?php $attr4 = array('class'=>'') ?><?php $attr4_class='' ?><?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 unset($attr4_class) ?><?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
- $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
- if ($attr6_type=='ok')
- {
- if ($this->isEditable() && !$this->isEditMode())
- $attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
- $attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:5:"field";s:4:"name";}' ?><?php $attr2 = array('field'=>'name') ?><?php $attr2_field='name' ?><?php
-if (isset($errors[0])) $attr2_field = $errors[0];
-?><script name="JavaScript" type="text/javascript"><!--
-document.forms[0].<?php echo $attr2_field ?>.focus();
-document.forms[0].<?php echo $attr2_field ?>.select();
-</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
+ <?php } ?>
+<?php ?><?php ?> </form>
+<?php ?><?php $attr2_field='name'; ?> <?php
+ if (isset($errors[0])) $attr2_field = $errors[0];
+ ?><script name="JavaScript" type="text/javascript"><!--
+ document.forms[0].<?php echo $attr2_field ?>.focus();
+ document.forms[0].<?php echo $attr2_field ?>.select();
+ </script>
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/template/add.tpl.php b/themes/default/pages/html/template/add.tpl.php
@@ -1,9 +1,10 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php if (!headers_sent()) header('Content-Type: text/html; charset='.lang('CHARSET'))
+<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo lang('CHARSET') ?>" />
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="robots" content="noindex,nofollow" />
<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
@@ -17,8 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -33,11 +33,16 @@
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
+ if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ $attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
@@ -74,17 +79,22 @@
if (!@$conf['interface']['application_mode'] )
{
echo '<tr><td class="menu">';
- if ( !empty($attr3_icon) )
- echo '<img src="'.$image_dir.'icon_'.$attr3_icon.IMG_ICON_EXT.'" align="left" border="0">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->getRequestVar('mode')=='edit') {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
$path = array();
foreach( $path as $pathElement)
{
extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.lang($name).'</a>';
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
echo ' » ';
}
- echo '<span class="title">'.lang($windowTitle).'</span>';
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
?>
</td>
<?php
@@ -93,7 +103,7 @@
<?php ?> <!--<td class="menu" style="align:right;">
<?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
{
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.lang($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
}
?>
</td>-->
@@ -103,32 +113,32 @@
$windowMenu = array();
foreach( $windowMenu as $menu )
{
- $tmp_text = lang($menu['text']);
- $tmp_key = strtoupper(lang($menu['key' ]));
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
$tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
if ( $tmp_pos !== false )
$tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
if ( isset($menu['url']) )
{
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
}
else
{
- ?><span class="menu_disabled" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
}
}
if (@$conf['help']['enabled'] )
{
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo lang('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':lang('MENU_HELP') ?></a><?php
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
}
?></td>
</tr>
<?php if (isset($notices) && count($notices)>0 )
{ ?>
<tr>
- <td align="center" style="margin-top:10px; margin-bottom:10px;padding:5px; text-align:center;">
+ <td align="center" class="notice">
<?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="100%">
+ <br><table class="notice" width="80%">
<?php if ($notice['name']!='') { ?>
<tr>
<td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
@@ -137,7 +147,7 @@
<?php } ?>
<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 } ?>
+ <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
<?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
</td>
</tr>
@@ -151,7 +161,8 @@
<?php } ?>
<tr>
<td>
- <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
+ <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;
@@ -178,9 +189,6 @@
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
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -204,33 +212,32 @@
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
$attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr6_array))
{
$tmpArray = $$attr6_array;
if (!empty($attr6_var))
$tmp_text = $tmpArray[$attr6_var];
else
- $tmp_text = lang($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr6_text]);
}
elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = lang($$attr6_text);
- else
- $tmp_text = lang($attr6_text);
+ $tmp_text = $langF($attr6_text);
elseif (!empty($attr6_textvar))
- $tmp_text = lang($$attr6_textvar);
+ $tmp_text = $langF($$attr6_textvar);
elseif (!empty($attr6_key))
- $tmp_text = lang($attr6_key);
+ $tmp_text = $langF($attr6_key);
elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
elseif (!empty($attr6_raw))
$tmp_text = str_replace('_',' ',$attr6_raw);
elseif (!empty($attr6_value))
$tmp_text = $attr6_value;
else
$tmp_text = ' ';
- if ( $attr6_escape && empty($attr6_raw) && $tmp_text!=' ' )
- $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))
@@ -252,11 +259,14 @@
$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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'name','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if(!isset($attr6_default)) $attr6_default='';
+?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'name','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr6_default)) $attr6_default='';
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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;
@@ -277,7 +287,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><?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
+?><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 encodeHtml($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;
@@ -299,6 +309,7 @@ if ($attr6_readonly) {
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: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 ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
elseif ( isset($attr6_default) )
@@ -316,15 +327,12 @@ 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: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
+?><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:3:"key";s:5:"empty";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'empty','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='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';
@@ -348,33 +356,32 @@ if ($attr6_readonly) {
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
$attr7_title = '';
+ if ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr7_array))
{
$tmpArray = $$attr7_array;
if (!empty($attr7_var))
$tmp_text = $tmpArray[$attr7_var];
else
- $tmp_text = lang($tmpArray[$attr7_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
elseif (!empty($attr7_text))
- if ( isset($$attr7_text))
- $tmp_text = lang($$attr7_text);
- else
- $tmp_text = lang($attr7_text);
+ $tmp_text = $langF($attr7_text);
elseif (!empty($attr7_textvar))
- $tmp_text = lang($$attr7_textvar);
+ $tmp_text = $langF($$attr7_textvar);
elseif (!empty($attr7_key))
- $tmp_text = lang($attr7_key);
+ $tmp_text = $langF($attr7_key);
elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
elseif (!empty($attr7_raw))
$tmp_text = str_replace('_',' ',$attr7_raw);
elseif (!empty($attr7_value))
$tmp_text = $attr7_value;
else
$tmp_text = ' ';
- if ( $attr7_escape && empty($attr7_raw) && $tmp_text!=' ' )
- $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))
@@ -385,7 +392,7 @@ if ($attr6_readonly) {
}
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($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?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;
@@ -407,6 +414,7 @@ if ($attr6_readonly) {
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 ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
elseif ( isset($attr6_default) )
@@ -424,15 +432,12 @@ 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: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
+?><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:3:"key";s:4:"copy";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'copy','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='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';
@@ -456,33 +461,32 @@ if ($attr6_readonly) {
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
$attr7_title = '';
+ if ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr7_array))
{
$tmpArray = $$attr7_array;
if (!empty($attr7_var))
$tmp_text = $tmpArray[$attr7_var];
else
- $tmp_text = lang($tmpArray[$attr7_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
elseif (!empty($attr7_text))
- if ( isset($$attr7_text))
- $tmp_text = lang($$attr7_text);
- else
- $tmp_text = lang($attr7_text);
+ $tmp_text = $langF($attr7_text);
elseif (!empty($attr7_textvar))
- $tmp_text = lang($$attr7_textvar);
+ $tmp_text = $langF($$attr7_textvar);
elseif (!empty($attr7_key))
- $tmp_text = lang($attr7_key);
+ $tmp_text = $langF($attr7_key);
elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
elseif (!empty($attr7_raw))
$tmp_text = str_replace('_',' ',$attr7_raw);
elseif (!empty($attr7_value))
$tmp_text = $attr7_value;
else
$tmp_text = ' ';
- if ( $attr7_escape && empty($attr7_raw) && $tmp_text!=' ' )
- $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))
@@ -493,7 +497,7 @@ if ($attr6_readonly) {
}
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
+?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?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;
@@ -505,6 +509,13 @@ if ($attr6_readonly) {
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:9:{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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'templates','name'=>'templateid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?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 $attr6_lang=false ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -512,13 +523,12 @@ if ( $attr6_addempty!==FALSE )
else
$$attr6_list = array(''=>'- '.lang($attr6_addempty).' -')+$$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
+?><select<?php if ($attr6_readonly) echo ' disabled="disabled"' ?> 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) )
@@ -549,7 +559,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
@@ -572,6 +583,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
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 ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
elseif ( isset($attr6_default) )
@@ -589,15 +601,12 @@ 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 $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
+?><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:3:"key";s:7:"example";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'example','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='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';
@@ -621,33 +630,32 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
}
?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
$attr7_title = '';
+ if ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
if (!empty($attr7_array))
{
$tmpArray = $$attr7_array;
if (!empty($attr7_var))
$tmp_text = $tmpArray[$attr7_var];
else
- $tmp_text = lang($tmpArray[$attr7_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
elseif (!empty($attr7_text))
- if ( isset($$attr7_text))
- $tmp_text = lang($$attr7_text);
- else
- $tmp_text = lang($attr7_text);
+ $tmp_text = $langF($attr7_text);
elseif (!empty($attr7_textvar))
- $tmp_text = lang($$attr7_textvar);
+ $tmp_text = $langF($$attr7_textvar);
elseif (!empty($attr7_key))
- $tmp_text = lang($attr7_key);
+ $tmp_text = $langF($attr7_key);
elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?'.$attr7_var.'?';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
elseif (!empty($attr7_raw))
$tmp_text = str_replace('_',' ',$attr7_raw);
elseif (!empty($attr7_value))
$tmp_text = $attr7_value;
else
$tmp_text = ' ';
- if ( $attr7_escape && empty($attr7_raw) && $tmp_text!=' ' )
- $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))
@@ -658,7 +666,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
}
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
+?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_key) ?><?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;
@@ -670,6 +678,13 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
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:9:{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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'examples','name'=>'example','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?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 $attr6_lang=false ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -677,13 +692,12 @@ if ( $attr6_addempty!==FALSE )
else
$$attr6_list = array(''=>'- '.lang($attr6_addempty).' -')+$$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
+?><select<?php if ($attr6_readonly) echo ' disabled="disabled"' ?> 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) )
@@ -714,7 +728,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
@@ -738,12 +753,18 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
$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 unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
if ($attr6_type=='ok')
+ {
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ }
+ if ($attr6_type=='ok')
$attr6_type = 'submit';
if (isset($attr6_src))
$attr6_type = 'image';
else
$attr6_src = '';
-?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo lang($attr6_text) ?> " /><?php unset($attr6_src) ?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
+?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
</td>
</tr>
</table>
diff --git a/themes/default/pages/html/template/addel.tpl.php b/themes/default/pages/html/template/addel.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/template/el.tpl.php b/themes/default/pages/html/template/el.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/template/extension.tpl.php b/themes/default/pages/html/template/extension.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -90,8 +82,8 @@
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
<?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -287,7 +279,13 @@
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:9:{s:4:"list";s:10:"mime_types";s:4:"name";s:9:"extension";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'mime_types','name'=>'extension','onchange'=>'','title'=>'','class'=>'','addempty'=>true,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='mime_types' ?><?php $attr6_name='extension' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=true ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -301,7 +299,6 @@ 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) )
@@ -332,7 +329,8 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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.'" />'
+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 unset($attr6_lang) ?><?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))
@@ -387,7 +385,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:13:"extensiontext";s:4:"size";s:2:"10";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'extensiontext','size'=>'10','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='extensiontext' ?><?php $attr6_size='10' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
-?><?php if (!$attr6_readonly) {
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
diff --git a/themes/default/pages/html/template/listing.tpl.php b/themes/default/pages/html/template/listing.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_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 $attr2 = array('name'=>'GLOBAL_TEMPLATES','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='GLOBAL_TEMPLATES' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='GLOBAL_TEMPLATES'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -67,7 +59,7 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
+ <?php if ($this->isEditMode()) {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
@@ -148,7 +140,7 @@
<tr>
<td>
<table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:9:"templates";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'templates','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='templates' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
+<?php unset($attr2_name);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='templates'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -167,7 +159,7 @@
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -177,18 +169,24 @@
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:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='fx'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'cms_main','url'=>$url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_title=''; $attr6_target='cms_main'; $attr6_url=$url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -208,7 +206,7 @@
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?php $attr7_escape=true ?><?php
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -273,68 +271,20 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:1:{s:5:"empty";s:9:"templates";}' ?><?php $attr3 = array('empty'=>'templates') ?><?php $attr3_empty='templates' ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr3_empty='templates'; ?><?php
+ if ( !isset($$attr3_empty) )
+ $attr3_tmp_exec = empty($attr3_empty);
+ elseif ( is_array($$attr3_empty) )
+ $attr3_tmp_exec = (count($$attr3_empty)==0);
+ elseif ( is_bool($$attr3_empty) )
+ $attr3_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr3_tmp_exec = empty( $$attr3_empty );
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_empty) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_empty); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -344,18 +294,24 @@
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:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='help'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:34:"GLOBAL_NO_TEMPLATES_AVAILABLE_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_NO_TEMPLATES_AVAILABLE_DESC','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_NO_TEMPLATES_AVAILABLE_DESC' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NO_TEMPLATES_AVAILABLE_DESC'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -420,7 +376,7 @@
}
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 $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -432,5 +388,5 @@
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/template/name.tpl.php b/themes/default/pages/html/template/name.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/template/src.tpl.php b/themes/default/pages/html/template/src.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/template/srcelement.tpl.php b/themes/default/pages/html/template/srcelement.tpl.php
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
diff --git a/themes/default/pages/html/title/show.tpl.php b/themes/default/pages/html/title/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:5:"title";}' ?><?php $attr1 = array('class'=>'title') ?><?php $attr1_class='title' ?><?php
+<?php $attr1_class='title'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:5:"width";s:4:"100%";s:5:"space";s:1:"0";s:7:"padding";s:1:"5";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr2 = array('width'=>'100%','space'=>'0','padding'=>'5','rowclasses'=>'odd,even') ?><?php $attr2_width='100%' ?><?php $attr2_space='0' ?><?php $attr2_padding='5' ?><?php $attr2_rowclasses='odd,even' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; $attr2_rowclasses='odd,even'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -62,7 +54,7 @@
$column_classes = explode(',',$attr2_columnclasses);
unset($attr2['columnclasses']);
}
-?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2) ?><?php unset($attr2_width) ?><?php unset($attr2_space) ?><?php unset($attr2_padding) ?><?php unset($attr2_rowclasses) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php
+?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2_width);unset($attr2_space);unset($attr2_padding);unset($attr2_rowclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -72,32 +64,27 @@
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:2:{s:5:"width";s:3:"30%";s:5:"class";s:5:"title";}' ?><?php $attr4 = array('width'=>'30%','class'=>'title') ?><?php $attr4_width='30%' ?><?php $attr4_class='title' ?><?php
+?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_width='30%'; $attr4_class='title'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_width) ?><?php unset($attr4_class) ?><?php $attr5_debug_info = 'a:2:{s:4:"icon";s:8:"database";s:5:"align";s:4:"left";}' ?><?php $attr5 = array('icon'=>'database','align'=>'left') ?><?php $attr5_icon='database' ?><?php $attr5_align='left' ?><?php
-if (isset($attr5_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr5_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr5_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr5_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr5_tree.IMG_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_url)) {
-?><img src="<?php echo $attr5_url ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_fileext)) {
-?><img src="<?php echo $image_dir.$attr5_fileext ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_file)) {
-?><img src="<?php echo $image_dir.$attr5_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php } ?><?php unset($attr5) ?><?php unset($attr5_icon) ?><?php unset($attr5_align) ?><?php $attr5_debug_info = 'a:4:{s:5:"title";s:16:"message:database";s:5:"class";s:4:"text";s:3:"var";s:6:"dbname";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('title'=>lang('database'),'class'=>'text','var'=>'dbname','escape'=>true) ?><?php $attr5_title=lang('database') ?><?php $attr5_class='text' ?><?php $attr5_var='dbname' ?><?php $attr5_escape=true ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_width);unset($attr4_class); ?><?php $attr5_icon='database'; $attr5_align='left'; ?><?php
+ $attr5_tmp_image_file = $image_dir.'icon_'.$attr5_icon.IMG_ICON_EXT;
+ $attr5_size = '16x16';
+?><img src="<?php echo $attr5_tmp_image_file ?>" border="0"<?php if(isset($attr5_align)) echo ' align="'.$attr5_align.'"' ?><?php if (isset($attr5_size)) { list($attr5_tmp_width,$attr5_tmp_height)=explode('x',$attr5_size);echo ' width="'.$attr5_tmp_width.'" height="'.$attr5_tmp_height.'"';} ?>><?php unset($attr5_icon);unset($attr5_align); ?><?php $attr5_title=lang('database'); $attr5_class='text'; $attr5_var='dbname'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -162,7 +149,7 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_class) ?><?php unset($attr5_var) ?><?php unset($attr5_escape) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_-_";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','raw'=>'_-_','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_-_' ?><?php $attr5_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_title);unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php $attr5_class='text'; $attr5_raw='_-_'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -227,7 +214,7 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:9:"cms_title";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'cms_title','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='cms_title' ?><?php $attr5_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_raw);unset($attr5_escape); ?><?php $attr5_class='text'; $attr5_var='cms_title'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -292,79 +279,30 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_var) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:3:{s:5:"width";s:3:"40%";s:5:"style";s:19:":text-align:center;";s:5:"class";s:5:"title";}' ?><?php $attr4 = array('width'=>'40%','style'=>'text-align:center;','class'=>'title') ?><?php $attr4_width='40%' ?><?php $attr4_style='text-align:center;' ?><?php $attr4_class='title' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_width='40%'; $attr4_style='text-align:center;'; $attr4_class='title'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_width) ?><?php unset($attr4_style) ?><?php unset($attr4_class) ?><?php $attr5_debug_info = 'a:1:{s:7:"present";s:11:"projectname";}' ?><?php $attr5 = array('present'=>'projectname') ?><?php $attr5_present='projectname' ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_width);unset($attr4_style);unset($attr4_class); ?><?php $attr5_present='projectname'; ?><?php
+ $attr5_tmp_exec = isset($$attr5_present);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_present) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:15:"message:project";s:5:"class";s:4:"text";s:3:"var";s:11:"projectname";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('title'=>lang('project'),'class'=>'text','var'=>'projectname','escape'=>true) ?><?php $attr6_title=lang('project') ?><?php $attr6_class='text' ?><?php $attr6_var='projectname' ?><?php $attr6_escape=true ?><?php
+<?php unset($attr5_present); ?><?php $attr6_title=lang('project'); $attr6_class='text'; $attr6_var='projectname'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -429,68 +367,13 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:7:"present";s:9:"modelname";}' ?><?php $attr5 = array('present'=>'modelname') ?><?php $attr5_present='modelname' ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php $attr5_present='modelname'; ?><?php
+ $attr5_tmp_exec = isset($$attr5_present);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_present) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"_(";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
+<?php unset($attr5_present); ?><?php $attr6_class='text'; $attr6_raw='_('; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -555,7 +438,7 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:13:"message:model";s:5:"class";s:4:"text";s:3:"var";s:9:"modelname";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('title'=>lang('model'),'class'=>'text','var'=>'modelname','escape'=>true) ?><?php $attr6_title=lang('model') ?><?php $attr6_class='text' ?><?php $attr6_var='modelname' ?><?php $attr6_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_title=lang('model'); $attr6_class='text'; $attr6_var='modelname'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -620,7 +503,7 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_raw=','; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -685,7 +568,7 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:16:"message:language";s:5:"class";s:4:"text";s:3:"var";s:12:"languagename";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('title'=>lang('language'),'class'=>'text','var'=>'languagename','escape'=>true) ?><?php $attr6_title=lang('language') ?><?php $attr6_class='text' ?><?php $attr6_var='languagename' ?><?php $attr6_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_title=lang('language'); $attr6_class='text'; $attr6_var='languagename'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -750,7 +633,7 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_raw=')'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -815,32 +698,24 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:3:{s:5:"width";s:3:"30%";s:5:"style";s:18:":text-align:right;";s:5:"class";s:5:"title";}' ?><?php $attr4 = array('width'=>'30%','style'=>'text-align:right;','class'=>'title') ?><?php $attr4_width='30%' ?><?php $attr4_style='text-align:right;' ?><?php $attr4_class='title' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr4_width='20%'; $attr4_style='text-align:right;'; $attr4_class='title'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_width) ?><?php unset($attr4_style) ?><?php unset($attr4_class) ?><?php $attr5_debug_info = 'a:2:{s:4:"icon";s:4:"user";s:5:"align";s:5:"right";}' ?><?php $attr5 = array('icon'=>'user','align'=>'right') ?><?php $attr5_icon='user' ?><?php $attr5_align='right' ?><?php
-if (isset($attr5_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr5_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr5_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr5_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr5_tree.IMG_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_url)) {
-?><img src="<?php echo $attr5_url ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_fileext)) {
-?><img src="<?php echo $image_dir.$attr5_fileext ?>" border="0" align="<?php echo $attr5_align ?>"><?php
-} elseif (isset($attr5_file)) {
-?><img src="<?php echo $image_dir.$attr5_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr5_align ?>"><?php } ?><?php unset($attr5) ?><?php unset($attr5_icon) ?><?php unset($attr5_align) ?><?php $attr5_debug_info = 'a:4:{s:5:"title";s:24:"message:USER_LOGOUT_DESC";s:6:"target";s:4:"_top";s:3:"url";s:14:"var:logout_url";s:5:"class";s:0:"";}' ?><?php $attr5 = array('title'=>lang('USER_LOGOUT_DESC'),'target'=>'_top','url'=>$logout_url,'class'=>'') ?><?php $attr5_title=lang('USER_LOGOUT_DESC') ?><?php $attr5_target='_top' ?><?php $attr5_url=$logout_url ?><?php $attr5_class='' ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_width);unset($attr4_style);unset($attr4_class); ?><?php $attr5_title=lang('USER_PROFILE_DESC'); $attr5_target='cms_main_main'; $attr5_url=$profile_url; $attr5_class=''; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -860,7 +735,10 @@ if (isset($attr5_elementtype)) {
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"USER_LOGOUT";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'USER_LOGOUT','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='USER_LOGOUT' ?><?php $attr6_escape=true ?><?php
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_icon='user'; $attr6_align='right'; ?><?php
+ $attr6_tmp_image_file = $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT;
+ $attr6_size = '16x16';
+?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_var='userfullname'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -925,72 +803,24 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_key) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></a><?php unset($attr4) ?><?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"_(";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','raw'=>'_(','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_(' ?><?php $attr5_escape=true ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
- $tmp_tag = 'span';
- else
- switch( $attr5_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 $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php
- $attr5_title = '';
- if ( $attr5_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr5_array))
- {
- $tmpArray = $$attr5_array;
- if (!empty($attr5_var))
- $tmp_text = $tmpArray[$attr5_var];
- else
- $tmp_text = $langF($tmpArray[$attr5_text]);
- }
- elseif (!empty($attr5_text))
- $tmp_text = $langF($attr5_text);
- elseif (!empty($attr5_textvar))
- $tmp_text = $langF($$attr5_textvar);
- elseif (!empty($attr5_key))
- $tmp_text = $langF($attr5_key);
- elseif (!empty($attr5_var))
- $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
- elseif (!empty($attr5_raw))
- $tmp_text = str_replace('_',' ',$attr5_raw);
- elseif (!empty($attr5_value))
- $tmp_text = $attr5_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) );
- if (isset($attr5_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr5_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($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr5_debug_info = 'a:4:{s:5:"title";s:25:"message:USER_PROFILE_DESC";s:6:"target";s:13:"cms_main_main";s:3:"url";s:15:"var:profile_url";s:5:"class";s:0:"";}' ?><?php $attr5 = array('title'=>lang('USER_PROFILE_DESC'),'target'=>'cms_main_main','url'=>$profile_url,'class'=>'') ?><?php $attr5_title=lang('USER_PROFILE_DESC') ?><?php $attr5_target='cms_main_main' ?><?php $attr5_url=$profile_url ?><?php $attr5_class='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php $attr4_width='10%'; $attr4_style='text-align:right;'; $attr4_class='title'; ?><?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($attr4_class))
+ $attr4_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_width);unset($attr4_style);unset($attr4_class); ?><?php $attr5_title=lang('USER_LOGOUT_DESC'); $attr5_target='_top'; $attr5_url=$logout_url; $attr5_class=''; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -1010,72 +840,10 @@ if (isset($attr5_elementtype)) {
$tmp_url = $attr5_url;
else
$tmp_url = Html::url($attr5_action,$attr5_subaction,!empty($attr5_id)?$attr5_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5) ?><?php unset($attr5_title) ?><?php unset($attr5_target) ?><?php unset($attr5_url) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:12:"userfullname";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'userfullname','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='userfullname' ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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
+?><a<?php if (isset($attr5_name)) echo ' name="'.$attr5_name.'"'; else echo ' href="'.$tmp_url.($attr5_anchor?'#'.$attr5_anchor:'').'"' ?> class="<?php echo $attr5_class ?>" target="<?php echo $attr5_target ?>"<?php if (isset($attr5_accesskey)) echo ' accesskey="'.$attr5_accesskey.'"' ?> title="<?php echo encodeHtml($attr5_title) ?>"><?php unset($attr5_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_icon='close'; $attr6_align='right'; ?><?php
+ $attr6_tmp_image_file = $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT;
+ $attr6_size = '16x16';
+?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_key='USER_LOGOUT'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1140,5 +908,5 @@ if (isset($attr5_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></a><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></table><?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/tree/show.tpl.php b/themes/default/pages/html/tree/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"tree";}' ?><?php $attr1 = array('class'=>'tree') ?><?php $attr1_class='tree' ?><?php
+<?php $attr1_class='tree'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:5:"class";s:4:"tree";s:5:"width";s:4:"100%";s:5:"space";s:1:"0";s:7:"padding";s:1:"0";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr2 = array('class'=>'tree','width'=>'100%','space'=>'0','padding'=>'0','rowclasses'=>'odd,even') ?><?php $attr2_class='tree' ?><?php $attr2_width='100%' ?><?php $attr2_space='0' ?><?php $attr2_padding='0' ?><?php $attr2_rowclasses='odd,even' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_class='tree'; $attr2_width='100%'; $attr2_space='0'; $attr2_padding='0'; $attr2_rowclasses='odd,even'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -62,7 +54,7 @@
$column_classes = explode(',',$attr2_columnclasses);
unset($attr2['columnclasses']);
}
-?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2) ?><?php unset($attr2_class) ?><?php unset($attr2_width) ?><?php unset($attr2_space) ?><?php unset($attr2_padding) ?><?php unset($attr2_rowclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:6:"zeilen";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'zeilen','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='zeilen' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
+?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2_class);unset($attr2_width);unset($attr2_space);unset($attr2_padding);unset($attr2_rowclasses); ?><?php $attr3_list='zeilen'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -81,7 +73,7 @@
}
extract($$attr3_list_tmp_value);
}
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -91,7 +83,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:4:{s:4:"list";s:4:"cols";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:1:"i";}' ?><?php $attr5 = array('list'=>'cols','extract'=>false,'key'=>'list_key','value'=>'i') ?><?php $attr5_list='cols' ?><?php $attr5_extract=false ?><?php $attr5_key='list_key' ?><?php $attr5_value='i' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_list='cols'; $attr5_extract=false; $attr5_key='list_key'; $attr5_value='i'; ?><?php
$attr5_list_tmp_key = $attr5_key;
$attr5_list_tmp_value = $attr5_value;
$attr5_list_extract = $attr5_extract;
@@ -110,165 +102,56 @@
}
extract($$attr5_list_tmp_value);
}
-?><?php unset($attr5) ?><?php unset($attr5_list) ?><?php unset($attr5_extract) ?><?php unset($attr5_key) ?><?php unset($attr5_value) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:7:"treecol";}' ?><?php $attr6 = array('class'=>'treecol') ?><?php $attr6_class='treecol' ?><?php
+?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_class='treecol'; ?><?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;
+ $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_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"tree";s:5:"var:i";}' ?><?php $attr7 = array('align'=>'left','tree'=>$i) ?><?php $attr7_align='left' ?><?php $attr7_tree=$i ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_tree) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?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:5:"image";}' ?><?php $attr5 = array('present'=>'image') ?><?php $attr5_present='image' ?><?php
- if ( isset($attr5_true) )
- {
- if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
- $exec = $$attr5_true == true;
- else
- $exec = $attr5_true == true;
- }
- elseif ( isset($attr5_false) )
- {
- if (gettype($attr5_false) === '' && gettype($attr5_false) === '1')
- $exec = $$attr5_false == false;
- else
- $exec = $attr5_false == false;
- }
- elseif( isset($attr5_contains) )
- $exec = in_array($attr5_value,explode(',',$attr5_contains));
- elseif( isset($attr5_equals)&& isset($attr5_value) )
- $exec = $attr5_equals == $attr5_value;
- elseif( isset($attr5_lessthan)&& isset($attr5_value) )
- $exec = intval($attr5_lessthan) > intval($attr5_value);
- elseif( isset($attr5_greaterthan)&& isset($attr5_value) )
- $exec = intval($attr5_greaterthan) < intval($attr5_value);
- elseif ( isset($attr5_empty) )
- {
- if ( !isset($$attr5_empty) )
- $exec = empty($attr5_empty);
- elseif ( is_array($$attr5_empty) )
- $exec = (count($$attr5_empty)==0);
- elseif ( is_bool($$attr5_empty) )
- $exec = true;
- else
- $exec = empty( $$attr5_empty );
- }
- elseif ( isset($attr5_present) )
- {
- $exec = isset($$attr5_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr5_invert) )
- $exec = !$exec;
- if ( !empty($attr5_not) )
- $exec = !$exec;
- unset($attr5_true);
- unset($attr5_false);
- unset($attr5_notempty);
- unset($attr5_empty);
- unset($attr5_contains);
- unset($attr5_present);
- unset($attr5_invert);
- unset($attr5_not);
- unset($attr5_value);
- unset($attr5_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_align='left'; $attr7_tree=$i; ?><?php
+ $attr7_tmp_image_file = $image_dir.'tree_'.$attr7_tree.IMG_EXT;
+ $attr7_size = '18x18';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_tree); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr5_present='image'; ?><?php
+ $attr5_tmp_exec = isset($$attr5_present);
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_present) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:9:"treeimage";}' ?><?php $attr6 = array('class'=>'treeimage') ?><?php $attr6_class='treeimage' ?><?php
+<?php unset($attr5_present); ?><?php $attr6_class='treeimage'; ?><?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;
+ $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_class) ?><?php $attr7_debug_info = 'a:1:{s:7:"present";s:9:"image_url";}' ?><?php $attr7 = array('present'=>'image_url') ?><?php $attr7_present='image_url' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_class); ?><?php $attr7_present='image_url'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr7) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:5:{s:5:"title";s:14:"image_url_desc";s:6:"target";s:5:"_self";s:3:"url";s:13:"var:image_url";s:5:"class";s:4:"tree";s:6:"anchor";s:8:"var:name";}' ?><?php $attr8 = array('title'=>'image_url_desc','target'=>'_self','url'=>$image_url,'class'=>'tree','anchor'=>$name) ?><?php $attr8_title='image_url_desc' ?><?php $attr8_target='_self' ?><?php $attr8_url=$image_url ?><?php $attr8_class='tree' ?><?php $attr8_anchor=$name ?><?php
+<?php unset($attr7_present); ?><?php $attr8_title='image_url_desc'; $attr8_target='_self'; $attr8_url=$image_url; $attr8_class='tree'; $attr8_anchor=$name; ?><?php
$params = array();
if (!empty($attr8_var1) && isset($attr8_value1))
$params[$attr8_var1]=$attr8_value1;
@@ -288,47 +171,32 @@ if (isset($attr7_elementtype)) {
$tmp_url = $attr8_url;
else
$tmp_url = Html::url($attr8_action,$attr8_subaction,!empty($attr8_id)?$attr8_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr8_name)) echo ' name="'.$attr8_name.'"'; else echo ' href="'.$tmp_url.($attr8_anchor?'#'.$attr8_anchor:'').'"' ?> class="<?php echo $attr8_class ?>" target="<?php echo $attr8_target ?>"<?php if (isset($attr8_accesskey)) echo ' accesskey="'.$attr8_accesskey.'"' ?> title="<?php echo encodeHtml($attr8_title) ?>"><?php unset($attr8) ?><?php unset($attr8_title) ?><?php unset($attr8_target) ?><?php unset($attr8_url) ?><?php unset($attr8_class) ?><?php unset($attr8_anchor) ?><?php $attr9_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"tree";s:9:"var:image";}' ?><?php $attr9 = array('align'=>'left','tree'=>$image) ?><?php $attr9_align='left' ?><?php $attr9_tree=$image ?><?php
-if (isset($attr9_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr9_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr9_tree.IMG_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_url)) {
-?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_fileext)) {
-?><img src="<?php echo $image_dir.$attr9_fileext ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_file)) {
-?><img src="<?php echo $image_dir.$attr9_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php } ?><?php unset($attr9) ?><?php unset($attr9_align) ?><?php unset($attr9_tree) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?></a><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr7) ?><?php $attr8_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"tree";s:9:"var:image";}' ?><?php $attr8 = array('align'=>'left','tree'=>$image) ?><?php $attr8_align='left' ?><?php $attr8_tree=$image ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_align) ?><?php unset($attr8_tree) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?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() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:9:"treevalue";s:7:"colspan";s:11:"var:colspan";}' ?><?php $attr5 = array('class'=>'treevalue','colspan'=>$colspan) ?><?php $attr5_class='treevalue' ?><?php $attr5_colspan=$colspan ?><?php
+?><a<?php if (isset($attr8_name)) echo ' name="'.$attr8_name.'"'; else echo ' href="'.$tmp_url.($attr8_anchor?'#'.$attr8_anchor:'').'"' ?> class="<?php echo $attr8_class ?>" target="<?php echo $attr8_target ?>"<?php if (isset($attr8_accesskey)) echo ' accesskey="'.$attr8_accesskey.'"' ?> title="<?php echo encodeHtml($attr8_title) ?>"><?php unset($attr8_title);unset($attr8_target);unset($attr8_url);unset($attr8_class);unset($attr8_anchor); ?><?php $attr9_align='left'; $attr9_tree=$image; ?><?php
+ $attr9_tmp_image_file = $image_dir.'tree_'.$attr9_tree.IMG_EXT;
+ $attr9_size = '18x18';
+?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_align);unset($attr9_tree); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_align='left'; $attr8_tree=$image; ?><?php
+ $attr8_tmp_image_file = $image_dir.'tree_'.$attr8_tree.IMG_EXT;
+ $attr8_size = '18x18';
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_tree); ?><?php ?><?php }
+unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr5_class='treevalue'; $attr5_colspan=$colspan; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:5:"class";s:0:"";s:4:"name";s:8:"var:name";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','class'=>'','name'=>$name) ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_class='' ?><?php $attr6_name=$name ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_class=''; $attr6_name=$name; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -348,68 +216,13 @@ if (isset($attr8_elementtype)) {
$tmp_url = $attr6_url;
else
$tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_class) ?><?php unset($attr6_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:3:"url";}' ?><?php $attr6 = array('present'=>'url') ?><?php $attr6_present='url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_class);unset($attr6_name); ?><?php ?></a><?php ?><?php $attr6_present='url'; ?><?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
{
?>
-<?php unset($attr6) ?><?php unset($attr6_present) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:8:"var:desc";s:6:"target";s:10:"var:target";s:3:"url";s:7:"var:url";s:5:"class";s:4:"tree";}' ?><?php $attr7 = array('title'=>$desc,'target'=>$target,'url'=>$url,'class'=>'tree') ?><?php $attr7_title=$desc ?><?php $attr7_target=$target ?><?php $attr7_url=$url ?><?php $attr7_class='tree' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_title=$desc; $attr7_target=$target; $attr7_url=$url; $attr7_class='tree'; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -429,21 +242,10 @@ if (isset($attr8_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:2:{s:4:"icon";s:8:"var:icon";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>$icon,'align'=>'left') ?><?php $attr8_icon=$icon ?><?php $attr8_align='left' ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr8_tree.IMG_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_icon) ?><?php unset($attr8_align) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"text";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'text','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='text' ?><?php $attr8_escape=true ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_icon=$icon; $attr8_align='left'; ?><?php
+ $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='text'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -508,22 +310,11 @@ if (isset($attr8_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_var) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:4:"icon";s:8:"var:icon";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('icon'=>$icon,'align'=>'left') ?><?php $attr7_icon=$icon ?><?php $attr7_align='left' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr7_tree.IMG_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_icon) ?><?php unset($attr7_align) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"text";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'text','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='text' ?><?php $attr7_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_icon=$icon; $attr7_align='left'; ?><?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_icon);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='text'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -588,19 +379,20 @@ if (isset($attr7_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:3:"var";s:3:"url";}' ?><?php $attr5 = array('var'=>'url') ?><?php $attr5_var='url' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?><?php }
+unset($attr5_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php $attr5_var='url'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
elseif (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
-?><?php unset($attr5) ?><?php unset($attr5_var) ?><?php $attr5_debug_info = 'a:1:{s:3:"var";s:5:"image";}' ?><?php $attr5 = array('var'=>'image') ?><?php $attr5_var='image' ?><?php
+?><?php unset($attr5_var); ?><?php $attr5_var='image'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
elseif (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
-?><?php unset($attr5) ?><?php unset($attr5_var) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></table><?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+?><?php unset($attr5_var); ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?></table><?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/treetitle/show.tpl.php b/themes/default/pages/html/treetitle/show.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"menu";}' ?><?php $attr1 = array('class'=>'menu') ?><?php $attr1_class='menu' ?><?php
+<?php $attr1_class='menu'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,7 +26,7 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:5:"width";s:4:"100%";s:5:"space";s:1:"0";s:7:"padding";s:1:"5";s:10:"rowclasses";s:8:"odd,even";}' ?><?php $attr2 = array('width'=>'100%','space'=>'0','padding'=>'5','rowclasses'=>'odd,even') ?><?php $attr2_width='100%' ?><?php $attr2_space='0' ?><?php $attr2_padding='5' ?><?php $attr2_rowclasses='odd,even' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; $attr2_rowclasses='odd,even'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -62,68 +54,16 @@
$column_classes = explode(',',$attr2_columnclasses);
unset($attr2['columnclasses']);
}
-?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2) ?><?php unset($attr2_width) ?><?php unset($attr2_space) ?><?php unset($attr2_padding) ?><?php unset($attr2_rowclasses) ?><?php $attr3_debug_info = 'a:1:{s:4:"true";s:34:"!config:interface/application_mode";}' ?><?php $attr3 = array('true'=>! @$conf['interface']['application_mode']) ?><?php $attr3_true=! @$conf['interface']['application_mode'] ?><?php
- if ( isset($attr3_true) )
- {
- if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
- $exec = $$attr3_true == true;
- else
- $exec = $attr3_true == true;
- }
- elseif ( isset($attr3_false) )
- {
- if (gettype($attr3_false) === '' && gettype($attr3_false) === '1')
- $exec = $$attr3_false == false;
- else
- $exec = $attr3_false == false;
- }
- elseif( isset($attr3_contains) )
- $exec = in_array($attr3_value,explode(',',$attr3_contains));
- elseif( isset($attr3_equals)&& isset($attr3_value) )
- $exec = $attr3_equals == $attr3_value;
- elseif( isset($attr3_lessthan)&& isset($attr3_value) )
- $exec = intval($attr3_lessthan) > intval($attr3_value);
- elseif( isset($attr3_greaterthan)&& isset($attr3_value) )
- $exec = intval($attr3_greaterthan) < intval($attr3_value);
- elseif ( isset($attr3_empty) )
- {
- if ( !isset($$attr3_empty) )
- $exec = empty($attr3_empty);
- elseif ( is_array($$attr3_empty) )
- $exec = (count($$attr3_empty)==0);
- elseif ( is_bool($$attr3_empty) )
- $exec = true;
- else
- $exec = empty( $$attr3_empty );
- }
- elseif ( isset($attr3_present) )
- {
- $exec = isset($$attr3_present);
- }
+?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2_width);unset($attr2_space);unset($attr2_padding);unset($attr2_rowclasses); ?><?php $attr3_true=! @$conf['interface']['application_mode']; ?><?php
+ if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
+ $attr3_tmp_exec = $$attr3_true == true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr3_invert) )
- $exec = !$exec;
- if ( !empty($attr3_not) )
- $exec = !$exec;
- unset($attr3_true);
- unset($attr3_false);
- unset($attr3_notempty);
- unset($attr3_empty);
- unset($attr3_contains);
- unset($attr3_present);
- unset($attr3_invert);
- unset($attr3_not);
- unset($attr3_value);
- unset($attr3_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr3_tmp_exec = $attr3_true == true;
+ $attr3_tmp_last_exec = $attr3_tmp_exec;
+ if ( $attr3_tmp_exec )
{
?>
-<?php unset($attr3) ?><?php unset($attr3_true) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+<?php unset($attr3_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -133,32 +73,27 @@
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:5:"class";s:4:"menu";}' ?><?php $attr5 = array('class'=>'menu') ?><?php $attr5_class='menu' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='menu'; ?><?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;
+ $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_class) ?><?php $attr6_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:8:"var:type";}' ?><?php $attr6 = array('align'=>'left','type'=>$type) ?><?php $attr6_align='left' ?><?php $attr6_type=$type ?><?php
-if (isset($attr6_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr6_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_tree)) {
-?><img src="<?php echo $image_dir.'tree_'.$attr6_tree.IMG_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_url)) {
-?><img src="<?php echo $attr6_url ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_fileext)) {
-?><img src="<?php echo $image_dir.$attr6_fileext ?>" border="0" align="<?php echo $attr6_align ?>"><?php
-} elseif (isset($attr6_file)) {
-?><img src="<?php echo $image_dir.$attr6_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr6_align ?>"><?php } ?><?php unset($attr6) ?><?php unset($attr6_align) ?><?php unset($attr6_type) ?><?php $attr6_debug_info = 'a:4:{s:4:"list";s:4:"path";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:2:"xy";}' ?><?php $attr6 = array('list'=>'path','extract'=>true,'key'=>'list_key','value'=>'xy') ?><?php $attr6_list='path' ?><?php $attr6_extract=true ?><?php $attr6_key='list_key' ?><?php $attr6_value='xy' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_align='left'; $attr6_type=$type; ?><?php
+ $attr6_tmp_image_file = $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT;
+ $attr6_size = '16x16';
+?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_align);unset($attr6_type); ?><?php $attr6_list='path'; $attr6_extract=true; $attr6_key='list_key'; $attr6_value='xy'; ?><?php
$attr6_list_tmp_key = $attr6_key;
$attr6_list_tmp_value = $attr6_value;
$attr6_list_extract = $attr6_extract;
@@ -177,7 +112,7 @@ if (isset($attr6_elementtype)) {
}
extract($$attr6_list_tmp_value);
}
-?><?php unset($attr6) ?><?php unset($attr6_list) ?><?php unset($attr6_extract) ?><?php unset($attr6_key) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:4:{s:5:"title";s:5:"title";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:4:"path";}' ?><?php $attr7 = array('title'=>'title','target'=>'cms_main','url'=>$url,'class'=>'path') ?><?php $attr7_title='title' ?><?php $attr7_target='cms_main' ?><?php $attr7_url=$url ?><?php $attr7_class='path' ?><?php
+?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_title='title'; $attr7_target='cms_main'; $attr7_url=$url; $attr7_class='path'; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -197,7 +132,7 @@ if (isset($attr6_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:9:"maxlength";s:2:"20";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'name','maxlength'=>'20','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='name' ?><?php $attr8_maxlength='20' ?><?php $attr8_escape=true ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_var='name'; $attr8_maxlength='20'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -262,12 +197,12 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_var) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:4:"type";s:7:"filesep";}' ?><?php $attr7 = array('type'=>'filesep') ?><?php $attr7_type='filesep' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_maxlength);unset($attr8_escape); ?><?php ?></a><?php ?><?php $attr7_type='filesep'; ?><?php
if ($attr7_type=='filesep')
echo ' <strong>»</strong> ';
else
echo "char error";
-?><?php unset($attr7) ?><?php unset($attr7_type) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:8:"var:text";s:5:"class";s:5:"title";s:3:"var";s:4:"text";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('title'=>$text,'class'=>'title','var'=>'text','escape'=>true) ?><?php $attr6_title=$text ?><?php $attr6_class='title' ?><?php $attr6_var='text' ?><?php $attr6_escape=true ?><?php
+?><?php unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_title=$text; $attr6_class='title'; $attr6_var='text'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -332,7 +267,7 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_class) ?><?php unset($attr6_var) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -342,18 +277,24 @@ if (isset($attr6_elementtype)) {
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:5:"class";s:9:"subaction";}' ?><?php $attr4 = array('class'=>'subaction') ?><?php $attr4_class='subaction' ?><?php
+?><tr class="<?php echo $attr3_class ?>"><?php ?><?php $attr4_class='subaction'; ?><?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($attr4_class))
- $attr4['class']=$column_class;
+ $attr4_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) )
- $attr4['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_class) ?><?php $attr5_debug_info = 'a:4:{s:4:"list";s:10:"windowMenu";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr5 = array('list'=>'windowMenu','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr5_list='windowMenu' ?><?php $attr5_extract=true ?><?php $attr5_key='list_key' ?><?php $attr5_value='list_value' ?><?php
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php }
+if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php }
+if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php }
+if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php }
+if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
+?>><?php unset($attr4_class); ?><?php $attr5_list='windowMenu'; $attr5_extract=true; $attr5_key='list_key'; $attr5_value='list_value'; ?><?php
$attr5_list_tmp_key = $attr5_key;
$attr5_list_tmp_value = $attr5_value;
$attr5_list_extract = $attr5_extract;
@@ -372,68 +313,22 @@ if (isset($attr6_elementtype)) {
}
extract($$attr5_list_tmp_value);
}
-?><?php unset($attr5) ?><?php unset($attr5_list) ?><?php unset($attr5_extract) ?><?php unset($attr5_key) ?><?php unset($attr5_value) ?><?php $attr6_debug_info = 'a:2:{s:3:"not";s:4:"true";s:5:"empty";s:3:"url";}' ?><?php $attr6 = array('not'=>true,'empty'=>'url') ?><?php $attr6_not=true ?><?php $attr6_empty='url' ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
+?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_not=true; $attr6_empty='url'; ?><?php
+ if ( !isset($$attr6_empty) )
+ $attr6_tmp_exec = empty($attr6_empty);
+ elseif ( is_array($$attr6_empty) )
+ $attr6_tmp_exec = (count($$attr6_empty)==0);
+ elseif ( is_bool($$attr6_empty) )
+ $attr6_tmp_exec = true;
else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
+ $attr6_tmp_exec = empty( $$attr6_empty );
if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
+ $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
{
?>
-<?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
+<?php unset($attr6_not);unset($attr6_empty); ?><?php $attr7_title=lang($title); $attr7_target='_parent'; $attr7_url=$url; $attr7_class='menu'; $attr7_accesskey=lang($key); ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -453,7 +348,7 @@ if (isset($attr6_elementtype)) {
$tmp_url = $attr7_url;
else
$tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_url) ?><?php unset($attr7_class) ?><?php unset($attr7_accesskey) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:4:"text";s:8:"var:text";s:9:"accesskey";s:14:"messagevar:key";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>$text,'accesskey'=>lang($key),'escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text=$text ?><?php $attr8_accesskey=lang($key) ?><?php $attr8_escape=true ?><?php
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class);unset($attr7_accesskey); ?><?php $attr8_class='text'; $attr8_text=$text; $attr8_accesskey=lang($key); $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -518,8 +413,8 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_text) ?><?php unset($attr8_accesskey) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:4:{s:5:"class";s:13:"menu_disabled";s:4:"text";s:8:"var:text";s:9:"accesskey";s:14:"messagevar:key";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'menu_disabled','text'=>$text,'accesskey'=>lang($key),'escape'=>true) ?><?php $attr7_class='menu_disabled' ?><?php $attr7_text=$text ?><?php $attr7_accesskey=lang($key) ?><?php $attr7_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_accesskey);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_class='menu_disabled'; $attr7_text=$text; $attr7_accesskey=lang($key); $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -584,7 +479,8 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr7) ?><?php unset($attr7_class) ?><?php unset($attr7_text) ?><?php unset($attr7_accesskey) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"__";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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_accesskey);unset($attr7_escape); ?><?php ?><?php }
+unset($attr5_tmp_last_exec) ?><?php ?><?php $attr6_class='text'; $attr6_raw='__'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -649,12 +545,12 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_raw) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:2:{s:3:"var";s:3:"url";s:5:"value";s:0:"";}' ?><?php $attr6 = array('var'=>'url','value'=>'') ?><?php $attr6_var='url' ?><?php $attr6_value='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_var='url'; $attr6_value=''; ?><?php
if (!isset($attr6_value))
unset($$attr6_var);
elseif (isset($attr6_key))
$$attr6_var = $attr6_value[$attr6_key];
else
$$attr6_var = $attr6_value;
-?><?php unset($attr6) ?><?php unset($attr6_var) ?><?php unset($attr6_value) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php } ?><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></table><?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+?><?php unset($attr6_var);unset($attr6_value); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/user/edit.tpl.php b/themes/default/pages/html/user/edit.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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:5:{s:4:"name";s:11:"GLOBAL_USER";s:6:"widths";s:7:"50%,50%";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_USER','widths'=>'50%,50%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_USER' ?><?php $attr3_widths='50%,50%' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='GLOBAL_USER'; $attr3_widths='50%,50%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,9 +81,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -170,7 +162,7 @@
<tr>
<td>
<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
+<?php unset($attr3_name);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -180,18 +172,24 @@
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"user_username";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_username','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_username' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_username'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -256,25 +254,31 @@
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:4:"name";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"name";s:4:"size";s:2:"20";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'name','size'=>'20','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='20' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='name'; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $attr6_size='20'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -284,18 +288,24 @@ 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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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: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 encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('ADDITIONAL_INFO'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -305,18 +315,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"user_fullname";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_fullname','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_fullname' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_fullname'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -381,86 +397,40 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:8:"fullname";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'fullname','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='fullname' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='fullname'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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:1:{s:4:"true";s:30:"config:security/user/show_mail";}' ?><?php $attr4 = array('true'=>@$conf['security']['user']['show_mail']) ?><?php $attr4_true=@$conf['security']['user']['show_mail'] ?><?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 { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_true=@$conf['security']['user']['show_mail']; ?><?php
+ if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
+ $attr4_tmp_exec = $$attr4_true == true;
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 )
+ $attr4_tmp_exec = $attr4_true == true;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_true) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_true); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -470,18 +440,24 @@ if ($attr6_readonly) {
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
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"user_mail";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'user_mail','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='user_mail' ?><?php $attr7_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_class='text'; $attr7_text='user_mail'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -546,25 +522,31 @@ if ($attr6_readonly) {
}
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 $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"mail";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'mail','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='mail' ?><?php $attr7_size='40' ?><?php $attr7_maxlength='256' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_class=''; $attr7_default=''; $attr7_type='text'; $attr7_name='mail'; $attr7_size='40'; $attr7_maxlength='256'; $attr7_onchange=''; $attr7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ($attr7_readonly && empty($$attr7_name)) $$attr7_name = '- '.lang('EMPTY').' -';
if(!isset($attr7_default)) $attr7_default='';
?><?php if (!$attr7_readonly || $attr7_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?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() ?></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
+ } } else { ?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_class);unset($attr7_default);unset($attr7_type);unset($attr7_name);unset($attr7_size);unset($attr7_maxlength);unset($attr7_onchange);unset($attr7_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -574,18 +556,24 @@ if ($attr7_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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"user_desc";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_desc','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_desc' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_desc'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -650,25 +638,31 @@ if ($attr7_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:4:"desc";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'desc','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='desc' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='desc'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -678,18 +672,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:8:"user_tel";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_tel','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_tel' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_tel'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -754,25 +754,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:3:"tel";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'tel','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='tel' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='tel'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -782,18 +788,24 @@ 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:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?><?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;
+ $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 encodeHtml($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
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('options'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -803,30 +815,42 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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 $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php ?></td><?php ?><?php ?><?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;
+ $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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:8:"is_admin";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'is_admin') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='is_admin' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_default=false; $attr6_readonly=false; $attr6_name='is_admin'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
@@ -836,7 +860,7 @@ if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
}
-?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6) ?><?php unset($attr6_default) ?><?php unset($attr6_readonly) ?><?php unset($attr6_name) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:8:"is_admin";}' ?><?php $attr6 = array('for'=>'is_admin') ?><?php $attr6_for='is_admin' ?><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:10:"user_admin";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'user_admin','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='user_admin' ?><?php $attr7_escape=true ?><?php
+?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='is_admin'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='user_admin'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -901,7 +925,7 @@ if ( $attr6_readonly && $checked )
}
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($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -911,18 +935,24 @@ if ( $attr6_readonly && $checked )
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 ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"user_ldapdn";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_ldapdn','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_ldapdn' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_ldapdn'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -987,25 +1017,31 @@ if ( $attr6_readonly && $checked )
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:7:"ldap_dn";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'ldap_dn','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='ldap_dn' ?><?php $attr6_size='50' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='ldap_dn'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><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
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?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
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1015,18 +1051,24 @@ 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:0:{}' ?><?php $attr5 = array() ?><?php
+?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:10:"user_style";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'user_style','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='user_style' ?><?php $attr6_escape=true ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='user_style'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1091,19 +1133,31 @@ if ($attr6_readonly) {
}
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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:10:{s:4:"list";s:9:"allstyles";s:4:"name";s:5:"style";s:7:"default";s:30:"config:interface/style/default";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";s:4:"lang";s:5:"false";}' ?><?php $attr6 = array('list'=>'allstyles','name'=>'style','default'=>@$conf['interface']['style']['default'],'onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='allstyles' ?><?php $attr6_name='style' ?><?php $attr6_default=@$conf['interface']['style']['default'] ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php $attr6_lang=false ?><?php
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr6_readonly=true;
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_list='allstyles'; $attr6_name='style'; $attr6_default=@$conf['interface']['style']['default']; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && !$this->isEditMode())
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
if ( $attr6_addempty!==FALSE )
{
if ($attr6_addempty===TRUE)
@@ -1117,7 +1171,6 @@ 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) )
@@ -1148,8 +1201,9 @@ echo ' size="'.intval($attr6_size).'"';
}
?></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_default) ?><?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 unset($attr6_lang) ?><?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)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />';
+}
+?><?php unset($attr6_list);unset($attr6_name);unset($attr6_default);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -1159,18 +1213,24 @@ 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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -1183,7 +1243,7 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1195,12 +1255,12 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:1:{s:5:"field";s:4:"name";}' ?><?php $attr2 = array('field'=>'name') ?><?php $attr2_field='name' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='name'; ?><?php
if (isset($errors[0])) $attr2_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr2_field ?>.focus();
document.forms[0].<?php echo $attr2_field ?>.select();
</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/user/groups.tpl.php b/themes/default/pages/html/user/groups.tpl.php
@@ -1,4 +1,4 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
+<?php $attr1_class='main'; ?><?php
if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -18,15 +18,7 @@
?>
<link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
}
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
+?><?php if(!empty($root_stylesheet)) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
<?php } ?>
<?php if($root_stylesheet!=$user_stylesheet) { ?>
@@ -34,21 +26,21 @@
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
if (empty($attr2_action))
$attr2_action = $actionName;
if (empty($attr2_subaction))
$attr2_subaction = $targetSubActionName;
if (empty($attr2_id))
$attr2_id = $this->getRequestId();
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+ if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
?><form name="<?php echo $attr2_name ?>"
target="<?php echo $attr2_target ?>"
action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
method="<?php echo $attr2_method ?>"
enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
-<?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') { ?>
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
<input type="hidden" name="mode" value="edit" />
<?php } ?>
<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
@@ -56,7 +48,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:5:{s:4:"name";s:16:"USER_MEMBERSHIPS";s:6:"widths";s:6:"5%,95%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('name'=>'USER_MEMBERSHIPS','widths'=>'5%,95%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='USER_MEMBERSHIPS' ?><?php $attr3_widths='5%,95%' ?><?php $attr3_width='70%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='USER_MEMBERSHIPS'; $attr3_widths='5%,95%'; $attr3_width='70%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -89,9 +81,9 @@
echo '<tr><td class="menu">';
echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
?><?php }
echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
if ( !isset($path) || is_array($path) )
@@ -170,7 +162,7 @@
<tr>
<td>
<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:4:{s:4:"list";s:11:"memberships";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr4 = array('list'=>'memberships','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='memberships' ?><?php $attr4_extract=true ?><?php $attr4_key='list_key' ?><?php $attr4_value='list_value' ?><?php
+<?php unset($attr3_name);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php $attr4_list='memberships'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?><?php
$attr4_list_tmp_key = $attr4_key;
$attr4_list_tmp_value = $attr4_value;
$attr4_list_extract = $attr4_extract;
@@ -189,7 +181,7 @@
}
extract($$attr4_list_tmp_value);
}
-?><?php unset($attr4) ?><?php unset($attr4_list) ?><?php unset($attr4_extract) ?><?php unset($attr4_key) ?><?php unset($attr4_value) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -199,19 +191,25 @@
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
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?php ?><?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;
+ $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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"var:var";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>$var) ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name=$var ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_default=false; $attr7_readonly=false; $attr7_name=$var; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
@@ -221,30 +219,27 @@ 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:0:{}' ?><?php $attr6 = array() ?><?php
+?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php ?></td><?php ?><?php ?><?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;
+ $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:7:"var:var";}' ?><?php $attr7 = array('for'=>$var) ?><?php $attr7_for=$var ?><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:2:{s:4:"file";s:10:"icon_group";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('file'=>'icon_group','align'=>'left') ?><?php $attr8_file='icon_group' ?><?php $attr8_align='left' ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_file) ?><?php unset($attr8_align) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='name' ?><?php $attr8_escape=true ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php ?><?php $attr7_for=$var; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_file='icon_group'; $attr8_align='left'; ?><?php
+ $attr8_tmp_image_file = $image_dir.$attr8_fileext;
+ $attr8_tmp_image_file = $image_dir.$attr8_file.IMG_ICON_EXT;
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_file);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='name'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -309,7 +304,7 @@ if (isset($attr8_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_var) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -319,18 +314,24 @@ if (isset($attr8_elementtype)) {
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 ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?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;
+ $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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -343,7 +344,7 @@ if (isset($attr8_elementtype)) {
else
$attr6_src = '';
?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
-?><?php unset($attr6) ?><?php unset($attr6_type) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_text) ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -355,6 +356,6 @@ if (isset($attr8_elementtype)) {
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/user/listing.tpl.php b/themes/default/pages/html/user/listing.tpl.php
@@ -1,633 +1,576 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:4:"name";s:12:"GLOBAL_USERS";s:4:"icon";s:4:"user";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('name'=>'GLOBAL_USERS','icon'=>'user','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='GLOBAL_USERS' ?><?php $attr2_icon='user' ?><?php $attr2_width='70%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr2_widths))
- {
- $column_widths = explode(',',$attr2_widths);
- unset($attr2['widths']);
- }
- if (!empty($attr2_rowclasses))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- if (!empty($attr2_columnclasses))
- {
- $column_classes = explode(',',$attr2_columnclasses);
- unset($attr2['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name='GLOBAL_USERS'; $attr2_icon='user'; $attr2_width='70%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr2_widths))
+ {
+ $column_widths = explode(',',$attr2_widths);
+ unset($attr2['widths']);
+ }
+ if (!empty($attr2_rowclasses))
+ {
+ $row_classes = explode(',',$attr2_rowclasses);
+ $row_class_idx = 999;
+ unset($attr2['rowclasses']);
+ }
+ if (!empty($attr2_columnclasses))
+ {
+ $column_classes = explode(',',$attr2_columnclasses);
+ unset($attr2['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_name);unset($attr2_icon);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='el'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?> <?php
+ $attr3_list_tmp_key = $attr3_key;
+ $attr3_list_tmp_value = $attr3_value;
+ $attr3_list_extract = $attr3_extract;
+ unset($attr3_key);
+ unset($attr3_value);
+ if ( !isset($$attr3_list) || !is_array($$attr3_list) )
+ $$attr3_list = array();
+ foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
+ {
+ if ( $attr3_list_extract )
+ {
+ if ( !is_array($$attr3_list_tmp_value) )
+ {
+ print_r($$attr3_list_tmp_value);
+ die( 'not an array at key: '.$$attr3_list_tmp_key );
+ }
+ extract($$attr3_list_tmp_value);
+ }
+ ?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?> <?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 ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_title='desc'; $attr6_target='cms_main'; $attr6_url=$url; $attr6_class=''; ?> <?php
+ $params = array();
+ if (!empty($attr6_var1) && isset($attr6_value1))
+ $params[$attr6_var1]=$attr6_value1;
+ if (!empty($attr6_var2) && isset($attr6_value2))
+ $params[$attr6_var2]=$attr6_value2;
+ if (!empty($attr6_var3) && isset($attr6_value3))
+ $params[$attr6_var3]=$attr6_value3;
+ if (!empty($attr6_var4) && isset($attr6_value4))
+ $params[$attr6_var4]=$attr6_value4;
+ if (!empty($attr6_var5) && isset($attr6_value5))
+ $params[$attr6_var5]=$attr6_value5;
+ if(empty($attr6_class))
+ $attr6_class='';
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if(!empty($attr6_url))
+ $tmp_url = $attr6_url;
+ else
+ $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_align='left'; $attr7_type='user'; ?> <?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_var='name'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </a><?php ?><?php ?> </td><?php ?><?php $attr5_class='fx'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_value=$fullname; $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))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $attr6_title = '';
+ if ( $attr6_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr6_array))
+ {
+ $tmpArray = $$attr6_array;
+ if (!empty($attr6_var))
+ $tmp_text = $tmpArray[$attr6_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr6_text]);
+ }
+ elseif (!empty($attr6_text))
+ $tmp_text = $langF($attr6_text);
+ elseif (!empty($attr6_textvar))
+ $tmp_text = $langF($$attr6_textvar);
+ elseif (!empty($attr6_key))
+ $tmp_text = $langF($attr6_key);
+ elseif (!empty($attr6_var))
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
+ elseif (!empty($attr6_raw))
+ $tmp_text = str_replace('_',' ',$attr6_raw);
+ elseif (!empty($attr6_value))
+ $tmp_text = $attr6_value;
+ else
+ $tmp_text = ' ';
+ 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($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($attr6_class);unset($attr6_value);unset($attr6_escape); ?><?php $attr6_true=$isAdmin; ?> <?php
+ if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
+ $attr6_tmp_exec = $$attr6_true == true;
+ else
+ $attr6_tmp_exec = $attr6_true == true;
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+ ?>
+<?php unset($attr6_true); ?><?php $attr7_class='text'; $attr7_raw='_('; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_raw);unset($attr7_escape); ?><?php $attr7_class='text'; $attr7_key='USER_ADMIN'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_key);unset($attr7_escape); ?><?php $attr7_class='text'; $attr7_raw=')'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> </table>
+ </td>
+ </tr>
+ </table>
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_name) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:2:"el";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'el','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='el' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
- $attr3_list_tmp_key = $attr3_key;
- $attr3_list_tmp_value = $attr3_value;
- $attr3_list_extract = $attr3_extract;
- unset($attr3_key);
- unset($attr3_value);
- if ( !isset($$attr3_list) || !is_array($$attr3_list) )
- $$attr3_list = array();
- foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
- {
- if ( $attr3_list_extract )
- {
- if ( !is_array($$attr3_list_tmp_value) )
- {
- print_r($$attr3_list_tmp_value);
- die( 'not an array at key: '.$$attr3_list_tmp_key );
- }
- extract($$attr3_list_tmp_value);
- }
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:4:{s:5:"title";s:4:"desc";s:6:"target";s:8:"cms_main";s:3:"url";s:7:"var:url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'desc','target'=>'cms_main','url'=>$url,'class'=>'') ?><?php $attr6_title='desc' ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$url ?><?php $attr6_class='' ?><?php
- $params = array();
- if (!empty($attr6_var1) && isset($attr6_value1))
- $params[$attr6_var1]=$attr6_value1;
- if (!empty($attr6_var2) && isset($attr6_value2))
- $params[$attr6_var2]=$attr6_value2;
- if (!empty($attr6_var3) && isset($attr6_value3))
- $params[$attr6_var3]=$attr6_value3;
- if (!empty($attr6_var4) && isset($attr6_value4))
- $params[$attr6_var4]=$attr6_value4;
- if (!empty($attr6_var5) && isset($attr6_value5))
- $params[$attr6_var5]=$attr6_value5;
- if(empty($attr6_class))
- $attr6_class='';
- if(empty($attr6_title))
- $attr6_title = '';
- if(!empty($attr6_url))
- $tmp_url = $attr6_url;
- else
- $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6) ?><?php unset($attr6_title) ?><?php unset($attr6_target) ?><?php unset($attr6_url) ?><?php unset($attr6_class) ?><?php $attr7_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:4:"user";}' ?><?php $attr7 = array('align'=>'left','type'=>'user') ?><?php $attr7_align='left' ?><?php $attr7_type='user' ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='name' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></a><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:12:"var:fullname";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','value'=>$fullname,'escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_value=$fullname ?><?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))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_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 $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- 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($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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_value) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:1:{s:4:"true";s:11:"var:isAdmin";}' ?><?php $attr6 = array('true'=>$isAdmin) ?><?php $attr6_true=$isAdmin ?><?php
- if ( isset($attr6_true) )
- {
- if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
- $exec = $$attr6_true == true;
- else
- $exec = $attr6_true == true;
- }
- elseif ( isset($attr6_false) )
- {
- if (gettype($attr6_false) === '' && gettype($attr6_false) === '1')
- $exec = $$attr6_false == false;
- else
- $exec = $attr6_false == false;
- }
- elseif( isset($attr6_contains) )
- $exec = in_array($attr6_value,explode(',',$attr6_contains));
- elseif( isset($attr6_equals)&& isset($attr6_value) )
- $exec = $attr6_equals == $attr6_value;
- elseif( isset($attr6_lessthan)&& isset($attr6_value) )
- $exec = intval($attr6_lessthan) > intval($attr6_value);
- elseif( isset($attr6_greaterthan)&& isset($attr6_value) )
- $exec = intval($attr6_greaterthan) < intval($attr6_value);
- elseif ( isset($attr6_empty) )
- {
- if ( !isset($$attr6_empty) )
- $exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $exec = true;
- else
- $exec = empty( $$attr6_empty );
- }
- elseif ( isset($attr6_present) )
- {
- $exec = isset($$attr6_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr6_invert) )
- $exec = !$exec;
- if ( !empty($attr6_not) )
- $exec = !$exec;
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr6) ?><?php unset($attr6_true) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"_(";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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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:3:"key";s:10:"USER_ADMIN";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'USER_ADMIN','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='USER_ADMIN' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_key) ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/user/rights.tpl.php b/themes/default/pages/html/user/rights.tpl.php
@@ -1,1506 +1,1212 @@
-<?php $attr1_debug_info = 'a:1:{s:5:"class";s:4:"main";}' ?><?php $attr1 = array('class'=>'main') ?><?php $attr1_class='main' ?><?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<html>
-<head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
-<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
-<?php
- }
-?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
-?><script type="text/javascript" src="themes/default/js/jquery.js"></script>
- <script type="text/javascript" src="themes/default/js/jquery-lightbox.js"></script>
- <link rel="stylesheet" type="text/css" href="themes/default/js/lightbox/css/jquery-lightbox.css" media="screen" />
- <script type="text/javascript">
- $(function() {
- $('a.image').lightBox();
- });
- </script>
-<?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
-<?php } ?>
-<?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
-<?php } ?>
-</head>
-<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:5:{s:5:"title";s:3:"ACL";s:4:"name";s:1:"x";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('title'=>'ACL','name'=>'x','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_title='ACL' ?><?php $attr2_name='x' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
- $coloumn_widths=array();
- if (!empty($attr2_widths))
- {
- $column_widths = explode(',',$attr2_widths);
- unset($attr2['widths']);
- }
- if (!empty($attr2_rowclasses))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- if (!empty($attr2_columnclasses))
- {
- $column_classes = explode(',',$attr2_columnclasses);
- unset($attr2['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->getRequestVar('mode')=='edit') {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="themes/default/images/readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
-<?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
-<?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
-<?php } ?>
- <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
+<?php $attr1_class='main'; ?> <?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+ ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <html>
+ <head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+ <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+ <?php
+ }
+ ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+ ?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+ <?php } ?>
+ <?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+ <?php } ?>
+ </head>
+ <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_title='ACL'; $attr2_name='x'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?> <?php
+ $coloumn_widths=array();
+ if (!empty($attr2_widths))
+ {
+ $column_widths = explode(',',$attr2_widths);
+ unset($attr2['widths']);
+ }
+ if (!empty($attr2_rowclasses))
+ {
+ $row_classes = explode(',',$attr2_rowclasses);
+ $row_class_idx = 999;
+ unset($attr2['rowclasses']);
+ }
+ if (!empty($attr2_columnclasses))
+ {
+ $column_classes = explode(',',$attr2_columnclasses);
+ unset($attr2['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+ <?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+ <?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </td>
+ </tr>
+ <?php } ?>
+ <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 langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
+ <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
+ </td>
+ </tr>
+ </table>
+ <?php } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+ <?php } ?>
+ <tr>
+ <td>
+ <table class="n" cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_title);unset($attr2_name);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_list='projects'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?> <?php
+ $attr3_list_tmp_key = $attr3_key;
+ $attr3_list_tmp_value = $attr3_value;
+ $attr3_list_extract = $attr3_extract;
+ unset($attr3_key);
+ unset($attr3_value);
+ if ( !isset($$attr3_list) || !is_array($$attr3_list) )
+ $$attr3_list = array();
+ foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
+ {
+ if ( $attr3_list_extract )
+ {
+ if ( !is_array($$attr3_list_tmp_value) )
+ {
+ print_r($$attr3_list_tmp_value);
+ die( 'not an array at key: '.$$attr3_list_tmp_key );
+ }
+ extract($$attr3_list_tmp_value);
+ }
+ ?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?> <?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 ?><?php $attr5_colspan='14'; ?> <?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
+ if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+ if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+ if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+ if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+ ?>><?php unset($attr5_colspan); ?><?php $attr6_title=$projectname; ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_empty='acls'; ?> <?php
+ if ( !isset($$attr4_empty) )
+ $attr4_tmp_exec = empty($attr4_empty);
+ elseif ( is_array($$attr4_empty) )
+ $attr4_tmp_exec = (count($$attr4_empty)==0);
+ elseif ( is_bool($$attr4_empty) )
+ $attr4_tmp_exec = true;
+ else
+ $attr4_tmp_exec = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_empty); ?><?php ?> <?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 ?><?php $attr6_class='fx'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NOT_FOUND'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_not=true; $attr4_empty='acls'; ?> <?php
+ if ( !isset($$attr4_empty) )
+ $attr4_tmp_exec = empty($attr4_empty);
+ elseif ( is_array($$attr4_empty) )
+ $attr4_tmp_exec = (count($$attr4_empty)==0);
+ elseif ( is_bool($$attr4_empty) )
+ $attr4_tmp_exec = true;
+ else
+ $attr4_tmp_exec = empty( $$attr4_empty );
+ if ( !empty($attr4_not) )
+ $attr4_tmp_exec = !$attr4_tmp_exec;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+ ?>
+<?php unset($attr4_not);unset($attr4_empty); ?><?php ?> <?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 ?><?php $attr6_class='help'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_USER'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='help'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NAME'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='help'; ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_LANGUAGE'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_list='show'; $attr6_extract=false; $attr6_key='list_key'; $attr6_value='t'; ?> <?php
+ $attr6_list_tmp_key = $attr6_key;
+ $attr6_list_tmp_value = $attr6_value;
+ $attr6_list_extract = $attr6_extract;
+ unset($attr6_key);
+ unset($attr6_value);
+ if ( !isset($$attr6_list) || !is_array($$attr6_list) )
+ $$attr6_list = array();
+ foreach( $$attr6_list as $$attr6_list_tmp_key => $$attr6_list_tmp_value )
+ {
+ if ( $attr6_list_extract )
+ {
+ if ( !is_array($$attr6_list_tmp_value) )
+ {
+ print_r($$attr6_list_tmp_value);
+ die( 'not an array at key: '.$$attr6_list_tmp_key );
+ }
+ extract($$attr6_list_tmp_value);
+ }
+ ?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_class='help'; ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php unset($attr7_class); ?><?php $attr8_title=lang('acl_'.$t.''); $attr8_class='text'; $attr8_key=$t; $attr8_suffix='_abbrev'; $attr8_prefix='acl_'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_title);unset($attr8_class);unset($attr8_key);unset($attr8_suffix);unset($attr8_prefix);unset($attr8_escape); ?><?php ?> </td><?php ?><?php ?> <?php } ?><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_list='rights'; $attr4_extract=true; $attr4_key='aclid'; $attr4_value='acl'; ?> <?php
+ $attr4_list_tmp_key = $attr4_key;
+ $attr4_list_tmp_value = $attr4_value;
+ $attr4_list_extract = $attr4_extract;
+ unset($attr4_key);
+ unset($attr4_value);
+ if ( !isset($$attr4_list) || !is_array($$attr4_list) )
+ $$attr4_list = array();
+ foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
+ {
+ if ( $attr4_list_extract )
+ {
+ if ( !is_array($$attr4_list_tmp_value) )
+ {
+ print_r($$attr4_list_tmp_value);
+ die( 'not an array at key: '.$$attr4_list_tmp_key );
+ }
+ extract($$attr4_list_tmp_value);
+ }
+ ?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?> <?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 ?><?php ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr7_present='username'; ?> <?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_present); ?><?php $attr8_align='left'; $attr8_type='user'; ?> <?php
+ $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+ ?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='username'; $attr8_maxlength='20'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_var);unset($attr8_maxlength);unset($attr8_escape); ?><?php ?> <?php } ?><?php ?><?php $attr7_present='groupname'; ?> <?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_present); ?><?php $attr8_align='left'; $attr8_type='group'; ?> <?php
+ $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+ ?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='groupname'; $attr8_maxlength='20'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_class);unset($attr8_var);unset($attr8_maxlength);unset($attr8_escape); ?><?php ?> <?php } ?><?php ?><?php $attr7_not=true; $attr7_present='username'; ?> <?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ if ( !empty($attr7_not) )
+ $attr7_tmp_exec = !$attr7_tmp_exec;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+ ?>
+<?php unset($attr7_not);unset($attr7_present); ?><?php $attr8_not=true; $attr8_present='groupname'; ?> <?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ if ( !empty($attr8_not) )
+ $attr8_tmp_exec = !$attr8_tmp_exec;
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+ ?>
+<?php unset($attr8_not);unset($attr8_present); ?><?php $attr9_align='left'; $attr9_type='group'; ?> <?php
+ $attr9_tmp_image_file = $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT;
+ $attr9_size = '16x16';
+ ?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_align);unset($attr9_type); ?><?php $attr9_class='text'; $attr9_key='global_all'; $attr9_escape=true; ?> <?php
+ if ( isset($attr9_prefix)&& isset($attr9_key))
+ $attr9_key = $attr9_prefix.$attr9_key;
+ if ( isset($attr9_suffix)&& isset($attr9_key))
+ $attr9_key = $attr9_key.$attr9_suffix;
+ if(empty($attr9_title))
+ $attr9_title = '';
+ if (empty($attr9_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
+ $attr9_title = '';
+ if ( $attr9_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr9_array))
+ {
+ $tmpArray = $$attr9_array;
+ if (!empty($attr9_var))
+ $tmp_text = $tmpArray[$attr9_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr9_text]);
+ }
+ elseif (!empty($attr9_text))
+ $tmp_text = $langF($attr9_text);
+ elseif (!empty($attr9_textvar))
+ $tmp_text = $langF($$attr9_textvar);
+ elseif (!empty($attr9_key))
+ $tmp_text = $langF($attr9_key);
+ elseif (!empty($attr9_var))
+ $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
+ elseif (!empty($attr9_raw))
+ $tmp_text = str_replace('_',' ',$attr9_raw);
+ elseif (!empty($attr9_value))
+ $tmp_text = $attr9_value;
+ else
+ $tmp_text = ' ';
+ if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
+ if (isset($attr9_accesskey))
+ {
+ $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9_class);unset($attr9_key);unset($attr9_escape); ?><?php ?> <?php } ?><?php ?><?php ?> <?php } ?><?php ?><?php $attr7_var='username'; ?> <?php
+ if (!isset($attr7_value))
+ unset($$attr7_var);
+ elseif (isset($attr7_key))
+ $$attr7_var = $attr7_value[$attr7_key];
+ else
+ $$attr7_var = $attr7_value;
+ ?><?php unset($attr7_var); ?><?php $attr7_var='groupname'; ?> <?php
+ if (!isset($attr7_value))
+ unset($$attr7_var);
+ elseif (isset($attr7_key))
+ $$attr7_var = $attr7_value[$attr7_key];
+ else
+ $$attr7_var = $attr7_value;
+ ?><?php unset($attr7_var); ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr7_align='left'; $attr7_type=$objecttype; ?> <?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+ ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_title=''; $attr7_target='_top'; $attr7_class=''; $attr7_action='index'; $attr7_subaction='object'; $attr7_id=$objectid; ?> <?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+ ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_class);unset($attr7_action);unset($attr7_subaction);unset($attr7_id); ?><?php $attr8_title=lang('select'); $attr8_class='text'; $attr8_var='objectname'; $attr8_maxlength='20'; $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))
+ $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 ( $attr8_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr8_array))
+ {
+ $tmpArray = $$attr8_array;
+ if (!empty($attr8_var))
+ $tmp_text = $tmpArray[$attr8_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr8_text]);
+ }
+ elseif (!empty($attr8_text))
+ $tmp_text = $langF($attr8_text);
+ elseif (!empty($attr8_textvar))
+ $tmp_text = $langF($$attr8_textvar);
+ elseif (!empty($attr8_key))
+ $tmp_text = $langF($attr8_key);
+ elseif (!empty($attr8_var))
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
+ elseif (!empty($attr8_raw))
+ $tmp_text = str_replace('_',' ',$attr8_raw);
+ elseif (!empty($attr8_value))
+ $tmp_text = $attr8_value;
+ else
+ $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_title);unset($attr8_class);unset($attr8_var);unset($attr8_maxlength);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> </td><?php ?><?php ?> <?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
+ if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+ if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+ if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+ if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr7_class='text'; $attr7_var='languagename'; $attr7_maxlength='20'; $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))
+ $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 ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
+ {
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
+ else
+ $tmp_text = $langF($tmpArray[$attr7_text]);
+ }
+ elseif (!empty($attr7_text))
+ $tmp_text = $langF($attr7_text);
+ elseif (!empty($attr7_textvar))
+ $tmp_text = $langF($$attr7_textvar);
+ elseif (!empty($attr7_key))
+ $tmp_text = $langF($attr7_key);
+ elseif (!empty($attr7_var))
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ elseif (!empty($attr7_raw))
+ $tmp_text = str_replace('_',' ',$attr7_raw);
+ elseif (!empty($attr7_value))
+ $tmp_text = $attr7_value;
+ else
+ $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_class);unset($attr7_var);unset($attr7_maxlength);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_list='show'; $attr6_extract=false; $attr6_key='list_key'; $attr6_value='list_value'; ?> <?php
+ $attr6_list_tmp_key = $attr6_key;
+ $attr6_list_tmp_value = $attr6_value;
+ $attr6_list_extract = $attr6_extract;
+ unset($attr6_key);
+ unset($attr6_value);
+ if ( !isset($$attr6_list) || !is_array($$attr6_list) )
+ $$attr6_list = array();
+ foreach( $$attr6_list as $$attr6_list_tmp_key => $$attr6_list_tmp_value )
+ {
+ if ( $attr6_list_extract )
+ {
+ if ( !is_array($$attr6_list_tmp_value) )
+ {
+ print_r($$attr6_list_tmp_value);
+ die( 'not an array at key: '.$$attr6_list_tmp_key );
+ }
+ extract($$attr6_list_tmp_value);
+ }
+ ?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php ?> <?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($attr7_class))
+ $attr7_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_width=$column_widths[$cell_column_nr-1];
+ ?><td<?php
+ if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
+ if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
+ if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
+ if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
+ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
+ ?>><?php ?><?php $attr8_var=$list_value; $attr8_value=$bits; $attr8_key=$list_value; ?> <?php
+ if (!isset($attr8_value))
+ unset($$attr8_var);
+ elseif (isset($attr8_key))
+ $$attr8_var = $attr8_value[$attr8_key];
+ else
+ $$attr8_var = $attr8_value;
+ ?><?php unset($attr8_var);unset($attr8_value);unset($attr8_key); ?><?php $attr8_default=false; $attr8_readonly=true; $attr8_name=$list_value; ?> <?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $checked = $$attr8_name;
+ else
+ $checked = $attr8_default;
+ ?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+ if ( $attr8_readonly && $checked )
+ {
+ ?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
+ }
+ ?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php ?> </td><?php ?><?php ?> <?php } ?><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php } ?><?php ?><?php ?> </table>
+ </td>
+ </tr>
+ </table>
+ </center>
+ <?php if ($showDuration)
+ { ?>
+ <br/>
+ <center><small>
+ <?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
-<?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_title) ?><?php unset($attr2_name) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a:4:{s:4:"list";s:8:"projects";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr3 = array('list'=>'projects','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr3_list='projects' ?><?php $attr3_extract=true ?><?php $attr3_key='list_key' ?><?php $attr3_value='list_value' ?><?php
- $attr3_list_tmp_key = $attr3_key;
- $attr3_list_tmp_value = $attr3_value;
- $attr3_list_extract = $attr3_extract;
- unset($attr3_key);
- unset($attr3_value);
- if ( !isset($$attr3_list) || !is_array($$attr3_list) )
- $$attr3_list = array();
- foreach( $$attr3_list as $$attr3_list_tmp_key => $$attr3_list_tmp_value )
- {
- if ( $attr3_list_extract )
- {
- if ( !is_array($$attr3_list_tmp_value) )
- {
- print_r($$attr3_list_tmp_value);
- die( 'not an array at key: '.$$attr3_list_tmp_key );
- }
- extract($$attr3_list_tmp_value);
- }
-?><?php unset($attr3) ?><?php unset($attr3_list) ?><?php unset($attr3_extract) ?><?php unset($attr3_key) ?><?php unset($attr3_value) ?><?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:1:{s:7:"colspan";s:2:"14";}' ?><?php $attr5 = array('colspan'=>'14') ?><?php $attr5_colspan='14' ?><?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:"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')
- $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_empty) ?><?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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"GLOBAL_NOT_FOUND";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_NOT_FOUND','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_NOT_FOUND' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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:2:{s:3:"not";s:4:"true";s:5:"empty";s:4:"acls";}' ?><?php $attr4 = array('not'=>true,'empty'=>'acls') ?><?php $attr4_not=true ?><?php $attr4_empty='acls' ?><?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_not) ?><?php unset($attr4_empty) ?><?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:1:{s:5:"class";s:4:"help";}' ?><?php $attr6 = array('class'=>'help') ?><?php $attr6_class='help' ?><?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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_USER";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_USER','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_USER' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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 $attr6_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr6 = array('class'=>'help') ?><?php $attr6_class='help' ?><?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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_NAME','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_NAME' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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 $attr6_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr6 = array('class'=>'help') ?><?php $attr6_class='help' ?><?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_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"GLOBAL_LANGUAGE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_LANGUAGE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_LANGUAGE' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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 $attr6_debug_info = 'a:4:{s:4:"list";s:4:"show";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:1:"t";}' ?><?php $attr6 = array('list'=>'show','extract'=>false,'key'=>'list_key','value'=>'t') ?><?php $attr6_list='show' ?><?php $attr6_extract=false ?><?php $attr6_key='list_key' ?><?php $attr6_value='t' ?><?php
- $attr6_list_tmp_key = $attr6_key;
- $attr6_list_tmp_value = $attr6_value;
- $attr6_list_extract = $attr6_extract;
- unset($attr6_key);
- unset($attr6_value);
- if ( !isset($$attr6_list) || !is_array($$attr6_list) )
- $$attr6_list = array();
- foreach( $$attr6_list as $$attr6_list_tmp_key => $$attr6_list_tmp_value )
- {
- if ( $attr6_list_extract )
- {
- if ( !is_array($$attr6_list_tmp_value) )
- {
- print_r($$attr6_list_tmp_value);
- die( 'not an array at key: '.$$attr6_list_tmp_key );
- }
- extract($$attr6_list_tmp_value);
- }
-?><?php unset($attr6) ?><?php unset($attr6_list) ?><?php unset($attr6_extract) ?><?php unset($attr6_key) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:1:{s:5:"class";s:4:"help";}' ?><?php $attr7 = array('class'=>'help') ?><?php $attr7_class='help' ?><?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($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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_class) ?><?php $attr8_debug_info = 'a:6:{s:5:"title";s:15:"message:acl_{t}";s:5:"class";s:4:"text";s:3:"key";s:5:"var:t";s:6:"suffix";s:7:"_abbrev";s:6:"prefix";s:4:"acl_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('title'=>lang('acl_'.$t.''),'class'=>'text','key'=>$t,'suffix'=>'_abbrev','prefix'=>'acl_','escape'=>true) ?><?php $attr8_title=lang('acl_'.$t.'') ?><?php $attr8_class='text' ?><?php $attr8_key=$t ?><?php $attr8_suffix='_abbrev' ?><?php $attr8_prefix='acl_' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_title) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_suffix) ?><?php unset($attr8_prefix) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?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() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:4:{s:4:"list";s:6:"rights";s:7:"extract";s:4:"true";s:3:"key";s:5:"aclid";s:5:"value";s:3:"acl";}' ?><?php $attr4 = array('list'=>'rights','extract'=>true,'key'=>'aclid','value'=>'acl') ?><?php $attr4_list='rights' ?><?php $attr4_extract=true ?><?php $attr4_key='aclid' ?><?php $attr4_value='acl' ?><?php
- $attr4_list_tmp_key = $attr4_key;
- $attr4_list_tmp_value = $attr4_value;
- $attr4_list_extract = $attr4_extract;
- unset($attr4_key);
- unset($attr4_value);
- if ( !isset($$attr4_list) || !is_array($$attr4_list) )
- $$attr4_list = array();
- foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
- {
- if ( $attr4_list_extract )
- {
- if ( !is_array($$attr4_list_tmp_value) )
- {
- print_r($$attr4_list_tmp_value);
- die( 'not an array at key: '.$$attr4_list_tmp_key );
- }
- extract($$attr4_list_tmp_value);
- }
-?><?php unset($attr4) ?><?php unset($attr4_list) ?><?php unset($attr4_extract) ?><?php unset($attr4_key) ?><?php unset($attr4_value) ?><?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;
- $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:7:"present";s:8:"username";}' ?><?php $attr7 = array('present'=>'username') ?><?php $attr7_present='username' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:4:"user";}' ?><?php $attr8 = array('align'=>'left','type'=>'user') ?><?php $attr8_align='left' ?><?php $attr8_type='user' ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_align) ?><?php unset($attr8_type) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"var";s:8:"username";s:9:"maxlength";s:2:"20";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'username','maxlength'=>'20','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='username' ?><?php $attr8_maxlength='20' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_var) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:7:"present";s:9:"groupname";}' ?><?php $attr7 = array('present'=>'groupname') ?><?php $attr7_present='groupname' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:5:"group";}' ?><?php $attr8 = array('align'=>'left','type'=>'group') ?><?php $attr8_align='left' ?><?php $attr8_type='group' ?><?php
-if (isset($attr8_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_url)) {
-?><img src="<?php echo $attr8_url ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_fileext)) {
-?><img src="<?php echo $image_dir.$attr8_fileext ?>" border="0" align="<?php echo $attr8_align ?>"><?php
-} elseif (isset($attr8_file)) {
-?><img src="<?php echo $image_dir.$attr8_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr8_align ?>"><?php } ?><?php unset($attr8) ?><?php unset($attr8_align) ?><?php unset($attr8_type) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"var";s:9:"groupname";s:9:"maxlength";s:2:"20";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'groupname','maxlength'=>'20','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='groupname' ?><?php $attr8_maxlength='20' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_var) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:3:"not";s:4:"true";s:7:"present";s:8:"username";}' ?><?php $attr7 = array('not'=>true,'present'=>'username') ?><?php $attr7_not=true ?><?php $attr7_present='username' ?><?php
- if ( isset($attr7_true) )
- {
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $exec = $$attr7_true == true;
- else
- $exec = $attr7_true == true;
- }
- elseif ( isset($attr7_false) )
- {
- if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
- $exec = $$attr7_false == false;
- else
- $exec = $attr7_false == false;
- }
- elseif( isset($attr7_contains) )
- $exec = in_array($attr7_value,explode(',',$attr7_contains));
- elseif( isset($attr7_equals)&& isset($attr7_value) )
- $exec = $attr7_equals == $attr7_value;
- elseif( isset($attr7_lessthan)&& isset($attr7_value) )
- $exec = intval($attr7_lessthan) > intval($attr7_value);
- elseif( isset($attr7_greaterthan)&& isset($attr7_value) )
- $exec = intval($attr7_greaterthan) < intval($attr7_value);
- elseif ( isset($attr7_empty) )
- {
- if ( !isset($$attr7_empty) )
- $exec = empty($attr7_empty);
- elseif ( is_array($$attr7_empty) )
- $exec = (count($$attr7_empty)==0);
- elseif ( is_bool($$attr7_empty) )
- $exec = true;
- else
- $exec = empty( $$attr7_empty );
- }
- elseif ( isset($attr7_present) )
- {
- $exec = isset($$attr7_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr7_invert) )
- $exec = !$exec;
- if ( !empty($attr7_not) )
- $exec = !$exec;
- unset($attr7_true);
- unset($attr7_false);
- unset($attr7_notempty);
- unset($attr7_empty);
- unset($attr7_contains);
- unset($attr7_present);
- unset($attr7_invert);
- unset($attr7_not);
- unset($attr7_value);
- unset($attr7_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr7) ?><?php unset($attr7_not) ?><?php unset($attr7_present) ?><?php $attr8_debug_info = 'a:2:{s:3:"not";s:4:"true";s:7:"present";s:9:"groupname";}' ?><?php $attr8 = array('not'=>true,'present'=>'groupname') ?><?php $attr8_not=true ?><?php $attr8_present='groupname' ?><?php
- if ( isset($attr8_true) )
- {
- if (gettype($attr8_true) === '' && gettype($attr8_true) === '1')
- $exec = $$attr8_true == true;
- else
- $exec = $attr8_true == true;
- }
- elseif ( isset($attr8_false) )
- {
- if (gettype($attr8_false) === '' && gettype($attr8_false) === '1')
- $exec = $$attr8_false == false;
- else
- $exec = $attr8_false == false;
- }
- elseif( isset($attr8_contains) )
- $exec = in_array($attr8_value,explode(',',$attr8_contains));
- elseif( isset($attr8_equals)&& isset($attr8_value) )
- $exec = $attr8_equals == $attr8_value;
- elseif( isset($attr8_lessthan)&& isset($attr8_value) )
- $exec = intval($attr8_lessthan) > intval($attr8_value);
- elseif( isset($attr8_greaterthan)&& isset($attr8_value) )
- $exec = intval($attr8_greaterthan) < intval($attr8_value);
- elseif ( isset($attr8_empty) )
- {
- if ( !isset($$attr8_empty) )
- $exec = empty($attr8_empty);
- elseif ( is_array($$attr8_empty) )
- $exec = (count($$attr8_empty)==0);
- elseif ( is_bool($$attr8_empty) )
- $exec = true;
- else
- $exec = empty( $$attr8_empty );
- }
- elseif ( isset($attr8_present) )
- {
- $exec = isset($$attr8_present);
- }
- else
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
- if ( !empty($attr8_invert) )
- $exec = !$exec;
- if ( !empty($attr8_not) )
- $exec = !$exec;
- unset($attr8_true);
- unset($attr8_false);
- unset($attr8_notempty);
- unset($attr8_empty);
- unset($attr8_contains);
- unset($attr8_present);
- unset($attr8_invert);
- unset($attr8_not);
- unset($attr8_value);
- unset($attr8_equals);
- $last_exec = $exec;
- if ( $exec )
- {
-?>
-<?php unset($attr8) ?><?php unset($attr8_not) ?><?php unset($attr8_present) ?><?php $attr9_debug_info = 'a:2:{s:5:"align";s:4:"left";s:4:"type";s:5:"group";}' ?><?php $attr9 = array('align'=>'left','type'=>'group') ?><?php $attr9_align='left' ?><?php $attr9_type='group' ?><?php
-if (isset($attr9_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr9_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_url)) {
-?><img src="<?php echo $attr9_url ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_fileext)) {
-?><img src="<?php echo $image_dir.$attr9_fileext ?>" border="0" align="<?php echo $attr9_align ?>"><?php
-} elseif (isset($attr9_file)) {
-?><img src="<?php echo $image_dir.$attr9_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr9_align ?>"><?php } ?><?php unset($attr9) ?><?php unset($attr9_align) ?><?php unset($attr9_type) ?><?php $attr9_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:10:"global_all";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','key'=>'global_all','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_key='global_all' ?><?php $attr9_escape=true ?><?php
- if ( isset($attr9_prefix)&& isset($attr9_key))
- $attr9_key = $attr9_prefix.$attr9_key;
- if ( isset($attr9_suffix)&& isset($attr9_key))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
- $tmp_tag = 'span';
- else
- switch( $attr9_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 $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
- $attr9_title = '';
- if ( $attr9_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr9_array))
- {
- $tmpArray = $$attr9_array;
- if (!empty($attr9_var))
- $tmp_text = $tmpArray[$attr9_var];
- else
- $tmp_text = $langF($tmpArray[$attr9_text]);
- }
- elseif (!empty($attr9_text))
- $tmp_text = $langF($attr9_text);
- elseif (!empty($attr9_textvar))
- $tmp_text = $langF($$attr9_textvar);
- elseif (!empty($attr9_key))
- $tmp_text = $langF($attr9_key);
- elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
- elseif (!empty($attr9_raw))
- $tmp_text = str_replace('_',' ',$attr9_raw);
- elseif (!empty($attr9_value))
- $tmp_text = $attr9_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
- if (isset($attr9_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr9_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($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_key) ?><?php unset($attr9_escape) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:3:"var";s:8:"username";}' ?><?php $attr7 = array('var'=>'username') ?><?php $attr7_var='username' ?><?php
- if (!isset($attr7_value))
- unset($$attr7_var);
- elseif (isset($attr7_key))
- $$attr7_var = $attr7_value[$attr7_key];
- else
- $$attr7_var = $attr7_value;
-?><?php unset($attr7) ?><?php unset($attr7_var) ?><?php $attr7_debug_info = 'a:1:{s:3:"var";s:9:"groupname";}' ?><?php $attr7 = array('var'=>'groupname') ?><?php $attr7_var='groupname' ?><?php
- if (!isset($attr7_value))
- unset($$attr7_var);
- elseif (isset($attr7_key))
- $$attr7_var = $attr7_value[$attr7_key];
- else
- $$attr7_var = $attr7_value;
-?><?php unset($attr7) ?><?php unset($attr7_var) ?><?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:2:{s:5:"align";s:4:"left";s:4:"type";s:14:"var:objecttype";}' ?><?php $attr7 = array('align'=>'left','type'=>$objecttype) ?><?php $attr7_align='left' ?><?php $attr7_type=$objecttype ?><?php
-if (isset($attr7_elementtype)) {
-?><img src="<?php echo $image_dir.'icon_el_'.$attr7_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_type)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_icon)) {
-?><img src="<?php echo $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_url)) {
-?><img src="<?php echo $attr7_url ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_fileext)) {
-?><img src="<?php echo $image_dir.$attr7_fileext ?>" border="0" align="<?php echo $attr7_align ?>"><?php
-} elseif (isset($attr7_file)) {
-?><img src="<?php echo $image_dir.$attr7_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr7_align ?>"><?php } ?><?php unset($attr7) ?><?php unset($attr7_align) ?><?php unset($attr7_type) ?><?php $attr7_debug_info = 'a:6:{s:5:"title";s:0:"";s:6:"target";s:4:"_top";s:5:"class";s:0:"";s:6:"action";s:5:"index";s:9:"subaction";s:6:"object";s:2:"id";s:12:"var:objectid";}' ?><?php $attr7 = array('title'=>'','target'=>'_top','class'=>'','action'=>'index','subaction'=>'object','id'=>$objectid) ?><?php $attr7_title='' ?><?php $attr7_target='_top' ?><?php $attr7_class='' ?><?php $attr7_action='index' ?><?php $attr7_subaction='object' ?><?php $attr7_id=$objectid ?><?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
-?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7) ?><?php unset($attr7_title) ?><?php unset($attr7_target) ?><?php unset($attr7_class) ?><?php unset($attr7_action) ?><?php unset($attr7_subaction) ?><?php unset($attr7_id) ?><?php $attr8_debug_info = 'a:5:{s:5:"title";s:14:"message:select";s:5:"class";s:4:"text";s:3:"var";s:10:"objectname";s:9:"maxlength";s:2:"20";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('title'=>lang('select'),'class'=>'text','var'=>'objectname','maxlength'=>'20','escape'=>true) ?><?php $attr8_title=lang('select') ?><?php $attr8_class='text' ?><?php $attr8_var='objectname' ?><?php $attr8_maxlength='20' ?><?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))
- $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 ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $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_title) ?><?php unset($attr8_class) ?><?php unset($attr8_var) ?><?php unset($attr8_maxlength) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></a><?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;
- $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:4:{s:5:"class";s:4:"text";s:3:"var";s:12:"languagename";s:9:"maxlength";s:2:"20";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'languagename','maxlength'=>'20','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='languagename' ?><?php $attr7_maxlength='20' ?><?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))
- $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 ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $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_var) ?><?php unset($attr7_maxlength) ?><?php unset($attr7_escape) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:4:{s:4:"list";s:4:"show";s:7:"extract";s:5:"false";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr6 = array('list'=>'show','extract'=>false,'key'=>'list_key','value'=>'list_value') ?><?php $attr6_list='show' ?><?php $attr6_extract=false ?><?php $attr6_key='list_key' ?><?php $attr6_value='list_value' ?><?php
- $attr6_list_tmp_key = $attr6_key;
- $attr6_list_tmp_value = $attr6_value;
- $attr6_list_extract = $attr6_extract;
- unset($attr6_key);
- unset($attr6_value);
- if ( !isset($$attr6_list) || !is_array($$attr6_list) )
- $$attr6_list = array();
- foreach( $$attr6_list as $$attr6_list_tmp_key => $$attr6_list_tmp_value )
- {
- if ( $attr6_list_extract )
- {
- if ( !is_array($$attr6_list_tmp_value) )
- {
- print_r($$attr6_list_tmp_value);
- die( 'not an array at key: '.$$attr6_list_tmp_key );
- }
- extract($$attr6_list_tmp_value);
- }
-?><?php unset($attr6) ?><?php unset($attr6_list) ?><?php unset($attr6_extract) ?><?php unset($attr6_key) ?><?php unset($attr6_value) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = 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($attr7_class))
- $attr7['class']=$column_class;
- global $cell_column_nr;
- $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 $attr8_debug_info = 'a:3:{s:3:"var";s:14:"var:list_value";s:5:"value";s:8:"var:bits";s:3:"key";s:14:"var:list_value";}' ?><?php $attr8 = array('var'=>$list_value,'value'=>$bits,'key'=>$list_value) ?><?php $attr8_var=$list_value ?><?php $attr8_value=$bits ?><?php $attr8_key=$list_value ?><?php
- if (!isset($attr8_value))
- unset($$attr8_var);
- elseif (isset($attr8_key))
- $$attr8_var = $attr8_value[$attr8_key];
- else
- $$attr8_var = $attr8_value;
-?><?php unset($attr8) ?><?php unset($attr8_var) ?><?php unset($attr8_value) ?><?php unset($attr8_key) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:4:"true";s:4:"name";s:14:"var:list_value";}' ?><?php $attr8 = array('default'=>false,'readonly'=>true,'name'=>$list_value) ?><?php $attr8_default=false ?><?php $attr8_readonly=true ?><?php $attr8_name=$list_value ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $checked = $$attr8_name;
- else
- $checked = $attr8_default;
-?><input type="checkbox" id="id_<?php echo $attr8_name ?>" name="<?php echo $attr8_name ?>" <?php if ($attr8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
-if ( $attr8_readonly && $checked )
-{
-?><input type="hidden" name="<?php echo $attr8_name ?>" value="1" /><?php
-}
-?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8) ?><?php unset($attr8_default) ?><?php unset($attr8_readonly) ?><?php unset($attr8_name) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?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() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php } ?><?php unset($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
- </td>
- </tr>
-</table>
-</center>
-<?php if ($showDuration)
- { ?>
-<br/>
-<center><small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
-<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file