commit ef8d84ac6d39666c6482bc9739baabe4296848be
parent 8b7a797b48add6a0b0b2b20fd194ed4872f1ed5d
Author: dankert <devnull@localhost>
Date: Mon, 23 Mar 2009 22:43:08 +0100
Umwandlung aller Templates.
Diffstat:
74 files changed, 24491 insertions(+), 22041 deletions(-)
diff --git a/themes/default/pages/html/element/name.tpl.php b/themes/default/pages/html/element/name.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>
@@ -26,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 ?>" />
@@ -48,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:4:"name";s:11:"GLOBAL_NAME";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_NAME','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_NAME' ?><?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_NAME'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"ELEMENT_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'ELEMENT_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='ELEMENT_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='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))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,46 +254,52 @@
}
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:"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 ?><?php $attr6_class='text'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -311,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -352,43 +370,49 @@ 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:1:"5";s:4:"cols";s:2:"50";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'description','rows'=>'5','cols'=>'50','class'=>'','default'=>'') ?><?php $attr6_name='description' ?><?php $attr6_rows='5' ?><?php $attr6_cols='50' ?><?php $attr6_class='' ?><?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='5'; $attr6_cols='50'; $attr6_class='inputarea'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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
- $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
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -401,7 +425,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>
@@ -413,12 +437,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/element/properties.tpl.php b/themes/default/pages/html/element/properties.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>
@@ -26,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 ?>" />
@@ -48,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:"GLOBAL_PREFS";s:6:"widths";s:7:"30%,70%";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_PREFS','widths'=>'30%,70%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PREFS' ?><?php $attr3_widths='30%,70%' ?><?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_PREFS'; $attr3_widths='30%,70%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,90 +161,35 @@
<?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:1:{s:7:"present";s:7:"subtype";}' ?><?php $attr4 = array('present'=>'subtype') ?><?php $attr4_present='subtype' ?><?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 )
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php $attr4_present='subtype'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"ELEMENT_SUBTYPE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'ELEMENT_SUBTYPE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='ELEMENT_SUBTYPE' ?><?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='ELEMENT_SUBTYPE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -268,6 +213,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -309,81 +260,32 @@
}
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:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:1:{s:7:"present";s:8:"subtypes";}' ?><?php $attr7 = array('present'=>'subtypes') ?><?php $attr7_present='subtypes' ?><?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 ?><?php $attr7_present='subtypes'; ?><?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:9:{s:4:"list";s:8:"subtypes";s:4:"name";s:7:"subtype";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'=>'subtypes','name'=>'subtype','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr8_list='subtypes' ?><?php $attr8_name='subtype' ?><?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
+<?php unset($attr7_present); ?><?php $attr8_list='subtypes'; $attr8_name='subtype'; $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];
}
@@ -434,157 +336,49 @@ 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_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() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:3:"not";s:4:"true";s:7:"present";s:8:"subtypes";}' ?><?php $attr7 = array('not'=>true,'present'=>'subtypes') ?><?php $attr7_not=true ?><?php $attr7_present='subtypes' ?><?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;
+?><?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 ?><?php } ?><?php ?><?php $attr7_not=true; $attr7_present='subtypes'; ?><?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:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:7:"subtype";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'=>'subtype','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr8_class='' ?><?php $attr8_default='' ?><?php $attr8_type='text' ?><?php $attr8_name='subtype' ?><?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;
+<?php unset($attr7_not);unset($attr7_present); ?><?php $attr8_class='text'; $attr8_default=''; $attr8_type='text'; $attr8_name='subtype'; $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_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 $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:"with_icon";}' ?><?php $attr4 = array('present'=>'with_icon') ?><?php $attr4_present='with_icon' ?><?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 )
+ } } 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 ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='with_icon'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"EL_PROP_WITH_ICON";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_WITH_ICON','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_WITH_ICON' ?><?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='EL_PROP_WITH_ICON'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -608,6 +402,12 @@ if ($attr8_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -649,111 +449,62 @@ if ($attr8_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:9:"with_icon";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'with_icon') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='with_icon' ?><?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='with_icon'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:1:{s:7:"present";s:13:"all_languages";}' ?><?php $attr4 = array('present'=>'all_languages') ?><?php $attr4_present='all_languages' ?><?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($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='all_languages'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:21:"EL_PROP_ALL_LANGUAGES";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_ALL_LANGUAGES','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_ALL_LANGUAGES' ?><?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='EL_PROP_ALL_LANGUAGES'; $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,6 +528,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -818,111 +575,62 @@ if ( $attr7_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() ?></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($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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:13:"all_languages";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'all_languages') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='all_languages' ?><?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='all_languages'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $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:8:"writable";}' ?><?php $attr4 = array('present'=>'writable') ?><?php $attr4_present='writable' ?><?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($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='writable'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"EL_PROP_writable";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_writable','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_writable' ?><?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='EL_PROP_writable'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -946,6 +654,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -987,111 +701,62 @@ if ( $attr7_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() ?></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($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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:8:"writable";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'writable') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='writable' ?><?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='writable'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $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:5:"width";}' ?><?php $attr4 = array('present'=>'width') ?><?php $attr4_present='width' ?><?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($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='width'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:5:"width";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'width','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='width' ?><?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='width'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1115,6 +780,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1156,107 +827,58 @@ if ( $attr7_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() ?></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($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 unset($attr6_class) ?><?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:5:"width";s:4:"size";s:2:"10";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'=>'width','size'=>'10','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='width' ?><?php $attr7_size='10' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='width'; $attr7_size='10'; $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:1:{s:7:"present";s:6:"height";}' ?><?php $attr4 = array('present'=>'height') ?><?php $attr4_present='height' ?><?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 )
+ } } 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 $attr4_present='height'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:6:"height";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'height','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='height' ?><?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='height'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1280,6 +902,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1321,107 +949,58 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?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:"height";s:4:"size";s:2:"10";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'=>'height','size'=>'10','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='height' ?><?php $attr7_size='10' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='height'; $attr7_size='10'; $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:1:{s:7:"present";s:10:"dateformat";}' ?><?php $attr4 = array('present'=>'dateformat') ?><?php $attr4_present='dateformat' ?><?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 )
+ } } 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 $attr4_present='dateformat'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"EL_PROP_DATEFORMAT";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_DATEFORMAT','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_DATEFORMAT' ?><?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='EL_PROP_DATEFORMAT'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1445,6 +1024,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1486,20 +1071,26 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:11:"dateformats";s:4:"name";s:10:"dateformat";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'=>'dateformats','name'=>'dateformat','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='dateformats' ?><?php $attr7_name='dateformat' ?><?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
+ $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='dateformats'; $attr7_name='dateformat'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
}
@@ -1550,89 +1141,34 @@ echo ' size="'.intval($attr7_size).'"';
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:1:{s:7:"present";s:6:"format";}' ?><?php $attr4 = array('present'=>'format') ?><?php $attr4_present='format' ?><?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($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 $attr4_present='format'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"EL_PROP_FORMAT";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_FORMAT','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_FORMAT' ?><?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='EL_PROP_FORMAT'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1656,6 +1192,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1697,18 +1239,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($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:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:5:{s:4:"list";s:10:"formatlist";s:4:"name";s:6:"format";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";}' ?><?php $attr7 = array('list'=>'formatlist','name'=>'format','onchange'=>'','title'=>'','class'=>'') ?><?php $attr7_list='formatlist' ?><?php $attr7_name='format' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_tmp_list = $$attr7_list;
+ $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='formatlist'; $attr7_name='format'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; ?><?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) )
@@ -1723,89 +1271,34 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
echo ' checked="checked"';
echo '> <label for="'.$id.'">'.$box_value.'</label><br>';
}
-?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_name) ?><?php unset($attr7_onchange) ?><?php unset($attr7_title) ?><?php unset($attr7_class) ?><?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:8:"decimals";}' ?><?php $attr4 = array('present'=>'decimals') ?><?php $attr4_present='decimals' ?><?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($attr7_list);unset($attr7_name);unset($attr7_onchange);unset($attr7_title);unset($attr7_class); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='decimals'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:16:"EL_PROP_DECIMALS";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_DECIMALS','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_DECIMALS' ?><?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='EL_PROP_DECIMALS'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1829,6 +1322,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1870,107 +1369,58 @@ 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() ?></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($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 unset($attr6_class) ?><?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:8:"decimals";s:4:"size";s:2:"10";s:9:"maxlength";s:1:"2";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'decimals','size'=>'10','maxlength'=>'2','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='decimals' ?><?php $attr7_size='10' ?><?php $attr7_maxlength='2' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='decimals'; $attr7_size='10'; $attr7_maxlength='2'; $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:1:{s:7:"present";s:9:"dec_point";}' ?><?php $attr4 = array('present'=>'dec_point') ?><?php $attr4_present='dec_point' ?><?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 )
+ } } 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 $attr4_present='dec_point'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"EL_PROP_DEC_POINT";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_DEC_POINT','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_DEC_POINT' ?><?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='EL_PROP_DEC_POINT'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1994,6 +1444,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2035,107 +1491,58 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?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:9:"dec_point";s:4:"size";s:2:"10";s:9:"maxlength";s:1:"5";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'dec_point','size'=>'10','maxlength'=>'5','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='dec_point' ?><?php $attr7_size='10' ?><?php $attr7_maxlength='5' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='dec_point'; $attr7_size='10'; $attr7_maxlength='5'; $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:1:{s:7:"present";s:12:"thousand_sep";}' ?><?php $attr4 = array('present'=>'thousand_sep') ?><?php $attr4_present='thousand_sep' ?><?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 )
+ } } 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 $attr4_present='thousand_sep'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:20:"EL_PROP_thousand_sep";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_thousand_sep','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_thousand_sep' ?><?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='EL_PROP_thousand_sep'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -2159,6 +1566,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2200,107 +1613,58 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?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:12:"thousand_sep";s:4:"size";s:2:"10";s:9:"maxlength";s:1:"1";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'thousand_sep','size'=>'10','maxlength'=>'1','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='thousand_sep' ?><?php $attr7_size='10' ?><?php $attr7_maxlength='1' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='thousand_sep'; $attr7_size='10'; $attr7_maxlength='1'; $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:1:{s:7:"present";s:12:"default_text";}' ?><?php $attr4 = array('present'=>'default_text') ?><?php $attr4_present='default_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 )
+ } } 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 $attr4_present='default_text'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:20:"EL_PROP_default_text";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_default_text','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_default_text' ?><?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='EL_PROP_default_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))
@@ -2324,6 +1688,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2365,107 +1735,58 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?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:12:"default_text";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"255";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'default_text','size'=>'40','maxlength'=>'255','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='default_text' ?><?php $attr7_size='40' ?><?php $attr7_maxlength='255' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='default_text'; $attr7_size='40'; $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) ?><?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:1:{s:7:"present";s:16:"default_longtext";}' ?><?php $attr4 = array('present'=>'default_longtext') ?><?php $attr4_present='default_longtext' ?><?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 )
+ } } 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 $attr4_present='default_longtext'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:24:"EL_PROP_default_longtext";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_default_longtext','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_default_longtext' ?><?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='EL_PROP_default_longtext'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -2489,6 +1810,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2530,104 +1857,55 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:5:{s:4:"name";s:16:"default_longtext";s:4:"rows";s:2:"10";s:4:"cols";s:2:"40";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr7 = array('name'=>'default_longtext','rows'=>'10','cols'=>'40','class'=>'','default'=>'') ?><?php $attr7_name='default_longtext' ?><?php $attr7_rows='10' ?><?php $attr7_cols='40' ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?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_name='default_longtext'; $attr7_rows='10'; $attr7_cols='40'; $attr7_class='inputarea'; $attr7_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( !$attr7_readonly) {
?><textarea <?php if ($attr7_readonly) echo ' disabled="true"' ?> class="<?php echo $attr7_class ?>" name="<?php echo $attr7_name ?>" rows="<?php echo $attr7_rows ?>" cols="<?php echo $attr7_cols ?>"><?php echo htmlentities(isset($$attr7_name)?$$attr7_name:$attr7_default) ?></textarea><?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_name) ?><?php unset($attr7_rows) ?><?php unset($attr7_cols) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?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:10:"parameters";}' ?><?php $attr4 = array('present'=>'parameters') ?><?php $attr4_present='parameters' ?><?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 )
+?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_name);unset($attr7_rows);unset($attr7_cols);unset($attr7_class);unset($attr7_default); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='parameters'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:26:"EL_PROP_DYNAMIC_PARAMETERS";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_DYNAMIC_PARAMETERS','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_DYNAMIC_PARAMETERS' ?><?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='EL_PROP_DYNAMIC_PARAMETERS'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -2651,6 +1929,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2692,54 +1976,66 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:5:{s:4:"name";s:10:"parameters";s:4:"rows";s:2:"15";s:4:"cols";s:2:"40";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr7 = array('name'=>'parameters','rows'=>'15','cols'=>'40','class'=>'','default'=>'') ?><?php $attr7_name='parameters' ?><?php $attr7_rows='15' ?><?php $attr7_cols='40' ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?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_name='parameters'; $attr7_rows='15'; $attr7_cols='40'; $attr7_class='inputarea'; $attr7_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( !$attr7_readonly) {
?><textarea <?php if ($attr7_readonly) echo ' disabled="true"' ?> class="<?php echo $attr7_class ?>" name="<?php echo $attr7_name ?>" rows="<?php echo $attr7_rows ?>" cols="<?php echo $attr7_cols ?>"><?php echo htmlentities(isset($$attr7_name)?$$attr7_name:$attr7_default) ?></textarea><?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_name) ?><?php unset($attr7_rows) ?><?php unset($attr7_cols) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?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:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php
+?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_name);unset($attr7_rows);unset($attr7_cols);unset($attr7_class);unset($attr7_default); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?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
+ $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 ?></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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:4:{s:4:"list";s:24:"dynamic_class_parameters";s:7:"extract";s:5:"false";s:3:"key";s:9:"paramName";s:5:"value";s:12:"defaultValue";}' ?><?php $attr7 = array('list'=>'dynamic_class_parameters','extract'=>false,'key'=>'paramName','value'=>'defaultValue') ?><?php $attr7_list='dynamic_class_parameters' ?><?php $attr7_extract=false ?><?php $attr7_key='paramName' ?><?php $attr7_value='defaultValue' ?><?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_list='dynamic_class_parameters'; $attr7_extract=false; $attr7_key='paramName'; $attr7_value='defaultValue'; ?><?php
$attr7_list_tmp_key = $attr7_key;
$attr7_list_tmp_value = $attr7_value;
$attr7_list_extract = $attr7_extract;
@@ -2758,7 +2054,7 @@ if ($attr7_readonly) {
}
extract($$attr7_list_tmp_value);
}
-?><?php unset($attr7) ?><?php unset($attr7_list) ?><?php unset($attr7_extract) ?><?php unset($attr7_key) ?><?php unset($attr7_value) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:9:"paramName";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'paramName','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='paramName' ?><?php $attr8_escape=true ?><?php
+?><?php unset($attr7_list);unset($attr7_extract);unset($attr7_key);unset($attr7_value); ?><?php $attr8_class='text'; $attr8_var='paramName'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -2782,6 +2078,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2823,7 +2125,7 @@ if ($attr7_readonly) {
}
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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:2:"_(";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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?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))
@@ -2847,6 +2149,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2888,7 +2196,7 @@ if ($attr7_readonly) {
}
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:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_DEFAULT";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_DEFAULT','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_DEFAULT' ?><?php $attr8_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_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))
@@ -2912,6 +2220,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2953,7 +2267,7 @@ if ($attr7_readonly) {
}
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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:4:")_=_";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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_escape); ?><?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))
@@ -2977,6 +2291,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -3018,7 +2338,7 @@ if ($attr7_readonly) {
}
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:3:{s:5:"class";s:4:"text";s:3:"var";s:12:"defaultValue";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','var'=>'defaultValue','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_var='defaultValue' ?><?php $attr8_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_class='text'; $attr8_var='defaultValue'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -3042,6 +2362,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -3083,89 +2409,34 @@ if ($attr7_readonly) {
}
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 $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?><br/><?php unset($attr8) ?><?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:12:"select_items";}' ?><?php $attr4 = array('present'=>'select_items') ?><?php $attr4_present='select_items' ?><?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 echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='select_items'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:20:"EL_PROP_select_items";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_select_items','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_select_items' ?><?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='EL_PROP_select_items'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -3189,6 +2460,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -3230,104 +2507,55 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:5:{s:4:"name";s:12:"select_items";s:4:"rows";s:2:"15";s:4:"cols";s:2:"40";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr7 = array('name'=>'select_items','rows'=>'15','cols'=>'40','class'=>'','default'=>'') ?><?php $attr7_name='select_items' ?><?php $attr7_rows='15' ?><?php $attr7_cols='40' ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?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_name='select_items'; $attr7_rows='15'; $attr7_cols='40'; $attr7_class='inputarea'; $attr7_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( !$attr7_readonly) {
?><textarea <?php if ($attr7_readonly) echo ' disabled="true"' ?> class="<?php echo $attr7_class ?>" name="<?php echo $attr7_name ?>" rows="<?php echo $attr7_rows ?>" cols="<?php echo $attr7_cols ?>"><?php echo htmlentities(isset($$attr7_name)?$$attr7_name:$attr7_default) ?></textarea><?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_name) ?><?php unset($attr7_rows) ?><?php unset($attr7_cols) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?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:11:"linkelement";}' ?><?php $attr4 = array('present'=>'linkelement') ?><?php $attr4_present='linkelement' ?><?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 )
+?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_name);unset($attr7_rows);unset($attr7_cols);unset($attr7_class);unset($attr7_default); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='linkelement'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:7:"EL_LINK";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_LINK','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_LINK' ?><?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='EL_LINK'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -3351,6 +2579,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -3392,20 +2626,26 @@ if ($attr7_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:12:"linkelements";s:4:"name";s:11:"linkelement";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'=>'linkelements','name'=>'linkelement','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='linkelements' ?><?php $attr7_name='linkelement' ?><?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
+ $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='linkelements'; $attr7_name='linkelement'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
}
@@ -3456,89 +2696,34 @@ echo ' size="'.intval($attr7_size).'"';
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:1:{s:7:"present";s:4:"name";}' ?><?php $attr4 = array('present'=>'name') ?><?php $attr4_present='name' ?><?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($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 $attr4_present='name'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"ELEMENT_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'ELEMENT_NAME','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='ELEMENT_NAME' ?><?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='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))
@@ -3562,6 +2747,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -3603,20 +2794,26 @@ 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() ?></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($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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:5:"names";s:4:"name";s:4:"name";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'=>'names','name'=>'name','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='names' ?><?php $attr7_name='name' ?><?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
+ $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='names'; $attr7_name='name'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
}
@@ -3667,89 +2864,34 @@ echo ' size="'.intval($attr7_size).'"';
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:1:{s:7:"present";s:14:"folderobjectid";}' ?><?php $attr4 = array('present'=>'folderobjectid') ?><?php $attr4_present='folderobjectid' ?><?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($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 $attr4_present='folderobjectid'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:28:"EL_PROP_DEFAULT_FOLDEROBJECT";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_DEFAULT_FOLDEROBJECT','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_DEFAULT_FOLDEROBJECT' ?><?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='EL_PROP_DEFAULT_FOLDEROBJECT'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -3773,6 +2915,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -3814,20 +2962,26 @@ 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() ?></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($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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:7:"folders";s:4:"name";s:14:"folderobjectid";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'=>'folders','name'=>'folderobjectid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='folders' ?><?php $attr7_name='folderobjectid' ?><?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
+ $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='folders'; $attr7_name='folderobjectid'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
}
@@ -3878,89 +3032,34 @@ echo ' size="'.intval($attr7_size).'"';
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:1:{s:7:"present";s:16:"default_objectid";}' ?><?php $attr4 = array('present'=>'default_objectid') ?><?php $attr4_present='default_objectid' ?><?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($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 $attr4_present='default_objectid'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:22:"EL_PROP_DEFAULT_OBJECT";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_DEFAULT_OBJECT','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_DEFAULT_OBJECT' ?><?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='EL_PROP_DEFAULT_OBJECT'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -3984,6 +3083,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -4025,20 +3130,26 @@ 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() ?></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($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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:7:"objects";s:4:"name";s:16:"default_objectid";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'=>'default_objectid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='objects' ?><?php $attr7_name='default_objectid' ?><?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
+ $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='default_objectid'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr7_name)?'- '.lang('EMPTY').' -':$attr7_tmp_list[$$attr7_name];
}
@@ -4089,89 +3200,34 @@ echo ' size="'.intval($attr7_size).'"';
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:1:{s:7:"present";s:4:"code";}' ?><?php $attr4 = array('present'=>'code') ?><?php $attr4_present='code' ?><?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($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 $attr4_present='code'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"EL_PROP_code";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'EL_PROP_code','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='EL_PROP_code' ?><?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='EL_PROP_code'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -4195,6 +3251,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -4236,43 +3298,49 @@ 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() ?></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($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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:5:{s:4:"name";s:4:"code";s:4:"rows";s:2:"35";s:4:"cols";s:2:"60";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr7 = array('name'=>'code','rows'=>'35','cols'=>'60','class'=>'','default'=>'') ?><?php $attr7_name='code' ?><?php $attr7_rows='35' ?><?php $attr7_cols='60' ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?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_name='code'; $attr7_rows='35'; $attr7_cols='60'; $attr7_class='inputarea'; $attr7_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( !$attr7_readonly) {
?><textarea <?php if ($attr7_readonly) echo ' disabled="true"' ?> class="<?php echo $attr7_class ?>" name="<?php echo $attr7_name ?>" rows="<?php echo $attr7_rows ?>" cols="<?php echo $attr7_cols ?>"><?php echo htmlentities(isset($$attr7_name)?$$attr7_name:$attr7_default) ?></textarea><?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_name) ?><?php unset($attr7_rows) ?><?php unset($attr7_cols) ?><?php unset($attr7_class) ?><?php unset($attr7_default) ?><?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: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
+?><span class="<?php echo $attr7_class ?>"><?php echo isset($$attr7_name)?$$attr7_name:$attr7_default ?></span><?php } ?><?php unset($attr7_name);unset($attr7_rows);unset($attr7_cols);unset($attr7_class);unset($attr7_default); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -4285,7 +3353,7 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_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>
@@ -4297,12 +3365,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_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/element/remove.tpl.php b/themes/default/pages/html/element/remove.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>
@@ -26,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 ?>" />
@@ -48,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:3:{s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"ELEMENT_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'ELEMENT_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='ELEMENT_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='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))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,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 ?><?php
$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:"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 ?><?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))
@@ -283,6 +295,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -324,60 +342,60 @@
}
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:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
- $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
+ $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:6:"delete";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'delete') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='delete' ?><?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='delete'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
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:6:"delete";}' ?><?php $attr6 = array('for'=>'delete') ?><?php $attr6_for='delete' ?><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:"GLOBAL_DELETE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_DELETE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_DELETE' ?><?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='delete'; ?><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_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))
@@ -401,6 +419,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -442,39 +466,39 @@ 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
- $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:12:"deletevalues";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'deletevalues') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='deletevalues' ?><?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='deletevalues'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
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:12:"deletevalues";}' ?><?php $attr6 = array('for'=>'deletevalues') ?><?php $attr6_for='deletevalues' ?><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:21:"ELEMENT_DELETE_VALUES";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'ELEMENT_DELETE_VALUES','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='ELEMENT_DELETE_VALUES' ?><?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='deletevalues'; ?><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='ELEMENT_DELETE_VALUES'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -498,6 +522,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -539,28 +569,28 @@ 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
- $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
@@ -573,7 +603,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>
@@ -585,12 +615,12 @@ 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 $attr2_debug_info = 'a:1:{s:5:"field";s:6:"delete";}' ?><?php $attr2 = array('field'=>'delete') ?><?php $attr2_field='delete' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='delete'; ?><?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/element/type.tpl.php b/themes/default/pages/html/element/type.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>
@@ -26,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 ?>" />
@@ -48,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:4:"name";s:11:"GLOBAL_NAME";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_NAME','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_NAME' ?><?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_NAME'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"ELEMENT_TYPE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'ELEMENT_TYPE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='ELEMENT_TYPE' ?><?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='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))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,20 +254,26 @@
}
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: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
+ $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='types'; $attr6_name='type'; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=true; ?><?php
$attr6_tmp_list = $$attr6_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
}
@@ -312,28 +324,28 @@ echo ' size="'.intval($attr6_size).'"';
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
- $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
+?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -346,7 +358,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>
@@ -358,12 +370,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:"type";}' ?><?php $attr2 = array('field'=>'type') ?><?php $attr2_field='type' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='type'; ?><?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/empty/blank.tpl.php b/themes/default/pages/html/empty/blank.tpl.php
@@ -1,30 +1,30 @@
-<?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 $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/file/compress.tpl.php b/themes/default/pages/html/file/compress.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_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) { ?>
@@ -26,24 +26,29 @@
<?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:4:"file";s:9:"subaction";s:10:"docompress";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('action'=>'file','subaction'=>'docompress','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_action='file' ?><?php $attr2_subaction='docompress' ?><?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_action='file'; $attr2_subaction='docompress'; $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) ?><?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:5:{s:5:"title";s:7:"asdfdfs";s:4:"name";s:4:"asdf";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'=>'asdfdfs','name'=>'asdf','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='asdfdfs' ?><?php $attr3_name='asdf' ?><?php $attr3_width='93%' ?><?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='asdfdfs'; $attr3_name='asdf'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -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->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">'.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,41 +113,41 @@
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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,36 +161,34 @@
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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
+ $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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -199,38 +207,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -241,33 +254,51 @@
}
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:2:{s:3:"var";s:2:"gz";s:5:"value";s:2:"gz";}' ?><?php $attr6 = array('var'=>'gz','value'=>'gz') ?><?php $attr6_var='gz' ?><?php $attr6_value='gz' ?><?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_var='gz'; $attr6_value='gz'; ?><?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 $attr6_debug_info = 'a:9:{s:4:"list";s:7:"formats";s:4:"name";s:6:"format";s:7:"default";s:2:"gz";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";}' ?><?php $attr6 = array('list'=>'formats','name'=>'format','default'=>'gz','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1') ?><?php $attr6_list='formats' ?><?php $attr6_name='format' ?><?php $attr6_default='gz' ?><?php $attr6_onchange='' ?><?php $attr6_title='' ?><?php $attr6_class='' ?><?php $attr6_addempty=false ?><?php $attr6_multiple=false ?><?php $attr6_size='1' ?><?php
-if ($attr6_addempty) $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list;
-?><select id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name; if ($attr6_multiple) echo '[]'; ?>" onchange="<?php echo $attr6_onchange ?>" title="<?php echo $attr6_title ?>" class="<?php echo $attr6_class ?>"<?php
+?><?php unset($attr6_var);unset($attr6_value); ?><?php $attr6_list='formats'; $attr6_name='format'; $attr6_default='gz'; $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
- $attr6_tmp_list = $$attr6_list;
if ( isset($$attr6_name) && isset($attr6_tmp_list[$$attr6_name]) )
$attr6_tmp_default = $$attr6_name;
elseif ( isset($attr6_default) )
@@ -276,69 +307,89 @@ echo ' size="'.intval($attr6_size).'"';
$attr6_tmp_default = '';
foreach( $attr6_tmp_list as $box_key=>$box_value )
{
- echo '<option class="'.$attr6_class.'" value="'.$box_key.'"';
+ 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 $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
+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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:2:{s:3:"var";s:5:"field";s:5:"value";s:7:"replace";}' ?><?php $attr6 = array('var'=>'field','value'=>'replace') ?><?php $attr6_var='field' ?><?php $attr6_value='replace' ?><?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_var='field'; $attr6_value='replace'; ?><?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 $attr6_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:5:"field";s:5:"value";s:4:"true";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'=>'field','value'=>true,'default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='field' ?><?php $attr6_value=true ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
+?><?php unset($attr6_var);unset($attr6_value); ?><?php $attr6_readonly=false; $attr6_name='field'; $attr6_value=true; $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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:7:"replace";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'replace','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='replace' ?><?php $attr6_escape=true ?><?php
+ ?><input class="radio" 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_class='text'; $attr6_text='replace'; $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';
@@ -357,38 +408,43 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -399,22 +455,20 @@ 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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_text) ?><?php unset($attr6_escape) ?><?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:5:"field";s:5:"value";s:5:"false";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'=>'field','value'=>false,'default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='field' ?><?php $attr6_value=false ?><?php $attr6_default=false ?><?php $attr6_prefix='' ?><?php $attr6_suffix='' ?><?php $attr6_class='' ?><?php $attr6_onchange='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?><br/><?php ?><?php $attr6_readonly=false; $attr6_name='field'; $attr6_value=false; $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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"createnew";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'createnew','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='createnew' ?><?php $attr6_escape=true ?><?php
+ ?><input class="radio" 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_class='text'; $attr6_text='createnew'; $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';
@@ -433,38 +487,43 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -475,35 +534,41 @@ 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($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_text) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -515,6 +580,6 @@ 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 $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/file/edit.tpl.php b/themes/default/pages/html/file/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>
@@ -26,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:4:"file";s:9:"subaction";s:7:"replace";s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:19:"multipart/form-data";}' ?><?php $attr2 = array('action'=>'file','subaction'=>'replace','name'=>'','target'=>'_self','method'=>'post','enctype'=>'multipart/form-data') ?><?php $attr2_action='file' ?><?php $attr2_subaction='replace' ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='multipart/form-data' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_action='file'; $attr2_subaction='replace'; $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='multipart/form-data'; ?><?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 ?>" />
@@ -48,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:5:{s:5:"title";s:7:"asdfdfs";s:4:"name";s:4:"asdf";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'=>'asdfdfs','name'=>'asdf','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='asdfdfs' ?><?php $attr3_name='asdf' ?><?php $attr3_width='93%' ?><?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='asdfdfs'; $attr3_name='asdf'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,50 +161,50 @@
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:4:"name";s:4:"file";s:5:"class";s:6:"upload";s:4:"size";s:2:"40";}' ?><?php $attr6 = array('name'=>'file','class'=>'upload','size'=>'40') ?><?php $attr6_name='file' ?><?php $attr6_class='upload' ?><?php $attr6_size='40' ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($attr6) ?><?php unset($attr6_name) ?><?php unset($attr6_class) ?><?php unset($attr6_size) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"class";s:3:"act";}' ?><?php $attr5 = array('class'=>'act') ?><?php $attr5_class='act' ?><?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_name='file'; $attr6_class='upload'; $attr6_size='40'; ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($attr6_name);unset($attr6_class);unset($attr6_size); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; ?><?php
$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: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); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -217,7 +217,7 @@
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>
@@ -229,6 +229,6 @@
<?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/file/prop.tpl.php b/themes/default/pages/html/file/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>
@@ -26,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 ?>" />
@@ -48,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:"icon";s:6:"folder";s:6:"widths";s:7:"40%,60%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('icon'=>'folder','widths'=>'40%,60%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_icon='folder' ?><?php $attr3_widths='40%,60%' ?><?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_icon='folder'; $attr3_widths='40%,60%'; $attr3_width='70%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,46 +254,52 @@
}
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 $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 $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->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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -311,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -352,46 +370,52 @@ 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 $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;
+ $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 unset($attr5_class); ?><?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->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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:14:"file_extension";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'file_extension','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='file_extension' ?><?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='file_extension'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -415,6 +439,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -456,46 +486,52 @@ 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 $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;
+ $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:9:"extension";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:9:"extension";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'=>'extension','default'=>'','type'=>'text','name'=>'extension','size'=>'10','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='extension' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='extension' ?><?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;
+ $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='extension'; $attr6_default=''; $attr6_type='text'; $attr6_name='extension'; $attr6_size='10'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -519,6 +555,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -560,43 +602,1915 @@ 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->isEditMode()) $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
- $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;
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $attr4_false=$mode=="edit"; ?><?php
+ if (gettype($attr4_false) === '' && gettype($attr4_false) === '1')
+ $attr4_tmp_exec = $$attr4_false == false;
+ else
+ $attr4_tmp_exec = $attr4_false == false;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+?>
+<?php unset($attr4_false); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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_text='global_full_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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='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($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='full_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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='FILE_SIZE'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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='size'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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=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
+ $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='FILE_mimetype'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_class='text'; $attr6_var='mimetype'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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=lang('id'); $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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='objectid'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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='CACHE_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))
+ $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_present='cache_filename'; ?><?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_var='cache_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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='cache_filename'; ?><?php
+ $attr4_tmp_exec = isset($$attr4_present);
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+?>
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 ?></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_icon='el_date'; $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_date=$cache_filemtime; ?><?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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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='FILE_PAGES'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_list='pages'; $attr6_extract=true; $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 $attr7_title=''; $attr7_target='cms_main'; $attr7_url='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_type='page'; ?><?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='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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?><br/><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='pages'; ?><?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
+ $attr6_tmp_exec = empty( $$attr6_empty );
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+?>
+<?php unset($attr6_empty); ?><?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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_created'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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'; ?><?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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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=$create_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=$create_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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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'; ?><?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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -609,7 +2523,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>
@@ -621,12 +2535,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/file/pub.tpl.php b/themes/default/pages/html/file/pub.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>
@@ -26,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 ?>" />
@@ -48,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:3:{s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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
- $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:3:"act";}' ?><?php $attr5 = array('class'=>'act') ?><?php $attr5_class='act' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; ?><?php
$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: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); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -196,7 +196,7 @@
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>
@@ -208,6 +208,6 @@
<?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/file/showprop.tpl.php b/themes/default/pages/html/file/showprop.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>
@@ -26,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:"icon";s:6:"folder";s:6:"widths";s:7:"40%,60%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('icon'=>'folder','widths'=>'40%,60%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_icon='folder' ?><?php $attr2_widths='40%,60%' ?><?php $attr2_width='70%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_icon='folder'; $attr2_widths='40%,60%'; $attr2_width='70%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -59,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 }
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,29 +139,29 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?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: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:0:{}' ?><?php $attr4 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_icon);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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
+ $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 ?><?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))
@@ -185,6 +185,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -226,18 +232,24 @@
}
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:"name";}' ?><?php $attr4 = array('class'=>'name') ?><?php $attr4_class='name' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='name' ?><?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_var='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))
@@ -261,6 +273,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -302,28 +320,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"global_description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_description','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_description' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_description'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -347,6 +365,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -388,18 +412,24 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'description','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='description' ?><?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 ?><?php $attr5_class='text'; $attr5_var='description'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -423,6 +453,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -464,28 +500,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:20:"global_full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_full_filename','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_full_filename' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_full_filename'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -509,6 +545,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -550,18 +592,24 @@
}
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:8:"filename";}' ?><?php $attr4 = array('class'=>'filename') ?><?php $attr4_class='filename' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:13:"full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'full_filename','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='full_filename' ?><?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_var='full_filename'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -585,6 +633,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -626,49 +680,49 @@
}
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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:23:"message:additional_info";}' ?><?php $attr5 = array('title'=>lang('additional_info')) ?><?php $attr5_title=lang('additional_info') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('additional_info'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"FILE_SIZE";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'FILE_SIZE','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='FILE_SIZE' ?><?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 ?><?php $attr5_class='text'; $attr5_text='FILE_SIZE'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -692,6 +746,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -733,18 +793,24 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"size";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'size','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='size' ?><?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 ?><?php $attr5_class='text'; $attr5_var='size'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -768,6 +834,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -809,28 +881,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"FILE_mimetype";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'FILE_mimetype','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='FILE_mimetype' ?><?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 ?><?php $attr5_class='text'; $attr5_text='FILE_mimetype'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -854,6 +926,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -895,18 +973,24 @@
}
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:8:"filename";}' ?><?php $attr4 = array('class'=>'filename') ?><?php $attr4_class='filename' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:8:"mimetype";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'mimetype','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='mimetype' ?><?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_var='mimetype'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -930,6 +1014,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -971,28 +1061,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:10:"message:id";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>lang('id'),'escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text=lang('id') ?><?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 ?><?php $attr5_class='text'; $attr5_text=lang('id'); $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1016,6 +1106,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1057,18 +1153,24 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"var:objectid";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>$objectid,'escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text=$objectid ?><?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 ?><?php $attr5_class='text'; $attr5_text=$objectid; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1092,6 +1194,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1133,28 +1241,28 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"CACHE_FILENAME";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'CACHE_FILENAME','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='CACHE_FILENAME' ?><?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 ?><?php $attr5_class='text'; $attr5_text='CACHE_FILENAME'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1178,6 +1286,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1219,79 +1333,30 @@
}
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:8:"filename";}' ?><?php $attr4 = array('class'=>'filename') ?><?php $attr4_class='filename' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:1:{s:7:"present";s:14:"cache_filename";}' ?><?php $attr5 = array('present'=>'cache_filename') ?><?php $attr5_present='cache_filename' ?><?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_class); ?><?php $attr5_present='cache_filename'; ?><?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:"var";s:14:"cache_filename";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'cache_filename','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='cache_filename' ?><?php $attr6_escape=true ?><?php
+<?php unset($attr5_present); ?><?php $attr6_class='text'; $attr6_var='cache_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))
@@ -1315,6 +1380,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1356,114 +1427,54 @@
}
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() ?><?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 $attr3_debug_info = 'a:1:{s:7:"present";s:14:"cache_filename";}' ?><?php $attr3 = array('present'=>'cache_filename') ?><?php $attr3_present='cache_filename' ?><?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 echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr3_present='cache_filename'; ?><?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
- $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 unset($attr3_present); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:2:{s:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr6 = array('icon'=>'el_date','align'=>'left') ?><?php $attr6_icon='el_date' ?><?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_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_icon) ?><?php unset($attr6_align) ?><?php $attr6_debug_info = 'a:1:{s:4:"date";s:19:"var:cache_filemtime";}' ?><?php $attr6 = array('date'=>$cache_filemtime) ?><?php $attr6_date=$cache_filemtime ?><?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_icon='el_date'; $attr6_align='left'; ?><?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_date=$cache_filemtime; ?><?php
global $conf;
$time = $attr6_date;
if ( $time==0)
@@ -1519,28 +1530,28 @@ if (isset($attr6_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: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:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr6_date); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:10:"FILE_PAGES";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'FILE_PAGES','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='FILE_PAGES' ?><?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 ?><?php $attr5_class='text'; $attr5_text='FILE_PAGES'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1564,6 +1575,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1605,18 +1622,24 @@ if (isset($attr6_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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:4:{s:4:"list";s:5:"pages";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr5 = array('list'=>'pages','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr5_list='pages' ?><?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 ?><?php $attr5_list='pages'; $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;
@@ -1635,7 +1658,7 @@ 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:4:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:3:"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
+?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?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;
@@ -1655,21 +1678,10 @@ 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<?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)) {
-?><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='page'; ?><?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))
@@ -1693,6 +1705,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1734,68 +1752,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() ?></a><?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() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"empty";s:5:"pages";}' ?><?php $attr5 = array('empty'=>'pages') ?><?php $attr5_empty='pages' ?><?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($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php $attr5_empty='pages'; ?><?php
+ if ( !isset($$attr5_empty) )
+ $attr5_tmp_exec = empty($attr5_empty);
+ elseif ( is_array($$attr5_empty) )
+ $attr5_tmp_exec = (count($$attr5_empty)==0);
+ elseif ( is_bool($$attr5_empty) )
+ $attr5_tmp_exec = true;
+ else
+ $attr5_tmp_exec = empty( $$attr5_empty );
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_empty) ?><?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
+<?php unset($attr5_empty); ?><?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))
@@ -1819,6 +1789,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1860,49 +1836,49 @@ 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() ?><?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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:21:"message:prop_userinfo";}' ?><?php $attr5 = array('title'=>lang('prop_userinfo')) ?><?php $attr5_title=lang('prop_userinfo') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('prop_userinfo'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"global_created";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_created','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_created' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_created'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1926,6 +1902,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1967,18 +1949,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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_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 $attr5 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr5_width='100%' ?><?php $attr5_space='0px' ?><?php $attr5_padding='0px' ?><?php $attr5_rowclasses='odd,even' ?><?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 ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -2006,42 +1994,31 @@ if (isset($attr7_elementtype)) {
$column_classes = explode(',',$attr5_columnclasses);
unset($attr5['columnclasses']);
}
-?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5) ?><?php unset($attr5_width) ?><?php unset($attr5_space) ?><?php unset($attr5_padding) ?><?php unset($attr5_rowclasses) ?><?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
+?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'el_date','align'=>'left') ?><?php $attr8_icon='el_date' ?><?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:1:{s:4:"date";s:15:"var:create_date";}' ?><?php $attr8 = array('date'=>$create_date) ?><?php $attr8_date=$create_date ?><?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_icon='el_date'; $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_date=$create_date; ?><?php
global $conf;
$time = $attr8_date;
if ( $time==0)
@@ -2097,32 +2074,27 @@ if (isset($attr8_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr8) ?><?php unset($attr8_date) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><?php unset($attr8_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($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:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'user','align'=>'left') ?><?php $attr8_icon='user' ?><?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:1:{s:4:"user";s:15:"var:create_user";}' ?><?php $attr8 = array('user'=>$create_user) ?><?php $attr8_user=$create_user ?><?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_icon='user'; $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_user=$create_user; ?><?php
if ( is_object($attr8_user) )
$user = $attr8_user;
else
@@ -2135,28 +2107,28 @@ if (isset($attr8_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr8) ?><?php unset($attr8_user) ?><?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() ?></table><?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: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:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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 ?><?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))
@@ -2180,6 +2152,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -2221,18 +2199,24 @@ if (isset($attr8_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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_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 $attr5 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr5_width='100%' ?><?php $attr5_space='0px' ?><?php $attr5_padding='0px' ?><?php $attr5_rowclasses='odd,even' ?><?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 ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -2260,42 +2244,31 @@ if (isset($attr8_elementtype)) {
$column_classes = explode(',',$attr5_columnclasses);
unset($attr5['columnclasses']);
}
-?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5) ?><?php unset($attr5_width) ?><?php unset($attr5_space) ?><?php unset($attr5_padding) ?><?php unset($attr5_rowclasses) ?><?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
+?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'el_date','align'=>'left') ?><?php $attr8_icon='el_date' ?><?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:1:{s:4:"date";s:19:"var:lastchange_date";}' ?><?php $attr8 = array('date'=>$lastchange_date) ?><?php $attr8_date=$lastchange_date ?><?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_icon='el_date'; $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_date=$lastchange_date; ?><?php
global $conf;
$time = $attr8_date;
if ( $time==0)
@@ -2351,32 +2324,27 @@ if (isset($attr8_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr8) ?><?php unset($attr8_date) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><?php unset($attr8_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($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:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'user','align'=>'left') ?><?php $attr8_icon='user' ?><?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:1:{s:4:"user";s:19:"var:lastchange_user";}' ?><?php $attr8 = array('user'=>$lastchange_user) ?><?php $attr8_user=$lastchange_user ?><?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_icon='user'; $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_user=$lastchange_user; ?><?php
if ( is_object($attr8_user) )
$user = $attr8_user;
else
@@ -2389,7 +2357,7 @@ if (isset($attr8_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr8) ?><?php unset($attr8_user) ?><?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() ?></table><?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($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -2401,5 +2369,5 @@ 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($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/file/size.tpl.php b/themes/default/pages/html/file/size.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:6:"widths";s:10:"5%,40%,55%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('widths'=>'5%,40%,55%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_widths='5%,40%,55%' ?><?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_widths='5%,40%,55%'; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:5:"class";s:4:"text";s:4:"text";s:14:"IMAGE_OLD_SIZE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'IMAGE_OLD_SIZE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='IMAGE_OLD_SIZE' ?><?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_colspan); ?><?php $attr6_class='text'; $attr6_text='IMAGE_OLD_SIZE'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -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: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:4:"text";s:3:"var";s:5:"width";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'width','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='width' ?><?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='width'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -291,6 +295,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -332,7 +342,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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_*_";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_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))
@@ -356,6 +366,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -397,7 +413,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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:6:"height";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'height','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='height' ?><?php $attr6_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_var='height'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -421,6 +437,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -462,129 +484,83 @@
}
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: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);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_true=$mode=="edit"; ?><?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
- $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:"3";}' ?><?php $attr6 = array('colspan'=>'3') ?><?php $attr6_colspan='3' ?><?php
+<?php unset($attr4_true); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr6_class))
- $attr6['class']=$column_class;
+ $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:22:"message:IMAGE_NEW_SIZE";}' ?><?php $attr7 = array('title'=>lang('IMAGE_NEW_SIZE')) ?><?php $attr7_title=lang('IMAGE_NEW_SIZE') ?><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:0:{}' ?><?php $attr6 = 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_colspan); ?><?php $attr7_title=lang('IMAGE_NEW_SIZE'); ?><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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:6:"factor";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'=>'factor','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='factor' ?><?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 ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='factor'; $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:0:{}' ?><?php $attr6 = array() ?><?php
+ ?><input class="radio" 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 ?><?php
$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:11:"type_factor";}' ?><?php $attr7 = array('for'=>'type_factor') ?><?php $attr7_for='type_factor' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:22:"FILE_IMAGE_SIZE_FACTOR";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'FILE_IMAGE_SIZE_FACTOR','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='FILE_IMAGE_SIZE_FACTOR' ?><?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='type_factor'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_class='text'; $attr8_text='FILE_IMAGE_SIZE_FACTOR'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -608,6 +584,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -649,19 +631,31 @@
}
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:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_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($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:9:{s:4:"list";s:7:"factors";s:4:"name";s:6:"factor";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'=>'factors','name'=>'factor','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='factors' ?><?php $attr7_name='factor' ?><?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
-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_list='factors'; $attr7_name='factor'; $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)
@@ -675,7 +669,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) )
@@ -706,55 +699,62 @@ 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 $attr7_debug_info = 'a:2:{s:3:"var";s:6:"factor";s:5:"value";s:1:"1";}' ?><?php $attr7 = array('var'=>'factor','value'=>'1') ?><?php $attr7_var='factor' ?><?php $attr7_value='1' ?><?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 $attr7_var='factor'; $attr7_value='1'; ?><?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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+?><?php unset($attr7_var);unset($attr7_value); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:5:"input";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'=>'input','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='input' ?><?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 ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='input'; $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:0:{}' ?><?php $attr6 = array() ?><?php
+ ?><input class="radio" 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 ?><?php
$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:10:"type_input";}' ?><?php $attr7 = array('for'=>'type_input') ?><?php $attr7_for='type_input' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:27:"FILE_IMAGE_NEW_WIDTH_HEIGHT";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'FILE_IMAGE_NEW_WIDTH_HEIGHT','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='FILE_IMAGE_NEW_WIDTH_HEIGHT' ?><?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='type_input'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_class='text'; $attr8_text='FILE_IMAGE_NEW_WIDTH_HEIGHT'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -778,6 +778,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -819,25 +825,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($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:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_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($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:5:"width";s:4:"size";s:2:"10";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'=>'width','size'=>'10','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='width' ?><?php $attr7_size='10' ?><?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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='width'; $attr7_size='10'; $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 $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
+ } } 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_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))
@@ -861,6 +873,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -902,56 +920,56 @@ if ($attr7_readonly) {
}
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:8:{s:5:"class";s:0:"";s:7:"default";s:0:"";s:4:"type";s:4:"text";s:4:"name";s:6:"height";s:4:"size";s:2:"10";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'=>'height','size'=>'10','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='height' ?><?php $attr7_size='10' ?><?php $attr7_maxlength='256' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php $attr7_class='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='height'; $attr7_size='10'; $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 $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:"3";}' ?><?php $attr6 = array('colspan'=>'3') ?><?php $attr6_colspan='3' ?><?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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr6_class))
- $attr6['class']=$column_class;
+ $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:15:"message:options";}' ?><?php $attr7 = array('title'=>lang('options')) ?><?php $attr7_title=lang('options') ?><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
+ $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('options'); ?><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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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:6:"format";}' ?><?php $attr7 = array('for'=>'format') ?><?php $attr7_for='format' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"FILE_IMAGE_FORMAT";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'FILE_IMAGE_FORMAT','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='FILE_IMAGE_FORMAT' ?><?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='format'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_class='text'; $attr8_text='FILE_IMAGE_FORMAT'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -975,6 +993,12 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1016,19 +1040,31 @@ if ($attr7_readonly) {
}
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:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_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($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:9:{s:4:"list";s:7:"formats";s:4:"name";s:6:"format";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'=>'formats','name'=>'format','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='formats' ?><?php $attr7_name='format' ?><?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
-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_list='formats'; $attr7_name='format'; $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)
@@ -1042,7 +1078,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) )
@@ -1073,29 +1108,30 @@ 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 $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
+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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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:20:"jpeglist_compression";}' ?><?php $attr7 = array('for'=>'jpeglist_compression') ?><?php $attr7_for='jpeglist_compression' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:27:"FILE_IMAGE_JPEG_COMPRESSION";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'FILE_IMAGE_JPEG_COMPRESSION','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='FILE_IMAGE_JPEG_COMPRESSION' ?><?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='jpeglist_compression'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_class='text'; $attr8_text='FILE_IMAGE_JPEG_COMPRESSION'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1119,6 +1155,12 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1160,26 +1202,38 @@ 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($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:0:{}' ?><?php $attr6 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_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($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:"var";s:16:"jpeg_compression";s:5:"value";s:2:"70";}' ?><?php $attr7 = array('var'=>'jpeg_compression','value'=>'70') ?><?php $attr7_var='jpeg_compression' ?><?php $attr7_value='70' ?><?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_var='jpeg_compression'; $attr7_value='70'; ?><?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:9:{s:4:"list";s:8:"jpeglist";s:4:"name";s:16:"jpeg_compression";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'=>'jpeglist','name'=>'jpeg_compression','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='jpeglist' ?><?php $attr7_name='jpeg_compression' ?><?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
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+?><?php unset($attr7_var);unset($attr7_value); ?><?php $attr7_list='jpeglist'; $attr7_name='jpeg_compression'; $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)
@@ -1193,7 +1247,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) )
@@ -1224,62 +1277,41 @@ 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 $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 $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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = 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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr6_class))
- $attr6['class']=$column_class;
+ $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:4:"copy";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'copy') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='copy' ?><?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_colspan); ?><?php $attr7_default=false; $attr7_readonly=false; $attr7_name='copy'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:4:"copy";}' ?><?php $attr7 = array('for'=>'copy') ?><?php $attr7_for='copy' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:4:"copy";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'copy','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='copy' ?><?php $attr8_escape=true ?><?php
+?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php $attr7_for='copy'; ?><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='copy'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1303,6 +1335,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1344,28 +1382,28 @@ 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() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $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:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?php
+?></<?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 } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -1378,7 +1416,7 @@ if ( $attr7_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>
@@ -1390,12 +1428,12 @@ 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($attr2) ?><?php $attr3_debug_info = 'a:1:{s:5:"field";s:5:"width";}' ?><?php $attr3 = array('field'=>'width') ?><?php $attr3_field='width' ?><?php
+<?php ?><?php $attr3_field='width'; ?><?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() ?></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 unset($attr3_field); ?><?php ?></form>
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/folder/create.tpl.php b/themes/default/pages/html/folder/create.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>
@@ -26,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:19:"multipart/form-data";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'multipart/form-data') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='multipart/form-data' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='multipart/form-data'; ?><?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 ?>" />
@@ -48,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:5:"title";s:10:"GLOBAL_NEW";s:4:"name";s:10:"global_new";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_NEW','name'=>'global_new','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='GLOBAL_NEW' ?><?php $attr3_name='global_new' ?><?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_NEW'; $attr3_name='global_new'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,69 +161,75 @@
<?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
- $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:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:14:"message:folder";}' ?><?php $attr6 = array('title'=>lang('folder')) ?><?php $attr6_title=lang('folder') ?><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
+ $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('folder'); ?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:6:"folder";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'=>'folder','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='folder' ?><?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 ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='folder'; $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 class="radio" 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 ?><?php
$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:11:"type_folder";}' ?><?php $attr6 = array('for'=>'type_folder') ?><?php $attr6_for='type_folder' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"global_folder";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'global_folder','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='global_folder' ?><?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 ?><?php $attr6_for='type_folder'; ?><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_folder'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -247,6 +253,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -288,86 +300,98 @@
}
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 ?><?php
$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:11:"folder_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'folder_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='folder_name' ?><?php $attr6_size='30' ?><?php $attr6_maxlength='250' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($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='folder_name'; $attr6_size='30'; $attr6_maxlength='250'; $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
- $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:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:12:"message:file";}' ?><?php $attr6 = array('title'=>lang('file')) ?><?php $attr6_title=lang('file') ?><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
+ $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('file'); ?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"file";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'=>'file','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='file' ?><?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 ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='file'; $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 class="radio" 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 ?><?php
$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:9:"type_file";}' ?><?php $attr6 = array('for'=>'type_file') ?><?php $attr6_for='type_file' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"global_FILE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'global_FILE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='global_FILE' ?><?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 ?><?php $attr6_for='type_file'; ?><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_FILE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -391,6 +415,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -432,18 +462,24 @@ 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: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 ?><?php
$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:4:"name";s:4:"file";s:5:"class";s:6:"upload";s:9:"maxlength";s:13:"var:maxlength";s:4:"size";s:2:"30";}' ?><?php $attr6 = array('name'=>'file','class'=>'upload','maxlength'=>$maxlength,'size'=>'30') ?><?php $attr6_name='file' ?><?php $attr6_class='upload' ?><?php $attr6_maxlength=$maxlength ?><?php $attr6_size='30' ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($attr6) ?><?php unset($attr6_name) ?><?php unset($attr6_class) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_size) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"help";s:3:"key";s:13:"file_max_size";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'help','key'=>'file_max_size','escape'=>true) ?><?php $attr6_class='help' ?><?php $attr6_key='file_max_size' ?><?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_name='file'; $attr6_class='upload'; $attr6_maxlength=$maxlength; $attr6_size='30'; ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($attr6_name);unset($attr6_class);unset($attr6_maxlength);unset($attr6_size); ?><?php ?><br/><?php ?><?php $attr6_class='help'; $attr6_key='file_max_size'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -467,6 +503,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -508,7 +550,7 @@ if ($attr6_readonly) {
}
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 $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_class);unset($attr6_key);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))
@@ -532,6 +574,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -573,7 +621,7 @@ if ($attr6_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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"max_size";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'max_size','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='max_size' ?><?php $attr6_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_var='max_size'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -597,6 +645,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -638,68 +692,74 @@ if ($attr6_readonly) {
}
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:1:{s:7:"colspan";s:1:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:12:"message:page";}' ?><?php $attr6 = array('title'=>lang('page')) ?><?php $attr6_title=lang('page') ?><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
+ $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('page'); ?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"page";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'=>'page','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='page' ?><?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 ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='page'; $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 class="radio" 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 ?><?php
$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:9:"type_page";}' ?><?php $attr6 = array('for'=>'type_page') ?><?php $attr6_for='type_page' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"global_TEMPLATE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'global_TEMPLATE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='global_TEMPLATE' ?><?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 ?><?php $attr6_for='type_page'; ?><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_TEMPLATE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -723,6 +783,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -764,20 +830,26 @@ 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: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 ?><?php
$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:"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
+ $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='templates'; $attr6_name='page_templateid'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
}
@@ -828,39 +900,45 @@ echo ' size="'.intval($attr6_size).'"';
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
- $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 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:3:"for";s:9:"type_page";}' ?><?php $attr6 = array('for'=>'type_page') ?><?php $attr6_for='type_page' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a: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
+ $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_for='type_page'; ?><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_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))
@@ -884,6 +962,12 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -925,86 +1009,98 @@ 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: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 ?><?php
$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:9:"page_name";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"250";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'name','default'=>'','type'=>'text','name'=>'page_name','size'=>'30','maxlength'=>'250','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='page_name' ?><?php $attr6_size='30' ?><?php $attr6_maxlength='250' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if ($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='page_name'; $attr6_size='30'; $attr6_maxlength='250'; $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
- $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:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:12:"message:link";}' ?><?php $attr6 = array('title'=>lang('link')) ?><?php $attr6_title=lang('link') ?><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
+ $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('link'); ?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"link";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'=>'link','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='link' ?><?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 ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='link'; $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 class="radio" 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 ?><?php
$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:9:"type_link";}' ?><?php $attr6 = array('for'=>'type_link') ?><?php $attr6_for='type_link' ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6) ?><?php unset($attr6_for) ?><?php $attr7_debug_info = 'a: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
+ $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_for='type_link'; ?><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_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))
@@ -1028,6 +1124,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1069,39 +1171,45 @@ 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: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 ?><?php
$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 $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:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?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 ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -1114,7 +1222,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>
@@ -1126,6 +1234,6 @@ 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 $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/folder/createfile.tpl.php b/themes/default/pages/html/folder/createfile.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:19:"multipart/form-data";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'multipart/form-data') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='multipart/form-data' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='multipart/form-data'; ?><?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,14 +48,14 @@
<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:2:{s:4:"name";s:4:"type";s:7:"default";s:4:"file";}' ?><?php $attr3 = array('name'=>'type','default'=>'file') ?><?php $attr3_name='type' ?><?php $attr3_default='file' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='type'; $attr3_default='file'; ?><?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 unset($attr3_default) ?><?php $attr3_debug_info = 'a:5:{s:5:"title";s:0:"";s:4:"name";s:0:"";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'=>'','name'=>'','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='' ?><?php $attr3_name='' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name);unset($attr3_default); ?><?php $attr3_title=''; $attr3_name=''; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -96,7 +88,7 @@ else
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 }
@@ -156,11 +148,11 @@ else
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -176,29 +168,29 @@ else
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:11:"global_FILE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_FILE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_FILE' ?><?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_FILE'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -222,6 +214,12 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -263,39 +261,45 @@ else
}
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 ?><?php
$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:4:"name";s:4:"file";s:5:"class";s:6:"upload";s:9:"maxlength";s:13:"var:maxlength";s:4:"size";s:2:"40";}' ?><?php $attr6 = array('name'=>'file','class'=>'upload','maxlength'=>$maxlength,'size'=>'40') ?><?php $attr6_name='file' ?><?php $attr6_class='upload' ?><?php $attr6_maxlength=$maxlength ?><?php $attr6_size='40' ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($attr6) ?><?php unset($attr6_name) ?><?php unset($attr6_class) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_size) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?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_name='file'; $attr6_class='upload'; $attr6_maxlength=$maxlength; $attr6_size='40'; ?><input size="<?php echo $attr6_size ?>" id="id_<?php echo $attr6_name ?>" type="file" <?php if (isset($attr6_maxlength))echo ' maxlength="'.$attr6_maxlength.'"' ?> name="<?php echo $attr6_name ?>" class="<?php echo $attr6_class ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($attr6_name);unset($attr6_class);unset($attr6_maxlength);unset($attr6_size); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:5:"class";s:4:"help";s:3:"key";s:13:"file_max_size";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'help','key'=>'file_max_size','escape'=>true) ?><?php $attr6_class='help' ?><?php $attr6_key='file_max_size' ?><?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_colspan); ?><?php $attr6_class='help'; $attr6_key='file_max_size'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -319,6 +323,12 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -360,7 +370,7 @@ else
}
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 $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_class);unset($attr6_key);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))
@@ -384,6 +394,12 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -425,7 +441,7 @@ else
}
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:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"max_size";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'max_size','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='max_size' ?><?php $attr6_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_var='max_size'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -449,6 +465,12 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -490,28 +512,28 @@ else
}
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:0:{}' ?><?php $attr6 = array() ?><br/><?php unset($attr6) ?><?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 $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: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_var);unset($attr6_escape); ?><?php ?><br/><?php ?><?php ?><br/><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:8:"HTTP_URL";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'HTTP_URL','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='HTTP_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_key='HTTP_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))
@@ -535,6 +557,12 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -576,67 +604,73 @@ else
}
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: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_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;
+ $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:3:"url";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'=>'url','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='url' ?><?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='text'; $attr6_default=''; $attr6_type='text'; $attr6_name='url'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:description";}' ?><?php $attr6 = array('title'=>lang('description')) ?><?php $attr6_title=lang('description') ?><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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?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('description'); ?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 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
+ $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))
@@ -660,6 +694,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -701,46 +741,52 @@ 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 ?><?php
$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:"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'=>'name','size'=>'50','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?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 ?><?php $attr6_class='text'; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?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))
@@ -764,6 +810,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -805,43 +857,49 @@ 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 ?><?php
$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:5:{s:4:"name";s:11:"description";s:4:"rows";s:1:"5";s:4:"cols";s:2:"50";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'description','rows'=>'5','cols'=>'50','class'=>'','default'=>'') ?><?php $attr6_name='description' ?><?php $attr6_rows='5' ?><?php $attr6_cols='50' ?><?php $attr6_class='' ?><?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='5'; $attr6_cols='50'; $attr6_class='inputarea'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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 $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 $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
+?><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 ?><br/><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -854,7 +912,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>
@@ -866,12 +924,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/createfolder.tpl.php b/themes/default/pages/html/folder/createfolder.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:5:"title";s:0:"";s:4:"name";s:0:"";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'=>'','name'=>'','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='' ?><?php $attr3_name='' ?><?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=''; $attr3_name=''; $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,28 +162,28 @@
<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
- $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
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"global_FOLDER";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_FOLDER','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_FOLDER' ?><?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_FOLDER'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,46 +254,52 @@
}
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 ?><?php
$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:"20";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'=>'20','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?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='text'; $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) {
+?><?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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?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))
@@ -319,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -360,43 +370,49 @@ 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 ?><?php
$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:5:{s:4:"name";s:11:"description";s:4:"rows";s:1:"5";s:4:"cols";s:2:"50";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'description','rows'=>'5','cols'=>'50','class'=>'','default'=>'') ?><?php $attr6_name='description' ?><?php $attr6_rows='5' ?><?php $attr6_cols='50' ?><?php $attr6_class='' ?><?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='5'; $attr6_cols='50'; $attr6_class='inputarea'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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
- $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
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -409,7 +425,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>
@@ -421,12 +437,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/createlink.tpl.php b/themes/default/pages/html/folder/createlink.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:5:"title";s:0:"";s:4:"name";s:0:"";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'=>'','name'=>'','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='' ?><?php $attr3_name='' ?><?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=''; $attr3_name=''; $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,28 +162,28 @@
<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
- $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
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 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
+ $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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,46 +254,52 @@
}
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 ?><?php
$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:"20";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'=>'20','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?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='text'; $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) {
+?><?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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?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))
@@ -319,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -360,43 +370,49 @@ 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 ?><?php
$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:5:{s:4:"name";s:11:"description";s:4:"rows";s:1:"5";s:4:"cols";s:2:"50";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'description','rows'=>'5','cols'=>'50','class'=>'','default'=>'') ?><?php $attr6_name='description' ?><?php $attr6_rows='5' ?><?php $attr6_cols='50' ?><?php $attr6_class='' ?><?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='5'; $attr6_cols='50'; $attr6_class='inputarea'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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
- $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
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -409,7 +425,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>
@@ -421,12 +437,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/createpage.tpl.php b/themes/default/pages/html/folder/createpage.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:5:"title";s:0:"";s:4:"name";s:0:"";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'=>'','name'=>'','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='' ?><?php $attr3_name='' ?><?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=''; $attr3_name=''; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"global_TEMPLATE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_TEMPLATE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_TEMPLATE' ?><?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_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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,19 +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 ?><?php
$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:"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;
+ $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='templates'; $attr6_name='templateid'; $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)
@@ -282,7 +292,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,29 +322,30 @@ 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
- $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
+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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 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
+ $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))
@@ -359,6 +369,12 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -400,46 +416,52 @@ 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($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 ?><?php
$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:"20";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'=>'20','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?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='text'; $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) {
+?><?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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?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))
@@ -463,6 +485,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -504,43 +532,49 @@ 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 ?><?php
$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:5:{s:4:"name";s:11:"description";s:4:"rows";s:1:"5";s:4:"cols";s:2:"50";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'description','rows'=>'5','cols'=>'50','class'=>'','default'=>'') ?><?php $attr6_name='description' ?><?php $attr6_rows='5' ?><?php $attr6_cols='50' ?><?php $attr6_class='' ?><?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='5'; $attr6_cols='50'; $attr6_class='inputarea'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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
- $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
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -553,7 +587,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>
@@ -565,12 +599,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/edit.tpl.php b/themes/default/pages/html/folder/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_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) { ?>
@@ -26,38 +26,43 @@
<?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:6:"folder";s:9:"subaction";s:8:"multiple";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('action'=>'folder','subaction'=>'multiple','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_action='folder' ?><?php $attr2_subaction='multiple' ?><?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_action='folder'; $attr2_subaction='multiple'; $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) ?><?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:1:{s:4:"name";s:3:"ids";}' ?><?php $attr3 = array('name'=>'ids') ?><?php $attr3_name='ids' ?><?php
+?><?php unset($attr2_action);unset($attr2_subaction);unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_name='ids'; ?><?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:4:"type";}' ?><?php $attr3 = array('name'=>'type') ?><?php $attr3_name='type' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php $attr3_name='type'; ?><?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:6:{s:5:"title";s:7:"titelso";s:4:"name";s:3:"bla";s:6:"widths";s:6:"5%,75%";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'=>'titelso','name'=>'bla','widths'=>'5%,75%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='titelso' ?><?php $attr3_name='bla' ?><?php $attr3_widths='5%,75%' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php $attr3_title='titelso'; $attr3_name='bla'; $attr3_widths='5%,75%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -88,17 +93,22 @@ else
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->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">'.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
@@ -107,7 +117,7 @@ else
<?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>-->
@@ -117,41 +127,41 @@ else
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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>
@@ -165,36 +175,34 @@ else
<?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_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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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))
$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';
@@ -213,38 +221,43 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -255,26 +268,29 @@ else
}
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:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);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;
+ $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
+ $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_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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -293,38 +309,43 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -335,7 +356,7 @@ else
}
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:4:{s:4:"list";s:10:"objectlist";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr4 = array('list'=>'objectlist','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='objectlist' ?><?php $attr4_extract=true ?><?php $attr4_key='list_key' ?><?php $attr4_value='list_value' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_list='objectlist'; $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;
@@ -354,59 +375,53 @@ else
}
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
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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:2:{s:4:"icon";s:8:"var:type";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('icon'=>$type,'align'=>'left') ?><?php $attr7_icon=$type ?><?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_icon) ?><?php unset($attr7_align) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = 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 ?><?php $attr7_icon=$type; $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 ?></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: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
+ $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='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))
- if (!empty($attr7_key))
- $attr7_title = lang($attr7_key.'_HELP');
- else
$attr7_title = '';
if (empty($attr7_type))
$tmp_tag = 'span';
@@ -425,38 +440,43 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -467,15 +487,12 @@ 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))
$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';
@@ -494,38 +511,43 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -536,97 +558,39 @@ 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() ?></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:6:"folder";}' ?><?php $attr4 = array('present'=>'folder') ?><?php $attr4_present='folder' ?><?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 echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='folder'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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:3:{s:5:"class";s:4:"text";s:4:"text";s:35:"message:folder_select_target_folder";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>lang('folder_select_target_folder'),'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text=lang('folder_select_target_folder') ?><?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_colspan); ?><?php $attr7_class='text'; $attr7_key='folder_select_target_folder'; $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';
@@ -645,38 +609,43 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -687,15 +656,12 @@ if (isset($attr7_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_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
+?></<?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))
- if (!empty($attr7_key))
- $attr7_title = lang($attr7_key.'_HELP');
- else
$attr7_title = '';
if (empty($attr7_type))
$tmp_tag = 'span';
@@ -714,38 +680,43 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -756,7 +727,14 @@ 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 $attr7_debug_info = 'a:9:{s:4:"list";s:6:"folder";s:4:"name";s:14:"targetobjectid";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'=>'folder','name'=>'targetobjectid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='folder' ?><?php $attr7_name='targetobjectid' ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php $attr7_list='folder'; $attr7_name='targetobjectid'; $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)
@@ -764,13 +742,12 @@ if ( $attr7_addempty!==FALSE )
else
$$attr7_list = array(''=>'- '.lang($attr7_addempty).' -')+$$attr7_list;
}
-?><select id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name; if ($attr7_multiple) echo '[]'; ?>" onchange="<?php echo $attr7_onchange ?>" title="<?php echo $attr7_title ?>" class="<?php echo $attr7_class ?>"<?php
+?><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
- $attr7_tmp_list = $$attr7_list;
if ( isset($$attr7_name) && isset($attr7_tmp_list[$$attr7_name]) )
$attr7_tmp_default = $$attr7_name;
elseif ( isset($attr7_default) )
@@ -801,194 +778,107 @@ 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:1:{s:7:"present";s:12:"ask_filename";}' ?><?php $attr4 = array('present'=>'ask_filename') ?><?php $attr4_present='ask_filename' ?><?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($$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 $attr4_present='ask_filename'; ?><?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
- $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
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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:8:{s:5:"class";s:0:"";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 $attr7 = array('class'=>'','default'=>'','type'=>'text','name'=>'filename','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr7_class='' ?><?php $attr7_default='' ?><?php $attr7_type='text' ?><?php $attr7_name='filename' ?><?php $attr7_size='40' ?><?php $attr7_maxlength='256' ?><?php $attr7_onchange='' ?><?php $attr7_readonly=false ?><?php if(!isset($attr7_default)) $attr7_default='';
+ $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='text'; $attr7_default=''; $attr7_type='text'; $attr7_name='filename'; $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
- } ?><?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:1:{s:7:"present";s:10:"ask_commit";}' ?><?php $attr4 = array('present'=>'ask_commit') ?><?php $attr4_present='ask_commit' ?><?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 )
+ } } 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 $attr4_present='ask_commit'; ?><?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
- $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;
+<?php unset($attr4_present); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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=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
+ $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('options'); ?><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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:6:"commit";}' ?><?php $attr7 = array('default'=>false,'readonly'=>false,'name'=>'commit') ?><?php $attr7_default=false ?><?php $attr7_readonly=false ?><?php $attr7_name='commit' ?><?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_default=false; $attr7_readonly=false; $attr7_name='commit'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:6:"commit";}' ?><?php $attr7 = array('for'=>'commit') ?><?php $attr7_for='commit' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";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
+?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php $attr7_for='commit'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?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))
- if (!empty($attr8_key))
- $attr8_title = lang($attr8_key.'_HELP');
- else
$attr8_title = '';
if (empty($attr8_type))
$tmp_tag = 'span';
@@ -1007,38 +897,43 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -1049,15 +944,12 @@ if ( $attr7_readonly && $checked )
}
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:3:{s:5:"class";s:4:"text";s:4:"text";s:35:"message:FOLDER_SELECT_DELETE_COMMIT";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>lang('FOLDER_SELECT_DELETE_COMMIT'),'escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text=lang('FOLDER_SELECT_DELETE_COMMIT') ?><?php $attr8_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_class='text'; $attr8_key='FOLDER_SELECT_DELETE_COMMIT'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
$attr8_key = $attr8_key.$attr8_suffix;
if(empty($attr8_title))
- if (!empty($attr8_key))
- $attr8_title = lang($attr8_key.'_HELP');
- else
$attr8_title = '';
if (empty($attr8_type))
$tmp_tag = 'span';
@@ -1076,38 +968,43 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -1118,35 +1015,41 @@ if ( $attr7_readonly && $checked )
}
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 $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: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
+?></<?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 } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1158,6 +1061,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($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php unset($attr2) ?><?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 ?><?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/folder/order.tpl.php b/themes/default/pages/html/folder/order.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>
@@ -26,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:3:{s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -59,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 }
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,29 +139,29 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?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:"7";}' ?><?php $attr4 = array('class'=>'help','colspan'=>'7') ?><?php $attr4_class='help' ?><?php $attr4_colspan='7' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_class='help'; $attr4_colspan='7'; ?><?php
$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:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"GLOBAL_FOLDER_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_FOLDER_DESC','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_FOLDER_DESC' ?><?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);unset($attr4_colspan); ?><?php $attr5_class='text'; $attr5_text='GLOBAL_FOLDER_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))
@@ -185,6 +185,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -226,28 +232,28 @@
}
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:2:{s:5:"class";s:4:"help";s:7:"colspan";s:1:"4";}' ?><?php $attr4 = array('class'=>'help','colspan'=>'4') ?><?php $attr4_class='help' ?><?php $attr4_colspan='4' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_class='help'; $attr4_colspan='4'; ?><?php
$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:5:"title";s:11:"FOLDER_FLIP";s:6:"target";s:5:"_self";s:3:"url";s:12:"var:flip_url";s:5:"class";s:0:"";}' ?><?php $attr5 = array('title'=>'FOLDER_FLIP','target'=>'_self','url'=>$flip_url,'class'=>'') ?><?php $attr5_title='FOLDER_FLIP' ?><?php $attr5_target='_self' ?><?php $attr5_url=$flip_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_class);unset($attr4_colspan); ?><?php $attr5_title='FOLDER_FLIP'; $attr5_target='_self'; $attr5_url=$flip_url; $attr5_class=''; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -267,7 +273,7 @@
$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: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_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='FOLDER_ORDER'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -291,6 +297,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -332,18 +344,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() ?></a><?php unset($attr4) ?><?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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></a><?php ?><?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:4:{s:5:"title";s:18:"FOLDER_ORDERBYTYPE";s:6:"target";s:5:"_self";s:3:"url";s:19:"var:orderbytype_url";s:5:"class";s:0:"";}' ?><?php $attr5 = array('title'=>'FOLDER_ORDERBYTYPE','target'=>'_self','url'=>$orderbytype_url,'class'=>'') ?><?php $attr5_title='FOLDER_ORDERBYTYPE' ?><?php $attr5_target='_self' ?><?php $attr5_url=$orderbytype_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_class); ?><?php $attr5_title='FOLDER_ORDERBYTYPE'; $attr5_target='_self'; $attr5_url=$orderbytype_url; $attr5_class=''; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -363,7 +381,7 @@
$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: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_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_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))
@@ -387,6 +405,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -428,7 +452,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() ?></a><?php unset($attr4) ?><?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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></a><?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))
@@ -452,6 +476,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -493,7 +523,7 @@
}
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:18:"FOLDER_ORDERBYNAME";s:6:"target";s:5:"_self";s:3:"url";s:19:"var:orderbyname_url";s:5:"class";s:0:"";}' ?><?php $attr5 = array('title'=>'FOLDER_ORDERBYNAME','target'=>'_self','url'=>$orderbyname_url,'class'=>'') ?><?php $attr5_title='FOLDER_ORDERBYNAME' ?><?php $attr5_target='_self' ?><?php $attr5_url=$orderbyname_url ?><?php $attr5_class='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_raw);unset($attr5_escape); ?><?php $attr5_title='FOLDER_ORDERBYNAME'; $attr5_target='_self'; $attr5_url=$orderbyname_url; $attr5_class=''; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -513,7 +543,7 @@
$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: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_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?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))
@@ -537,6 +567,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -578,18 +614,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() ?></a><?php unset($attr4) ?><?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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></a><?php ?><?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:4:{s:5:"title";s:24:"FOLDER_ORDERBYLASTCHANGE";s:6:"target";s:5:"_self";s:3:"url";s:25:"var:orderbylastchange_url";s:5:"class";s:0:"";}' ?><?php $attr5 = array('title'=>'FOLDER_ORDERBYLASTCHANGE','target'=>'_self','url'=>$orderbylastchange_url,'class'=>'') ?><?php $attr5_title='FOLDER_ORDERBYLASTCHANGE' ?><?php $attr5_target='_self' ?><?php $attr5_url=$orderbylastchange_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_class); ?><?php $attr5_title='FOLDER_ORDERBYLASTCHANGE'; $attr5_target='_self'; $attr5_url=$orderbylastchange_url; $attr5_class=''; ?><?php
$params = array();
if (!empty($attr5_var1) && isset($attr5_value1))
$params[$attr5_var1]=$attr5_value1;
@@ -609,7 +651,7 @@
$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: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_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_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))
@@ -633,6 +675,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -674,7 +722,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() ?></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: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($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></a><?php ?><?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;
@@ -693,89 +741,41 @@
}
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:2:{s:5:"width";s:2:"3%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'3%','class'=>'fx') ?><?php $attr5_width='3%' ?><?php $attr5_class='fx' ?><?php
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?php $attr5_width='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_width) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:5:"upurl";}' ?><?php $attr6 = array('present'=>'upurl') ?><?php $attr6_present='upurl' ?><?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 )
+ $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_present='upurl'; ?><?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:9:"GLOBAL_UP";s:6:"target";s:5:"_self";s:3:"url";s:9:"var:upurl";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'GLOBAL_UP','target'=>'_self','url'=>$upurl,'class'=>'') ?><?php $attr7_title='GLOBAL_UP' ?><?php $attr7_target='_self' ?><?php $attr7_url=$upurl ?><?php $attr7_class='' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_title='GLOBAL_UP'; $attr7_target='_self'; $attr7_url=$upurl; $attr7_class=''; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -795,89 +795,30 @@
$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: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_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_var='bild'; $attr8_value='arrow_up'; ?><?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:2:{s:4:"file";s:8:"var:bild";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('file'=>$bild,'align'=>'left') ?><?php $attr8_file=$bild ?><?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 $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:5:"upurl";}' ?><?php $attr6 = array('empty'=>'upurl') ?><?php $attr6_empty='upurl' ?><?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($attr8_var);unset($attr8_value); ?><?php $attr8_file=$bild; $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 ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='upurl'; ?><?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: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 unset($attr6_empty); ?><?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))
@@ -901,6 +842,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -942,79 +889,30 @@ if (isset($attr8_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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"width";s:2:"3%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'3%','class'=>'fx') ?><?php $attr5_width='3%' ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr5_width='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_width) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:6:"topurl";}' ?><?php $attr6 = array('present'=>'topurl') ?><?php $attr6_present='topurl' ?><?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 )
+ $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_present='topurl'; ?><?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:10:"GLOBAL_TOP";s:6:"target";s:5:"_self";s:3:"url";s:10:"var:topurl";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'GLOBAL_TOP','target'=>'_self','url'=>$topurl,'class'=>'') ?><?php $attr7_title='GLOBAL_TOP' ?><?php $attr7_target='_self' ?><?php $attr7_url=$topurl ?><?php $attr7_class='' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_title='GLOBAL_TOP'; $attr7_target='_self'; $attr7_url=$topurl; $attr7_class=''; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -1034,89 +932,30 @@ 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: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_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_var='bild'; $attr8_value='arrow_top'; ?><?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:2:{s:4:"file";s:8:"var:bild";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('file'=>$bild,'align'=>'left') ?><?php $attr8_file=$bild ?><?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 $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:6:"topurl";}' ?><?php $attr6 = array('empty'=>'topurl') ?><?php $attr6_empty='topurl' ?><?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($attr8_var);unset($attr8_value); ?><?php $attr8_file=$bild; $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 ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='topurl'; ?><?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: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 unset($attr6_empty); ?><?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))
@@ -1140,6 +979,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1181,79 +1026,30 @@ if (isset($attr8_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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"width";s:2:"3%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'3%','class'=>'fx') ?><?php $attr5_width='3%' ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr5_width='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_width) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:9:"bottomurl";}' ?><?php $attr6 = array('present'=>'bottomurl') ?><?php $attr6_present='bottomurl' ?><?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 )
+ $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_present='bottomurl'; ?><?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:13:"GLOBAL_BOTTOM";s:6:"target";s:5:"_self";s:3:"url";s:13:"var:bottomurl";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'GLOBAL_BOTTOM','target'=>'_self','url'=>$bottomurl,'class'=>'') ?><?php $attr7_title='GLOBAL_BOTTOM' ?><?php $attr7_target='_self' ?><?php $attr7_url=$bottomurl ?><?php $attr7_class='' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_title='GLOBAL_BOTTOM'; $attr7_target='_self'; $attr7_url=$bottomurl; $attr7_class=''; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -1273,89 +1069,30 @@ 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: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_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_var='bild'; $attr8_value='arrow_bottom'; ?><?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:2:{s:4:"file";s:8:"var:bild";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('file'=>$bild,'align'=>'left') ?><?php $attr8_file=$bild ?><?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 $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:9:"bottomurl";}' ?><?php $attr6 = array('empty'=>'bottomurl') ?><?php $attr6_empty='bottomurl' ?><?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($attr8_var);unset($attr8_value); ?><?php $attr8_file=$bild; $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 ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='bottomurl'; ?><?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: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 unset($attr6_empty); ?><?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))
@@ -1379,6 +1116,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1420,79 +1163,30 @@ if (isset($attr8_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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"width";s:2:"3%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'3%','class'=>'fx') ?><?php $attr5_width='3%' ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr5_width='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_width) ?><?php unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:7:"downurl";}' ?><?php $attr6 = array('present'=>'downurl') ?><?php $attr6_present='downurl' ?><?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 )
+ $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_present='downurl'; ?><?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:11:"GLOBAL_DOWN";s:6:"target";s:5:"_self";s:3:"url";s:11:"var:downurl";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'GLOBAL_DOWN','target'=>'_self','url'=>$downurl,'class'=>'') ?><?php $attr7_title='GLOBAL_DOWN' ?><?php $attr7_target='_self' ?><?php $attr7_url=$downurl ?><?php $attr7_class='' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_title='GLOBAL_DOWN'; $attr7_target='_self'; $attr7_url=$downurl; $attr7_class=''; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -1512,89 +1206,30 @@ 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: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_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_var='bild'; $attr8_value='arrow_down'; ?><?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:2:{s:4:"file";s:8:"var:bild";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('file'=>$bild,'align'=>'left') ?><?php $attr8_file=$bild ?><?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 $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:7:"downurl";}' ?><?php $attr6 = array('empty'=>'downurl') ?><?php $attr6_empty='downurl' ?><?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($attr8_var);unset($attr8_value); ?><?php $attr8_file=$bild; $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 ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='downurl'; ?><?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: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 unset($attr6_empty); ?><?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))
@@ -1618,6 +1253,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1659,32 +1300,27 @@ if (isset($attr8_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() ?><?php } ?><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"width";s:3:"40%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'40%','class'=>'fx') ?><?php $attr5_width='40%' ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr5_width='40%'; ?><?php
$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:2:{s:5:"align";s:4:"left";s:4:"type";s:8:"var:icon";}' ?><?php $attr6 = array('align'=>'left','type'=>$icon) ?><?php $attr6_align='left' ?><?php $attr6_type=$icon ?><?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: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_width); ?><?php $attr6_align='left'; $attr6_type=$icon; ?><?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_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))
@@ -1708,6 +1344,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1749,18 +1391,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:2:{s:5:"width";s:3:"18%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'18%','class'=>'fx') ?><?php $attr5_width='18%' ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_width='18%'; ?><?php
$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: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_width); ?><?php $attr6_date=$date; ?><?php
global $conf;
$time = $attr6_date;
if ( $time==0)
@@ -1816,7 +1464,7 @@ if (isset($attr6_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 $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?><?php unset($attr6_date); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1828,5 +1476,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/folder/prop.tpl.php b/themes/default/pages/html/folder/prop.tpl.php
@@ -33,14 +33,14 @@
$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 ?>" />
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,18 +161,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -184,10 +178,10 @@
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_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))
@@ -213,6 +207,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -266,12 +266,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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_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;
+?>><?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->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') {
@@ -279,16 +279,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -300,10 +294,10 @@ if ($attr6_readonly) {
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_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))
@@ -329,6 +323,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -370,7 +370,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
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
+?></<?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;
@@ -382,12 +382,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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_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;
+?>><?php unset($attr5_class); ?><?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->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') {
@@ -395,16 +395,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -416,10 +410,10 @@ if ($attr6_readonly) {
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_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))
@@ -445,6 +439,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -498,26 +498,931 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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_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;
+?>><?php ?><?php $attr6_name='description'; $attr6_rows='10'; $attr6_cols='40'; $attr6_class='description'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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_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;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $attr4_false=$mode=="edit"; ?><?php
+ if (gettype($attr4_false) === '' && gettype($attr4_false) === '1')
+ $attr4_tmp_exec = $$attr4_false == false;
+ else
+ $attr4_tmp_exec = $attr4_false == false;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+?>
+<?php unset($attr4_false); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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='FULL_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 $attr6_class='filename'; $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_var='full_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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='id'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?php
+ $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='objectid'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_created'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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'; ?><?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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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=$create_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=$create_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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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'; ?><?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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -529,10 +1434,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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_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')
diff --git a/themes/default/pages/html/folder/pub.tpl.php b/themes/default/pages/html/folder/pub.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>
@@ -26,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 ?>" />
@@ -48,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:3:{s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,162 +161,52 @@
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:1:{s:7:"present";s:5:"pages";}' ?><?php $attr6 = array('present'=>'pages') ?><?php $attr6_present='pages' ?><?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 )
+ $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='pages'; ?><?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:1:{s:7:"present";s:7:"subdirs";}' ?><?php $attr7 = array('present'=>'subdirs') ?><?php $attr7_present='subdirs' ?><?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($attr6_present); ?><?php $attr7_present='subdirs'; ?><?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: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;
+<?php unset($attr7_present); ?><?php $attr8_default=false; $attr8_readonly=false; $attr8_name='pages'; ?><?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
+?><input class="checkbox" 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:5:"pages";}' ?><?php $attr8 = array('for'=>'pages') ?><?php $attr8_for='pages' ?><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:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_raw='_' ?><?php $attr9_escape=true ?><?php
+?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php $attr8_for='pages'; ?><label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8_for); ?><?php $attr9_class='text'; $attr9_raw='_'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -340,6 +230,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -381,7 +277,7 @@ if ( $attr8_readonly && $checked )
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_raw) ?><?php unset($attr9_escape) ?><?php $attr9_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"global_pages";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','text'=>'global_pages','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_text='global_pages' ?><?php $attr9_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_raw);unset($attr9_escape); ?><?php $attr9_class='text'; $attr9_text='global_pages'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -405,6 +301,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -446,140 +348,33 @@ if ( $attr8_readonly && $checked )
}
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 $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?><br/><?php unset($attr8) ?><?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 $attr6_debug_info = 'a:1:{s:7:"present";s:5:"files";}' ?><?php $attr6 = array('present'=>'files') ?><?php $attr6_present='files' ?><?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($attr9_class);unset($attr9_text);unset($attr9_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php $attr6_present='files'; ?><?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:1:{s:4:"true";s:7:"subdirs";}' ?><?php $attr7 = array('true'=>'subdirs') ?><?php $attr7_true='subdirs' ?><?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);
- }
+<?php unset($attr6_present); ?><?php $attr7_true='subdirs'; ?><?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($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 )
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?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;
+<?php unset($attr7_true); ?><?php $attr8_default=false; $attr8_readonly=false; $attr8_name='files'; ?><?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
+?><input class="checkbox" 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:5:"files";}' ?><?php $attr8 = array('for'=>'files') ?><?php $attr8_for='files' ?><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:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_raw='_' ?><?php $attr9_escape=true ?><?php
+?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php $attr8_for='files'; ?><label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8_for); ?><?php $attr9_class='text'; $attr9_raw='_'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -603,6 +398,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -644,7 +445,7 @@ if ( $attr8_readonly && $checked )
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_raw) ?><?php unset($attr9_escape) ?><?php $attr9_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"global_files";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','text'=>'global_files','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_text='global_files' ?><?php $attr9_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_raw);unset($attr9_escape); ?><?php $attr9_class='text'; $attr9_text='global_files'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -668,6 +469,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -709,121 +516,66 @@ if ( $attr8_readonly && $checked )
}
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 $attr8_debug_info = 'a:0:{}' ?><?php $attr8 = array() ?><br/><?php unset($attr8) ?><?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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_text);unset($attr9_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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;
- $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
+ $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('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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:1:{s:7:"present";s:7:"subdirs";}' ?><?php $attr6 = array('present'=>'subdirs') ?><?php $attr6_present='subdirs' ?><?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 )
+ $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='subdirs'; ?><?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: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;
+<?php unset($attr6_present); ?><?php $attr7_default=false; $attr7_readonly=false; $attr7_name='subdirs'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:7:"subdirs";}' ?><?php $attr7 = array('for'=>'subdirs') ?><?php $attr7_for='subdirs' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";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
+?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php $attr7_for='subdirs'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?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))
@@ -847,6 +599,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -888,7 +646,7 @@ if ( $attr7_readonly && $checked )
}
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:3:{s:5:"class";s:4:"text";s:4:"text";s:27:"GLOBAL_PUBLISH_WITH_SUBDIRS";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'GLOBAL_PUBLISH_WITH_SUBDIRS','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='GLOBAL_PUBLISH_WITH_SUBDIRS' ?><?php $attr8_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_class='text'; $attr8_text='GLOBAL_PUBLISH_WITH_SUBDIRS'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -912,6 +670,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -953,79 +717,24 @@ if ( $attr7_readonly && $checked )
}
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 $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:5:"clean";}' ?><?php $attr6 = array('present'=>'clean') ?><?php $attr6_present='clean' ?><?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 ?></label><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php $attr6_present='clean'; ?><?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: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;
+<?php unset($attr6_present); ?><?php $attr7_default=false; $attr7_readonly=false; $attr7_name='clean'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
-?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7) ?><?php unset($attr7_default) ?><?php unset($attr7_readonly) ?><?php unset($attr7_name) ?><?php $attr7_debug_info = 'a:1:{s:3:"for";s:5:"clean";}' ?><?php $attr7 = array('for'=>'clean') ?><?php $attr7_for='clean' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";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
+?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_default);unset($attr7_readonly);unset($attr7_name); ?><?php $attr7_for='clean'; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?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))
@@ -1049,6 +758,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1090,7 +805,7 @@ if ( $attr7_readonly && $checked )
}
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:3:{s:5:"class";s:4:"text";s:4:"text";s:26:"global_CLEAN_AFTER_PUBLISH";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','text'=>'global_CLEAN_AFTER_PUBLISH','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_text='global_CLEAN_AFTER_PUBLISH' ?><?php $attr8_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_class='text'; $attr8_text='global_CLEAN_AFTER_PUBLISH'; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1114,6 +829,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1155,28 +876,28 @@ if ( $attr7_readonly && $checked )
}
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 $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?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:1:{s:5:"class";s:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:16:"GLOBAL_MUCH_TIME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_MUCH_TIME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_MUCH_TIME' ?><?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_MUCH_TIME'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1200,6 +921,12 @@ if ( $attr7_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1241,28 +968,28 @@ if ( $attr7_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 $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:5:"class";s:3:"act";}' ?><?php $attr5 = array('class'=>'act') ?><?php $attr5_class='act' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; ?><?php
$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: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); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -1275,7 +1002,7 @@ if ( $attr7_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>
@@ -1287,6 +1014,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($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/folder/select.tpl.php b/themes/default/pages/html/folder/select.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:6:"folder";s:9:"subaction";s:4:"edit";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('action'=>'folder','subaction'=>'edit','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_action='folder' ?><?php $attr2_subaction='edit' ?><?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_action='folder'; $attr2_subaction='edit'; $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_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:7:"titelso";s:4:"name";s:3:"bla";s:6:"widths";s:6:"5%,75%";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'=>'titelso','name'=>'bla','widths'=>'5%,75%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='titelso' ?><?php $attr3_name='bla' ?><?php $attr3_widths='5%,75%' ?><?php $attr3_width='93%' ?><?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='titelso'; $attr3_name='bla'; $attr3_widths='5%,75%'; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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_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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,18 +254,24 @@
}
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:4:"help";}' ?><?php $attr5 = array('class'=>'help') ?><?php $attr5_class='help' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);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;
+ $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_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
+ $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_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))
@@ -291,6 +295,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -332,7 +342,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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_/_";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_class);unset($attr6_text);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))
@@ -356,6 +366,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -397,7 +413,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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?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))
@@ -421,6 +437,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -462,7 +484,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 $attr4_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 $attr4 = array('list'=>'object','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='object' ?><?php $attr4_extract=true ?><?php $attr4_key='list_key' ?><?php $attr4_value='list_value' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_list='object'; $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;
@@ -481,161 +503,64 @@
}
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
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php $attr5_class='data'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_tmp_class_list = explode(',',$attr5_classes);
+ $last_pos = array_search($attr5_last_class,$attr5_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr5_tmp_class_list)-1)
+ $attr5_tmp_class = $attr5_tmp_class_list[0];
+ else
+ $attr5_tmp_class = $attr5_tmp_class_list[++$last_pos];
+ $attr5_tmp_class=$attr5_class;
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php unset($attr5_class); ?><?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 unset($attr6_class) ?><?php $attr7_debug_info = 'a:1:{s:4:"true";s:8:"writable";}' ?><?php $attr7 = array('true'=>'writable') ?><?php $attr7_true='writable' ?><?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);
- }
+ $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='writable'; ?><?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($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 )
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?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:6:"var:id";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>$id) ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name=$id ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr8_readonly=true;
+<?php unset($attr7_true); ?><?php $attr8_default=false; $attr8_readonly=false; $attr8_name=$id; ?><?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
+?><input class="checkbox" 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() ?><?php } ?><?php unset($attr6) ?><?php $attr7_debug_info = 'a:1:{s:5:"false";s:8:"writable";}' ?><?php $attr7 = array('false'=>'writable') ?><?php $attr7_false='writable' ?><?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);
- }
+?><?php unset($attr8_name); unset($attr8_readonly); unset($attr8_default); ?><?php unset($attr8_default);unset($attr8_readonly);unset($attr8_name); ?><?php ?><?php } ?><?php ?><?php $attr7_false='writable'; ?><?php
+ if (gettype($attr7_false) === '' && gettype($attr7_false) === '1')
+ $attr7_tmp_exec = $$attr7_false == false;
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 )
+ $attr7_tmp_exec = $attr7_false == false;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr7) ?><?php unset($attr7_false) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";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
+<?php unset($attr7_false); ?><?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))
@@ -659,6 +584,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -700,30 +631,27 @@ if ( $attr8_readonly && $checked )
}
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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?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($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:3:"for";s:6:"var:id";}' ?><?php $attr7 = array('for'=>$id) ?><?php $attr7_for=$id ?><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:5:"align";s:4:"left";s:4:"type";s:8:"var:icon";}' ?><?php $attr8 = array('align'=>'left','type'=>$icon) ?><?php $attr8_align='left' ?><?php $attr8_type=$icon ?><?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:"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=$id; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_align='left'; $attr8_type=$icon; ?><?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='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))
@@ -747,6 +675,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -788,7 +722,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 $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:1:"_";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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?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))
@@ -812,6 +746,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -853,40 +793,30 @@ if (isset($attr8_elementtype)) {
}
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 $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?php } ?><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $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:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'fx','colspan'=>'2') ?><?php $attr5_class='fx' ?><?php $attr5_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:2:{s:5:"align";s:4:"left";s:7:"fileext";s:17:"tree_none_end.gif";}' ?><?php $attr6 = array('align'=>'left','fileext'=>'tree_none_end.gif') ?><?php $attr6_align='left' ?><?php $attr6_fileext='tree_none_end.gif' ?><?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_align) ?><?php unset($attr6_fileext) ?><?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_colspan); ?><?php $attr6_align='left'; $attr6_fileext='tree_none_end.gif'; ?><?php
+ $attr6_tmp_image_file = $image_dir.$attr6_fileext;
+?><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_fileext); ?><?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))
@@ -910,6 +840,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -951,7 +887,7 @@ 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:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:19:":javascript:mark();";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','url'=>'javascript:mark();','class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_url='javascript:mark();' ?><?php $attr6_class='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_url='javascript:mark();'; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -971,7 +907,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:15:"FOLDER_MARK_ALL";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'FOLDER_MARK_ALL','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='FOLDER_MARK_ALL' ?><?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='FOLDER_MARK_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))
@@ -995,6 +931,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1036,7 +978,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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_|_";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_key);unset($attr7_escape); ?><?php ?></a><?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))
@@ -1060,6 +1002,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1101,7 +1049,7 @@ 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:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:21:":javascript:unmark();";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','url'=>'javascript:unmark();','class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_url='javascript:unmark();' ?><?php $attr6_class='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_url='javascript:unmark();'; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -1121,7 +1069,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:17:"FOLDER_UNMARK_ALL";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'FOLDER_UNMARK_ALL','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='FOLDER_UNMARK_ALL' ?><?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='FOLDER_UNMARK_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))
@@ -1145,6 +1093,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1186,7 +1140,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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"raw";s:3:"_|_";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_key);unset($attr7_escape); ?><?php ?></a><?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))
@@ -1210,6 +1164,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1251,7 +1211,7 @@ 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:4:{s:5:"title";s:0:"";s:6:"target";s:5:"_self";s:3:"url";s:19:":javascript:flip();";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','url'=>'javascript:flip();','class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_url='javascript:flip();' ?><?php $attr6_class='' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_url='javascript:flip();'; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -1271,7 +1231,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:16:"FOLDER_FLIP_MARK";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'FOLDER_FLIP_MARK','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='FOLDER_FLIP_MARK' ?><?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='FOLDER_FLIP_MARK'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -1295,6 +1255,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1336,28 +1302,28 @@ 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 $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:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'fx','colspan'=>'2') ?><?php $attr5_class='fx' ?><?php $attr5_colspan='2' ?><?php
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"list";s:10:"actionlist";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr6 = array('list'=>'actionlist','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr6_list='actionlist' ?><?php $attr6_extract=true ?><?php $attr6_key='list_key' ?><?php $attr6_value='list_value' ?><?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_list='actionlist'; $attr6_extract=true; $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;
@@ -1376,15 +1342,15 @@ 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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:8:"var:type";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'=>$type,'default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value=$type ?><?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;
+?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value=$type; $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 $attr7_debug_info = 'a:2:{s:3:"for";s:4:"type";s:5:"value";s:8:"var:type";}' ?><?php $attr7 = array('for'=>'type','value'=>$type) ?><?php $attr7_for='type' ?><?php $attr7_value=$type ?><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:3:"raw";s:1:"_";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
+ ?><input class="radio" 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 $attr7_for='type'; $attr7_value=$type; ?><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_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))
@@ -1408,6 +1374,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1449,7 +1421,7 @@ if (isset($attr6_elementtype)) {
}
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:4:{s:5:"class";s:4:"text";s:3:"key";s:8:"var:type";s:6:"prefix";s:14:"FOLDER_SELECT_";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>$type,'prefix'=>'FOLDER_SELECT_','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key=$type ?><?php $attr8_prefix='FOLDER_SELECT_' ?><?php $attr8_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php $attr8_class='text'; $attr8_key=$type; $attr8_prefix='FOLDER_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))
@@ -1473,6 +1445,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1514,28 +1492,28 @@ if (isset($attr6_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_prefix) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><br/><?php unset($attr7) ?><?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: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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_prefix);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:11:"button_next";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_next') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_next' ?><?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_next'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -1548,89 +1526,41 @@ if (isset($attr6_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 $attr4_debug_info = 'a:1:{s:5:"empty";s:6:"object";}' ?><?php $attr4 = array('empty'=>'object') ?><?php $attr4_empty='object' ?><?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 unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_empty='object'; ?><?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($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 = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_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:"2";}' ?><?php $attr6 = array('class'=>'fx','colspan'=>'2') ?><?php $attr6_class='fx' ?><?php $attr6_colspan='2' ?><?php
+<?php unset($attr4_empty); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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
+ $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='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))
@@ -1654,6 +1584,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1695,7 +1631,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_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 $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?> </table>
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1707,30 +1643,7 @@ 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($attr2) ?><?php $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?></form>
-<?php unset($attr1) ?><?php $attr2_debug_info = 'a:0:{}' ?><?php $attr2 = array() ?><?php unset($attr2) ?><script name="JavaScript" type="text/javascript">
-<!--
-function mark()
-{
-<?php foreach( array_keys($object) as $id ) { ?>
-document.forms[0].obj<?php echo $id ?>.checked=true;
-<?php } ?>
-}
-function unmark()
-{
-<?php foreach( array_keys($object) as $id ) { ?>
-document.forms[0].obj<?php echo $id ?>.checked=false;
-<?php } ?>
-}
-function flip()
-{
-<?php foreach( array_keys($object) as $id ) { ?>
-if (document.forms[0].obj<?php echo $id ?>.checked==false)
-document.forms[0].obj<?php echo $id ?>.checked=true;
-else document.forms[0].obj<?php echo $id ?>.checked=false;
-<?php } ?>
-}
-//-->
-</script>
-<?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 $attr2_script='mark'; ?><script src="<?php echo OR_THEMES_DIR.$conf['interface']['theme'].'/js/'.basename($attr2_script).'.js' ?>" type="text/javascript"></script>
+<?php unset($attr2_script); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/folder/show.tpl.php b/themes/default/pages/html/folder/show.tpl.php
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,7 +139,7 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
@@ -147,16 +147,10 @@
{
?>
<?php unset($attr3_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($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_width='50%'; $attr5_class='fx'; $attr5_colspan='8'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_width='50%'; $attr5_colspan='8'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -173,7 +167,7 @@ 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
+?>><?php unset($attr5_width);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;
@@ -220,6 +214,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -262,16 +262,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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'; ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_class='help'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -312,6 +306,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -377,6 +377,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -442,6 +448,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -524,6 +536,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -584,17 +602,18 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
}
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
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -611,7 +630,7 @@ 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
+?>><?php ?><?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;
@@ -658,6 +677,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -723,6 +748,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -764,7 +795,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
echo $tmp_text;
unset($tmp_text);
-?></<?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_raw);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;
@@ -781,7 +812,7 @@ 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
+?>><?php ?><?php $attr6_date=$date; ?><?php
global $conf;
$time = $attr6_date;
if ( $time==0)
@@ -851,16 +882,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
{
?>
<?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 $attr5_class='fx'; $attr5_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -877,7 +902,7 @@ 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
+?>><?php 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))
@@ -901,6 +926,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/folder/showprop.tpl.php b/themes/default/pages/html/folder/showprop.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:7:{s:5:"title";s:11:"global_prop";s:4:"name";s:10:"objectName";s:4:"icon";s:6:"folder";s:6:"widths";s:11:"40%,20%,30%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('title'=>'global_prop','name'=>'objectName','icon'=>'folder','widths'=>'40%,20%,30%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_title='global_prop' ?><?php $attr2_name='objectName' ?><?php $attr2_icon='folder' ?><?php $attr2_widths='40%,20%,30%' ?><?php $attr2_width='70%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_title='global_prop'; $attr2_name='objectName'; $attr2_icon='folder'; $attr2_widths='40%,20%,30%'; $attr2_width='70%'; $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 }
@@ -127,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -147,29 +139,29 @@
<?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_icon) ?><?php unset($attr2_widths) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?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:0:{}' ?><?php $attr4 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_title);unset($attr2_name);unset($attr2_icon);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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
+ $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 ?><?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))
@@ -193,6 +185,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -234,18 +232,24 @@
}
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:2:{s:5:"class";s:4:"name";s:7:"colspan";s:1:"2";}' ?><?php $attr4 = array('class'=>'name','colspan'=>'2') ?><?php $attr4_class='name' ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='name'; $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:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='name' ?><?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);unset($attr4_colspan); ?><?php $attr5_class='text'; $attr5_var='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))
@@ -269,6 +273,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -310,28 +320,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"global_description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_description','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_description' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_description'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -355,6 +365,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -396,18 +412,24 @@
}
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:7:"colspan";s:1:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?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:3:{s:5:"class";s:4:"text";s:3:"var";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'description','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='description' ?><?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_colspan); ?><?php $attr5_class='text'; $attr5_var='description'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -431,6 +453,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -472,28 +500,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"FULL_FILENAME";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','key'=>'FULL_FILENAME','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_key='FULL_FILENAME' ?><?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 ?><?php $attr5_class='text'; $attr5_key='FULL_FILENAME'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -517,6 +545,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -558,18 +592,24 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_key) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:2:{s:5:"class";s:8:"filename";s:7:"colspan";s:1:"2";}' ?><?php $attr4 = array('class'=>'filename','colspan'=>'2') ?><?php $attr4_class='filename' ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_key);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='filename'; $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:3:{s:5:"class";s:4:"text";s:3:"var";s:13:"full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'full_filename','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='full_filename' ?><?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);unset($attr4_colspan); ?><?php $attr5_class='text'; $attr5_var='full_filename'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -593,6 +633,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -634,49 +680,49 @@
}
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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:23:"message:additional_info";}' ?><?php $attr5 = array('title'=>lang('additional_info')) ?><?php $attr5_title=lang('additional_info') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('additional_info'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:2:"id";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','key'=>'id','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_key='id' ?><?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 ?><?php $attr5_class='text'; $attr5_key='id'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -700,6 +746,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -741,18 +793,24 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_key) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_key);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"objectid";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'objectid','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='objectid' ?><?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 ?><?php $attr5_class='text'; $attr5_var='objectid'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -776,6 +834,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -817,49 +881,49 @@
}
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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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;
+ $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:1:{s:5:"title";s:21:"message:PROP_USERINFO";}' ?><?php $attr5 = array('title'=>lang('PROP_USERINFO')) ?><?php $attr5_title=lang('PROP_USERINFO') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('PROP_USERINFO'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"global_created";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_created','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_created' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_created'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -883,6 +947,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -924,32 +994,27 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:2:{s:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr5 = array('icon'=>'el_date','align'=>'left') ?><?php $attr5_icon='el_date' ?><?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:1:{s:4:"date";s:15:"var:create_date";}' ?><?php $attr5 = array('date'=>$create_date) ?><?php $attr5_date=$create_date ?><?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 ?><?php $attr5_icon='el_date'; $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_date=$create_date; ?><?php
global $conf;
$time = $attr5_date;
if ( $time==0)
@@ -1005,32 +1070,27 @@ if (isset($attr5_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr5) ?><?php unset($attr5_date) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr5_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($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 $attr5_debug_info = 'a:2:{s:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr5 = array('icon'=>'user','align'=>'left') ?><?php $attr5_icon='user' ?><?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:1:{s:4:"user";s:15:"var:create_user";}' ?><?php $attr5 = array('user'=>$create_user) ?><?php $attr5_user=$create_user ?><?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 ?><?php $attr5_icon='user'; $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_user=$create_user; ?><?php
if ( is_object($attr5_user) )
$user = $attr5_user;
else
@@ -1043,28 +1103,28 @@ if (isset($attr5_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr5) ?><?php unset($attr5_user) ?><?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:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr5_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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 ?><?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))
@@ -1088,6 +1148,12 @@ if (isset($attr5_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1129,32 +1195,27 @@ if (isset($attr5_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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:2:{s:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr5 = array('icon'=>'el_date','align'=>'left') ?><?php $attr5_icon='el_date' ?><?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:1:{s:4:"date";s:19:"var:lastchange_date";}' ?><?php $attr5 = array('date'=>$lastchange_date) ?><?php $attr5_date=$lastchange_date ?><?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 ?><?php $attr5_icon='el_date'; $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_date=$lastchange_date; ?><?php
global $conf;
$time = $attr5_date;
if ( $time==0)
@@ -1210,32 +1271,27 @@ if (isset($attr5_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr5) ?><?php unset($attr5_date) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr5_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($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 $attr5_debug_info = 'a:2:{s:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr5 = array('icon'=>'user','align'=>'left') ?><?php $attr5_icon='user' ?><?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:1:{s:4:"user";s:19:"var:lastchange_user";}' ?><?php $attr5 = array('user'=>$lastchange_user) ?><?php $attr5_user=$lastchange_user ?><?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 ?><?php $attr5_icon='user'; $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_user=$lastchange_user; ?><?php
if ( is_object($attr5_user) )
$user = $attr5_user;
else
@@ -1248,7 +1304,7 @@ if (isset($attr5_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr5) ?><?php unset($attr5_user) ?><?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($attr5_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1260,5 +1316,5 @@ if (isset($attr5_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
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,18 +161,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table 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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -213,6 +207,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -254,7 +254,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
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='fx'; ?><?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;
@@ -271,7 +271,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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') {
@@ -279,16 +279,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/group/listing.tpl.php b/themes/default/pages/html/group/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:5:{s:4:"name";s:13:"GLOBAL_GROUPS";s:4:"icon";s:5:"group";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_GROUPS','icon'=>'group','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='GLOBAL_GROUPS' ?><?php $attr2_icon='group' ?><?php $attr2_width='70%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='GLOBAL_GROUPS'; $attr2_icon='group'; $attr2_width='70%'; $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: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
+<?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;
@@ -167,28 +159,35 @@
}
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
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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 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 ?><?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,19 +207,10 @@
$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_group";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('file'=>'icon_group','align'=>'left') ?><?php $attr7_file='icon_group' ?><?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
+?><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_group'; $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))
@@ -244,6 +234,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -285,7 +281,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 $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_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -297,5 +293,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/remove.tpl.php b/themes/default/pages/html/group/remove.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_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) { ?>
@@ -26,24 +26,29 @@
<?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->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) ?><?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))
{
@@ -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->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">'.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,41 +113,41 @@
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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,36 +161,34 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
$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';
@@ -199,38 +207,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -241,26 +254,29 @@
}
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 ?><?php
$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:"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 ?><?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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -279,38 +295,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -321,41 +342,70 @@
}
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;
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+ $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('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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
- $attr6_title = '';
- if (empty($attr6_type))
+ $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='confirm'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $checked = $$attr6_name;
+ else
+ $checked = $attr6_default;
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+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_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='confirm'; ?><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_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))
+ $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':
@@ -369,99 +419,80 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if (!empty($attr6_array))
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $attr7_title = '';
+ if ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
{
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
else
- $tmp_text = lang($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
- elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = lang($$attr6_text);
- else
- $tmp_text = lang($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = lang($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = lang($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$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 ( $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))
+ if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
+ $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
+ if (isset($attr7_accesskey))
{
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
+ $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
if ( $pos !== false )
$tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_text) ?><?php unset($attr6_escape) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
- $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:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"confirm";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'confirm') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='confirm' ?><?php
- if ( isset($$attr6_name) )
- $checked = $$attr6_name;
- else
- $checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
-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 $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:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'help','colspan'=>'2') ?><?php $attr5_class='help' ?><?php $attr5_colspan='2' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ $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:17:"GROUP_DELETE_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GROUP_DELETE_DESC','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GROUP_DELETE_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);unset($attr5_colspan); ?><?php $attr6_class='text'; $attr6_text='GROUP_DELETE_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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -480,38 +511,43 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -522,35 +558,41 @@ 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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -562,12 +604,12 @@ 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 $attr2_debug_info = 'a:1:{s:5:"field";s:6:"delete";}' ?><?php $attr2 = array('field'=>'delete') ?><?php $attr2_field='delete' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='delete'; ?><?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/rights.tpl.php b/themes/default/pages/html/group/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,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:"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_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))
{
@@ -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_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
+<?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;
@@ -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,79 +169,37 @@
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
+?><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;
+ $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);
- }
+ $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
- {
- 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 = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_empty) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+<?php unset($attr4_empty); ?><?php ?><?php
$row_class_idx++;
if ($row_class_idx > count($row_classes))
$row_class_idx=1;
@@ -259,18 +209,24 @@
global $cell_column_nr;
$cell_column_nr=0;
$column_class_idx = 999;
-?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr6 = array('class'=>'fx') ?><?php $attr6_class='fx' ?><?php
+?><tr class="<?php echo $attr5_class ?>"><?php ?><?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: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
+ $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))
@@ -294,6 +250,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -335,68 +297,22 @@
}
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);
- }
+?></<?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($attr4_invert) )
- $exec = !$exec;
+ $attr4_tmp_exec = empty( $$attr4_empty );
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_tmp_exec;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_not) ?><?php unset($attr4_empty) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = 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;
@@ -406,18 +322,24 @@
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
+?><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;
+ $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
+ $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))
@@ -441,6 +363,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -482,18 +410,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() ?></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
+?></<?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: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
+ $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))
@@ -517,6 +451,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -558,18 +498,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() ?></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
+?></<?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: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
+ $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))
@@ -593,6 +539,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -634,7 +586,7 @@
}
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
+?></<?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;
@@ -653,18 +605,24 @@
}
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
+?><?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;
+ $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
+ $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))
@@ -688,6 +646,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -729,7 +693,7 @@
}
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
+?></<?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;
@@ -748,7 +712,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;
@@ -758,91 +722,33 @@
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: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 )
+ $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='groupname'; ?><?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: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
+<?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))
@@ -866,6 +772,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -907,141 +819,26 @@ 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_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;
+?></<?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) )
- $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: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;
+<?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) )
- $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_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
+<?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))
@@ -1065,6 +862,12 @@ if (isset($attr9_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1106,44 +909,41 @@ if (isset($attr9_elementtype)) {
}
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
+?></<?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) ?><?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
+?><?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) ?><?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
+?><?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;
+ $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
+ $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;
@@ -1163,7 +963,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 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
+?><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))
@@ -1187,6 +987,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1228,18 +1034,24 @@ if (isset($attr7_elementtype)) {
}
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
+?></<?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;
+ $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
+ $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))
@@ -1263,6 +1075,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1304,7 +1122,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_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
+?></<?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;
@@ -1323,26 +1141,32 @@ 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:0:{}' ?><?php $attr7 = 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($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: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
+ $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) ?><?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;
+?><?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
@@ -1352,7 +1176,7 @@ 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>
+?><?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>
@@ -1364,5 +1188,5 @@ 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($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/users.tpl.php b/themes/default/pages/html/group/users.tpl.php
@@ -159,17 +159,18 @@
}
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
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?php $attr5_class='fx'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -213,6 +214,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -315,6 +322,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/index/applications.tpl.php b/themes/default/pages/html/index/applications.tpl.php
@@ -211,6 +211,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -342,6 +348,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -424,6 +436,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/index/projectmenu.tpl.php b/themes/default/pages/html/index/projectmenu.tpl.php
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,18 +139,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
- $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='logo'; $attr4_colspan='2'; ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_class='logo'; $attr4_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -187,16 +181,10 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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='3'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -214,16 +202,10 @@ 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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -294,6 +276,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -374,7 +362,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
<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_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
+?><?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'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -402,17 +390,11 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$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_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;
- $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
+?><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); ?><?php ?><?php
+ $attr8_tmp_class='';
+ $attr8_last_class = $attr8_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr8_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/index/showlogin.tpl.php b/themes/default/pages/html/index/showlogin.tpl.php
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,7 +161,7 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
@@ -178,16 +178,10 @@
{
?>
<?php unset($attr5_false); ?><?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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php $attr7_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -254,16 +248,10 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
{
?>
<?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='motd'; $attr6_colspan='2'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='motd'; $attr6_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -304,6 +292,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -355,16 +349,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
{
?>
<?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_class='help'; $attr6_colspan='2'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='help'; $attr6_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -405,6 +393,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -456,16 +450,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
{
?>
<?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_class='help'; $attr6_colspan='2'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='help'; $attr6_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -506,6 +494,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -557,16 +551,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
{
?>
<?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_class='help'; $attr6_colspan='2'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='help'; $attr6_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -607,6 +595,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -658,16 +652,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
{
?>
<?php unset($attr4_false); ?><?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='logo'; $attr6_colspan='2'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='logo'; $attr6_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -685,16 +673,10 @@ 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;
- $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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -735,6 +717,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -809,7 +797,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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_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;
+<?php ?><?php $attr8_class='text'; $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') {
@@ -840,6 +828,12 @@ if ($attr8_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -883,16 +877,10 @@ if ($attr8_readonly) {
unset($tmp_text);
?></<?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;
- $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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -933,6 +921,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1001,16 +995,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
{
?>
<?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 $attr7_colspan='2'; ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php $attr7_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1028,16 +1016,10 @@ 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;
- $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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1078,6 +1060,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1137,16 +1125,10 @@ 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;
- $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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1187,6 +1169,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1255,16 +1243,10 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
{
?>
<?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 $attr7_colspan='2'; ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php $attr7_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1282,16 +1264,10 @@ 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;
- $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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1349,6 +1325,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1421,26 +1403,14 @@ if ($attr8_readonly) {
{
?>
<?php unset($attr5_value);unset($attr5_greaterthan); ?><?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
- $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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_class));
+?><?php ?><?php $attr8_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1498,6 +1468,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1617,16 +1593,10 @@ elseif ( isset($attr8_default) )
else
$attr8_tmp_value = "";
?><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;
- $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='2'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='act'; $attr6_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1656,12 +1626,8 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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); ?><script name="javascript1.2" type="text/javascript">
-<!--
-document.forms[0].screenwidth.value=window.innerWidth;
-// -->
-</script>
-<?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
+?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php $attr7_script='screenwidth'; ?><script src="<?php echo OR_THEMES_DIR.$conf['interface']['theme'].'/js/'.basename($attr7_script).'.js' ?>" type="text/javascript"></script>
+<?php unset($attr7_script); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1759,6 +1725,12 @@ else
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/language/advanced.tpl.php b/themes/default/pages/html/language/advanced.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,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 }
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,46 +254,52 @@
}
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 ?><?php
$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 ?><?php $attr6_class='text'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:16:"LANGUAGE_ISOCODE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'LANGUAGE_ISOCODE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='LANGUAGE_ISOCODE' ?><?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='LANGUAGE_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))
@@ -319,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -360,46 +370,52 @@ 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 ?><?php
$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:7:"isocode";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'=>'isocode','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='isocode' ?><?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='text'; $attr6_default=''; $attr6_type='text'; $attr6_name='isocode'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
@@ -412,7 +428,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>
@@ -424,12 +440,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/language/edit.tpl.php b/themes/default/pages/html/language/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>
@@ -26,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 ?>" />
@@ -48,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_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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
+ $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_LANGUAGE'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,20 +254,26 @@
}
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 ?><?php
$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: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
+ $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='isocodes'; $attr6_name='isocode'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
}
@@ -312,28 +324,28 @@ echo ' size="'.intval($attr6_size).'"';
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
- $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
+?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
@@ -346,7 +358,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>
@@ -358,12 +370,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/language/listing.tpl.php b/themes/default/pages/html/language/listing.tpl.php
@@ -1,736 +1,773 @@
-<?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 $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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
+ </tr>
+<?php } ?>
+ <tr class="<?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 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 $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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=''; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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='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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?><?php
+ $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='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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?><?php
+ $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='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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 } ?>
<?php ?><?php ?></body>
</html><?php ?>
\ No newline at end of file
diff --git a/themes/default/pages/html/language/remove.tpl.php b/themes/default/pages/html/language/remove.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_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) { ?>
@@ -26,24 +26,29 @@
<?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->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) ?><?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))
{
@@ -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->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">'.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,41 +113,41 @@
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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,36 +161,34 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
$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';
@@ -199,38 +207,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -241,26 +254,29 @@
}
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 ?><?php
$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:8:"var: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
+ $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='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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -279,38 +295,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -321,36 +342,33 @@
}
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: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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ $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:"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
+ $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='GROUP_DELETE_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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -369,38 +387,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -411,62 +434,70 @@
}
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 ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $attr6_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"confirm";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'confirm') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='confirm' ?><?php
- if ( isset($$attr6_name) )
- $checked = $$attr6_name;
- else
- $checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
-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 $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:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'help','colspan'=>'2') ?><?php $attr5_class='help' ?><?php $attr5_colspan='2' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GROUP_DELETE_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GROUP_DELETE_DESC','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GROUP_DELETE_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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
- $attr6_title = '';
- if (empty($attr6_type))
+ $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='confirm'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $checked = $$attr6_name;
+ else
+ $checked = $attr6_default;
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+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_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='confirm'; ?><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='CONFIRM_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))
+ $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,77 +511,88 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if (!empty($attr6_array))
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $attr7_title = '';
+ if ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
{
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
else
- $tmp_text = lang($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
- elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = lang($$attr6_text);
- else
- $tmp_text = lang($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = lang($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = lang($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$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 ( $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))
+ 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 $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -562,12 +604,12 @@ 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 $attr2_debug_info = 'a:1:{s:5:"field";s:6:"delete";}' ?><?php $attr2 = array('field'=>'delete') ?><?php $attr2_field='delete' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='delete'; ?><?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/link/prop.tpl.php b/themes/default/pages/html/link/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,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:7:{s:5:"title";s:11:"global_link";s:4:"name";s:11:"GLOBAL_PROP";s:4:"icon";s:4:"link";s:6:"widths";s:7:"40%,60%";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_link','name'=>'GLOBAL_PROP','icon'=>'link','widths'=>'40%,60%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='global_link' ?><?php $attr3_name='GLOBAL_PROP' ?><?php $attr3_icon='link' ?><?php $attr3_widths='40%,60%' ?><?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_link'; $attr3_name='GLOBAL_PROP'; $attr3_icon='link'; $attr3_widths='40%,60%'; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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_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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,46 +254,52 @@
}
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 $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 $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:"40";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'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='name' ?><?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='name'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -319,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -360,43 +370,771 @@ 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->isEditMode()) $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
- $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;
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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='id'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_class='text'; $attr6_var='objectid'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_created'; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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'; ?><?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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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=$create_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=$create_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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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=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
+ $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'; ?><?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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -409,7 +1147,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>
@@ -421,12 +1159,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/link/showprop.tpl.php b/themes/default/pages/html/link/showprop.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>
@@ -26,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:"icon";s:4:"link";s:6:"widths";s:7:"40%,60%";s:5:"width";s:3:"70%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr2 = array('icon'=>'link','widths'=>'40%,60%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_icon='link' ?><?php $attr2_widths='40%,60%' ?><?php $attr2_width='70%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_icon='link'; $attr2_widths='40%,60%'; $attr2_width='70%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -59,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 }
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,29 +139,29 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?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: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:0:{}' ?><?php $attr4 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_icon);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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
+ $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 ?><?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))
@@ -185,6 +185,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -226,18 +232,24 @@
}
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:"name";}' ?><?php $attr4 = array('class'=>'name') ?><?php $attr4_class='name' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='name' ?><?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_var='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))
@@ -261,6 +273,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -302,28 +320,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:18:"GLOBAL_description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_description','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_description' ?><?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 ?><?php $attr5_class='text'; $attr5_text='GLOBAL_description'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -347,6 +365,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -388,18 +412,24 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:11:"description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'description','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='description' ?><?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 ?><?php $attr5_class='text'; $attr5_var='description'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -423,6 +453,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -464,49 +500,49 @@
}
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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:23:"message:additional_info";}' ?><?php $attr5 = array('title'=>lang('additional_info')) ?><?php $attr5_title=lang('additional_info') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('additional_info'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:2:"id";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','key'=>'id','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_key='id' ?><?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 ?><?php $attr5_class='text'; $attr5_key='id'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -530,6 +566,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -571,18 +613,24 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_key) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_key);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"objectid";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'objectid','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='objectid' ?><?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 ?><?php $attr5_class='text'; $attr5_var='objectid'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -606,6 +654,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -647,49 +701,49 @@
}
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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:21:"message:prop_userinfo";}' ?><?php $attr5 = array('title'=>lang('prop_userinfo')) ?><?php $attr5_title=lang('prop_userinfo') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('prop_userinfo'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"global_created";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_created','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_created' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_created'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -713,6 +767,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -754,18 +814,24 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_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 $attr5 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr5_width='100%' ?><?php $attr5_space='0px' ?><?php $attr5_padding='0px' ?><?php $attr5_rowclasses='odd,even' ?><?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 ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -793,42 +859,31 @@
$column_classes = explode(',',$attr5_columnclasses);
unset($attr5['columnclasses']);
}
-?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5) ?><?php unset($attr5_width) ?><?php unset($attr5_space) ?><?php unset($attr5_padding) ?><?php unset($attr5_rowclasses) ?><?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
+?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'el_date','align'=>'left') ?><?php $attr8_icon='el_date' ?><?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:1:{s:4:"date";s:15:"var:create_date";}' ?><?php $attr8 = array('date'=>$create_date) ?><?php $attr8_date=$create_date ?><?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_icon='el_date'; $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_date=$create_date; ?><?php
global $conf;
$time = $attr8_date;
if ( $time==0)
@@ -884,32 +939,27 @@ if (isset($attr8_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr8) ?><?php unset($attr8_date) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><?php unset($attr8_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($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:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'user','align'=>'left') ?><?php $attr8_icon='user' ?><?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:1:{s:4:"user";s:15:"var:create_user";}' ?><?php $attr8 = array('user'=>$create_user) ?><?php $attr8_user=$create_user ?><?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_icon='user'; $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_user=$create_user; ?><?php
if ( is_object($attr8_user) )
$user = $attr8_user;
else
@@ -922,28 +972,28 @@ if (isset($attr8_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr8) ?><?php unset($attr8_user) ?><?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() ?></table><?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: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:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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 ?><?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))
@@ -967,6 +1017,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1008,18 +1064,24 @@ if (isset($attr8_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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_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 $attr5 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr5_width='100%' ?><?php $attr5_space='0px' ?><?php $attr5_padding='0px' ?><?php $attr5_rowclasses='odd,even' ?><?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 ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -1047,42 +1109,31 @@ if (isset($attr8_elementtype)) {
$column_classes = explode(',',$attr5_columnclasses);
unset($attr5['columnclasses']);
}
-?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5) ?><?php unset($attr5_width) ?><?php unset($attr5_space) ?><?php unset($attr5_padding) ?><?php unset($attr5_rowclasses) ?><?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
+?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'el_date','align'=>'left') ?><?php $attr8_icon='el_date' ?><?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:1:{s:4:"date";s:19:"var:lastchange_date";}' ?><?php $attr8 = array('date'=>$lastchange_date) ?><?php $attr8_date=$lastchange_date ?><?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_icon='el_date'; $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_date=$lastchange_date; ?><?php
global $conf;
$time = $attr8_date;
if ( $time==0)
@@ -1138,32 +1189,27 @@ if (isset($attr8_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr8) ?><?php unset($attr8_date) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><?php unset($attr8_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($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:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'user','align'=>'left') ?><?php $attr8_icon='user' ?><?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:1:{s:4:"user";s:19:"var:lastchange_user";}' ?><?php $attr8 = array('user'=>$lastchange_user) ?><?php $attr8_user=$lastchange_user ?><?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_icon='user'; $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_user=$lastchange_user; ?><?php
if ( is_object($attr8_user) )
$user = $attr8_user;
else
@@ -1176,7 +1222,7 @@ if (isset($attr8_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr8) ?><?php unset($attr8_user) ?><?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() ?></table><?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($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1188,5 +1234,5 @@ 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($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/mainmenu/show.tpl.php b/themes/default/pages/html/mainmenu/show.tpl.php
@@ -64,16 +64,10 @@
{
?>
<?php unset($attr3_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($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='menu'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='menu'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -164,6 +158,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -234,6 +234,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -354,16 +360,10 @@ if ($attr8_readonly) {
?><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_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;
- $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='subaction'; $attr4_colspan='2'; ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_class='subaction'; $attr4_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -458,6 +458,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -536,6 +542,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -601,6 +613,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -666,6 +684,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/model/edit.tpl.php b/themes/default/pages/html/model/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_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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,46 +254,52 @@
}
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 ?><?php
$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 ?><?php $attr6_class='text'; $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) {
+?><?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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
@@ -308,7 +312,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 +324,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/model/listing.tpl.php b/themes/default/pages/html/model/listing.tpl.php
@@ -1,654 +1,685 @@
-<?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 $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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
+ </tr>
+<?php } ?>
+ <tr class="<?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 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 $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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=''; $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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 ?><?php
+ $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='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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 } ?>
<?php ?><?php ?></body>
</html><?php ?>
\ No newline at end of file
diff --git a/themes/default/pages/html/model/remove.tpl.php b/themes/default/pages/html/model/remove.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_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) { ?>
@@ -26,24 +26,29 @@
<?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->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) ?><?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))
{
@@ -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->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">'.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,41 +113,41 @@
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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,36 +161,34 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
$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';
@@ -199,38 +207,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -241,26 +254,29 @@
}
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 ?><?php
$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:8:"var: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
+ $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='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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -279,38 +295,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -321,36 +342,33 @@
}
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: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($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ $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:"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
+ $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='GROUP_DELETE_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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -369,38 +387,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -411,62 +434,70 @@
}
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 ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $attr6_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"confirm";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'confirm') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='confirm' ?><?php
- if ( isset($$attr6_name) )
- $checked = $$attr6_name;
- else
- $checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
-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 $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:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'help','colspan'=>'2') ?><?php $attr5_class='help' ?><?php $attr5_colspan='2' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:17:"GROUP_DELETE_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GROUP_DELETE_DESC','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GROUP_DELETE_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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
- $attr6_title = '';
- if (empty($attr6_type))
+ $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='confirm'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $checked = $$attr6_name;
+ else
+ $checked = $attr6_default;
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+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_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='confirm'; ?><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='CONFIRM_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))
+ $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,77 +511,105 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
-?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if (!empty($attr6_array))
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $attr7_title = '';
+ if ( $attr7_escape )
+ $langF = 'langHtml';
+ else
+ $langF = 'lang';
+ if (!empty($attr7_array))
{
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
+ $tmpArray = $$attr7_array;
+ if (!empty($attr7_var))
+ $tmp_text = $tmpArray[$attr7_var];
else
- $tmp_text = lang($tmpArray[$attr6_text]);
+ $tmp_text = $langF($tmpArray[$attr7_text]);
}
- elseif (!empty($attr6_text))
- if ( isset($$attr6_text))
- $tmp_text = lang($$attr6_text);
- else
- $tmp_text = lang($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = lang($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = lang($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$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 ( $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))
+ 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 $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;
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);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=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
+ $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 ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -562,12 +621,12 @@ 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 $attr2_debug_info = 'a:1:{s:5:"field";s:6:"delete";}' ?><?php $attr2 = array('field'=>'delete') ?><?php $attr2_field='delete' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='delete'; ?><?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/object/aclform.tpl.php b/themes/default/pages/html/object/aclform.tpl.php
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,18 +161,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
- $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='3'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -190,16 +184,10 @@ 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;
- $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_width='10px'; $attr5_class='fx'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_width='10px'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -216,7 +204,7 @@ 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
+?>><?php unset($attr5_width); ?><?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;
@@ -224,7 +212,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$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 ?></td><?php ?><?php $attr5_class='fx'; ?><?php
+ ?><input class="radio" 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 ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -241,7 +229,7 @@ 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
+?>><?php ?><?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))
@@ -265,6 +253,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -306,7 +300,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
echo $tmp_text;
unset($tmp_text);
-?></<?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);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;
@@ -323,7 +317,7 @@ 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
+?>><?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))
@@ -347,6 +341,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -389,16 +389,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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_width='10px'; $attr5_class='fx'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_width='10px'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -415,7 +409,7 @@ 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
+?>><?php unset($attr5_width); ?><?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;
@@ -423,7 +417,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$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 ?></td><?php ?><?php $attr5_class='fx'; ?><?php
+ ?><input class="radio" 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 ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -440,7 +434,7 @@ 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
+?>><?php ?><?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))
@@ -464,6 +458,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -505,7 +505,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
echo $tmp_text;
unset($tmp_text);
-?></<?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);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;
@@ -522,7 +522,7 @@ 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
+?>><?php ?><?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())
{
@@ -582,16 +582,10 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
{
?>
<?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_width='10px'; $attr6_class='fx'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_width='10px'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -608,7 +602,7 @@ 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
+?>><?php unset($attr6_width); ?><?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;
@@ -616,7 +610,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
$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_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
+ ?><input class="radio" 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 ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -633,7 +627,7 @@ 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
+?>><?php ?><?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))
@@ -657,6 +651,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -698,7 +698,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
}
echo $tmp_text;
unset($tmp_text);
-?></<?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
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -715,7 +715,7 @@ 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
+?>><?php ?><?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())
{
@@ -769,16 +769,10 @@ if (count($$attr7_list)==0) echo '<input type="hidden" name="'.$attr7_name.'" va
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;
- $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='3'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -796,16 +790,10 @@ 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;
- $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_width='10px'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_width='10px'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -846,6 +834,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -887,7 +881,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='fx'; ?><?php
+?></<?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;
@@ -904,7 +898,7 @@ 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
+?>><?php ?><?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))
@@ -928,6 +922,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -969,7 +969,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
echo $tmp_text;
unset($tmp_text);
-?></<?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
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);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;
@@ -986,7 +986,7 @@ 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
+?>><?php ?><?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())
{
@@ -1040,16 +1040,10 @@ if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" va
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;
- $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='3'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1086,16 +1080,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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_width='10px'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_width='10px'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1131,7 +1119,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
$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
+?><input class="checkbox" 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
@@ -1150,7 +1138,7 @@ if ( $attr8_readonly && $checked )
$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
+?><input class="checkbox" 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
@@ -1173,7 +1161,7 @@ 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
+?>><?php unset($attr6_colspan); ?><?php $attr7_for=$t; $attr7_value=''; ?><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_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))
@@ -1197,6 +1185,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1239,16 +1233,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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='3'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/object/rights.tpl.php b/themes/default/pages/html/object/rights.tpl.php
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,7 +161,7 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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);
@@ -176,16 +176,10 @@
{
?>
<?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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -202,7 +196,7 @@ 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
+?>><?php ?><?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))
@@ -226,6 +220,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -283,16 +283,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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($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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='help'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -333,6 +327,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -415,6 +415,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -516,6 +522,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -607,6 +619,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -667,17 +685,18 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
}
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
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php $attr5_class='data'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_tmp_class_list = explode(',',$attr5_classes);
+ $last_pos = array_search($attr5_last_class,$attr5_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr5_tmp_class_list)-1)
+ $attr5_tmp_class = $attr5_tmp_class_list[0];
+ else
+ $attr5_tmp_class = $attr5_tmp_class_list[++$last_pos];
+ $attr5_tmp_class=$attr5_class;
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php unset($attr5_class); ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -727,6 +746,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -801,6 +826,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -885,6 +916,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -967,6 +1004,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1050,7 +1093,7 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
$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
+?><input class="checkbox" 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
@@ -1131,6 +1174,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1181,58 +1230,58 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
if ( $attr4_tmp_exec )
{
?>
-<?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
+<?php unset($attr4_true); ?><?php $attr5_equals='folder'; $attr5_value=$type; ?><?php
+ $attr5_tmp_exec = $attr5_equals == $attr5_value;
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
+ {
+?>
+<?php unset($attr5_equals);unset($attr5_value); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php $attr7_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;
+ 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];
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
+ $attr7_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];
+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_var='inherit'; $attr8_value='1'; ?><?php
+ if (!isset($attr8_value))
+ unset($$attr8_var);
+ elseif (isset($attr8_key))
+ $$attr8_var = $attr8_value[$attr8_key];
else
- $$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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $$attr8_var = $attr8_value;
+?><?php unset($attr8_var);unset($attr8_value); ?><?php $attr8_class='text'; $attr8_default=''; $attr8_type='checkbox'; $attr8_name='inherit'; $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 $attr8_for='inherit'; ?><label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8_for); ?><?php $attr9_class='text'; $attr9_key='inherit_rights'; $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( $attr8_type )
+ switch( $attr9_type )
{
case 'emphatic':
case 'italic':
@@ -1246,88 +1295,88 @@ if ($attr7_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 )
+?><<?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($attr8_array))
+ if (!empty($attr9_array))
{
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
+ $tmpArray = $$attr9_array;
+ if (!empty($attr9_var))
+ $tmp_text = $tmpArray[$attr9_var];
else
- $tmp_text = $langF($tmpArray[$attr8_text]);
+ $tmp_text = $langF($tmpArray[$attr9_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;
+ 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($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
+ 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($attr8_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($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
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_key);unset($attr9_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_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;
+ if (empty($attr5_class))
+ $attr5_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];
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_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 ( 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())
- $attr7_text = 'MODE_EDIT';
+ $attr6_text = 'MODE_EDIT';
}
- if ($attr7_type=='ok')
- $attr7_type = 'submit';
- if (isset($attr7_src))
- $attr7_type = 'image';
+ if ($attr6_type=='ok')
+ $attr6_type = 'submit';
+ if (isset($attr6_src))
+ $attr6_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>
+ $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>
diff --git a/themes/default/pages/html/page/el.tpl.php b/themes/default/pages/html/page/el.tpl.php
@@ -1,1374 +1,1435 @@
-<?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))
+<?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']) )
{
- $tmpArray = $$attr5_array;
- if (!empty($attr5_var))
- $tmp_text = $tmpArray[$attr5_var];
- else
- $tmp_text = $langF($tmpArray[$attr5_text]);
+ ?><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
}
- 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);
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
}
- 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))
+ }
+ if (@$conf['help']['enabled'] )
{
- $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);
+ ?><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
}
- 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>
+ ?></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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
+ </tr>
+<?php } ?>
+ <tr class="<?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 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_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 } ?>
<?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
@@ -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>
@@ -26,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 ?>" />
@@ -48,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:6:{s:5:"title";s:17:"TEMPLATE_ELEMENTS";s:4:"name";s:17:"TEMPLATE_ELEMENTS";s:6:"widths";s:10:"30%,5%,65%";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'=>'TEMPLATE_ELEMENTS','name'=>'TEMPLATE_ELEMENTS','widths'=>'30%,5%,65%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='TEMPLATE_ELEMENTS' ?><?php $attr3_name='TEMPLATE_ELEMENTS' ?><?php $attr3_widths='30%,5%,65%' ?><?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='TEMPLATE_ELEMENTS'; $attr3_name='TEMPLATE_ELEMENTS'; $attr3_widths='30%,5%,65%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,90 +161,42 @@
<?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_widths) ?><?php unset($attr3_width) ?><?php unset($attr3_rowclasses) ?><?php unset($attr3_columnclasses) ?><?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);
- }
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_title);unset($attr3_name);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?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
- {
- 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 = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_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:"4";}' ?><?php $attr6 = array('class'=>'fx','colspan'=>'4') ?><?php $attr6_class='fx' ?><?php $attr6_colspan='4' ?><?php
+<?php unset($attr4_empty); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_colspan='4'; ?><?php
$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: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
+ $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='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))
@@ -268,6 +220,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -309,89 +267,43 @@
}
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:6:"invert";s:4:"true";s:5:"empty";s:2:"el";}' ?><?php $attr4 = array('invert'=>true,'empty'=>'el') ?><?php $attr4_invert=true ?><?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);
- }
+?></<?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_invert=true; $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
- {
- trigger_error("error in IF, assume: FALSE");
- $exec = false;
- }
+ $attr4_tmp_exec = empty( $$attr4_empty );
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_tmp_exec;
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4) ?><?php unset($attr4_invert) ?><?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
+<?php unset($attr4_invert);unset($attr4_empty); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ $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:17:"PAGE_ELEMENT_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'PAGE_ELEMENT_NAME','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='PAGE_ELEMENT_NAME' ?><?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='PAGE_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))
@@ -415,6 +327,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -456,18 +374,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() ?></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
+?></<?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:3:{s:5:"class";s:4:"text";s:4:"text";s:13:"GLOBAL_CHANGE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_CHANGE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_CHANGE' ?><?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_CHANGE'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -491,6 +415,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -532,18 +462,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() ?></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
+?></<?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:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"GLOBAL_VALUE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_VALUE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_VALUE' ?><?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_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))
@@ -567,6 +503,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -608,7 +550,7 @@
}
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 $attr5_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 $attr5 = array('list'=>'el','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr5_list='el' ?><?php $attr5_extract=true ?><?php $attr5_key='list_key' ?><?php $attr5_value='list_value' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr5_list='el'; $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;
@@ -627,42 +569,38 @@
}
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: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:5:"class";s:2:"fx";}' ?><?php $attr7 = array('class'=>'fx') ?><?php $attr7_class='fx' ?><?php
+?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_class='data'; ?><?php
+ $attr6_tmp_class='';
+ $attr6_tmp_class_list = explode(',',$attr6_classes);
+ $last_pos = array_search($attr6_last_class,$attr6_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr6_tmp_class_list)-1)
+ $attr6_tmp_class = $attr6_tmp_class_list[0];
+ else
+ $attr6_tmp_class = $attr6_tmp_class_list[++$last_pos];
+ $attr6_tmp_class=$attr6_class;
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php unset($attr6_class); ?><?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 unset($attr7_class) ?><?php $attr8_debug_info = 'a:1:{s:3:"for";s:10:"var:saveid";}' ?><?php $attr8 = array('for'=>$saveid) ?><?php $attr8_for=$saveid ?><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:2:{s:5:"align";s:4:"left";s:11:"elementtype";s:8:"var:type";}' ?><?php $attr9 = array('align'=>'left','elementtype'=>$type) ?><?php $attr9_align='left' ?><?php $attr9_elementtype=$type ?><?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_elementtype) ?><?php $attr9_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_var='name' ?><?php $attr9_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_for=$saveid; ?><label for="id_<?php echo $attr8_for ?><?php if (!empty($attr8_value)) echo '_'.$attr8_value ?>"><?php unset($attr8_for); ?><?php $attr9_align='left'; $attr9_elementtype=$type; ?><?php
+ $attr9_tmp_image_file = $image_dir.'icon_el_'.$attr9_elementtype.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_elementtype); ?><?php $attr9_class='text'; $attr9_var='name'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -686,6 +624,12 @@ if (isset($attr9_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -727,236 +671,83 @@ if (isset($attr9_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_var) ?><?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 $attr7_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr7 = array('class'=>'fx') ?><?php $attr7_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_var);unset($attr9_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($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_class) ?><?php $attr8_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:10:"var:saveid";}' ?><?php $attr8 = array('default'=>false,'readonly'=>false,'name'=>$saveid) ?><?php $attr8_default=false ?><?php $attr8_readonly=false ?><?php $attr8_name=$saveid ?><?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_default=false; $attr8_readonly=false; $attr8_name=$saveid; ?><?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
+?><input class="checkbox" 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 $attr7_debug_info = 'a:1:{s:5:"class";s:2:"fx";}' ?><?php $attr7 = array('class'=>'fx') ?><?php $attr7_class='fx' ?><?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
$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_class) ?><?php $attr8_debug_info = 'a:2:{s:5:"value";s:8:"var:type";s:8:"contains";s:16:"text,date,number";}' ?><?php $attr8 = array('value'=>$type,'contains'=>'text,date,number') ?><?php $attr8_value=$type ?><?php $attr8_contains='text,date,number' ?><?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 ?><?php $attr8_value=$type; $attr8_contains='text,date,number'; ?><?php
+ $attr8_tmp_exec = in_array($attr8_value,explode(',',$attr8_contains));
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?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;
+<?php unset($attr8_value);unset($attr8_contains); ?><?php $attr9_class='text'; $attr9_default=$value; $attr9_type='text'; $attr9_index=true; $attr9_name=$id; $attr9_size='40'; $attr9_maxlength='255'; $attr9_onchange='onchange'; $attr9_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr9_readonly=true;
if ($attr9_readonly && empty($$attr9_name)) $$attr9_name = '- '.lang('EMPTY').' -';
if(!isset($attr9_default)) $attr9_default='';
?><?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
- } } else { ?><span class="<?php echo $attr9_class ?>"><?php echo isset($$attr9_name)?$$attr9_name:$attr9_default ?></span><?php } ?><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_default) ?><?php unset($attr9_type) ?><?php unset($attr9_index) ?><?php unset($attr9_name) ?><?php unset($attr9_size) ?><?php unset($attr9_maxlength) ?><?php unset($attr9_onchange) ?><?php unset($attr9_readonly) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr8_debug_info = 'a:2:{s:6:"equals";s:8:"longtext";s:5:"value";s:8:"var:type";}' ?><?php $attr8 = array('equals'=>'longtext','value'=>$type) ?><?php $attr8_equals='longtext' ?><?php $attr8_value=$type ?><?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 )
+ } } else { ?><span class="<?php echo $attr9_class ?>"><?php echo isset($$attr9_name)?$$attr9_name:$attr9_default ?></span><?php } ?><?php unset($attr9_class);unset($attr9_default);unset($attr9_type);unset($attr9_index);unset($attr9_name);unset($attr9_size);unset($attr9_maxlength);unset($attr9_onchange);unset($attr9_readonly); ?><?php ?><?php } ?><?php ?><?php $attr8_equals='longtext'; $attr8_value=$type; ?><?php
+ $attr8_tmp_exec = $attr8_equals == $attr8_value;
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?php unset($attr8) ?><?php unset($attr8_equals) ?><?php unset($attr8_value) ?><?php $attr9_debug_info = 'a:7:{s:4:"name";s:6:"var:id";s:4:"rows";s:1:"7";s:4:"cols";s:2:"50";s:5:"index";s:4:"true";s:8:"onchange";s:8:"onchange";s:5:"class";s:0:"";s:7:"default";s:9:"var:value";}' ?><?php $attr9 = array('name'=>$id,'rows'=>'7','cols'=>'50','index'=>true,'onchange'=>'onchange','class'=>'','default'=>$value) ?><?php $attr9_name=$id ?><?php $attr9_rows='7' ?><?php $attr9_cols='50' ?><?php $attr9_index=true ?><?php $attr9_onchange='onchange' ?><?php $attr9_class='' ?><?php $attr9_default=$value ?><?php if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr9_readonly=true;
+<?php unset($attr8_equals);unset($attr8_value); ?><?php $attr9_name=$id; $attr9_rows='7'; $attr9_cols='50'; $attr9_index=true; $attr9_onchange='onchange'; $attr9_class='inputarea'; $attr9_default=$value; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr9_readonly=true;
if ( !$attr9_readonly) {
?><textarea <?php if ($attr9_readonly) echo ' disabled="true"' ?> class="<?php echo $attr9_class ?>" name="<?php echo $attr9_name ?>" rows="<?php echo $attr9_rows ?>" cols="<?php echo $attr9_cols ?>"><?php echo htmlentities(isset($$attr9_name)?$$attr9_name:$attr9_default) ?></textarea><?php
} else {
-?><span class="<?php echo $attr9_class ?>"><?php echo isset($$attr9_name)?$$attr9_name:$attr9_default ?></span><?php } ?><?php unset($attr9) ?><?php unset($attr9_name) ?><?php unset($attr9_rows) ?><?php unset($attr9_cols) ?><?php unset($attr9_index) ?><?php unset($attr9_onchange) ?><?php unset($attr9_class) ?><?php unset($attr9_default) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php } ?><?php unset($attr7) ?><?php $attr8_debug_info = 'a:2:{s:5:"value";s:8:"var:type";s:8:"contains";s:16:"select,link,list";}' ?><?php $attr8 = array('value'=>$type,'contains'=>'select,link,list') ?><?php $attr8_value=$type ?><?php $attr8_contains='select,link,list' ?><?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 )
+?><span class="<?php echo $attr9_class ?>"><?php echo isset($$attr9_name)?$$attr9_name:$attr9_default ?></span><?php } ?><?php unset($attr9_name);unset($attr9_rows);unset($attr9_cols);unset($attr9_index);unset($attr9_onchange);unset($attr9_class);unset($attr9_default); ?><?php ?><?php } ?><?php ?><?php $attr8_value=$type; $attr8_contains='select,link,list'; ?><?php
+ $attr8_tmp_exec = in_array($attr8_value,explode(',',$attr8_contains));
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
{
?>
-<?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
+<?php unset($attr8_value);unset($attr8_contains); ?><?php $attr9_list='list'; $attr9_name=$id; $attr9_default=$value; $attr9_onchange=''; $attr9_title=''; $attr9_class=''; $attr9_addempty=false; $attr9_multiple=false; $attr9_size='1'; $attr9_lang=false; ?><?php
$attr9_tmp_list = $$attr9_list;
-if ($this->isEditable() && $this->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr9_name)?'- '.lang('EMPTY').' -':$attr9_tmp_list[$$attr9_name];
}
@@ -1007,243 +798,78 @@ echo ' size="'.intval($attr9_size).'"';
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.'" />';
}
-?><?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) )
- {
- 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($attr9_list);unset($attr9_name);unset($attr9_default);unset($attr9_onchange);unset($attr9_title);unset($attr9_class);unset($attr9_addempty);unset($attr9_multiple);unset($attr9_size);unset($attr9_lang); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?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) ?><?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($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) ?><?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:"3";}' ?><?php $attr8 = array('colspan'=>'3') ?><?php $attr8_colspan='3' ?><?php
+<?php unset($attr6_present); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_class));
+?><?php ?><?php $attr8_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($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: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 )
+ $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) ?><?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:"3";}' ?><?php $attr7 = array('class'=>'fx','colspan'=>'3') ?><?php $attr7_class='fx' ?><?php $attr7_colspan='3' ?><?php
+<?php unset($attr5_present); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php $attr7_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($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_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;
+ $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_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
+?><input class="checkbox" 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:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_raw='_' ?><?php $attr9_escape=true ?><?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_raw='_'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -1267,6 +893,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1308,7 +940,7 @@ if ( $attr8_readonly && $checked )
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_raw) ?><?php unset($attr9_escape) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_raw);unset($attr9_escape); ?><?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))
@@ -1332,6 +964,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1373,100 +1011,45 @@ if ( $attr8_readonly && $checked )
}
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 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) ?><?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:"3";}' ?><?php $attr7 = array('class'=>'fx','colspan'=>'3') ?><?php $attr7_class='fx' ?><?php $attr7_colspan='3' ?><?php
+<?php unset($attr5_present); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_class));
+?><?php ?><?php $attr7_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($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_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;
+ $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_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
+?><input class="checkbox" 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:3:"raw";s:1:"_";s:6:"escape";s:4:"true";}' ?><?php $attr9 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr9_class='text' ?><?php $attr9_raw='_' ?><?php $attr9_escape=true ?><?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_raw='_'; $attr9_escape=true; ?><?php
if ( isset($attr9_prefix)&& isset($attr9_key))
$attr9_key = $attr9_prefix.$attr9_key;
if ( isset($attr9_suffix)&& isset($attr9_key))
@@ -1490,6 +1073,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1531,7 +1120,7 @@ if ( $attr8_readonly && $checked )
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr9) ?><?php unset($attr9_class) ?><?php unset($attr9_raw) ?><?php unset($attr9_escape) ?><?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
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_raw);unset($attr9_escape); ?><?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))
@@ -1555,6 +1144,12 @@ if ( $attr8_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1596,28 +1191,28 @@ if ( $attr8_readonly && $checked )
}
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: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:"3";}' ?><?php $attr6 = array('class'=>'act','colspan'=>'3') ?><?php $attr6_class='act' ?><?php $attr6_colspan='3' ?><?php
+?></<?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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_class='act'; $attr6_colspan='3'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr6_class))
- $attr6['class']=$column_class;
+ $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())
@@ -1630,7 +1225,7 @@ if ( $attr8_readonly && $checked )
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>
+?><?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>
@@ -1642,6 +1237,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/page/prop.tpl.php b/themes/default/pages/html/page/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>
@@ -26,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 ?>" />
@@ -48,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:"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
+?><?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))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,46 +254,52 @@
}
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->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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -311,6 +323,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -352,46 +370,52 @@ 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:8:"filename";}' ?><?php $attr5 = array('class'=>'filename') ?><?php $attr5_class='filename' ?><?php
+?></<?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;
+ $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: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 unset($attr5_class); ?><?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->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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -415,6 +439,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -456,64 +486,70 @@ 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->isEditMode()) $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
- $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
+?><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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
- $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
+ $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:20:"global_full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_full_filename','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_full_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_full_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))
@@ -537,6 +573,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -578,18 +620,24 @@ 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:8:"filename";}' ?><?php $attr5 = array('class'=>'filename') ?><?php $attr5_class='filename' ?><?php
+?></<?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;
+ $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:13:"full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'full_filename','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='full_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 unset($attr5_class); ?><?php $attr6_class='text'; $attr6_var='full_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))
@@ -613,6 +661,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -654,28 +708,28 @@ if ($attr6_readonly) {
}
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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_template";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_template','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_template' ?><?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_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))
@@ -699,6 +753,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -740,79 +800,30 @@ 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: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 )
+ $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
+ $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:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:16:"var:template_url";s:5:"class";s:0:"";}' ?><?php $attr7 = array('title'=>'','target'=>'cms_main','url'=>$template_url,'class'=>'') ?><?php $attr7_title='' ?><?php $attr7_target='cms_main' ?><?php $attr7_url=$template_url ?><?php $attr7_class='' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main'; $attr7_url=$template_url; $attr7_class=''; ?><?php
$params = array();
if (!empty($attr7_var1) && isset($attr7_value1))
$params[$attr7_var1]=$attr7_value1;
@@ -832,21 +843,10 @@ if ($attr6_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 $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
+?><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))
@@ -870,6 +870,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -911,82 +917,23 @@ 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: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);
- }
+?></<?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
+ 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: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
+<?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))
@@ -1010,6 +957,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1051,28 +1004,28 @@ 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 $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"key";s:13:"FILE_MIMETYPE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'FILE_MIMETYPE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='FILE_MIMETYPE' ?><?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_key='FILE_MIMETYPE'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1096,6 +1049,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1137,18 +1096,24 @@ if (isset($attr7_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() ?></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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);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;
+ $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:9:"mime_type";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'mime_type','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='mime_type' ?><?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_var='mime_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))
@@ -1172,6 +1137,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1213,28 +1184,28 @@ if (isset($attr7_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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"key";s:2:"id";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'id','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='id' ?><?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_key='id'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1258,6 +1229,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1299,18 +1276,24 @@ if (isset($attr7_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() ?></td><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?></<?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;
+ $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:8:"objectid";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'objectid','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='objectid' ?><?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='objectid'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1334,6 +1317,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1375,49 +1364,49 @@ if (isset($attr7_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 $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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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
+ $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:14:"global_created";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_created','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_created' ?><?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_created'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -1441,6 +1430,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1482,18 +1477,24 @@ 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 $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: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
+ $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'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -1521,42 +1522,31 @@ if (isset($attr7_elementtype)) {
$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
+?><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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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;
+ $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:15:"var:create_date";}' ?><?php $attr9 = array('date'=>$create_date) ?><?php $attr9_date=$create_date ?><?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 ?><?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=$create_date; ?><?php
global $conf;
$time = $attr9_date;
if ( $time==0)
@@ -1612,32 +1602,27 @@ if (isset($attr9_elementtype)) {
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
+?><?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;
+ $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:15:"var:create_user";}' ?><?php $attr9 = array('user'=>$create_user) ?><?php $attr9_user=$create_user ?><?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 ?><?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=$create_user; ?><?php
if ( is_object($attr9_user) )
$user = $attr9_user;
else
@@ -1650,28 +1635,28 @@ if (isset($attr9_elementtype)) {
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 $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 unset($attr9_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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
+ $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_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))
@@ -1695,6 +1680,12 @@ if (isset($attr9_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1736,18 +1727,24 @@ if (isset($attr9_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 $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: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
+ $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'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -1775,42 +1772,31 @@ if (isset($attr9_elementtype)) {
$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
+?><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); ?><?php ?><?php
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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;
+ $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
+ $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)
@@ -1866,32 +1852,27 @@ if (isset($attr9_elementtype)) {
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
+?><?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;
+ $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
+ $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
@@ -1904,28 +1885,28 @@ if (isset($attr9_elementtype)) {
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 $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
+?><?php unset($attr9_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -1938,7 +1919,7 @@ if (isset($attr9_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>
@@ -1950,12 +1931,12 @@ if (isset($attr9_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 $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/page/pub.tpl.php b/themes/default/pages/html/page/pub.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>
@@ -26,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 ?>" />
@@ -48,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:3:{s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,40 +161,40 @@
<?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
- $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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:5:"files";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'files') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='files' ?><?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='files'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
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: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 unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6_default);unset($attr6_readonly);unset($attr6_name); ?><?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))
@@ -218,6 +218,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -259,7 +265,7 @@ if ( $attr6_readonly && $checked )
}
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:3:{s:5:"class";s:4:"text";s:4:"text";s:12:"global_files";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'global_files','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='global_files' ?><?php $attr6_escape=true ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_text='global_files'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -283,6 +289,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -324,28 +336,28 @@ 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 $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 $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:5:"class";s:3:"act";}' ?><?php $attr5 = array('class'=>'act') ?><?php $attr5_class='act' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?><br/><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; ?><?php
$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: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); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -358,7 +370,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>
@@ -370,6 +382,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/page/showprop.tpl.php b/themes/default/pages/html/page/showprop.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>
@@ -26,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:"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 $attr2 = array('icon'=>'folder','widths'=>'40%,60%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_icon='folder' ?><?php $attr2_widths='40%,60%' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_icon='folder'; $attr2_widths='40%,60%'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -59,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 }
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,29 +139,29 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?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: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:0:{}' ?><?php $attr4 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_icon);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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
+ $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 ?><?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))
@@ -185,6 +185,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -226,18 +232,24 @@
}
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:"name";}' ?><?php $attr4 = array('class'=>'name') ?><?php $attr4_class='name' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:4:"name";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'name','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='name' ?><?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_var='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))
@@ -261,6 +273,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -302,28 +320,28 @@
}
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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:26:"message:global_description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>lang('global_description'),'escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text=lang('global_description') ?><?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 ?><?php $attr5_class='text'; $attr5_text=lang('global_description'); $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -347,6 +365,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -388,18 +412,24 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"var:description";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>$description,'escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text=$description ?><?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 ?><?php $attr5_class='text'; $attr5_text=$description; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -423,6 +453,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -464,28 +500,28 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:20:"global_full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_full_filename','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_full_filename' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_full_filename'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -509,6 +545,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -550,18 +592,24 @@
}
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:8:"filename";}' ?><?php $attr4 = array('class'=>'filename') ?><?php $attr4_class='filename' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:13:"full_filename";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'full_filename','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='full_filename' ?><?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_var='full_filename'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -585,6 +633,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -626,49 +680,49 @@
}
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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:23:"message:additional_info";}' ?><?php $attr5 = array('title'=>lang('additional_info')) ?><?php $attr5_title=lang('additional_info') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('additional_info'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:15:"global_template";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_template','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_template' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_template'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -692,6 +746,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -733,79 +793,30 @@
}
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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_debug_info = 'a:1:{s:7:"present";s:12:"template_url";}' ?><?php $attr5 = array('present'=>'template_url') ?><?php $attr5_present='template_url' ?><?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 ?><?php $attr5_present='template_url'; ?><?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:0:"";s:6:"target";s:8:"cms_main";s:3:"url";s:16:"var:template_url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>'cms_main','url'=>$template_url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target='cms_main' ?><?php $attr6_url=$template_url ?><?php $attr6_class='' ?><?php
+<?php unset($attr5_present); ?><?php $attr6_title=''; $attr6_target='cms_main'; $attr6_url=$template_url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -825,21 +836,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: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
+?><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_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))
@@ -863,6 +863,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -904,82 +910,23 @@ 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() ?><?php } ?><?php unset($attr4) ?><?php $attr5_debug_info = 'a:1:{s:5:"empty";s:12:"template_url";}' ?><?php $attr5 = array('empty'=>'template_url') ?><?php $attr5_empty='template_url' ?><?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 echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr5_empty='template_url'; ?><?php
+ if ( !isset($$attr5_empty) )
+ $attr5_tmp_exec = empty($attr5_empty);
+ elseif ( is_array($$attr5_empty) )
+ $attr5_tmp_exec = (count($$attr5_empty)==0);
+ elseif ( is_bool($$attr5_empty) )
+ $attr5_tmp_exec = 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 = empty( $$attr5_empty );
+ $attr5_tmp_last_exec = $attr5_tmp_exec;
+ if ( $attr5_tmp_exec )
{
?>
-<?php unset($attr5) ?><?php unset($attr5_empty) ?><?php $attr6_debug_info = 'a:2:{s:4:"file";s:13:"icon_template";s:5:"align";s:4:"left";}' ?><?php $attr6 = array('file'=>'icon_template','align'=>'left') ?><?php $attr6_file='icon_template' ?><?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_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_file) ?><?php unset($attr6_align) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:13:"template_name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','var'=>'template_name','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_var='template_name' ?><?php $attr6_escape=true ?><?php
+<?php unset($attr5_empty); ?><?php $attr6_file='icon_template'; $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='template_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))
@@ -1003,6 +950,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1044,28 +997,28 @@ 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() ?><?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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"FILE_MIMETYPE";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','key'=>'FILE_MIMETYPE','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_key='FILE_MIMETYPE' ?><?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 ?><?php $attr5_class='text'; $attr5_key='FILE_MIMETYPE'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1089,6 +1042,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1130,18 +1089,24 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_key) ?><?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:8:"filename";}' ?><?php $attr4 = array('class'=>'filename') ?><?php $attr4_class='filename' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_key);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_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($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:3:"var";s:9:"mime_type";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'mime_type','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='mime_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_var='mime_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))
@@ -1165,6 +1130,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1206,28 +1177,28 @@ if (isset($attr6_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 $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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:2:"id";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','key'=>'id','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_key='id' ?><?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 ?><?php $attr5_class='text'; $attr5_key='id'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1251,6 +1222,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1292,18 +1269,24 @@ if (isset($attr6_elementtype)) {
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_key) ?><?php unset($attr5_escape) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_key);unset($attr5_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:8:"objectid";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','var'=>'objectid','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='objectid' ?><?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 ?><?php $attr5_class='text'; $attr5_var='objectid'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1327,6 +1310,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1368,49 +1357,49 @@ if (isset($attr6_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 $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:"2";}' ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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:1:{s:5:"title";s:21:"message:prop_userinfo";}' ?><?php $attr5 = array('title'=>lang('prop_userinfo')) ?><?php $attr5_title=lang('prop_userinfo') ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5) ?><?php unset($attr5_title) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></fieldset><?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: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:0:{}' ?><?php $attr4 = array() ?><?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=lang('prop_userinfo'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"global_created";s:6:"escape";s:4:"true";}' ?><?php $attr5 = array('class'=>'text','text'=>'global_created','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='global_created' ?><?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 ?><?php $attr5_class='text'; $attr5_text='global_created'; $attr5_escape=true; ?><?php
if ( isset($attr5_prefix)&& isset($attr5_key))
$attr5_key = $attr5_prefix.$attr5_key;
if ( isset($attr5_suffix)&& isset($attr5_key))
@@ -1434,6 +1423,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1475,18 +1470,24 @@ if (isset($attr6_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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_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 $attr5 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr5_width='100%' ?><?php $attr5_space='0px' ?><?php $attr5_padding='0px' ?><?php $attr5_rowclasses='odd,even' ?><?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 ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -1514,42 +1515,31 @@ if (isset($attr6_elementtype)) {
$column_classes = explode(',',$attr5_columnclasses);
unset($attr5['columnclasses']);
}
-?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5) ?><?php unset($attr5_width) ?><?php unset($attr5_space) ?><?php unset($attr5_padding) ?><?php unset($attr5_rowclasses) ?><?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
+?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'el_date','align'=>'left') ?><?php $attr8_icon='el_date' ?><?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:1:{s:4:"date";s:15:"var:create_date";}' ?><?php $attr8 = array('date'=>$create_date) ?><?php $attr8_date=$create_date ?><?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_icon='el_date'; $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_date=$create_date; ?><?php
global $conf;
$time = $attr8_date;
if ( $time==0)
@@ -1605,32 +1595,27 @@ if (isset($attr8_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr8) ?><?php unset($attr8_date) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><?php unset($attr8_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($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:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'user','align'=>'left') ?><?php $attr8_icon='user' ?><?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:1:{s:4:"user";s:15:"var:create_user";}' ?><?php $attr8 = array('user'=>$create_user) ?><?php $attr8_user=$create_user ?><?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_icon='user'; $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_user=$create_user; ?><?php
if ( is_object($attr8_user) )
$user = $attr8_user;
else
@@ -1643,28 +1628,28 @@ if (isset($attr8_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr8) ?><?php unset($attr8_user) ?><?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() ?></table><?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: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:0:{}' ?><?php $attr4 = array() ?><?php
+?><?php unset($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_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($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 $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 ?><?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))
@@ -1688,6 +1673,12 @@ if (isset($attr8_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1729,18 +1720,24 @@ if (isset($attr8_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:0:{}' ?><?php $attr4 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_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($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 $attr5_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 $attr5 = array('width'=>'100%','space'=>'0px','padding'=>'0px','rowclasses'=>'odd,even') ?><?php $attr5_width='100%' ?><?php $attr5_space='0px' ?><?php $attr5_padding='0px' ?><?php $attr5_rowclasses='odd,even' ?><?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 ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -1768,42 +1765,31 @@ if (isset($attr8_elementtype)) {
$column_classes = explode(',',$attr5_columnclasses);
unset($attr5['columnclasses']);
}
-?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5) ?><?php unset($attr5_width) ?><?php unset($attr5_space) ?><?php unset($attr5_padding) ?><?php unset($attr5_rowclasses) ?><?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
+?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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:4:"icon";s:7:"el_date";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'el_date','align'=>'left') ?><?php $attr8_icon='el_date' ?><?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:1:{s:4:"date";s:19:"var:lastchange_date";}' ?><?php $attr8 = array('date'=>$lastchange_date) ?><?php $attr8_date=$lastchange_date ?><?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_icon='el_date'; $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_date=$lastchange_date; ?><?php
global $conf;
$time = $attr8_date;
if ( $time==0)
@@ -1859,32 +1845,27 @@ if (isset($attr8_elementtype)) {
echo $jahre.' '.lang('GLOBAL_YEARS');
echo '</span>';
}
-?><?php unset($attr8) ?><?php unset($attr8_date) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:0:{}' ?><?php $attr7 = array() ?><?php
+?><?php unset($attr8_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($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:4:"icon";s:4:"user";s:5:"align";s:4:"left";}' ?><?php $attr8 = array('icon'=>'user','align'=>'left') ?><?php $attr8_icon='user' ?><?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:1:{s:4:"user";s:19:"var:lastchange_user";}' ?><?php $attr8 = array('user'=>$lastchange_user) ?><?php $attr8_user=$lastchange_user ?><?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_icon='user'; $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_user=$lastchange_user; ?><?php
if ( is_object($attr8_user) )
$user = $attr8_user;
else
@@ -1897,7 +1878,7 @@ if (isset($attr8_elementtype)) {
echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
else
echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
-?><?php unset($attr8) ?><?php unset($attr8_user) ?><?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() ?></table><?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($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1909,5 +1890,5 @@ 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($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/pageelement/edit.tpl.php b/themes/default/pages/html/pageelement/edit.tpl.php
@@ -1,6048 +1,6264 @@
-<?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 )
- {
- ?>
-<?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 )
+<?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='text'; $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']) )
{
- ?>
-<?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 )
+ ?><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
{
- ?>
-<?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 )
+ ?><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_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>
+ ?><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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
+ </tr>
+<?php } ?>
+ <tr class="<?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 cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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'; ?><?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); ?><?php ?><?php
+ $attr8_tmp_class='';
+ $attr8_last_class = $attr8_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr8_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr8_tmp_class='';
+ $attr8_last_class = $attr8_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr8_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr9_tmp_class='';
+ $attr9_last_class = $attr9_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr9_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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='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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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>
- </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
+ 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'; ?><?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); ?><?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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 )
+ {
+?>
+<?php unset($attr5_true); ?><?php ?><?php
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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='text'; $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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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='text'; $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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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 )
+ {
+?>
+<?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
+ $attr7_tmp_class='';
+ $attr7_last_class = $attr7_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr7_tmp_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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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_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 class="checkbox" 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr6_tmp_class='';
+ $attr6_last_class = $attr6_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr6_tmp_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_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 class="checkbox" 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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>
+</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
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,18 +161,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table 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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -213,6 +207,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -254,7 +254,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
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='fx'; ?><?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;
@@ -295,6 +295,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -337,16 +343,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -387,6 +387,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -469,6 +475,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -511,16 +523,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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 $attr5_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -538,16 +544,10 @@ 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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -588,6 +588,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -646,7 +652,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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 || $attr6_type=='hidden') {
@@ -654,16 +660,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -704,6 +704,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -762,7 +768,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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 || $attr6_type=='hidden') {
@@ -770,16 +776,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -820,6 +820,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -878,7 +884,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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 || $attr6_type=='hidden') {
@@ -886,16 +892,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -936,6 +936,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -977,7 +983,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
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='fx'; ?><?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;
@@ -994,7 +1000,7 @@ 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
+?>><?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())
{
@@ -1048,16 +1054,10 @@ if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" va
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_class='act'; $attr5_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/profile/groups.tpl.php b/themes/default/pages/html/profile/groups.tpl.php
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,7 +139,7 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table 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='groups'; $attr3_extract=false; $attr3_key='list_key'; $attr3_value='group'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
@@ -160,16 +160,10 @@
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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -210,6 +204,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/profile/mail.tpl.php b/themes/default/pages/html/profile/mail.tpl.php
@@ -1,395 +1,377 @@
-<?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>
+<?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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
+ </tr>
+<?php } ?>
+ <tr class="<?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>
- </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 } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+<?php } ?>
+ <tr>
+ <td>
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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>
+</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/add.tpl.php b/themes/default/pages/html/project/add.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:6:{s:4:"name";s:15:"GLOBAL_PROJECTS";s:4:"icon";s:7:"project";s:6:"widths";s:12:"20px,20%,80%";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'=>'GLOBAL_PROJECTS','icon'=>'project','widths'=>'20px,20%,80%','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROJECTS' ?><?php $attr3_icon='project' ?><?php $attr3_widths='20px,20%,80%' ?><?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='GLOBAL_PROJECTS'; $attr3_icon='project'; $attr3_widths='20px,20%,80%'; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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_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:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('colspan'=>'2') ?><?php $attr5_colspan='2' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:5:"class";s:4:"text";s:4:"text";s:12:"message:name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>lang('name'),'escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text=lang('name') ?><?php $attr6_escape=true ?><?php
+ $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_class='text'; $attr6_text=lang('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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,86 +254,98 @@
}
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:"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 ?><?php $attr6_class='text'; $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) {
+?><?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
- $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:"3";}' ?><?php $attr5 = array('colspan'=>'3') ?><?php $attr5_colspan='3' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:15:"message:options";}' ?><?php $attr6 = array('title'=>lang('options')) ?><?php $attr6_title=lang('options') ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo $attr6_title ?></legend><?php } ?><?php unset($attr6) ?><?php unset($attr6_title) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></fieldset><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+ $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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;
+ $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='empty'; $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:0:{}' ?><?php $attr5 = array() ?><?php
+ ?><input class="radio" 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 ?><?php
$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: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
+ $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_for='type_empty'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_key='empty'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -359,6 +369,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -400,47 +416,53 @@ if ($attr6_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() ?></label><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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: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;
+ $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='copy'; $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:0:{}' ?><?php $attr5 = array() ?><?php
+ ?><input class="radio" 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 ?><?php
$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: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
+ $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_for='type_copy'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_key='copy'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -464,6 +486,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -505,19 +533,31 @@ if ($attr6_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() ?></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_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;
+ $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:9:{s:4:"list";s:8:"projects";s:4:"name";s:9:"projectid";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'=>'projects','name'=>'projectid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='projects' ?><?php $attr6_name='projectid' ?><?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='projects'; $attr6_name='projectid'; $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)
@@ -531,7 +571,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) )
@@ -562,33 +601,34 @@ 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
- $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:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
- $attr6_text = lang('MODE_EDIT');
+ $attr6_text = 'MODE_EDIT';
}
if ($attr6_type=='ok')
$attr6_type = 'submit';
@@ -596,8 +636,8 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
$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>
+?><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>
@@ -609,12 +649,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/project/edit.tpl.php b/themes/default/pages/html/project/edit.tpl.php
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,18 +161,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table 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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -213,6 +207,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -279,16 +279,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -329,6 +323,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -395,16 +395,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -445,6 +439,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -511,16 +511,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -538,16 +532,10 @@ 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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -588,6 +576,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -654,16 +648,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -703,7 +691,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
@@ -732,6 +720,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -774,16 +768,10 @@ if ( $attr6_readonly && $checked )
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -801,16 +789,10 @@ 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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -833,7 +815,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
@@ -862,6 +844,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -904,16 +892,10 @@ if ( $attr6_readonly && $checked )
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -936,7 +918,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
@@ -965,6 +947,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1007,16 +995,10 @@ if ( $attr6_readonly && $checked )
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/project/export.tpl.php b/themes/default/pages/html/project/export.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:6:{s:4:"name";s:14:"GLOBAL_PROJECT";s:4:"icon";s:7:"project";s:6:"widths";s:7:"30%,70%";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','widths'=>'30%,70%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROJECT' ?><?php $attr3_icon='project' ?><?php $attr3_widths='30%,70%' ?><?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_widths='30%,70%'; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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_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:2:{s:5:"width";s:3:"50%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'50%','class'=>'fx') ?><?php $attr5_width='50%' ?><?php $attr5_class='fx' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_width='50%'; ?><?php
$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:3:{s:5:"class";s:4:"text";s:3:"key";s:15:"GLOBAL_DATABASE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'GLOBAL_DATABASE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='GLOBAL_DATABASE' ?><?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_key='GLOBAL_DATABASE'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -256,19 +254,31 @@
}
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:2:{s:5:"width";s:3:"50%";s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('width'=>'50%','class'=>'fx') ?><?php $attr5_width='50%' ?><?php $attr5_class='fx' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_width='50%'; ?><?php
$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:10:{s:4:"list";s:5:"dbids";s:4:"name";s:4:"dbid";s:7:"default";s:7:"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 $attr6 = array('list'=>'dbids','name'=>'dbid','default'=>'actdbid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr6_list='dbids' ?><?php $attr6_name='dbid' ?><?php $attr6_default='actdbid' ?><?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_width); ?><?php $attr6_list='dbids'; $attr6_name='dbid'; $attr6_default='actdbid'; $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)
@@ -282,7 +292,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,29 +322,30 @@ 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
- $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
+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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:6:"submit";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'submit','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='submit' ?><?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='submit'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -348,7 +358,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>
@@ -360,6 +370,6 @@ 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 $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/project/listing.tpl.php b/themes/default/pages/html/project/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:5:{s:4:"name";s:15:"GLOBAL_PROJECTS";s:4:"icon";s:7:"project";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_PROJECTS','icon'=>'project','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='GLOBAL_PROJECTS' ?><?php $attr2_icon='project' ?><?php $attr2_width='70%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='GLOBAL_PROJECTS'; $attr2_icon='project'; $attr2_width='70%'; $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 }
@@ -127,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -147,8 +139,8 @@
<?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
+ <table 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;
@@ -167,28 +159,35 @@
}
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 unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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: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 ?><?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,21 +207,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:4:"file";s:12:"icon_project";s:5:"align";s:4:"left";}' ?><?php $attr7 = array('file'=>'icon_project','align'=>'left') ?><?php $attr7_file='icon_project' ?><?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:5:"value";s:8:"var:name";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','value'=>$name,'escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_value=$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_file='icon_project'; $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_value=$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))
@@ -246,6 +234,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -287,18 +281,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_value) ?><?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_value);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:4:{s:5:"title";s:0:"";s:6:"target";s:27:"config:interface/frames/top";s:3:"url";s:11:"var:use_url";s:5:"class";s:0:"";}' ?><?php $attr6 = array('title'=>'','target'=>@$conf['interface']['frames']['top'],'url'=>$use_url,'class'=>'') ?><?php $attr6_title='' ?><?php $attr6_target=@$conf['interface']['frames']['top'] ?><?php $attr6_url=$use_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=@$conf['interface']['frames']['top']; $attr6_url=$use_url; $attr6_class=''; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -318,7 +318,7 @@ 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:3:{s:5:"class";s:4:"text";s:3:"key";s:13:"GLOBAL_SELECT";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','key'=>'GLOBAL_SELECT','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_key='GLOBAL_SELECT' ?><?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_SELECT'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -342,6 +342,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -383,7 +389,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_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>
@@ -395,5 +401,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/project/maintenance.tpl.php b/themes/default/pages/html/project/maintenance.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,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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,90 +161,37 @@
<?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:3:"act";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'2') ?><?php $attr5_class='act' ?><?php $attr5_colspan='2' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:2:{s:3:"not";s:4:"true";s:7:"present";s:4:"done";}' ?><?php $attr6 = array('not'=>true,'present'=>'done') ?><?php $attr6_not=true ?><?php $attr6_present='done' ?><?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);unset($attr5_colspan); ?><?php $attr6_not=true; $attr6_present='done'; ?><?php
+ $attr6_tmp_exec = isset($$attr6_present);
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_present) ?><?php $attr7_debug_info = 'a:4:{s:4:"type";s:6:"submit";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr7 = array('type'=>'submit','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr7_type='submit' ?><?php $attr7_class='ok' ?><?php $attr7_value='ok' ?><?php $attr7_text='button_ok' ?><?php
+<?php unset($attr6_not);unset($attr6_present); ?><?php $attr7_type='submit'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?><?php
if ($attr7_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -265,7 +204,7 @@
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() ?><?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() ?> </table>
+?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -277,6 +216,6 @@
<?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/project/remove.tpl.php b/themes/default/pages/html/project/remove.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:6:{s:4:"name";s:14:"GLOBAL_PROJECT";s:4:"icon";s:5:"group";s:6:"widths";s:7:"20%,80%";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'=>'group','widths'=>'20%,80%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROJECT' ?><?php $attr3_icon='group' ?><?php $attr3_widths='20%,80%' ?><?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='group'; $attr3_widths='20%,80%'; $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) )
@@ -149,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -169,29 +161,29 @@
<?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_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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
@@ -215,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -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 ?><?php
$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:"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 ?><?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))
@@ -291,6 +295,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -332,146 +342,70 @@
}
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
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:14:"CONFIRM_DELETE";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'CONFIRM_DELETE','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='CONFIRM_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))
- $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
+ $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 $attr6_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:6:"delete";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'delete') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='delete' ?><?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='delete'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
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 $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: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:4:"text";s:17:"GROUP_DELETE_DESC";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'GROUP_DELETE_DESC','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='GROUP_DELETE_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))
+?><?php unset($attr6_name); unset($attr6_readonly); unset($attr6_default); ?><?php unset($attr6_default);unset($attr6_readonly);unset($attr6_name); ?><?php $attr6_for='delete'; ?><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='CONFIRM_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))
+ $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':
@@ -485,69 +419,75 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 )
+?><<?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 $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_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())
@@ -560,7 +500,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>
@@ -572,12 +512,12 @@ 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 $attr2_debug_info = 'a:1:{s:5:"field";s:6:"delete";}' ?><?php $attr2 = array('field'=>'delete') ?><?php $attr2_field='delete' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='delete'; ?><?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/template/el.tpl.php b/themes/default/pages/html/template/el.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>
@@ -26,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:17:"TEMPLATE_ELEMENTS";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'=>'TEMPLATE_ELEMENTS','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='TEMPLATE_ELEMENTS' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='TEMPLATE_ELEMENTS'; $attr2_width='93%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr2_widths))
{
@@ -59,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 }
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,8 +139,8 @@
<?php } ?>
<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: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
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_name);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;
@@ -159,28 +159,35 @@
}
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
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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 unset($attr5_class) ?><?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
+ $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;
@@ -200,21 +207,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: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
+?><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))
@@ -238,6 +234,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -279,18 +281,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_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
+?></<?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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:4:{s:5:"class";s:4:"text";s:3:"key";s:8:"var:type";s:6:"prefix";s:3:"EL_";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>$type,'prefix'=>'EL_','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key=$type ?><?php $attr6_prefix='EL_' ?><?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_key=$type; $attr6_prefix='EL_'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -314,6 +322,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -355,89 +369,41 @@ if (isset($attr7_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_prefix) ?><?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);
- }
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_prefix);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
- {
- 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
- $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:2:"fx";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'fx','colspan'=>'2') ?><?php $attr5_class='fx' ?><?php $attr5_colspan='2' ?><?php
+<?php unset($attr3_empty); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:16:"GLOBAL_NOT_FOUND";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'GLOBAL_NOT_FOUND','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='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_colspan); ?><?php $attr6_class='text'; $attr6_key='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))
@@ -461,6 +427,12 @@ if (isset($attr7_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -502,7 +474,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_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 $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_key);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -514,5 +486,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/template/extension.tpl.php b/themes/default/pages/html/template/extension.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>
@@ -26,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 ?>" />
@@ -48,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:4:"name";s:11:"GLOBAL_PROP";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_PROP','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROP' ?><?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_PROP'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"TEMPLATE_extension";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'TEMPLATE_extension','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='TEMPLATE_extension' ?><?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='TEMPLATE_extension'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,39 +254,51 @@
}
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:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"list";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'=>'list','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='list' ?><?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 ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='list'; $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:0:{}' ?><?php $attr5 = array() ?><?php
+ ?><input class="radio" 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 ?><?php
$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: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
+ $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='mime_types'; $attr6_name='extension'; $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->getRequestVar('mode')!='edit')
+if ($this->isEditable() && !$this->isEditMode())
{
echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
}
@@ -331,86 +349,98 @@ echo ' size="'.intval($attr6_size).'"';
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
- $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 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:4:"text";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'=>'text','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr6_readonly=false ?><?php $attr6_name='type' ?><?php $attr6_value='text' ?><?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 ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='text'; $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:0:{}' ?><?php $attr5 = array() ?><?php
+ ?><input class="radio" 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 ?><?php
$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: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;
+ $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_default=''; $attr6_type='text'; $attr6_name='extensiontext'; $attr6_size='10'; $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
- $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:"3";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'3') ?><?php $attr5_class='act' ?><?php $attr5_colspan='3' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -423,7 +453,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>
@@ -435,12 +465,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:9:"extension";}' ?><?php $attr2 = array('field'=>'extension') ?><?php $attr2_field='extension' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='extension'; ?><?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/template/listing.tpl.php b/themes/default/pages/html/template/listing.tpl.php
@@ -119,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -139,7 +139,7 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
@@ -159,17 +159,18 @@
}
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
+?><?php unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -186,7 +187,7 @@ 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
+?>><?php ?><?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;
@@ -230,6 +231,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -285,16 +292,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
{
?>
<?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 $attr5_class='help'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='help'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -335,6 +336,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/template/name.tpl.php b/themes/default/pages/html/template/name.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>
@@ -26,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 ?>" />
@@ -48,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:4:"name";s:11:"GLOBAL_PROP";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_PROP','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROP' ?><?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_PROP'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,29 +161,29 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"TEMPLATE_NAME";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'TEMPLATE_NAME','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='TEMPLATE_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='TEMPLATE_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))
@@ -207,6 +207,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -248,67 +254,73 @@
}
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:"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 ?><?php $attr6_class='text'; $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
- $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
+ } } 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
- $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
+ $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"key";s:14:"file_extension";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'file_extension','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='file_extension' ?><?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_key='file_extension'; $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,6 +344,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -373,18 +391,24 @@ if ($attr6_readonly) {
}
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
+?></<?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;
+ $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:5:"title";s:0:"";s:6:"target";s:5:"_self";s:5:"class";s:0:"";s:6:"action";s:8:"template";s:9:"subaction";s:9:"extension";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','class'=>'','action'=>'template','subaction'=>'extension') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_class='' ?><?php $attr6_action='template' ?><?php $attr6_subaction='extension' ?><?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_class=''; $attr6_action='template'; $attr6_subaction='extension'; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -404,7 +428,7 @@ if ($attr6_readonly) {
$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_action) ?><?php unset($attr6_subaction) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:9:"extension";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'extension','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='extension' ?><?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_class);unset($attr6_action);unset($attr6_subaction); ?><?php $attr7_class='text'; $attr7_var='extension'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -428,6 +452,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -469,28 +499,28 @@ if ($attr6_readonly) {
}
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 $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($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:"key";s:13:"file_mimetype";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'file_mimetype','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='file_mimetype' ?><?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_key='file_mimetype'; $attr6_escape=true; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -514,6 +544,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -555,18 +591,24 @@ if ($attr6_readonly) {
}
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
+?></<?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;
+ $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:5:"title";s:0:"";s:6:"target";s:5:"_self";s:5:"class";s:0:"";s:6:"action";s:8:"template";s:9:"subaction";s:9:"extension";}' ?><?php $attr6 = array('title'=>'','target'=>'_self','class'=>'','action'=>'template','subaction'=>'extension') ?><?php $attr6_title='' ?><?php $attr6_target='_self' ?><?php $attr6_class='' ?><?php $attr6_action='template' ?><?php $attr6_subaction='extension' ?><?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_class=''; $attr6_action='template'; $attr6_subaction='extension'; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -586,7 +628,7 @@ if ($attr6_readonly) {
$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_action) ?><?php unset($attr6_subaction) ?><?php $attr7_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:9:"mime_type";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','var'=>'mime_type','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_var='mime_type' ?><?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_class);unset($attr6_action);unset($attr6_subaction); ?><?php $attr7_class='text'; $attr7_var='mime_type'; $attr7_escape=true; ?><?php
if ( isset($attr7_prefix)&& isset($attr7_key))
$attr7_key = $attr7_prefix.$attr7_key;
if ( isset($attr7_suffix)&& isset($attr7_key))
@@ -610,6 +652,12 @@ if ($attr6_readonly) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -651,28 +699,28 @@ if ($attr6_readonly) {
}
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 $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
@@ -685,7 +733,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>
@@ -697,12 +745,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/template/pages.tpl.php b/themes/default/pages/html/template/pages.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:5:"pages";s:4:"icon";s:8:"template";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'=>'pages','icon'=>'template','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_name='pages' ?><?php $attr2_icon='template' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_name='pages'; $attr2_icon='template'; $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) )
@@ -127,11 +119,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -147,8 +139,8 @@
<?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:5:"pages";s:7:"extract";s:5:"false";s:3:"key";s:6:"pageid";s:5:"value";s:4:"name";}' ?><?php $attr3 = array('list'=>'pages','extract'=>false,'key'=>'pageid','value'=>'name') ?><?php $attr3_list='pages' ?><?php $attr3_extract=false ?><?php $attr3_key='pageid' ?><?php $attr3_value='name' ?><?php
+ <table 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='pages'; $attr3_extract=false; $attr3_key='pageid'; $attr3_value='name'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
$attr3_list_extract = $attr3_extract;
@@ -167,40 +159,31 @@
}
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 unset($attr3_list);unset($attr3_extract);unset($attr3_key);unset($attr3_value); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:2:{s:4:"icon";s:4:"page";s:5:"align";s:4:"left";}' ?><?php $attr6 = array('icon'=>'page','align'=>'left') ?><?php $attr6_icon='page' ?><?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_icon) ?><?php unset($attr6_align) ?><?php $attr6_debug_info = 'a:6:{s:5:"title";s:0:"";s:6:"target";s:8:"cms_main";s:5:"class";s:0:"";s:6:"action";s:4:"main";s:9:"subaction";s:4:"page";s:2:"id";s:10:"var:pageid";}' ?><?php $attr6 = array('title'=>'','target'=>'cms_main','class'=>'','action'=>'main','subaction'=>'page','id'=>$pageid) ?><?php $attr6_title='' ?><?php $attr6_target='cms_main' ?><?php $attr6_class='' ?><?php $attr6_action='main' ?><?php $attr6_subaction='page' ?><?php $attr6_id=$pageid ?><?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_icon='page'; $attr6_align='left'; ?><?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_title=''; $attr6_target='cms_main'; $attr6_class=''; $attr6_action='main'; $attr6_subaction='page'; $attr6_id=$pageid; ?><?php
$params = array();
if (!empty($attr6_var1) && isset($attr6_value1))
$params[$attr6_var1]=$attr6_value1;
@@ -220,7 +203,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_class) ?><?php unset($attr6_action) ?><?php unset($attr6_subaction) ?><?php unset($attr6_id) ?><?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_class);unset($attr6_action);unset($attr6_subaction);unset($attr6_id); ?><?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))
@@ -244,6 +227,12 @@ if (isset($attr6_elementtype)) {
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -285,7 +274,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_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 $attr1_debug_info = 'a:0:{}' ?><?php $attr1 = array() ?> </table>
+?></<?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 ?> </table>
</td>
</tr>
</table>
@@ -297,5 +286,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/template/remove.tpl.php b/themes/default/pages/html/template/remove.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_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) { ?>
@@ -26,24 +26,29 @@
<?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->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) ?><?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:8:"template";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'=>'template','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_icon='template' ?><?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_icon='template'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -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->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">'.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,41 +113,41 @@
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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,36 +161,34 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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))
$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';
@@ -199,38 +207,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -241,26 +254,29 @@
}
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 ?><?php
$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:"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 ?><?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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -279,38 +295,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -321,46 +342,65 @@
}
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;
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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=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
+ $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('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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:6:"delete";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'delete') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='delete' ?><?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_default=false; $attr6_readonly=false; $attr6_name='delete'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
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:6:"delete";}' ?><?php $attr6 = array('for'=>'delete') ?><?php $attr6_for='delete' ?><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:"GLOBAL_DELETE";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'GLOBAL_DELETE','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='GLOBAL_DELETE' ?><?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='delete'; ?><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='CONFIRM_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))
$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';
@@ -379,38 +419,43 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -421,35 +466,41 @@ 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
- $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -461,12 +512,12 @@ 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 $attr2_debug_info = 'a:1:{s:5:"field";s:6:"delete";}' ?><?php $attr2 = array('field'=>'delete') ?><?php $attr2_field='delete' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='delete'; ?><?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/template/src.tpl.php b/themes/default/pages/html/template/src.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>
@@ -26,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 ?>" />
@@ -48,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:4:"name";s:15:"TEMPLATE_SOURCE";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'=>'TEMPLATE_SOURCE','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='TEMPLATE_SOURCE' ?><?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='TEMPLATE_SOURCE'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,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 }
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,54 +161,54 @@
<?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:0:{}' ?><?php $attr5 = array() ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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:5:{s:4:"name";s:3:"src";s:4:"rows";s:2:"25";s:4:"cols";s:2:"80";s:5:"class";s:0:"";s:7:"default";s:0:"";}' ?><?php $attr6 = array('name'=>'src','rows'=>'25','cols'=>'80','class'=>'','default'=>'') ?><?php $attr6_name='src' ?><?php $attr6_rows='25' ?><?php $attr6_cols='80' ?><?php $attr6_class='' ?><?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='src'; $attr6_rows='25'; $attr6_cols='80'; $attr6_class='inputarea'; $attr6_default=''; ?><?php if ($this->isEditable() && !$this->isEditMode()) $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
- $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:3:"act";}' ?><?php $attr5 = array('class'=>'act') ?><?php $attr5_class='act' ?><?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; ?><?php
$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: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); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -221,7 +221,7 @@
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>
@@ -233,12 +233,12 @@
<?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:3:"src";}' ?><?php $attr2 = array('field'=>'src') ?><?php $attr2_field='src' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='src'; ?><?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/title/show.tpl.php b/themes/default/pages/html/title/show.tpl.php
@@ -26,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_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; $attr2_rowclasses='odd,even'; ?><?php
+<?php unset($attr1_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -54,17 +54,11 @@
$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_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;
- $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_width='30%'; $attr4_class='title'; ?><?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); ?><?php ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_width='30%'; $attr4_class='title'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -108,6 +102,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -173,6 +173,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -238,6 +244,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -326,6 +338,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -397,6 +415,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -462,6 +486,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -527,6 +557,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -592,6 +628,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -657,6 +699,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -762,6 +810,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -867,6 +921,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/tree/show.tpl.php b/themes/default/pages/html/tree/show.tpl.php
@@ -26,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_class); ?><?php $attr2_class='tree'; $attr2_width='100%'; $attr2_space='0'; $attr2_padding='0'; $attr2_rowclasses='odd,even'; ?><?php
+<?php unset($attr1_class); ?><?php $attr2_class='tree'; $attr2_width='100%'; $attr2_space='0'; $attr2_padding='0'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -54,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_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
+?><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); ?><?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;
@@ -74,16 +74,10 @@
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_list='cols'; $attr5_extract=false; $attr5_key='list_key'; $attr5_value='i'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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;
@@ -151,7 +145,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
if ( $attr7_tmp_exec )
{
?>
-<?php unset($attr7_present); ?><?php $attr8_title='image_url_desc'; $attr8_target='_self'; $attr8_url=$image_url; $attr8_class='tree'; $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;
@@ -269,6 +263,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -338,6 +338,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/treetitle/show.tpl.php b/themes/default/pages/html/treetitle/show.tpl.php
@@ -26,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_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; $attr2_rowclasses='odd,even'; ?><?php
+<?php unset($attr1_class); ?><?php $attr2_width='100%'; $attr2_space='0'; $attr2_padding='5'; ?><?php
$coloumn_widths=array();
$row_classes = array('');
$column_classes= array('');
@@ -54,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_width);unset($attr2_space);unset($attr2_padding);unset($attr2_rowclasses); ?><?php $attr3_true=! @$conf['interface']['application_mode']; ?><?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); ?><?php $attr3_true=! @$conf['interface']['application_mode']; ?><?php
if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
$attr3_tmp_exec = $$attr3_true == true;
else
@@ -64,16 +64,10 @@
{
?>
<?php unset($attr3_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($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='menu'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='menu'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -156,6 +150,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -226,6 +226,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -268,16 +274,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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='subaction'; ?><?php
+ $attr3_tmp_class='';
+ $attr3_last_class = $attr3_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr3_tmp_class));
+?><?php ?><?php $attr4_class='subaction'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -372,6 +372,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -438,6 +444,12 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -504,6 +516,12 @@ unset($attr5_tmp_last_exec) ?><?php ?><?php $attr6_class='text'; $attr6_raw='
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
diff --git a/themes/default/pages/html/user/add.tpl.php b/themes/default/pages/html/user/add.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:"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 $attr3 = array('name'=>'GLOBAL_USERS','icon'=>'user','width'=>'70%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_USERS' ?><?php $attr3_icon='user' ?><?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='GLOBAL_USERS'; $attr3_icon='user'; $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_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,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: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 ?><?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) {
+?><?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: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())
@@ -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/user/edit.tpl.php b/themes/default/pages/html/user/edit.tpl.php
@@ -141,11 +141,11 @@
<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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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 } ?>
@@ -161,18 +161,12 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
+ <table cellspacing="0" width="100%" cellpadding="4">
<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -213,6 +207,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -279,16 +279,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -306,16 +300,10 @@ 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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -356,6 +344,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -414,7 +408,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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') {
@@ -431,16 +425,10 @@ if ($attr6_readonly) {
{
?>
<?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 ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -481,6 +469,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -539,7 +533,7 @@ 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;
+?>><?php ?><?php $attr7_class='text'; $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') {
@@ -547,16 +541,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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 ?></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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -597,6 +585,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -655,7 +649,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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') {
@@ -663,16 +657,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -713,6 +701,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -771,7 +765,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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') {
@@ -779,16 +773,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -806,16 +794,10 @@ 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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -855,7 +837,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr6_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr6_name ?>" value="1" /><?php
@@ -884,6 +866,12 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -926,16 +914,10 @@ if ( $attr6_readonly && $checked )
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -976,6 +958,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1034,7 +1022,7 @@ 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;
+?>><?php ?><?php $attr6_class='text'; $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') {
@@ -1042,16 +1030,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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 ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1092,6 +1074,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1204,16 +1192,10 @@ if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" va
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_class='act'; $attr5_colspan='2'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/user/groups.tpl.php b/themes/default/pages/html/user/groups.tpl.php
@@ -181,17 +181,18 @@
}
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
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php $attr5_class='data'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_tmp_class_list = explode(',',$attr5_classes);
+ $last_pos = array_search($attr5_last_class,$attr5_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr5_tmp_class_list)-1)
+ $attr5_tmp_class = $attr5_tmp_class_list[0];
+ else
+ $attr5_tmp_class = $attr5_tmp_class_list[++$last_pos];
+ $attr5_tmp_class=$attr5_class;
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php unset($attr5_class); ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -214,7 +215,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
$checked = $$attr7_name;
else
$checked = $attr7_default;
-?><input type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr7_name ?>" name="<?php echo $attr7_name ?>" <?php if ($attr7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
if ( $attr7_readonly && $checked )
{
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
@@ -263,6 +264,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -305,16 +312,10 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
echo $tmp_text;
unset($tmp_text);
?></<?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;
- $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php ?><?php $attr5_class='act'; $attr5_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
diff --git a/themes/default/pages/html/user/listing.tpl.php b/themes/default/pages/html/user/listing.tpl.php
@@ -1,576 +1,607 @@
-<?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 $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>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
+ </tr>
+<?php } ?>
+ <tr class="<?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 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 $attr4_class='data'; ?><?php
+ $attr4_tmp_class='';
+ $attr4_tmp_class_list = explode(',',$attr4_classes);
+ $last_pos = array_search($attr4_last_class,$attr4_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr4_tmp_class_list)-1)
+ $attr4_tmp_class = $attr4_tmp_class_list[0];
+ else
+ $attr4_tmp_class = $attr4_tmp_class_list[++$last_pos];
+ $attr4_tmp_class=$attr4_class;
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
+?><?php unset($attr4_class); ?><?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='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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 } ?>
<?php ?><?php ?></body>
</html><?php ?>
\ No newline at end of file
diff --git a/themes/default/pages/html/user/remove.tpl.php b/themes/default/pages/html/user/remove.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_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) { ?>
@@ -26,24 +26,29 @@
<?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->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) ?><?php unset($attr2_name) ?><?php unset($attr2_target) ?><?php unset($attr2_method) ?><?php unset($attr2_enctype) ?><?php $attr3_debug_info = 'a:4:{s:4:"name";s:11:"GLOBAL_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'=>'GLOBAL_USER','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_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='GLOBAL_USER'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -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->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">'.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,41 +113,41 @@
$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'] ?>
- </td>
+ <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
+ </th>
</tr>
<?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
+ <tr class="<?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,36 +161,34 @@
<?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:1:{s:5:"class";s:2:"fx";}' ?><?php $attr5 = array('class'=>'fx') ?><?php $attr5_class='fx' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr3_name);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?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))
$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';
@@ -199,38 +207,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -241,26 +254,29 @@
}
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 ?><?php
$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:"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 ?><?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))
- if (!empty($attr6_key))
- $attr6_title = lang($attr6_key.'_HELP');
- else
$attr6_title = '';
if (empty($attr6_type))
$tmp_tag = 'span';
@@ -279,38 +295,43 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -321,57 +342,61 @@
}
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: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_var);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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 unset($attr5_class) ?><?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
+ $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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:7:"default";s:5:"false";s:8:"readonly";s:5:"false";s:4:"name";s:7:"confirm";}' ?><?php $attr6 = array('default'=>false,'readonly'=>false,'name'=>'confirm') ?><?php $attr6_default=false ?><?php $attr6_readonly=false ?><?php $attr6_name='confirm' ?><?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_default=false; $attr6_readonly=false; $attr6_name='confirm'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$checked = $$attr6_name;
else
$checked = $attr6_default;
-?><input type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
+?><input class="checkbox" type="checkbox" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" <?php if ($attr6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php
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:7:"confirm";}' ?><?php $attr6 = array('for'=>'confirm') ?><?php $attr6_for='confirm' ?><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:6:"delete";s:6:"escape";s:4:"true";}' ?><?php $attr7 = array('class'=>'text','text'=>'delete','escape'=>true) ?><?php $attr7_class='text' ?><?php $attr7_text='delete' ?><?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='confirm'; ?><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='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))
$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';
@@ -390,38 +415,43 @@ if ( $attr6_readonly && $checked )
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 = 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))
@@ -432,35 +462,41 @@ 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
- $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
+?></<?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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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())
+ $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_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -472,12 +508,12 @@ 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 $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/rights.tpl.php b/themes/default/pages/html/user/rights.tpl.php
@@ -1,1212 +1,1255 @@
-<?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 $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
+ $attr4_tmp_class='';
+ $attr4_last_class = $attr4_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr4_tmp_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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 $attr5_class='data'; ?><?php
+ $attr5_tmp_class='';
+ $attr5_tmp_class_list = explode(',',$attr5_classes);
+ $last_pos = array_search($attr5_last_class,$attr5_tmp_class_list);
+ if ( $last_pos === FALSE || $last_pos == count($attr5_tmp_class_list)-1)
+ $attr5_tmp_class = $attr5_tmp_class_list[0];
+ else
+ $attr5_tmp_class = $attr5_tmp_class_list[++$last_pos];
+ $attr5_tmp_class=$attr5_class;
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php unset($attr5_class); ?><?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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ 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 class="checkbox" 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 } ?>
<?php ?><?php ?></body>
</html><?php ?>
\ No newline at end of file