commit b8f884bdd1bcd232bf3e1f7dd092a9c6b1b3e41f
parent dbc1978c38bec8a360ffe463c865e8574679fdd3
Author: dankert <devnull@localhost>
Date: Tue, 21 Apr 2009 01:42:46 +0200
Umwandlung aller Templates.
Diffstat:
61 files changed, 5132 insertions(+), 29335 deletions(-)
diff --git a/themes/default/pages/html/empty/blank.tpl.php b/themes/default/pages/html/empty/blank.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
diff --git a/themes/default/pages/html/empty/border.tpl.php b/themes/default/pages/html/empty/border.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
diff --git a/themes/default/pages/html/folder/create.tpl.php b/themes/default/pages/html/folder/create.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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='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->isEditMode())
$attr2_subaction = $subActionName;
@@ -178,11 +175,7 @@
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 }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -199,12 +192,7 @@ 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_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
+?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='folder'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; $attr6_children='folder_name'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
@@ -212,7 +200,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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);unset($attr6_children); ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -224,80 +213,13 @@ 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?><?php
@@ -312,11 +234,6 @@ 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_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='';
@@ -340,11 +257,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -361,12 +274,7 @@ 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_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
+?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='file'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; $attr6_children='file'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
@@ -374,7 +282,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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);unset($attr6_children); ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -386,80 +295,13 @@ 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?><?php
@@ -474,222 +316,28 @@ 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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -708,11 +356,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -729,12 +373,7 @@ 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_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
+?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='page'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; $attr6_children='page_templateid,page_name'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
@@ -742,7 +381,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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);unset($attr6_children); ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -754,80 +394,13 @@ 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?><?php
@@ -842,11 +415,6 @@ 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_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->isEditMode())
@@ -916,11 +484,6 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
@@ -933,80 +496,13 @@ 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?><?php
@@ -1021,11 +517,6 @@ 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_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='';
@@ -1049,11 +540,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -1070,12 +557,7 @@ 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_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
+?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='link'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; $attr6_children='link_name'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
$attr6_tmp_default = $$attr6_name;
@@ -1083,7 +565,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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);unset($attr6_children); ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -1095,80 +578,13 @@ 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?><?php
@@ -1183,12 +599,14 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
-?>><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+?>><?php ?><?php $attr6_class='name'; $attr6_default=''; $attr6_type='text'; $attr6_name='link_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_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));
@@ -1204,22 +622,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/createfile.tpl.php b/themes/default/pages/html/folder/createfile.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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='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->isEditMode())
$attr2_subaction = $subActionName;
@@ -185,80 +182,13 @@ else
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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -273,11 +203,6 @@ 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_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;
@@ -294,222 +219,29 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -528,80 +260,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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -616,11 +280,6 @@ 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_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='';
@@ -644,11 +303,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -665,80 +320,13 @@ 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_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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -753,11 +341,6 @@ 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_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='';
@@ -781,80 +364,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -869,11 +385,6 @@ 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_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
@@ -894,22 +405,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/createfolder.tpl.php b/themes/default/pages/html/folder/createfolder.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -141,11 +138,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 +158,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 ?><?php
$attr4_tmp_class='';
$attr4_last_class = $attr4_tmp_class;
@@ -178,80 +175,13 @@
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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_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='';
@@ -294,80 +219,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -382,11 +240,6 @@ 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_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
@@ -407,22 +260,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/createlink.tpl.php b/themes/default/pages/html/folder/createlink.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -141,11 +138,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 +158,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 ?><?php
$attr4_tmp_class='';
$attr4_last_class = $attr4_tmp_class;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_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='';
@@ -294,80 +219,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -382,11 +240,6 @@ 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_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
@@ -407,22 +260,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/createpage.tpl.php b/themes/default/pages/html/folder/createpage.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_TEMPLATE'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_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())
@@ -340,80 +265,13 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -428,11 +286,6 @@ 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_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='';
@@ -456,80 +309,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -544,11 +330,6 @@ 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_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
@@ -569,22 +350,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/edit.tpl.php b/themes/default/pages/html/folder/edit.tpl.php
@@ -4,34 +4,29 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_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;
@@ -192,80 +187,13 @@ else
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 }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr5_class='help'; ?><?php
@@ -280,80 +208,14 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_list='objectlist'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?><?php
@@ -391,15 +253,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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=$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
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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;
@@ -411,151 +268,20 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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='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))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='folder'; ?><?php
@@ -580,151 +306,21 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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_list='folder'; $attr7_name='targetobjectid'; $attr7_onchange=''; $attr7_title=''; $attr7_class=''; $attr7_addempty=false; $attr7_multiple=false; $attr7_size='1'; $attr7_lang=false; ?><?php
@@ -802,11 +398,7 @@ if (count($$attr7_list)==1) echo '<input type="hidden" name="'.$attr7_name.'" va
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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='';
@@ -836,11 +428,7 @@ if ($attr7_readonly) {
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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;
@@ -857,11 +445,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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) )
@@ -874,145 +458,19 @@ 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_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))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_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))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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 ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
@@ -1031,22 +489,12 @@ if ( $attr7_readonly && $checked )
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 }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/order.tpl.php b/themes/default/pages/html/folder/order.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -156,80 +156,15 @@
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 }
+?> class="<?php echo $attr4_class ?>" <?php
+?> colspan="<?php echo $attr4_colspan ?>" <?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))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr5_text);
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
@@ -248,100 +183,18 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr4_class ?>" <?php
+?> colspan="<?php echo $attr4_colspan ?>" <?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;
- if (!empty($attr5_var2) && isset($attr5_value2))
- $params[$attr5_var2]=$attr5_value2;
- if (!empty($attr5_var3) && isset($attr5_value3))
- $params[$attr5_var3]=$attr5_value3;
- if (!empty($attr5_var4) && isset($attr5_value4))
- $params[$attr5_var4]=$attr5_value4;
- if (!empty($attr5_var5) && isset($attr5_value5))
- $params[$attr5_var5]=$attr5_value5;
- if(empty($attr5_class))
- $attr5_class='';
- if(empty($attr5_title))
- $attr5_title = '';
- if(!empty($attr5_url))
$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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -356,262 +209,37 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr4_class ?>" <?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;
- if (!empty($attr5_var2) && isset($attr5_value2))
- $params[$attr5_var2]=$attr5_value2;
- if (!empty($attr5_var3) && isset($attr5_value3))
- $params[$attr5_var3]=$attr5_value3;
- if (!empty($attr5_var4) && isset($attr5_value4))
- $params[$attr5_var4]=$attr5_value4;
- if (!empty($attr5_var5) && isset($attr5_value5))
- $params[$attr5_var5]=$attr5_value5;
- if(empty($attr5_class))
- $attr5_class='';
- if(empty($attr5_title))
- $attr5_title = '';
- if(!empty($attr5_url))
$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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?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))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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 $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;
- if (!empty($attr5_var2) && isset($attr5_value2))
- $params[$attr5_var2]=$attr5_value2;
- if (!empty($attr5_var3) && isset($attr5_value3))
- $params[$attr5_var3]=$attr5_value3;
- if (!empty($attr5_var4) && isset($attr5_value4))
- $params[$attr5_var4]=$attr5_value4;
- if (!empty($attr5_var5) && isset($attr5_value5))
- $params[$attr5_var5]=$attr5_value5;
- if(empty($attr5_class))
- $attr5_class='';
- if(empty($attr5_title))
- $attr5_title = '';
- if(!empty($attr5_url))
$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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -626,100 +254,17 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr4_class ?>" <?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;
- if (!empty($attr5_var2) && isset($attr5_value2))
- $params[$attr5_var2]=$attr5_value2;
- if (!empty($attr5_var3) && isset($attr5_value3))
- $params[$attr5_var3]=$attr5_value3;
- if (!empty($attr5_var4) && isset($attr5_value4))
- $params[$attr5_var4]=$attr5_value4;
- if (!empty($attr5_var5) && isset($attr5_value5))
- $params[$attr5_var5]=$attr5_value5;
- if(empty($attr5_class))
- $attr5_class='';
- if(empty($attr5_title))
- $attr5_title = '';
- if(!empty($attr5_url))
$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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -764,11 +309,7 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?php
?>><?php unset($attr5_width); ?><?php $attr6_present='upurl'; ?><?php
$attr6_tmp_exec = isset($$attr6_present);
$attr6_tmp_last_exec = $attr6_tmp_exec;
@@ -777,35 +318,16 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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;
- 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_var='bild'; $attr8_value='arrow_up'; ?><?php
- if (!isset($attr8_value))
- unset($$attr8_var);
- elseif (isset($attr8_key))
+ if (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
?><?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
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" 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) )
@@ -819,74 +341,11 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 $attr5_width='3%'; ?><?php
@@ -901,11 +360,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?php
?>><?php unset($attr5_width); ?><?php $attr6_present='topurl'; ?><?php
$attr6_tmp_exec = isset($$attr6_present);
$attr6_tmp_last_exec = $attr6_tmp_exec;
@@ -914,35 +369,16 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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;
- 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_var='bild'; $attr8_value='arrow_top'; ?><?php
- if (!isset($attr8_value))
- unset($$attr8_var);
- elseif (isset($attr8_key))
+ if (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
?><?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
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" 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) )
@@ -956,74 +392,11 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 $attr5_width='3%'; ?><?php
@@ -1038,11 +411,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?php
?>><?php unset($attr5_width); ?><?php $attr6_present='bottomurl'; ?><?php
$attr6_tmp_exec = isset($$attr6_present);
$attr6_tmp_last_exec = $attr6_tmp_exec;
@@ -1051,35 +420,16 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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;
- 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_var='bild'; $attr8_value='arrow_bottom'; ?><?php
- if (!isset($attr8_value))
- unset($$attr8_var);
- elseif (isset($attr8_key))
+ if (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
?><?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
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" 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) )
@@ -1093,74 +443,11 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 $attr5_width='3%'; ?><?php
@@ -1175,11 +462,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?php
?>><?php unset($attr5_width); ?><?php $attr6_present='downurl'; ?><?php
$attr6_tmp_exec = isset($$attr6_present);
$attr6_tmp_last_exec = $attr6_tmp_exec;
@@ -1188,35 +471,16 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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;
- 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_var='bild'; $attr8_value='arrow_down'; ?><?php
- if (!isset($attr8_value))
- unset($$attr8_var);
- elseif (isset($attr8_key))
+ if (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
?><?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
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" 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) )
@@ -1230,74 +494,11 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 $attr5_width='40%'; ?><?php
@@ -1312,83 +513,16 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+?><img alt="<?php echo basename($attr6_tmp_image_file); echo ' ('; if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo $attr6_tmp_width.'x'.$attr6_tmp_height; echo')';} ?>" 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
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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_width='18%'; ?><?php
@@ -1403,11 +537,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?php
?>><?php unset($attr5_width); ?><?php $attr6_date=$date; ?><?php
global $conf;
$time = $attr6_date;
diff --git a/themes/default/pages/html/folder/prop.tpl.php b/themes/default/pages/html/folder/prop.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='name'; ?><?php
@@ -266,11 +196,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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='';
@@ -294,80 +220,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -382,11 +241,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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='';
@@ -410,80 +265,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -498,11 +286,6 @@ 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_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
@@ -523,11 +306,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -553,80 +332,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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
@@ -641,80 +352,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?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))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -733,80 +378,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -821,80 +398,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_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))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -913,11 +422,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -934,80 +439,13 @@ 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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -1022,39 +460,13 @@ 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_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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -1071,15 +483,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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)
@@ -1147,15 +554,10 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
@@ -1184,80 +586,13 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -1272,39 +607,13 @@ 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_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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -1321,15 +630,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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)
@@ -1397,15 +701,10 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
@@ -1434,22 +733,12 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/pub.tpl.php b/themes/default/pages/html/folder/pub.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,11 +175,6 @@
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='pages'; ?><?php
$attr6_tmp_exec = isset($$attr6_present);
$attr6_tmp_last_exec = $attr6_tmp_exec;
@@ -207,145 +199,20 @@ 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='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))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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_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))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr9_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -375,145 +242,20 @@ 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='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))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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_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))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr9_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -532,11 +274,6 @@ if ( $attr8_readonly && $checked )
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=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;
@@ -553,11 +290,6 @@ 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_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;
@@ -576,145 +308,20 @@ if ( $attr7_readonly && $checked )
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -735,145 +342,20 @@ if ( $attr7_readonly && $checked )
?><input type="hidden" name="<?php echo $attr7_name ?>" value="1" /><?php
}
?><?php unset($attr7_name); unset($attr7_readonly); unset($attr7_default); ?><?php unset($attr7_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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -892,80 +374,14 @@ if ( $attr7_readonly && $checked )
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 }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -984,22 +400,11 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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())
$attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
+ $attr6_type = 'submit';
$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>
diff --git a/themes/default/pages/html/folder/select.tpl.php b/themes/default/pages/html/folder/select.tpl.php
@@ -4,34 +4,29 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_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->isEditMode())
$attr2_subaction = $subActionName;
@@ -178,80 +173,13 @@
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 }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr5_class='help'; ?><?php
@@ -266,222 +194,31 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_list='object'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?><?php
@@ -526,11 +263,6 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
$attr6_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
-if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
-if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
-if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
-if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
?>><?php ?><?php $attr7_true='writable'; ?><?php
if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
$attr7_tmp_exec = $$attr7_true == true;
@@ -561,74 +293,11 @@ if ( $attr8_readonly && $checked )
{
?>
<?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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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 ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?><?php
@@ -643,154 +312,23 @@ if ( $attr8_readonly && $checked )
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_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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" 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
+ $attr8_title = '';
$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);
- }
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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 ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
@@ -809,497 +347,64 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+?><img alt="<?php echo basename($attr6_tmp_image_file); echo ' ('; if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo $attr6_tmp_width.'x'.$attr6_tmp_height; echo')';} ?>" 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
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
@@ -1318,11 +423,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -1350,146 +451,22 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr7_tmp_default = $attr7_default;
else
$attr7_tmp_default = '';
- ?><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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ ?><input onclick="<?php echo $attr7_name.'_'.$attr7_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_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))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_prefix);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
@@ -1508,22 +485,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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())
$attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
+ $attr6_type = 'submit';
$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 $attr4_empty='object'; ?><?php
@@ -1555,80 +522,14 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?> </table>
@@ -1644,6 +545,18 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
<?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>
+<?php ?><?php $attr2_script='mark'; $attr2_inline=true; ?><?php
+$attr2_tmp_file = $tpl_dir.'../../js/'.basename($attr2_script).'.js';
+if (!$attr2_inline)
+{
+ ?><script src="<?php echo $attr2_tmp_file ?>" type="text/javascript"></script><?php
+}
+else
+{
+ echo '<script type="text/javascript">';
+ echo str_replace(' ',' ',str_replace('~','',strtr(implode('',file($attr2_tmp_file)),"\t\n\b",'~~~')));
+ echo '</script>';
+}
+?>
+<?php unset($attr2_script);unset($attr2_inline); ?><?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
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -162,103 +162,20 @@
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 }
+?> width="<?php echo $attr5_width ?>"<?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
- 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='folder'; ?><?php
$attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
$attr7_size = '16x16';
-?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_raw='__.._____________'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_raw='__.._____________'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
@@ -277,222 +194,31 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_text='GLOBAL_TYPE'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr5_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php $attr5_class='text'; $attr5_raw='_/_'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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 $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))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr5_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='help'; ?><?php
@@ -507,80 +233,14 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_text='GLOBAL_LASTCHANGE'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr5_text);
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 $attr3_list='object'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
@@ -625,174 +285,26 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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;
- 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=$icon; ?><?php
$attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
$attr7_size = '16x16';
-?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></a><?php ?><?php ?></td><?php ?><?php ?><?php
@@ -807,11 +319,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_date=$date; ?><?php
global $conf;
$time = $attr6_date;
@@ -897,80 +404,14 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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 ?> </table>
diff --git a/themes/default/pages/html/group/listing.tpl.php b/themes/default/pages/html/group/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_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;
@@ -182,103 +182,18 @@
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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
diff --git a/themes/default/pages/html/index/projectmenu.tpl.php b/themes/default/pages/html/index/projectmenu.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -156,11 +156,8 @@
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 }
+?> class="<?php echo $attr4_class ?>" <?php
+?> colspan="<?php echo $attr4_colspan ?>" <?php
?>><?php unset($attr4_class);unset($attr4_colspan); ?><?php $attr5_name='projectmenu'; ?><img src="<?php echo $image_dir.'logo_'.$attr5_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo langHtml('logo_'.$attr5_name) ?></h2><p class="logo"><?php echo langHtml('logo_'.$attr5_name.'_text') ?></p><?php unset($attr5_name); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr3_list='projects'; $attr3_extract=true; $attr3_key='list_key'; $attr3_value='list_value'; ?><?php
$attr3_list_tmp_key = $attr3_key;
$attr3_list_tmp_value = $attr3_value;
@@ -196,11 +193,7 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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
$attr4_tmp_class='';
$attr4_last_class = $attr4_tmp_class;
@@ -217,110 +210,23 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_title=lang('TREE_CHOOSE_PROJECT'); $attr6_target='_self'; $attr6_url=$url; $attr6_class=''; ?><?php
$params = array();
- if (!empty($attr6_var1) && isset($attr6_value1))
- $params[$attr6_var1]=$attr6_value1;
- 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_var='project'; $attr7_value='project'; ?><?php
- if (!isset($attr7_value))
- unset($$attr7_var);
- elseif (isset($attr7_key))
+ if (isset($attr7_key))
$$attr7_var = $attr7_value[$attr7_key];
else
$$attr7_var = $attr7_value;
?><?php unset($attr7_var);unset($attr7_value); ?><?php $attr7_align='left'; $attr7_type='project'; ?><?php
$attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
$attr7_size = '16x16';
-?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -335,18 +241,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_action='index'; $attr6_subaction='project'; $attr6_id=$id; $attr6_name=''; $attr6_target='_self'; $attr6_method='post'; $attr6_enctype='application/x-www-form-urlencoded'; ?><?php
- if (empty($attr6_action))
- $attr6_action = $actionName;
- if (empty($attr6_subaction))
- $attr6_subaction = $targetSubActionName;
- if (empty($attr6_id))
- $attr6_id = $this->getRequestId();
if ($this->isEditable() && !$this->isEditMode())
$attr6_subaction = $subActionName;
?><form name="<?php echo $attr6_name ?>"
@@ -363,33 +258,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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'; ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr7_class))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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_width);unset($attr7_space);unset($attr7_padding);unset($attr7_widths); ?><?php ?><?php
$attr8_tmp_class='';
$attr8_last_class = $attr8_tmp_class;
@@ -406,11 +280,6 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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_list='models'; $attr10_name='modelid'; $attr10_default=$defaultmodelid; $attr10_onchange=''; $attr10_title=''; $attr10_class=''; ?><?php $attr10_tmp_list = $$attr10_list;
if ( isset($$attr10_name) && isset($attr10_tmp_list[$$attr10_name]) )
$attr10_tmp_default = $$attr10_name;
@@ -438,11 +307,6 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
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_list='languages'; $attr10_name='languageid'; $attr10_default=$defaultlanguageid; $attr10_onchange=''; $attr10_title=''; $attr10_class=''; ?><?php $attr10_tmp_list = $$attr10_list;
if ( isset($$attr10_name) && isset($attr10_tmp_list[$$attr10_name]) )
$attr10_tmp_default = $$attr10_name;
@@ -470,22 +334,10 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
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_type='ok'; $attr10_class='ok'; $attr10_value='ok'; $attr10_text='button_ok'; ?><?php
- if ($attr10_type=='ok')
- {
if ($this->isEditable() && !$this->isEditMode())
$attr10_text = 'MODE_EDIT';
- }
- if ($attr10_type=='ok')
- $attr10_type = 'submit';
- if (isset($attr10_src))
- $attr10_type = 'image';
- else
+ $attr10_type = 'submit';
$attr10_src = '';
?><input type="<?php echo $attr10_type ?>"<?php if(isset($attr10_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr10_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr10_value ?>" class="<?php echo $attr10_class ?>" title="<?php echo lang($attr10_text.'_DESC') ?>" value=" <?php echo langHtml($attr10_text) ?> " /><?php unset($attr10_src) ?><?php
?><?php unset($attr10_type);unset($attr10_class);unset($attr10_value);unset($attr10_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></form>
diff --git a/themes/default/pages/html/index/show.tpl.php b/themes/default/pages/html/index/show.tpl.php
@@ -1,20 +1,23 @@
-<?php ?><html>
+<?php ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
+<html>
<head>
<title><?php echo @$title ?> - <?php echo $cms_title ?></title>
- <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" />
+ <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" >
<?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
+ <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
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" ><?php
}
?>
- <meta name="robots" content="noindex,nofollow" />
+ <meta name="robots" content="noindex,nofollow" >
</head>
<?php ?><?php $attr2_true=@$conf['interface']['application_mode']; ?><?php
if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
@@ -26,17 +29,13 @@
{
?>
<?php unset($attr2_true); ?><?php $attr3_var='menuheight'; $attr3_value='24'; ?><?php
- if (!isset($attr3_value))
- unset($$attr3_var);
- elseif (isset($attr3_key))
+ if (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
<?php ?><?php $attr3_var='menuheight'; $attr3_value='54'; ?><?php
- if (!isset($attr3_value))
- unset($$attr3_var);
- elseif (isset($attr3_key))
+ if (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
@@ -51,14 +50,11 @@ unset($attr1_tmp_last_exec) ?><?php ?><?php $attr2_true=@$conf['interface']['a
{
?>
<?php unset($attr2_true); ?><?php $attr3_rows='*'; ?><frameset
-<?php echo !empty($attr3_rows) ?' rows="'.$attr3_rows.'"':'' ?>
-<?php echo !empty($attr3_columns)?' cols="'.$attr3_columns.'"':'' ?>
+<?php echo ' rows="'.$attr3_rows.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr3_rows); ?><?php $attr4_columns='25%,*'; ?><frameset
-<?php echo !empty($attr4_rows) ?' rows="'.$attr4_rows.'"':'' ?>
-<?php echo !empty($attr4_columns)?' cols="'.$attr4_columns.'"':'' ?>
+<?php echo ' cols="'.$attr4_columns.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr4_columns); ?><?php $attr5_rows=''.$menuheight.',*'; ?><frameset
-<?php echo !empty($attr5_rows) ?' rows="'.$attr5_rows.'"':'' ?>
-<?php echo !empty($attr5_columns)?' cols="'.$attr5_columns.'"':'' ?>
+<?php echo ' rows="'.$attr5_rows.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr5_rows); ?><?php $attr6_file=$frame_src_tree_title; $attr6_name='cms_treemenu'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
<?php unset($attr6_file);unset($attr6_name); ?><?php $attr6_file=$frame_src_tree; $attr6_name='cms_tree'; $attr6_scrolling='auto'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
<?php unset($attr6_file);unset($attr6_name);unset($attr6_scrolling); ?><?php ?></frameset>
@@ -67,8 +63,7 @@ unset($attr1_tmp_last_exec) ?><?php ?><?php $attr2_true=@$conf['interface']['a
<?php ?><?php ?></frameset>
<?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
<?php ?><?php $attr3_rows='23,3,*'; ?><frameset
-<?php echo !empty($attr3_rows) ?' rows="'.$attr3_rows.'"':'' ?>
-<?php echo !empty($attr3_columns)?' cols="'.$attr3_columns.'"':'' ?>
+<?php echo ' rows="'.$attr3_rows.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr3_rows); ?><?php $attr4_file=$frame_src_title; $attr4_name='cms_title'; ?><frame src="<?php echo $attr4_file ?>" name="<?php echo empty($attr4_name)?'':$attr4_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr4_scrolling)?'no':$attr4_scrolling ?>">
<?php unset($attr4_file);unset($attr4_name); ?><?php $attr4_file=$frame_src_border; ?><frame src="<?php echo $attr4_file ?>" name="<?php echo empty($attr4_name)?'':$attr4_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr4_scrolling)?'no':$attr4_scrolling ?>">
<?php unset($attr4_file); ?><?php $attr4_true=@$conf['interface']['application_mode']; ?><?php
@@ -81,27 +76,21 @@ unset($attr1_tmp_last_exec) ?><?php ?><?php $attr2_true=@$conf['interface']['a
{
?>
<?php unset($attr4_true); ?><?php $attr5_var='menuheight'; $attr5_value='24'; ?><?php
- if (!isset($attr5_value))
- unset($$attr5_var);
- elseif (isset($attr5_key))
+ if (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
?><?php unset($attr5_var);unset($attr5_value); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr4_tmp_last_exec) { ?>
<?php ?><?php $attr5_var='menuheight'; $attr5_value='54'; ?><?php
- if (!isset($attr5_value))
- unset($$attr5_var);
- elseif (isset($attr5_key))
+ if (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
?><?php unset($attr5_var);unset($attr5_value); ?><?php ?><?php }
unset($attr3_tmp_last_exec) ?><?php ?><?php $attr4_columns='25%,*'; ?><frameset
-<?php echo !empty($attr4_rows) ?' rows="'.$attr4_rows.'"':'' ?>
-<?php echo !empty($attr4_columns)?' cols="'.$attr4_columns.'"':'' ?>
+<?php echo ' cols="'.$attr4_columns.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr4_columns); ?><?php $attr5_rows=''.$menuheight.',*'; ?><frameset
-<?php echo !empty($attr5_rows) ?' rows="'.$attr5_rows.'"':'' ?>
-<?php echo !empty($attr5_columns)?' cols="'.$attr5_columns.'"':'' ?>
+<?php echo ' rows="'.$attr5_rows.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr5_rows); ?><?php $attr6_file=$frame_src_tree_title; $attr6_name='cms_treemenu'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
<?php unset($attr6_file);unset($attr6_name); ?><?php $attr6_file=$frame_src_tree; $attr6_name='cms_tree'; $attr6_scrolling='auto'; ?><frame src="<?php echo $attr6_file ?>" name="<?php echo empty($attr6_name)?'':$attr6_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr6_scrolling)?'no':$attr6_scrolling ?>">
<?php unset($attr6_file);unset($attr6_name);unset($attr6_scrolling); ?><?php ?></frameset>
diff --git a/themes/default/pages/html/index/showlogin.tpl.php b/themes/default/pages/html/index/showlogin.tpl.php
@@ -4,34 +4,29 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_action='index'; $attr2_subaction='login'; $attr2_name=''; $attr2_target='_top'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
$attr2_id = $this->getRequestId();
if ($this->isEditable() && !$this->isEditMode())
$attr2_subaction = $subActionName;
@@ -193,11 +188,7 @@
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?php
?>><?php unset($attr7_colspan); ?><?php $attr8_present=@$conf['login']['logo']['url']; ?><?php
$attr8_tmp_exec = isset($$attr8_present);
$attr8_tmp_last_exec = $attr8_tmp_exec;
@@ -206,27 +197,10 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
?>
<?php unset($attr8_present); ?><?php $attr9_title=''; $attr9_target='_top'; $attr9_url=@$conf['login']['logo']['url']; $attr9_class=''; ?><?php
$params = array();
- if (!empty($attr9_var1) && isset($attr9_value1))
- $params[$attr9_var1]=$attr9_value1;
- if (!empty($attr9_var2) && isset($attr9_value2))
- $params[$attr9_var2]=$attr9_value2;
- if (!empty($attr9_var3) && isset($attr9_value3))
- $params[$attr9_var3]=$attr9_value3;
- if (!empty($attr9_var4) && isset($attr9_value4))
- $params[$attr9_var4]=$attr9_value4;
- if (!empty($attr9_var5) && isset($attr9_value5))
- $params[$attr9_var5]=$attr9_value5;
- if(empty($attr9_class))
- $attr9_class='';
- if(empty($attr9_title))
- $attr9_title = '';
- if(!empty($attr9_url))
$tmp_url = $attr9_url;
- else
- $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_url=@$conf['login']['logo']['file']; $attr10_align='left'; ?><?php
$attr10_tmp_image_file = $attr10_url;
-?><img src="<?php echo $attr10_tmp_image_file ?>" border="0"<?php if(isset($attr10_align)) echo ' align="'.$attr10_align.'"' ?><?php if (isset($attr10_size)) { list($attr10_tmp_width,$attr10_tmp_height)=explode('x',$attr10_size);echo ' width="'.$attr10_tmp_width.'" height="'.$attr10_tmp_height.'"';} ?>><?php unset($attr10_url);unset($attr10_align); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr8_empty=@$conf['login']['logo']['url']; ?><?php
+?><img alt="<?php echo basename($attr10_tmp_image_file); echo ' ('; if (isset($attr10_size)) { list($attr10_tmp_width,$attr10_tmp_height)=explode('x',$attr10_size);echo $attr10_tmp_width.'x'.$attr10_tmp_height; echo')';} ?>" src="<?php echo $attr10_tmp_image_file ?>" border="0"<?php if(isset($attr10_align)) echo ' align="'.$attr10_align.'"' ?><?php if (isset($attr10_size)) { list($attr10_tmp_width,$attr10_tmp_height)=explode('x',$attr10_size);echo ' width="'.$attr10_tmp_width.'" height="'.$attr10_tmp_height.'"';} ?>><?php unset($attr10_url);unset($attr10_align); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr8_empty=@$conf['login']['logo']['url']; ?><?php
if ( !isset($$attr8_empty) )
$attr8_tmp_exec = empty($attr8_empty);
elseif ( is_array($$attr8_empty) )
@@ -241,13 +215,21 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
?>
<?php unset($attr8_empty); ?><?php $attr9_url=@$conf['login']['logo']['file']; $attr9_align='left'; ?><?php
$attr9_tmp_image_file = $attr9_url;
-?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_url);unset($attr9_align); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present=@$conf['login']['motd']; ?><?php
- $attr4_tmp_exec = isset($$attr4_present);
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_url);unset($attr9_align); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php $attr4_not=''; $attr4_empty=@$conf['login']['motd']; ?><?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_exec = !$attr4_tmp_exec;
$attr4_tmp_last_exec = $attr4_tmp_exec;
if ( $attr4_tmp_exec )
{
?>
-<?php unset($attr4_present); ?><?php ?><?php
+<?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));
@@ -263,80 +245,14 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_raw=@$conf['login']['motd']; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=@$conf['login']['nologin']; ?><?php
@@ -364,80 +280,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_key='LOGIN_NOLOGIN_DESC'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=@$conf['security']['readonly']; ?><?php
@@ -465,80 +315,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_key='GLOBAL_READONLY_DESC'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=@$conf['security']['nopublish']; ?><?php
@@ -566,80 +350,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_key='GLOBAL_NOPUBLISH_DESC'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_false=@$conf['login']['nologin']; ?><?php
@@ -667,11 +385,8 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?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
$attr5_tmp_class='';
$attr5_last_class = $attr5_tmp_class;
@@ -688,80 +403,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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='USER_USERNAME'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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
@@ -776,15 +423,9 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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_not=true; $attr7_present='force_username'; ?><?php
$attr7_tmp_exec = isset($$attr7_present);
- if ( !empty($attr7_not) )
- $attr7_tmp_exec = !$attr7_tmp_exec;
+ $attr7_tmp_exec = !$attr7_tmp_exec;
$attr7_tmp_last_exec = $attr7_tmp_exec;
if ( $attr7_tmp_exec )
{
@@ -805,74 +446,11 @@ if ($attr8_readonly) {
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 $attr8_class='text'; $attr8_value=$force_username; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_value);unset($attr8_escape); ?><?php ?><?php }
@@ -892,80 +470,12 @@ unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?></tr><?ph
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='USER_PASSWORD'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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
@@ -980,11 +490,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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_name='login_password'; $attr7_default=''; $attr7_class='name'; $attr7_size='20'; $attr7_maxlength='256'; ?><input type="password" name="<?php echo $attr7_name ?>" size="<?php echo $attr7_size ?>" maxlength="<?php echo $attr7_maxlength ?>" class="<?php echo $attr7_class ?>" value="<?php if (count($errors)==0) echo isset($$attr7_name)?$$attr7_name:$attr7_default ?>" <?php if (in_array($attr7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr7_name);unset($attr7_default);unset($attr7_class);unset($attr7_size);unset($attr7_maxlength); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr5_true=$this->mustChangePassword; ?><?php
if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
$attr5_tmp_exec = $$attr5_true == true;
@@ -1010,11 +515,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?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
$attr6_tmp_class='';
$attr6_last_class = $attr6_tmp_class;
@@ -1031,80 +532,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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='USER_NEW_PASSWORD'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -1119,11 +552,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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_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
$attr6_tmp_class='';
$attr6_last_class = $attr6_tmp_class;
@@ -1140,80 +568,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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='USER_NEW_PASSWORD_REPEAT'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -1228,11 +588,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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_name='password2'; $attr8_default=''; $attr8_class=''; $attr8_size='25'; $attr8_maxlength='256'; ?><input type="password" name="<?php echo $attr8_name ?>" size="<?php echo $attr8_size ?>" maxlength="<?php echo $attr8_maxlength ?>" class="<?php echo $attr8_class ?>" value="<?php if (count($errors)==0) echo isset($$attr8_name)?$$attr8_name:$attr8_default ?>" <?php if (in_array($attr8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php unset($attr8_name);unset($attr8_default);unset($attr8_class);unset($attr8_size);unset($attr8_maxlength); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr5_true=@$conf['security']['openid']['enable']; ?><?php
if (gettype($attr5_true) === '' && gettype($attr5_true) === '1')
$attr5_tmp_exec = $$attr5_true == true;
@@ -1258,11 +613,7 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?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
$attr6_tmp_class='';
$attr6_last_class = $attr6_tmp_class;
@@ -1279,11 +630,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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_not=true; $attr8_empty=@$conf['security']['openid']['logo_url']; ?><?php
if ( !isset($$attr8_empty) )
$attr8_tmp_exec = empty($attr8_empty);
@@ -1293,83 +639,19 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
$attr8_tmp_exec = true;
else
$attr8_tmp_exec = empty( $$attr8_empty );
- if ( !empty($attr8_not) )
- $attr8_tmp_exec = !$attr8_tmp_exec;
+ $attr8_tmp_exec = !$attr8_tmp_exec;
$attr8_tmp_last_exec = $attr8_tmp_exec;
if ( $attr8_tmp_exec )
{
?>
<?php unset($attr8_not);unset($attr8_empty); ?><?php $attr9_url=@$conf['security']['openid']['logo_url']; $attr9_align='left'; ?><?php
$attr9_tmp_image_file = $attr9_url;
-?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_url);unset($attr9_align); ?><?php ?><?php } ?><?php ?><?php $attr8_class='text'; $attr8_key='openid_user'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_url);unset($attr9_align); ?><?php ?><?php } ?><?php ?><?php $attr8_class='text'; $attr8_key='openid_user'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -1384,11 +666,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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='name'; $attr8_default=''; $attr8_type='text'; $attr8_name='openid_url'; $attr8_size='20'; $attr8_maxlength='256'; $attr8_onchange=''; $attr8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ($attr8_readonly && empty($$attr8_name)) $$attr8_name = '- '.lang('EMPTY').' -';
if(!isset($attr8_default)) $attr8_default='';
@@ -1422,11 +699,7 @@ if ($attr8_readonly) {
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 }
+?> colspan="<?php echo $attr8_colspan ?>" <?php
?>><?php unset($attr8_colspan); ?><?php $attr9_title=lang('DATABASE'); ?><fieldset><?php if(isset($attr9_title)) { ?><legend><?php echo encodeHtml($attr9_title) ?></legend><?php } ?><?php unset($attr9_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
@@ -1439,80 +712,12 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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='DATABASE'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -1527,11 +732,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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='dbids'; $attr8_name='dbid'; $attr8_default=$actdbid; $attr8_onchange=''; $attr8_title=''; $attr8_class=''; $attr8_addempty=false; $attr8_multiple=false; $attr8_size='1'; $attr8_lang=false; ?><?php
$attr8_tmp_list = $$attr8_list;
if ($this->isEditable() && !$this->isEditMode())
@@ -1608,26 +808,28 @@ else
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 }
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_type='ok'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?><?php
- if ($attr7_type=='ok')
- {
if ($this->isEditable() && !$this->isEditMode())
$attr7_text = 'MODE_EDIT';
- }
- if ($attr7_type=='ok')
- $attr7_type = 'submit';
- if (isset($attr7_src))
- $attr7_type = 'image';
- else
+ $attr7_type = 'submit';
$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 $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>
+?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php $attr7_script='screenwidth'; $attr7_inline=false; ?><?php
+$attr7_tmp_file = $tpl_dir.'../../js/'.basename($attr7_script).'.js';
+if (!$attr7_inline)
+{
+ ?><script src="<?php echo $attr7_tmp_file ?>" type="text/javascript"></script><?php
+}
+else
+{
+ echo '<script type="text/javascript">';
+ echo str_replace(' ',' ',str_replace('~','',strtr(implode('',file($attr7_tmp_file)),"\t\n\b",'~~~')));
+ echo '</script>';
+}
+?>
+<?php unset($attr7_script);unset($attr7_inline); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -1681,95 +883,15 @@ elseif ( isset($attr3_default) )
else
$attr3_tmp_value = "";
?><input type="hidden" name="<?php echo $attr3_name ?>" value="<?php echo $attr3_tmp_value ?>" /><?php unset($attr3_name); ?><?php ?></form>
-<?php ?><?php ?><br/><?php ?><?php ?><br/><?php ?><?php $attr2_title=''; $attr2_target='_top'; $attr2_url=@$conf['login']['gpl']['url']; $attr2_class=''; ?><?php
+<?php ?><?php ?><br/><?php ?><?php ?><br/><?php ?><?php $attr2_title=''; $attr2_target='_top'; $attr2_url=@$conf['login']['gpl']['url']; $attr2_class='copyright'; ?><?php
$params = array();
- if (!empty($attr2_var1) && isset($attr2_value1))
- $params[$attr2_var1]=$attr2_value1;
- if (!empty($attr2_var2) && isset($attr2_value2))
- $params[$attr2_var2]=$attr2_value2;
- if (!empty($attr2_var3) && isset($attr2_value3))
- $params[$attr2_var3]=$attr2_value3;
- if (!empty($attr2_var4) && isset($attr2_value4))
- $params[$attr2_var4]=$attr2_value4;
- if (!empty($attr2_var5) && isset($attr2_value5))
- $params[$attr2_var5]=$attr2_value5;
- if(empty($attr2_class))
- $attr2_class='';
- if(empty($attr2_title))
- $attr2_title = '';
- if(!empty($attr2_url))
$tmp_url = $attr2_url;
- else
- $tmp_url = Html::url($attr2_action,$attr2_subaction,!empty($attr2_id)?$attr2_id:$this->getRequestId(),$params);
-?><a<?php if (isset($attr2_name)) echo ' name="'.$attr2_name.'"'; else echo ' href="'.$tmp_url.($attr2_anchor?'#'.$attr2_anchor:'').'"' ?> class="<?php echo $attr2_class ?>" target="<?php echo $attr2_target ?>"<?php if (isset($attr2_accesskey)) echo ' accesskey="'.$attr2_accesskey.'"' ?> title="<?php echo encodeHtml($attr2_title) ?>"><?php unset($attr2_title);unset($attr2_target);unset($attr2_url);unset($attr2_class); ?><?php $attr3_class='text'; $attr3_value=lang('GLOBAL_GPL'); $attr3_escape=true; ?><?php
- if ( isset($attr3_prefix)&& isset($attr3_key))
- $attr3_key = $attr3_prefix.$attr3_key;
- if ( isset($attr3_suffix)&& isset($attr3_key))
- $attr3_key = $attr3_key.$attr3_suffix;
- if(empty($attr3_title))
- $attr3_title = '';
- if (empty($attr3_type))
+?><a<?php if (isset($attr2_name)) echo ' name="'.$attr2_name.'"'; else echo ' href="'.$tmp_url.($attr2_anchor?'#'.$attr2_anchor:'').'"' ?> class="<?php echo $attr2_class ?>" target="<?php echo $attr2_target ?>"<?php if (isset($attr2_accesskey)) echo ' accesskey="'.$attr2_accesskey.'"' ?> title="<?php echo encodeHtml($attr2_title) ?>"><?php unset($attr2_title);unset($attr2_target);unset($attr2_url);unset($attr2_class); ?><?php $attr3_class='text'; $attr3_value=lang('GPL'); $attr3_escape=true; ?><?php
+ $attr3_title = '';
$tmp_tag = 'span';
- else
- switch( $attr3_type )
- {
- 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 $attr3_class ?>" title="<?php echo $attr3_title ?>"><?php
- $attr3_title = '';
- if ( $attr3_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr3_array))
- {
- $tmpArray = $$attr3_array;
- if (!empty($attr3_var))
- $tmp_text = $tmpArray[$attr3_var];
- else
- $tmp_text = $langF($tmpArray[$attr3_text]);
- }
- elseif (!empty($attr3_text))
- $tmp_text = $langF($attr3_text);
- elseif (!empty($attr3_textvar))
- $tmp_text = $langF($$attr3_textvar);
- elseif (!empty($attr3_key))
- $tmp_text = $langF($attr3_key);
- elseif (!empty($attr3_var))
- $tmp_text = isset($$attr3_var)?$$attr3_var:'?unset:'.$attr3_var.'?';
- elseif (!empty($attr3_raw))
- $tmp_text = str_replace('_',' ',$attr3_raw);
- elseif (!empty($attr3_value))
+ $langF = $attr3_escape?'langHtml':'lang';
$tmp_text = $attr3_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr3_maxlength) && intval($attr3_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr3_maxlength) );
- if (isset($attr3_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr3_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr3_class);unset($attr3_value);unset($attr3_escape); ?><?php ?></a><?php ?><?php $attr2_present='force_username'; ?><?php
diff --git a/themes/default/pages/html/language/listing.tpl.php b/themes/default/pages/html/language/listing.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -182,103 +182,18 @@
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))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -293,80 +208,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_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))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -381,11 +228,6 @@ 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_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;
@@ -394,165 +236,24 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>
<?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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?><?php }
@@ -568,11 +269,6 @@ unset($attr5_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?><?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_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;
@@ -581,182 +277,33 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>
<?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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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>
diff --git a/themes/default/pages/html/link/prop.tpl.php b/themes/default/pages/html/link/prop.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='name'; ?><?php
@@ -266,11 +196,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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='';
@@ -294,80 +220,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -382,11 +241,6 @@ 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_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
@@ -407,11 +261,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -428,80 +278,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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -516,80 +298,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_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))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -608,11 +322,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -629,80 +339,13 @@ 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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -717,39 +360,13 @@ 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_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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -766,15 +383,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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)
@@ -842,15 +454,10 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
@@ -879,80 +486,13 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -967,39 +507,13 @@ 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_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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -1016,15 +530,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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)
@@ -1092,15 +601,10 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
@@ -1129,22 +633,12 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/main/show.tpl.php b/themes/default/pages/html/main/show.tpl.php
@@ -1,20 +1,23 @@
-<?php ?><html>
+<?php ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
+<html>
<head>
<title><?php echo @$title ?> - <?php echo $cms_title ?></title>
- <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" />
+ <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" >
<?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
+ <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
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" ><?php
}
?>
- <meta name="robots" content="noindex,nofollow" />
+ <meta name="robots" content="noindex,nofollow" >
</head>
<?php ?><?php $attr2_true=@$conf['interface']['application_mode']; ?><?php
if (gettype($attr2_true) === '' && gettype($attr2_true) === '1')
@@ -26,24 +29,19 @@
{
?>
<?php unset($attr2_true); ?><?php $attr3_var='menuheight'; $attr3_value='24'; ?><?php
- if (!isset($attr3_value))
- unset($$attr3_var);
- elseif (isset($attr3_key))
+ if (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr2_tmp_last_exec) { ?>
<?php ?><?php $attr3_var='menuheight'; $attr3_value='54'; ?><?php
- if (!isset($attr3_value))
- unset($$attr3_var);
- elseif (isset($attr3_key))
+ if (isset($attr3_key))
$$attr3_var = $attr3_value[$attr3_key];
else
$$attr3_var = $attr3_value;
?><?php unset($attr3_var);unset($attr3_value); ?><?php ?><?php }
unset($attr1_tmp_last_exec) ?><?php ?><?php $attr2_rows=''.$menuheight.',*'; ?><frameset
-<?php echo !empty($attr2_rows) ?' rows="'.$attr2_rows.'"':'' ?>
-<?php echo !empty($attr2_columns)?' cols="'.$attr2_columns.'"':'' ?>
+<?php echo ' rows="'.$attr2_rows.'"' ?>
border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr2_rows); ?><?php $attr3_file=$frame_src_main_menu; $attr3_name='cms_main_menu'; ?><frame src="<?php echo $attr3_file ?>" name="<?php echo empty($attr3_name)?'':$attr3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr3_scrolling)?'no':$attr3_scrolling ?>">
<?php unset($attr3_file);unset($attr3_name); ?><?php $attr3_file=$frame_src_main_main; $attr3_name='cms_main_main'; $attr3_scrolling='auto'; ?><frame src="<?php echo $attr3_file ?>" name="<?php echo empty($attr3_name)?'':$attr3_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr3_scrolling)?'no':$attr3_scrolling ?>">
<?php unset($attr3_file);unset($attr3_name);unset($attr3_scrolling); ?><?php ?></frameset>
diff --git a/themes/default/pages/html/mainmenu/show.tpl.php b/themes/default/pages/html/mainmenu/show.tpl.php
@@ -4,56 +4,40 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_width='100%'; $attr2_space='0'; $attr2_padding='5'; $attr2_rowclasses='a,b'; $attr2_columnclasses='a,b'; ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr2_class))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$attr2_class='';
- if (!empty($attr2_widths))
- {
$column_widths = explode(',',$attr2_widths);
unset($attr2['widths']);
- }
- if (!empty($attr2_classes))
- {
$row_classes = explode(',',$attr2_rowclasses);
$row_class_idx = 999;
unset($attr2['rowclasses']);
- }
- 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']);
- }
?><table class="<?php echo $attr2_class ?>" cellspacing="<?php echo $attr2_space ?>" width="<?php echo $attr2_width ?>" cellpadding="<?php echo $attr2_padding ?>"><?php unset($attr2_width);unset($attr2_space);unset($attr2_padding);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_true=! @$conf['interface']['application_mode']; ?><?php
if (gettype($attr3_true) === '' && gettype($attr3_true) === '1')
$attr3_tmp_exec = $$attr3_true == true;
@@ -79,15 +63,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
?>><?php unset($attr5_class); ?><?php $attr6_equals='empty'; $attr6_value=$type; $attr6_not=true; ?><?php
$attr6_tmp_exec = $attr6_equals == $attr6_value;
- if ( !empty($attr6_not) )
- $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_exec = !$attr6_tmp_exec;
$attr6_tmp_last_exec = $attr6_tmp_exec;
if ( $attr6_tmp_exec )
{
@@ -95,7 +74,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
<?php unset($attr6_equals);unset($attr6_value);unset($attr6_not); ?><?php $attr7_align='left'; $attr7_type=$type; ?><?php
$attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT;
$attr7_size = '16x16';
-?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_list='path'; $attr6_extract=true; $attr6_key='list_key'; $attr6_value='xy'; ?><?php
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_list='path'; $attr6_extract=true; $attr6_key='list_key'; $attr6_value='xy'; ?><?php
$attr6_list_tmp_key = $attr6_key;
$attr6_list_tmp_value = $attr6_value;
$attr6_list_extract = $attr6_extract;
@@ -116,93 +95,14 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_title=$title; $attr7_target='cms_main'; $attr7_url=$url; $attr7_class='path'; ?><?php
$params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- 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_var='name'; $attr8_maxlength='20'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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 )
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
$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 ?></a><?php ?><?php $attr7_type='filesep'; ?><?php
@@ -211,74 +111,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
else
echo "char error";
?><?php unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_title=$text; $attr6_class='title'; $attr6_var='text'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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 $attr5_style='text-align:right;'; $attr5_class='menu'; ?><?php
@@ -293,11 +129,8 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> style="<?php echo $attr5_style ?>" <?php
+?> class="<?php echo $attr5_class ?>" <?php
?>><?php unset($attr5_style);unset($attr5_class); ?><?php $attr6_true=$this->search; ?><?php
if (gettype($attr6_true) === '' && gettype($attr6_true) === '1')
$attr6_tmp_exec = $$attr6_true == true;
@@ -308,11 +141,6 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
{
?>
<?php unset($attr6_true); ?><?php $attr7_action='search'; $attr7_subaction='quicksearch'; $attr7_name=''; $attr7_target='cms_main_main'; $attr7_method='post'; $attr7_enctype='application/x-www-form-urlencoded'; ?><?php
- if (empty($attr7_action))
- $attr7_action = $actionName;
- if (empty($attr7_subaction))
- $attr7_subaction = $targetSubActionName;
- if (empty($attr7_id))
$attr7_id = $this->getRequestId();
if ($this->isEditable() && !$this->isEditMode())
$attr7_subaction = $subActionName;
@@ -346,16 +174,9 @@ if ($attr8_readonly) {
{
?>
<?php unset($attr8_true); ?><?php $attr9_type='ok'; $attr9_class='searchbutton'; $attr9_value='ok'; $attr9_text='search'; ?><?php
- if ($attr9_type=='ok')
- {
if ($this->isEditable() && !$this->isEditMode())
$attr9_text = 'MODE_EDIT';
- }
- if ($attr9_type=='ok')
- $attr9_type = 'submit';
- if (isset($attr9_src))
- $attr9_type = 'image';
- else
+ $attr9_type = 'submit';
$attr9_src = '';
?><input type="<?php echo $attr9_type ?>"<?php if(isset($attr9_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr9_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr9_value ?>" class="<?php echo $attr9_class ?>" title="<?php echo lang($attr9_text.'_DESC') ?>" value=" <?php echo langHtml($attr9_text) ?> " /><?php unset($attr9_src) ?><?php
?><?php unset($attr9_type);unset($attr9_class);unset($attr9_value);unset($attr9_text); ?><?php ?><?php } ?><?php ?><?php ?></form>
@@ -375,11 +196,8 @@ if ($attr8_readonly) {
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 }
+?> class="<?php echo $attr4_class ?>" <?php
+?> colspan="<?php echo $attr4_colspan ?>" <?php
?>><?php unset($attr4_class);unset($attr4_colspan); ?><?php $attr5_list='windowMenu'; $attr5_extract=true; $attr5_key='list_key'; $attr5_value='xy'; ?><?php
$attr5_list_tmp_key = $attr5_key;
$attr5_list_tmp_value = $attr5_value;
@@ -408,101 +226,23 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
$attr6_tmp_exec = true;
else
$attr6_tmp_exec = empty( $$attr6_empty );
- if ( !empty($attr6_not) )
- $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_exec = !$attr6_tmp_exec;
$attr6_tmp_last_exec = $attr6_tmp_exec;
if ( $attr6_tmp_exec )
{
?>
<?php unset($attr6_not);unset($attr6_empty); ?><?php $attr7_title=$title; $attr7_target='cms_main_main'; $attr7_url=$url; $attr7_class='menu'; $attr7_accesskey=$key; ?><?php
$params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- 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);unset($attr7_accesskey); ?><?php $attr8_class='text'; $attr8_textvar='text'; $attr8_accesskey=$key; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_textvar);unset($attr8_accesskey);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='url'; ?><?php
@@ -519,216 +259,27 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
{
?>
<?php unset($attr6_empty); ?><?php $attr7_class='menu_disabled'; $attr7_textvar='text'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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_textvar);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php $attr6_class='text'; $attr6_raw='__'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 ?><?php } ?><?php ?><?php $attr5_class='text'; $attr5_raw='_'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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><?php ?><?php ?></body>
diff --git a/themes/default/pages/html/model/add.tpl.php b/themes/default/pages/html/model/add.tpl.php
@@ -1,49 +1,51 @@
-<?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 name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
+ <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']) ?>" />
+ <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
+ <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 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 ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" >
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
$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:15:"GLOBAL_PROJECTS";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_PROJECTS','icon'=>'project','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_name='GLOBAL_PROJECTS' ?><?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_PROJECTS'; $attr3_icon='project'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -74,17 +76,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 +100,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 +110,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,140 +158,75 @@
<?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: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_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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"global_name";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','key'=>'global_name','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_key='global_name' ?><?php $attr6_escape=true ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- 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
+?>><?php ?><?php $attr6_class='text'; $attr6_key='global_name'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
$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 (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = lang($tmpArray[$attr6_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;
- 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))
- {
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr6_key);
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:4:"name";s:4:"size";s:2:"40";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'name','size'=>'40','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='name' ?><?php $attr6_size='40' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if(!isset($attr6_default)) $attr6_default='';
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?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
- } ?><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_default) ?><?php unset($attr6_type) ?><?php unset($attr6_name) ?><?php unset($attr6_size) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_onchange) ?><?php unset($attr6_readonly) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'2') ?><?php $attr5_class='act' ?><?php $attr5_colspan='2' ?><?php
+ } } 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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ $attr6_type = 'submit';
$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>
@@ -296,6 +238,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/model/edit.tpl.php b/themes/default/pages/html/model/edit.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_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='';
@@ -294,22 +219,12 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/model/listing.tpl.php b/themes/default/pages/html/model/listing.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -182,103 +182,18 @@
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))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -293,178 +208,32 @@ 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_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
+<?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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
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))
+<?php ?><?php $attr7_class='name'; $attr7_text='GLOBAL_is_default'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?><?php }
@@ -480,11 +249,6 @@ unset($attr5_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?><?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_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;
@@ -493,182 +257,33 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>
<?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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
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))
+<?php ?><?php $attr7_class='name'; $attr7_text='GLOBAL_selected'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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>
diff --git a/themes/default/pages/html/model/remove.tpl.php b/themes/default/pages/html/model/remove.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,80 +196,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_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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -358,80 +220,15 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -450,11 +247,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -471,11 +264,6 @@ 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_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) )
@@ -488,74 +276,12 @@ 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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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 ?><?php
@@ -570,11 +296,6 @@ if ( $attr6_readonly && $checked )
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;
@@ -591,22 +312,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/object/aclform.tpl.php b/themes/default/pages/html/object/aclform.tpl.php
@@ -212,7 +212,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
@@ -417,7 +418,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
@@ -610,7 +612,8 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
$attr7_tmp_default = $attr7_default;
else
$attr7_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr7_name.'_'.$attr7_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
diff --git a/themes/default/pages/html/object/rights.tpl.php b/themes/default/pages/html/object/rights.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -191,80 +188,13 @@
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_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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -276,8 +206,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
$attr4_tmp_exec = true;
else
$attr4_tmp_exec = empty( $$attr4_empty );
- if ( !empty($attr4_not) )
- $attr4_tmp_exec = !$attr4_tmp_exec;
+ $attr4_tmp_exec = !$attr4_tmp_exec;
$attr4_tmp_last_exec = $attr4_tmp_exec;
if ( $attr4_tmp_exec )
{
@@ -298,80 +227,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -386,80 +249,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -493,80 +290,15 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr7_class ?>" <?php
?>><?php unset($attr7_class); ?><?php $attr8_class='text'; $attr8_key=$t; $attr8_suffix='_abbrev'; $attr8_prefix='acl_'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
$attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_suffix);unset($attr8_prefix);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr6_class='help'; ?><?php
@@ -581,11 +313,7 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
?>><?php unset($attr6_class); ?><?php $attr7_true=$mode=="edit"; ?><?php
if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
$attr7_tmp_exec = $$attr7_true == true;
@@ -596,74 +324,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
{
?>
<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_text='global_delete'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_text);unset($attr8_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_list='acls'; $attr4_extract=true; $attr4_key='aclid'; $attr4_value='acl'; ?><?php
@@ -708,11 +374,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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;
@@ -722,75 +383,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
<?php unset($attr7_present); ?><?php $attr8_align='left'; $attr8_type='user'; ?><?php
$attr8_tmp_image_file = $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT;
$attr8_size = '16x16';
-?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='username'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='username'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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);
- }
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?><?php } ?><?php ?><?php $attr7_present='groupname'; ?><?php
@@ -802,89 +400,24 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
<?php unset($attr7_present); ?><?php $attr8_align='left'; $attr8_type='group'; ?><?php
$attr8_tmp_image_file = $image_dir.'icon_'.$attr8_type.IMG_ICON_EXT;
$attr8_size = '16x16';
-?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='groupname'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_type); ?><?php $attr8_class='text'; $attr8_var='groupname'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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);
- }
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?><?php } ?><?php ?><?php $attr7_not=true; $attr7_present='username'; ?><?php
$attr7_tmp_exec = isset($$attr7_present);
- if ( !empty($attr7_not) )
- $attr7_tmp_exec = !$attr7_tmp_exec;
+ $attr7_tmp_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_exec = !$attr8_tmp_exec;
$attr8_tmp_last_exec = $attr8_tmp_exec;
if ( $attr8_tmp_exec )
{
@@ -892,75 +425,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$tmp_text = $langF($attr9_key);
- elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
- elseif (!empty($attr9_raw))
- $tmp_text = str_replace('_',' ',$attr9_raw);
- elseif (!empty($attr9_value))
- $tmp_text = $attr9_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
- if (isset($attr9_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr9_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_key);unset($attr9_escape); ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?><?php
@@ -975,80 +445,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
$attr6_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
-if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
-if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
-if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
-if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
?>><?php ?><?php $attr7_class='text'; $attr7_var='languagename'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></td><?php ?><?php $attr6_list='show'; $attr6_extract=false; $attr6_key='list_key'; $attr6_value='t'; ?><?php
@@ -1082,11 +484,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
$attr7_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php }
-if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php }
-if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php }
-if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php }
-if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
?>><?php ?><?php $attr8_default=false; $attr8_readonly=true; $attr8_name=$t; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
if ( isset($$attr8_name) )
@@ -1110,11 +507,6 @@ if ( $attr8_readonly && $checked )
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
$attr6_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
-if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
-if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
-if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
-if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
?>><?php ?><?php $attr7_true=$mode=="edit"; ?><?php
if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
$attr7_tmp_exec = $$attr7_true == true;
@@ -1132,93 +524,13 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
?>
<?php unset($attr8_present); ?><?php $attr9_title=''; $attr9_target='_self'; $attr9_url=$delete_url; $attr9_class=''; ?><?php
$params = array();
- if (!empty($attr9_var1) && isset($attr9_value1))
- $params[$attr9_var1]=$attr9_value1;
- if (!empty($attr9_var2) && isset($attr9_value2))
- $params[$attr9_var2]=$attr9_value2;
- if (!empty($attr9_var3) && isset($attr9_value3))
- $params[$attr9_var3]=$attr9_value3;
- if (!empty($attr9_var4) && isset($attr9_value4))
- $params[$attr9_var4]=$attr9_value4;
- if (!empty($attr9_var5) && isset($attr9_value5))
- $params[$attr9_var5]=$attr9_value5;
- if(empty($attr9_class))
- $attr9_class='';
- if(empty($attr9_title))
- $attr9_title = '';
- if(!empty($attr9_url))
$tmp_url = $attr9_url;
- else
- $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_DELETE'; $attr10_escape=true; ?><?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
+ $attr10_title = '';
$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))
+ $langF = $attr10_escape?'langHtml':'lang';
$tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr10_class);unset($attr10_key);unset($attr10_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_true=$mode=="edit"; ?><?php
@@ -1252,15 +564,9 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?php
?>><?php unset($attr7_colspan); ?><?php $attr8_var='inherit'; $attr8_value='1'; ?><?php
- if (!isset($attr8_value))
- unset($$attr8_var);
- elseif (isset($attr8_key))
+ if (isset($attr8_key))
$$attr8_var = $attr8_value[$attr8_key];
else
$$attr8_var = $attr8_value;
@@ -1272,74 +578,11 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_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_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))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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 ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
@@ -1358,22 +601,12 @@ if ($attr8_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/page/el.tpl.php b/themes/default/pages/html/page/el.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -140,7 +140,7 @@
<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
+<?php unset($attr2_title);unset($attr2_name);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php $attr3_not=''; $attr3_empty='el'; ?><?php
if ( !isset($$attr3_empty) )
$attr3_tmp_exec = empty($attr3_empty);
elseif ( is_array($$attr3_empty) )
@@ -149,13 +149,12 @@
$attr3_tmp_exec = true;
else
$attr3_tmp_exec = empty( $$attr3_empty );
- if ( !empty($attr3_invert) )
- $attr3_tmp_exec = !$attr3_tmp_exec;
+ $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
+<?php unset($attr3_not);unset($attr3_empty); ?><?php ?><?php
$attr4_tmp_class='';
$attr4_last_class = $attr4_tmp_class;
echo Html::open_tag('tr',array('class'=>$attr4_tmp_class));
@@ -171,80 +170,14 @@
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 }
+?> class="<?php echo $attr5_class ?>" <?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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -259,80 +192,14 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -347,80 +214,14 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -452,80 +253,13 @@ 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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -570,103 +304,18 @@ 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_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))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -681,151 +330,20 @@ 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_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))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -840,11 +358,6 @@ 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_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;
@@ -853,388 +366,53 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>
<?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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr8_text);
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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';
- }
+ $tmp_tag = 'em';
?><<?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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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;
@@ -1251,80 +429,15 @@ unset($attr5_tmp_last_exec) ?><?php ?><?php $attr6_var='archive_url'; ?><?php
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 }
+?> class="<?php echo $attr4_class ?>" <?php
+?> colspan="<?php echo $attr4_colspan ?>" <?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))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr5_text);
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
@@ -1343,80 +456,13 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr4_colspan ?>" <?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))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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>
diff --git a/themes/default/pages/html/page/prop.tpl.php b/themes/default/pages/html/page/prop.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='name'; ?><?php
@@ -266,11 +196,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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='';
@@ -294,80 +220,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -382,11 +241,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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='';
@@ -410,80 +265,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -498,11 +286,6 @@ 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_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
@@ -523,11 +306,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -544,80 +323,13 @@ 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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -632,80 +344,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -724,80 +369,13 @@ 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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -812,11 +390,6 @@ 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_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;
@@ -825,96 +398,16 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
$tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_file='icon_template'; $attr8_align='left'; ?><?php
$attr8_tmp_image_file = $image_dir.$attr8_fileext;
$attr8_tmp_image_file = $image_dir.$attr8_file.IMG_ICON_EXT;
-?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_file);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='template_name'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" 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
+ $attr8_title = '';
$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);
- }
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php $attr6_empty='template_url'; ?><?php
@@ -933,75 +426,12 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
@@ -1020,80 +450,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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr5_class='filename'; ?><?php
@@ -1108,80 +470,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -1200,80 +495,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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -1288,80 +515,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_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))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -1380,11 +539,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -1401,80 +556,13 @@ 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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -1489,39 +577,13 @@ 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_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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -1538,15 +600,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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)
@@ -1614,15 +671,10 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
@@ -1651,80 +703,13 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -1739,39 +724,13 @@ 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_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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -1788,15 +747,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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)
@@ -1864,15 +818,10 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" 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
@@ -1901,22 +850,12 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/page/pub.tpl.php b/themes/default/pages/html/page/pub.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,11 +175,6 @@
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_default=false; $attr6_readonly=false; $attr6_name='files'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
@@ -195,145 +187,20 @@ 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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?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
@@ -352,22 +219,11 @@ if ( $attr6_readonly && $checked )
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 }
+?> class="<?php echo $attr5_class ?>" <?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())
$attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
+ $attr6_type = 'submit';
$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>
diff --git a/themes/default/pages/html/page/src.tpl.php b/themes/default/pages/html/page/src.tpl.php
@@ -1,32 +1,32 @@
-<?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>
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" >
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"icon";s:4:"page";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'=>'page','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_icon='page' ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php
+<?php unset($attr1_class); ?><?php $attr2_icon='page'; $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,96 +139,32 @@
<?php } ?>
<tr>
<td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr2) ?><?php unset($attr2_icon) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3_debug_info = 'a: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:5:"class";s:2:"fx";}' ?><?php $attr4 = array('class'=>'fx') ?><?php $attr4_class='fx' ?><?php
+ <table cellspacing="0" width="100%" cellpadding="4">
+<?php unset($attr2_icon);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 unset($attr4_class) ?><pre>
-<?php $attr5_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"var";s:3:"src";s:6:"escape";s:5:"false";}' ?><?php $attr5 = array('class'=>'text','var'=>'src','escape'=>false) ?><?php $attr5_class='text' ?><?php $attr5_var='src' ?><?php $attr5_escape=false ?><?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';
- }
+ $attr4_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr5_class='text'; $attr5_var='src'; $attr5_escape=false; $attr5_type='preformatted'; ?><?php
+ $attr5_title = '';
+ $tmp_tag = 'pre';
?><<?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);
- }
+ $langF = $attr5_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
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) ?></pre>
-<?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 echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape);unset($attr5_type); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
</td>
</tr>
</table>
@@ -240,5 +176,5 @@
<?php $dur = time()-START_TIME;
echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
<?php } ?>
-<?php unset($attr1) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/pageelement/archive.tpl.php b/themes/default/pages/html/pageelement/archive.tpl.php
@@ -1,1765 +1,721 @@
-<?php $attr1_class='main'; ?> <?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
- ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
- <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
- <?php
- }
- ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
- ?><?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
- <?php } ?>
- <?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
- <?php } ?>
- </head>
- <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && !$this->isEditMode())
- $attr2_subaction = $subActionName;
- ?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
- <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
- <input type="hidden" name="mode" value="edit" />
- <?php } ?>
- <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
- <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
- <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
- if ( $conf['interface']['url_sessionid'] )
- echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
- ?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_widths='5%,5%,5%,15%,15%,35%,10%,10%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->isEditMode()) {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
- <?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
- <?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
- <?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
- <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td>
- <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
- <?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_class='help'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NR'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; $attr5_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_present='compareid'; ?> <?php
- $attr6_tmp_exec = isset($$attr6_present);
- $attr6_tmp_last_exec = $attr6_tmp_exec;
- if ( $attr6_tmp_exec )
- {
- ?>
-<?php unset($attr6_present); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_COMPARE'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='DATE'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_USER'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_VALUE'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_STATE'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='help'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_ACTION'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_empty='el'; ?> <?php
- if ( !isset($$attr4_empty) )
- $attr4_tmp_exec = empty($attr4_empty);
- elseif ( is_array($$attr4_empty) )
- $attr4_tmp_exec = (count($$attr4_empty)==0);
- elseif ( is_bool($$attr4_empty) )
- $attr4_tmp_exec = true;
- else
- $attr4_tmp_exec = empty( $$attr4_empty );
- $attr4_tmp_last_exec = $attr4_tmp_exec;
- if ( $attr4_tmp_exec )
- {
- ?>
-<?php unset($attr4_empty); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='fx'; $attr6_colspan='8'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NOT_FOUND'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_list='el'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?> <?php
- $attr4_list_tmp_key = $attr4_key;
- $attr4_list_tmp_value = $attr4_value;
- $attr4_list_extract = $attr4_extract;
- unset($attr4_key);
- unset($attr4_value);
- if ( !isset($$attr4_list) || !is_array($$attr4_list) )
- $$attr4_list = array();
- foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
- {
- if ( $attr4_list_extract )
- {
- if ( !is_array($$attr4_list_tmp_value) )
- {
- print_r($$attr4_list_tmp_value);
- die( 'not an array at key: '.$$attr4_list_tmp_key );
- }
- extract($$attr4_list_tmp_value);
- }
- ?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='lfd_nr'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_present='compareid'; ?> <?php
- $attr7_tmp_exec = isset($$attr7_present);
- $attr7_tmp_last_exec = $attr7_tmp_exec;
- if ( $attr7_tmp_exec )
- {
- ?>
-<?php unset($attr7_present); ?><?php $attr8_readonly=false; $attr8_name='compareid'; $attr8_value=$id; $attr8_default=false; $attr8_prefix=''; $attr8_suffix=''; $attr8_class=''; $attr8_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr8_readonly);unset($attr8_name);unset($attr8_value);unset($attr8_default);unset($attr8_prefix);unset($attr8_suffix);unset($attr8_class);unset($attr8_onchange); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_present='compareid'; ?> <?php
- $attr7_tmp_exec = isset($$attr7_present);
- $attr7_tmp_last_exec = $attr7_tmp_exec;
- if ( $attr7_tmp_exec )
- {
- ?>
-<?php unset($attr7_present); ?><?php $attr8_readonly=false; $attr8_name='withid'; $attr8_value=$id; $attr8_default=false; $attr8_prefix=''; $attr8_suffix=''; $attr8_class=''; $attr8_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
- if ( isset($$attr8_name) )
- $attr8_tmp_default = $$attr8_name;
- elseif ( isset($attr8_default) )
- $attr8_tmp_default = $attr8_default;
- else
- $attr8_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr8_readonly);unset($attr8_name);unset($attr8_value);unset($attr8_default);unset($attr8_prefix);unset($attr8_suffix);unset($attr8_class);unset($attr8_onchange); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_date=$date; ?> <?php
- global $conf;
- $time = $attr7_date;
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- {
- echo '<span title="';
- $dl = date(lang('DATE_FORMAT_LONG'),$time);
- $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
- $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
- echo $dl;
- unset($dl);
- echo '">';
- echo date(lang('DATE_FORMAT'),$time);
- echo '</span>';
- }
- else
- {
- $sekunden = time()-$time;
- $minuten = intval($sekunden/60);
- $stunden = intval($minuten /60);
- $tage = intval($stunden /24);
- $monate = intval($tage /30);
- $jahre = intval($monate /12);
- echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- echo date(lang('DATE_FORMAT'),$time);
- elseif ( $sekunden == 1 )
- echo $sekunden.' '.lang('GLOBAL_SECOND');
- elseif ( $sekunden < 60 )
- echo $sekunden.' '.lang('GLOBAL_SECONDS');
- elseif ( $minuten == 1 )
- echo $minuten.' '.lang('GLOBAL_MINUTE');
- elseif ( $minuten < 60 )
- echo $minuten.' '.lang('GLOBAL_MINUTES');
- elseif ( $stunden == 1 )
- echo $stunden.' '.lang('GLOBAL_HOUR');
- elseif ( $stunden < 60 )
- echo $stunden.' '.lang('GLOBAL_HOURS');
- elseif ( $tage == 1 )
- echo $tage.' '.lang('GLOBAL_DAY');
- elseif ( $tage < 60 )
- echo $tage.' '.lang('GLOBAL_DAYS');
- elseif ( $monate == 1 )
- echo $monate.' '.lang('GLOBAL_MONTH');
- elseif ( $monate < 12 )
- echo $monate.' '.lang('GLOBAL_MONTHS');
- elseif ( $jahre == 1 )
- echo $jahre.' '.lang('GLOBAL_YEAR');
- else
- echo $jahre.' '.lang('GLOBAL_YEARS');
- echo '</span>';
- }
- ?><?php unset($attr7_date); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='user'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_class='text'; $attr7_var='value'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_true=$public; ?> <?php
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $attr7_tmp_exec = $$attr7_true == true;
- else
- $attr7_tmp_exec = $attr7_true == true;
- $attr7_tmp_last_exec = $attr7_tmp_exec;
- if ( $attr7_tmp_exec )
- {
- ?>
-<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_key='GLOBAL_PUBLIC'; $attr8_escape=true; $attr8_type='strong'; ?> <?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
- $tmp_tag = 'span';
- else
- switch( $attr8_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
- $attr8_title = '';
- if ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape);unset($attr8_type); ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr7_tmp_last_exec) { ?>
-<?php ?><?php $attr8_present='releaseUrl'; ?> <?php
- $attr8_tmp_exec = isset($$attr8_present);
- $attr8_tmp_last_exec = $attr8_tmp_exec;
- if ( $attr8_tmp_exec )
- {
- ?>
-<?php unset($attr8_present); ?><?php $attr9_title=lang('GLOBAL_RELEASE_DESC'); $attr9_target='_self'; $attr9_url=$releaseUrl; $attr9_class=''; ?> <?php
- $params = array();
- if (!empty($attr9_var1) && isset($attr9_value1))
- $params[$attr9_var1]=$attr9_value1;
- if (!empty($attr9_var2) && isset($attr9_value2))
- $params[$attr9_var2]=$attr9_value2;
- if (!empty($attr9_var3) && isset($attr9_value3))
- $params[$attr9_var3]=$attr9_value3;
- if (!empty($attr9_var4) && isset($attr9_value4))
- $params[$attr9_var4]=$attr9_value4;
- if (!empty($attr9_var5) && isset($attr9_value5))
- $params[$attr9_var5]=$attr9_value5;
- if(empty($attr9_class))
- $attr9_class='';
- if(empty($attr9_title))
- $attr9_title = '';
- if(!empty($attr9_url))
- $tmp_url = $attr9_url;
- else
- $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
- ?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_RELEASE'; $attr10_escape=true; $attr10_type='strong'; ?> <?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr10_class);unset($attr10_key);unset($attr10_escape);unset($attr10_type); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr8_tmp_last_exec) { ?>
-<?php ?><?php $attr9_class='text'; $attr9_key='GLOBAL_INACTIVE'; $attr9_escape=true; $attr9_type='emphatic'; ?> <?php
- if ( isset($attr9_prefix)&& isset($attr9_key))
- $attr9_key = $attr9_prefix.$attr9_key;
- if ( isset($attr9_suffix)&& isset($attr9_key))
- $attr9_key = $attr9_key.$attr9_suffix;
- if(empty($attr9_title))
- $attr9_title = '';
- if (empty($attr9_type))
- $tmp_tag = 'span';
- else
- switch( $attr9_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
- $attr9_title = '';
- if ( $attr9_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr9_array))
- {
- $tmpArray = $$attr9_array;
- if (!empty($attr9_var))
- $tmp_text = $tmpArray[$attr9_var];
- else
- $tmp_text = $langF($tmpArray[$attr9_text]);
- }
- elseif (!empty($attr9_text))
- $tmp_text = $langF($attr9_text);
- elseif (!empty($attr9_textvar))
- $tmp_text = $langF($$attr9_textvar);
- elseif (!empty($attr9_key))
- $tmp_text = $langF($attr9_key);
- elseif (!empty($attr9_var))
- $tmp_text = isset($$attr9_var)?$$attr9_var:'?unset:'.$attr9_var.'?';
- elseif (!empty($attr9_raw))
- $tmp_text = str_replace('_',' ',$attr9_raw);
- elseif (!empty($attr9_value))
- $tmp_text = $attr9_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr9_maxlength) && intval($attr9_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr9_maxlength) );
- if (isset($attr9_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr9_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_key);unset($attr9_escape);unset($attr9_type); ?><?php ?> <?php }
- unset($attr7_tmp_last_exec) ?><?php ?><?php ?> <?php }
- unset($attr6_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php $attr6_class='fx'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class); ?><?php $attr7_true=$active; ?> <?php
- if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
- $attr7_tmp_exec = $$attr7_true == true;
- else
- $attr7_tmp_exec = $attr7_true == true;
- $attr7_tmp_last_exec = $attr7_tmp_exec;
- if ( $attr7_tmp_exec )
- {
- ?>
-<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_key='GLOBAL_ACTIVE'; $attr8_escape=true; $attr8_type='emphatic'; ?> <?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
- $tmp_tag = 'span';
- else
- switch( $attr8_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
- $attr8_title = '';
- if ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape);unset($attr8_type); ?><?php ?> <?php } ?><?php ?><?php ?> <?php if (!$attr7_tmp_last_exec) { ?>
-<?php ?><?php $attr8_present='useUrl'; ?> <?php
- $attr8_tmp_exec = isset($$attr8_present);
- $attr8_tmp_last_exec = $attr8_tmp_exec;
- if ( $attr8_tmp_exec )
- {
- ?>
-<?php unset($attr8_present); ?><?php $attr9_title=lang('GLOBAL_USE_DESC'); $attr9_target='_self'; $attr9_url=$useUrl; $attr9_class=''; ?> <?php
- $params = array();
- if (!empty($attr9_var1) && isset($attr9_value1))
- $params[$attr9_var1]=$attr9_value1;
- if (!empty($attr9_var2) && isset($attr9_value2))
- $params[$attr9_var2]=$attr9_value2;
- if (!empty($attr9_var3) && isset($attr9_value3))
- $params[$attr9_var3]=$attr9_value3;
- if (!empty($attr9_var4) && isset($attr9_value4))
- $params[$attr9_var4]=$attr9_value4;
- if (!empty($attr9_var5) && isset($attr9_value5))
- $params[$attr9_var5]=$attr9_value5;
- if(empty($attr9_class))
- $attr9_class='';
- if(empty($attr9_title))
- $attr9_title = '';
- if(!empty($attr9_url))
- $tmp_url = $attr9_url;
- else
- $tmp_url = Html::url($attr9_action,$attr9_subaction,!empty($attr9_id)?$attr9_id:$this->getRequestId(),$params);
- ?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_USE'; $attr10_escape=true; ?> <?php
- if ( isset($attr10_prefix)&& isset($attr10_key))
- $attr10_key = $attr10_prefix.$attr10_key;
- if ( isset($attr10_suffix)&& isset($attr10_key))
- $attr10_key = $attr10_key.$attr10_suffix;
- if(empty($attr10_title))
- $attr10_title = '';
- if (empty($attr10_type))
- $tmp_tag = 'span';
- else
- switch( $attr10_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
- $attr10_title = '';
- if ( $attr10_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr10_array))
- {
- $tmpArray = $$attr10_array;
- if (!empty($attr10_var))
- $tmp_text = $tmpArray[$attr10_var];
- else
- $tmp_text = $langF($tmpArray[$attr10_text]);
- }
- elseif (!empty($attr10_text))
- $tmp_text = $langF($attr10_text);
- elseif (!empty($attr10_textvar))
- $tmp_text = $langF($$attr10_textvar);
- elseif (!empty($attr10_key))
- $tmp_text = $langF($attr10_key);
- elseif (!empty($attr10_var))
- $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
- elseif (!empty($attr10_raw))
- $tmp_text = str_replace('_',' ',$attr10_raw);
- elseif (!empty($attr10_value))
- $tmp_text = $attr10_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr10_maxlength) && intval($attr10_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr10_maxlength) );
- if (isset($attr10_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr10_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr10_class);unset($attr10_key);unset($attr10_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php }
- unset($attr6_tmp_last_exec) ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php $attr4_present='compareid'; ?> <?php
- $attr4_tmp_exec = isset($$attr4_present);
- $attr4_tmp_last_exec = $attr4_tmp_exec;
- if ( $attr4_tmp_exec )
- {
- ?>
-<?php unset($attr4_present); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_class='act'; $attr6_colspan='8'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_type='ok'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?> <?php
- if ($attr7_type=='ok')
- {
- if ($this->isEditable() && !$this->isEditMode())
- $attr7_text = 'MODE_EDIT';
- }
- if ($attr7_type=='ok')
- $attr7_type = 'submit';
- if (isset($attr7_src))
- $attr7_type = 'image';
- else
- $attr7_src = '';
- ?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
- ?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> </table>
- </td>
- </tr>
+<?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
+ $attr2_action = $actionName;
+ $attr2_subaction = $targetSubActionName;
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
+<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
+ if ( $conf['interface']['url_sessionid'] )
+ echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_widths='5%,5%,5%,15%,15%,35%,10%,10%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+<?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+<?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <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 } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+<?php } ?>
+ <tr>
+ <td>
+ <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_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
+?> class="<?php echo $attr5_class ?>" <?php
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NR'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='help'; $attr5_colspan='2'; ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr5_class))
+ $attr5_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_present='compareid'; ?><?php
+ $attr6_tmp_exec = isset($$attr6_present);
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+?>
+<?php unset($attr6_present); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_COMPARE'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr7_textvar);
+ $tmp_text = $langF($attr7_text);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr5_class='help'; ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr5_class))
+ $attr5_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr5_class ?>" <?php
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='DATE'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
+ 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
+?> class="<?php echo $attr5_class ?>" <?php
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_USER'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
+ 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
+?> class="<?php echo $attr5_class ?>" <?php
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_VALUE'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
+ 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
+?> class="<?php echo $attr5_class ?>" <?php
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_STATE'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
+ 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
+?> class="<?php echo $attr5_class ?>" <?php
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_ACTION'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_empty='el'; ?><?php
+ if ( !isset($$attr4_empty) )
+ $attr4_tmp_exec = empty($attr4_empty);
+ elseif ( is_array($$attr4_empty) )
+ $attr4_tmp_exec = (count($$attr4_empty)==0);
+ elseif ( is_bool($$attr4_empty) )
+ $attr4_tmp_exec = true;
+ else
+ $attr4_tmp_exec = empty( $$attr4_empty );
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+?>
+<?php unset($attr4_empty); ?><?php ?><?php
+ $attr5_tmp_class='';
+ $attr5_last_class = $attr5_tmp_class;
+ echo Html::open_tag('tr',array('class'=>$attr5_tmp_class));
+?><?php ?><?php $attr6_colspan='8'; ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr6_class))
+ $attr6_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
+?>><?php unset($attr6_colspan); ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NOT_FOUND'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr7_textvar);
+ $tmp_text = $langF($attr7_text);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_list='el'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?><?php
+ $attr4_list_tmp_key = $attr4_key;
+ $attr4_list_tmp_value = $attr4_value;
+ $attr4_list_extract = $attr4_extract;
+ unset($attr4_key);
+ unset($attr4_value);
+ if ( !isset($$attr4_list) || !is_array($$attr4_list) )
+ $$attr4_list = array();
+ foreach( $$attr4_list as $$attr4_list_tmp_key => $$attr4_list_tmp_value )
+ {
+ if ( $attr4_list_extract )
+ {
+ if ( !is_array($$attr4_list_tmp_value) )
+ {
+ print_r($$attr4_list_tmp_value);
+ die( 'not an array at key: '.$$attr4_list_tmp_key );
+ }
+ extract($$attr4_list_tmp_value);
+ }
+?><?php unset($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr7_class='text'; $attr7_var='lfd_nr'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);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
+?>><?php ?><?php $attr7_present='compareid'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+?>
+<?php unset($attr7_present); ?><?php $attr8_readonly=false; $attr8_name='compareid'; $attr8_value=$id; $attr8_default=false; $attr8_prefix=''; $attr8_suffix=''; $attr8_class=''; $attr8_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ ?><input onclick="<?php echo $attr8_name.'_'.$attr8_value ?>_valueChanged(this);" class="radio" type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> />
+<?php /* #END-IF# */ ?><?php unset($attr8_readonly);unset($attr8_name);unset($attr8_value);unset($attr8_default);unset($attr8_prefix);unset($attr8_suffix);unset($attr8_class);unset($attr8_onchange); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr7_present='compareid'; ?><?php
+ $attr7_tmp_exec = isset($$attr7_present);
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+?>
+<?php unset($attr7_present); ?><?php $attr8_readonly=false; $attr8_name='withid'; $attr8_value=$id; $attr8_default=false; $attr8_prefix=''; $attr8_suffix=''; $attr8_class=''; $attr8_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr8_readonly=true;
+ if ( isset($$attr8_name) )
+ $attr8_tmp_default = $$attr8_name;
+ elseif ( isset($attr8_default) )
+ $attr8_tmp_default = $attr8_default;
+ else
+ $attr8_tmp_default = '';
+ ?><input onclick="<?php echo $attr8_name.'_'.$attr8_value ?>_valueChanged(this);" class="radio" type="radio" id="id_<?php echo $attr8_name.'_'.$attr8_value ?>" name="<?php echo $attr8_prefix.$attr8_name ?>"<?php if ( $attr8_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr8_value ?>" <?php if($attr8_value==$attr8_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr8_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> />
+<?php /* #END-IF# */ ?><?php unset($attr8_readonly);unset($attr8_name);unset($attr8_value);unset($attr8_default);unset($attr8_prefix);unset($attr8_suffix);unset($attr8_class);unset($attr8_onchange); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr7_date=$date; ?><?php
+ global $conf;
+ $time = $attr7_date;
+ if ( $time==0)
+ echo lang('GLOBAL_UNKNOWN');
+ elseif ( !$conf['interface']['human_date_format'] )
+ {
+ echo '<span title="';
+ $dl = date(lang('DATE_FORMAT_LONG'),$time);
+ $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
+ $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
+ echo $dl;
+ unset($dl);
+ echo '">';
+ echo date(lang('DATE_FORMAT'),$time);
+ echo '</span>';
+ }
+ else
+ {
+ $sekunden = time()-$time;
+ $minuten = intval($sekunden/60);
+ $stunden = intval($minuten /60);
+ $tage = intval($stunden /24);
+ $monate = intval($tage /30);
+ $jahre = intval($monate /12);
+ echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
+ if ( $time==0)
+ echo lang('GLOBAL_UNKNOWN');
+ elseif ( !$conf['interface']['human_date_format'] )
+ echo date(lang('DATE_FORMAT'),$time);
+ elseif ( $sekunden == 1 )
+ echo $sekunden.' '.lang('GLOBAL_SECOND');
+ elseif ( $sekunden < 60 )
+ echo $sekunden.' '.lang('GLOBAL_SECONDS');
+ elseif ( $minuten == 1 )
+ echo $minuten.' '.lang('GLOBAL_MINUTE');
+ elseif ( $minuten < 60 )
+ echo $minuten.' '.lang('GLOBAL_MINUTES');
+ elseif ( $stunden == 1 )
+ echo $stunden.' '.lang('GLOBAL_HOUR');
+ elseif ( $stunden < 60 )
+ echo $stunden.' '.lang('GLOBAL_HOURS');
+ elseif ( $tage == 1 )
+ echo $tage.' '.lang('GLOBAL_DAY');
+ elseif ( $tage < 60 )
+ echo $tage.' '.lang('GLOBAL_DAYS');
+ elseif ( $monate == 1 )
+ echo $monate.' '.lang('GLOBAL_MONTH');
+ elseif ( $monate < 12 )
+ echo $monate.' '.lang('GLOBAL_MONTHS');
+ elseif ( $jahre == 1 )
+ echo $jahre.' '.lang('GLOBAL_YEAR');
+ else
+ echo $jahre.' '.lang('GLOBAL_YEARS');
+ echo '</span>';
+ }
+?><?php unset($attr7_date); ?><?php ?></td><?php ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr7_class='text'; $attr7_var='user'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);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
+?>><?php ?><?php $attr7_class='text'; $attr7_var='value'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);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
+?>><?php ?><?php $attr7_true=$public; ?><?php
+ if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
+ $attr7_tmp_exec = $$attr7_true == true;
+ else
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+?>
+<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_key='GLOBAL_PUBLIC'; $attr8_escape=true; $attr8_type='strong'; ?><?php
+ $attr8_title = '';
+ $tmp_tag = 'strong';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr8_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape);unset($attr8_type); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_present='releaseUrl'; ?><?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+?>
+<?php unset($attr8_present); ?><?php $attr9_title=lang('GLOBAL_RELEASE_DESC'); $attr9_target='_self'; $attr9_url=$releaseUrl; $attr9_class=''; ?><?php
+ $params = array();
+ $tmp_url = $attr9_url;
+?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_RELEASE'; $attr10_escape=true; $attr10_type='strong'; ?><?php
+ $attr10_title = '';
+ $tmp_tag = 'strong';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $langF = $attr10_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr10_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr10_class);unset($attr10_key);unset($attr10_escape);unset($attr10_type); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr8_tmp_last_exec) { ?>
+<?php ?><?php $attr9_class='text'; $attr9_key='GLOBAL_INACTIVE'; $attr9_escape=true; $attr9_type='emphatic'; ?><?php
+ $attr9_title = '';
+ $tmp_tag = 'em';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr9_class ?>" title="<?php echo $attr9_title ?>"><?php
+ $langF = $attr9_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr9_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr9_class);unset($attr9_key);unset($attr9_escape);unset($attr9_type); ?><?php ?><?php }
+unset($attr7_tmp_last_exec) ?><?php ?><?php ?><?php }
+unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr7_true=$active; ?><?php
+ if (gettype($attr7_true) === '' && gettype($attr7_true) === '1')
+ $attr7_tmp_exec = $$attr7_true == true;
+ else
+ $attr7_tmp_exec = $attr7_true == true;
+ $attr7_tmp_last_exec = $attr7_tmp_exec;
+ if ( $attr7_tmp_exec )
+ {
+?>
+<?php unset($attr7_true); ?><?php $attr8_class='text'; $attr8_key='GLOBAL_ACTIVE'; $attr8_escape=true; $attr8_type='emphatic'; ?><?php
+ $attr8_title = '';
+ $tmp_tag = 'em';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr8_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape);unset($attr8_type); ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
+<?php ?><?php $attr8_present='useUrl'; ?><?php
+ $attr8_tmp_exec = isset($$attr8_present);
+ $attr8_tmp_last_exec = $attr8_tmp_exec;
+ if ( $attr8_tmp_exec )
+ {
+?>
+<?php unset($attr8_present); ?><?php $attr9_title=lang('GLOBAL_USE_DESC'); $attr9_target='_self'; $attr9_url=$useUrl; $attr9_class=''; ?><?php
+ $params = array();
+ $tmp_url = $attr9_url;
+?><a<?php if (isset($attr9_name)) echo ' name="'.$attr9_name.'"'; else echo ' href="'.$tmp_url.($attr9_anchor?'#'.$attr9_anchor:'').'"' ?> class="<?php echo $attr9_class ?>" target="<?php echo $attr9_target ?>"<?php if (isset($attr9_accesskey)) echo ' accesskey="'.$attr9_accesskey.'"' ?> title="<?php echo encodeHtml($attr9_title) ?>"><?php unset($attr9_title);unset($attr9_target);unset($attr9_url);unset($attr9_class); ?><?php $attr10_class='text'; $attr10_key='GLOBAL_USE'; $attr10_escape=true; ?><?php
+ $attr10_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr10_class ?>" title="<?php echo $attr10_title ?>"><?php
+ $langF = $attr10_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr10_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr10_class);unset($attr10_key);unset($attr10_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php }
+unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr4_present='compareid'; ?><?php
+ $attr4_tmp_exec = isset($$attr4_present);
+ $attr4_tmp_last_exec = $attr4_tmp_exec;
+ if ( $attr4_tmp_exec )
+ {
+?>
+<?php unset($attr4_present); ?><?php ?><?php
+ $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='8'; ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr6_class))
+ $attr6_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr6_class ?>" <?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
+?>><?php unset($attr6_class);unset($attr6_colspan); ?><?php $attr7_type='ok'; $attr7_class='ok'; $attr7_value='ok'; $attr7_text='button_ok'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr7_text = 'MODE_EDIT';
+ $attr7_type = 'submit';
+ $attr7_src = '';
+?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
+?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
+ </td>
+ </tr>
+</table>
+</center>
+<?php if ($showDuration)
+ { ?>
+<br/>
+<center><small>
+<?php $dur = time()-START_TIME;
+ echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center>
+<?php } ?>
+<?php ?><?php ?></form>
<?php ?><?php ?></body>
</html><?php ?>
\ No newline at end of file
diff --git a/themes/default/pages/html/pageelement/diff.tpl.php b/themes/default/pages/html/pageelement/diff.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: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))
{
@@ -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,40 +161,46 @@
<?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 $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:4:{s:5:"class";s:4:"text";s:4:"text";s:14:"GLOBAL_COMPARE";s:6:"escape";s:4:"true";s:4:"type";s:8:"emphatic";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_COMPARE','escape'=>true,'type'=>'emphatic') ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_COMPARE' ?><?php $attr6_escape=true ?><?php $attr6_type='emphatic' ?><?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_COMPARE'; $attr6_escape=true; $attr6_type='emphatic'; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -226,6 +224,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -267,7 +271,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 unset($attr6_type) ?><?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_text);unset($attr6_escape);unset($attr6_type); ?><?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))
@@ -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_raw) ?><?php unset($attr6_escape) ?><?php $attr6_debug_info = 'a:1:{s:4:"date";s:13:"var:date_left";}' ?><?php $attr6 = array('date'=>$date_left) ?><?php $attr6_date=$date_left ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_date=$date_left; ?><?php
global $conf;
$time = $attr6_date;
if ( $time==0)
@@ -388,29 +398,41 @@
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 $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+?><?php unset($attr6_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($attr5_class))
- $attr5['class']=$column_class;
+ $attr5_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5['width']=$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:4:{s:5:"class";s:4:"text";s:4:"text";s:11:"GLOBAL_WITH";s:6:"escape";s:4:"true";s:4:"type";s:8:"emphatic";}' ?><?php $attr6 = array('class'=>'text','text'=>'GLOBAL_WITH','escape'=>true,'type'=>'emphatic') ?><?php $attr6_class='text' ?><?php $attr6_text='GLOBAL_WITH' ?><?php $attr6_escape=true ?><?php $attr6_type='emphatic' ?><?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_WITH'; $attr6_escape=true; $attr6_type='emphatic'; ?><?php
if ( isset($attr6_prefix)&& isset($attr6_key))
$attr6_key = $attr6_prefix.$attr6_key;
if ( isset($attr6_suffix)&& isset($attr6_key))
@@ -434,6 +456,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -475,7 +503,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 unset($attr6_type) ?><?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_text);unset($attr6_escape);unset($attr6_type); ?><?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))
@@ -499,6 +527,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -540,7 +574,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:1:{s:4:"date";s:14:"var:date_right";}' ?><?php $attr6 = array('date'=>$date_right) ?><?php $attr6_date=$date_right ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_raw);unset($attr6_escape); ?><?php $attr6_date=$date_right; ?><?php
global $conf;
$time = $attr6_date;
if ( $time==0)
@@ -596,28 +630,28 @@
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 $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:"4";}' ?><?php $attr5 = array('colspan'=>'4') ?><?php $attr5_colspan='4' ?><?php
+?><?php unset($attr6_date); ?><?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='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($attr5_class))
- $attr5['class']=$column_class;
+ $attr5_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5['width']=$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:4:{s:4:"list";s:4:"diff";s:7:"extract";s:4:"true";s:3:"key";s:8:"list_key";s:5:"value";s:10:"list_value";}' ?><?php $attr4 = array('list'=>'diff','extract'=>true,'key'=>'list_key','value'=>'list_value') ?><?php $attr4_list='diff' ?><?php $attr4_extract=true ?><?php $attr4_key='list_key' ?><?php $attr4_value='list_value' ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $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 $attr4_list='diff'; $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;
@@ -636,89 +670,41 @@
}
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:1:{s:5:"class";s:4:"diff";}' ?><?php $attr5 = array('class'=>'diff') ?><?php $attr5_class='diff' ?><?php
- $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 unset($attr5_class) ?><?php $attr6_debug_info = 'a:1:{s:7:"present";s:4:"left";}' ?><?php $attr6 = array('present'=>'left') ?><?php $attr6_present='left' ?><?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($attr4_list);unset($attr4_extract);unset($attr4_key);unset($attr4_value); ?><?php $attr5_class='diff'; ?><?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
- {
- 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_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 $attr6_present='left'; ?><?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:2:{s:5:"width";s:2:"5%";s:5:"class";s:4:"line";}' ?><?php $attr7 = array('width'=>'5%','class'=>'line') ?><?php $attr7_width='5%' ?><?php $attr7_class='line' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_width='5%'; $attr7_class='line'; ?><?php
$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_width) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:5:"value";s:18:"arrayvar:left:line";s:6:"escape";s:4:"true";s:4:"type";s:2:"tt";}' ?><?php $attr8 = array('class'=>'text','value'=>@$left[line],'escape'=>true,'type'=>'tt') ?><?php $attr8_class='text' ?><?php $attr8_value=@$left[line] ?><?php $attr8_escape=true ?><?php $attr8_type='tt' ?><?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_width);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_value=@$left[line]; $attr8_escape=true; $attr8_type='tt'; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -742,6 +728,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -783,18 +775,24 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_value) ?><?php unset($attr8_escape) ?><?php unset($attr8_type) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:5:"width";s:3:"45%";s:5:"class";s:18:"arrayvar:left:type";}' ?><?php $attr7 = array('width'=>'45%','class'=>@$left[type]) ?><?php $attr7_width='45%' ?><?php $attr7_class=@$left[type] ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_value);unset($attr8_escape);unset($attr8_type); ?><?php ?></td><?php ?><?php $attr7_width='45%'; $attr7_class=@$left[type]; ?><?php
$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_width) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:18:"arrayvar:left:text";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','value'=>@$left[text],'escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_value=@$left[text] ?><?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_width);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_value=@$left[text]; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -818,6 +816,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -859,19 +863,25 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_value) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"width";s:3:"50%";s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('width'=>'50%','class'=>'help','colspan'=>'2') ?><?php $attr7_width='50%' ?><?php $attr7_class='help' ?><?php $attr7_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_value);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_width='50%'; $attr7_class='help'; $attr7_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
- $attr7['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_width) ?><?php unset($attr7_class) ?><?php unset($attr7_colspan) ?><?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
+ $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_width);unset($attr7_class);unset($attr7_colspan); ?><?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))
@@ -895,6 +905,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -936,79 +952,31 @@
}
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() ?></td><?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:"right";}' ?><?php $attr6 = array('present'=>'right') ?><?php $attr6_present='right' ?><?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_raw);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?php }
+unset($attr5_tmp_last_exec) ?><?php ?><?php $attr6_present='right'; ?><?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:2:{s:5:"width";s:2:"5%";s:5:"class";s:4:"line";}' ?><?php $attr7 = array('width'=>'5%','class'=>'line') ?><?php $attr7_width='5%' ?><?php $attr7_class='line' ?><?php
+<?php unset($attr6_present); ?><?php $attr7_width='5%'; $attr7_class='line'; ?><?php
$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_width) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:4:{s:5:"class";s:4:"text";s:5:"value";s:19:"arrayvar:right:line";s:6:"escape";s:4:"true";s:4:"type";s:2:"tt";}' ?><?php $attr8 = array('class'=>'text','value'=>@$right[line],'escape'=>true,'type'=>'tt') ?><?php $attr8_class='text' ?><?php $attr8_value=@$right[line] ?><?php $attr8_escape=true ?><?php $attr8_type='tt' ?><?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_width);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_value=@$right[line]; $attr8_escape=true; $attr8_type='tt'; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1032,6 +1000,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1073,18 +1047,24 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_value) ?><?php unset($attr8_escape) ?><?php unset($attr8_type) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr7_debug_info = 'a:2:{s:5:"width";s:3:"45%";s:5:"class";s:19:"arrayvar:right:type";}' ?><?php $attr7 = array('width'=>'45%','class'=>@$right[type]) ?><?php $attr7_width='45%' ?><?php $attr7_class=@$right[type] ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_value);unset($attr8_escape);unset($attr8_type); ?><?php ?></td><?php ?><?php $attr7_width='45%'; $attr7_class=@$right[type]; ?><?php
$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_width) ?><?php unset($attr7_class) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:5:"value";s:19:"arrayvar:right:text";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','value'=>@$right[text],'escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_value=@$right[text] ?><?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_width);unset($attr7_class); ?><?php $attr8_class='text'; $attr8_value=@$right[text]; $attr8_escape=true; ?><?php
if ( isset($attr8_prefix)&& isset($attr8_key))
$attr8_key = $attr8_prefix.$attr8_key;
if ( isset($attr8_suffix)&& isset($attr8_key))
@@ -1108,6 +1088,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1149,19 +1135,25 @@
}
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_value) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></td><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php } ?><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php if (!$last_exec) { ?>
-<?php unset($attr6) ?><?php $attr7_debug_info = 'a:3:{s:5:"width";s:3:"50%";s:5:"class";s:4:"help";s:7:"colspan";s:1:"2";}' ?><?php $attr7 = array('width'=>'50%','class'=>'help','colspan'=>'2') ?><?php $attr7_width='50%' ?><?php $attr7_class='help' ?><?php $attr7_colspan='2' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_value);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_width='50%'; $attr7_class='help'; $attr7_colspan='2'; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr7_class))
- $attr7['class']=$column_class;
+ $attr7_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) )
- $attr7['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr7 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr7) ?><?php unset($attr7_width) ?><?php unset($attr7_class) ?><?php unset($attr7_colspan) ?><?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
+ $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_width);unset($attr7_class);unset($attr7_colspan); ?><?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))
@@ -1185,6 +1177,12 @@
case 'teletype':
$tmp_tag = 'tt';
break;
+ case 'preformatted';
+ $tmp_tag = 'pre';
+ break;
+ case 'code';
+ $tmp_tag = 'code';
+ break;
default:
$tmp_tag = 'span';
}
@@ -1226,42 +1224,43 @@
}
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() ?></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 $attr5_debug_info = 'a:1:{s:3:"var";s:4:"left";}' ?><?php $attr5 = array('var'=>'left') ?><?php $attr5_var='left' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_raw);unset($attr8_escape); ?><?php ?></td><?php ?><?php ?><?php }
+unset($attr5_tmp_last_exec) ?><?php ?><?php ?></tr><?php ?><?php $attr5_var='left'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
elseif (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
-?><?php unset($attr5) ?><?php unset($attr5_var) ?><?php $attr5_debug_info = 'a:1:{s:3:"var";s:5:"right";}' ?><?php $attr5 = array('var'=>'right') ?><?php $attr5_var='right' ?><?php
+?><?php unset($attr5_var); ?><?php $attr5_var='right'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
elseif (isset($attr5_key))
$$attr5_var = $attr5_value[$attr5_key];
else
$$attr5_var = $attr5_value;
-?><?php unset($attr5) ?><?php unset($attr5_var) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?><?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:"4";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'4') ?><?php $attr5_class='act' ?><?php $attr5_colspan='4' ?><?php
+?><?php unset($attr5_var); ?><?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='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($attr5_class))
- $attr5['class']=$column_class;
+ $attr5_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5['width']=$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:11:"BUTTON_BACK";}' ?><?php $attr6 = array('type'=>'submit','class'=>'ok','value'=>'ok','text'=>'BUTTON_BACK') ?><?php $attr6_type='submit' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='BUTTON_BACK' ?><?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_BACK'; ?><?php
if ($attr6_type=='ok')
{
if ($this->isEditable() && !$this->isEditMode())
@@ -1274,7 +1273,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>
@@ -1286,6 +1285,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/pageelement/edit.tpl.php b/themes/default/pages/html/pageelement/edit.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -55,6 +52,13 @@
?><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_class='text'; $attr3_default=''; $attr3_type='hidden'; $attr3_name='value_time'; $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))
@@ -185,80 +189,14 @@ if ($attr3_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -283,11 +221,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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;
@@ -304,39 +238,16 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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))
- {
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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;
@@ -353,11 +264,8 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr9_class ?>" <?php
+?> colspan="<?php echo $attr9_colspan ?>" <?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;
@@ -369,167 +277,24 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
?>
<?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))
+?><img alt="<?php echo basename($attr12_tmp_image_file); echo ' ('; if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo $attr12_tmp_width.'x'.$attr12_tmp_height; echo')';} ?>" 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
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr10_title = '';
$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);
- }
+ $langF = $attr10_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
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
@@ -542,168 +307,25 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
{
?>
<?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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+?><img alt="<?php echo basename($attr12_tmp_image_file); echo ' ('; if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo $attr12_tmp_width.'x'.$attr12_tmp_height; echo')';} ?>" 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
+ $attr10_title = '';
$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))
+ $langF = $attr10_escape?'langHtml':'lang';
$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
@@ -717,167 +339,24 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
?>
<?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))
+?><img alt="<?php echo basename($attr12_tmp_image_file); echo ' ('; if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo $attr12_tmp_width.'x'.$attr12_tmp_height; echo')';} ?>" 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
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr10_title = '';
$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);
- }
+ $langF = $attr10_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
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
@@ -890,100 +369,20 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
{
?>
<?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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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
+?><img alt="<?php echo basename($attr12_tmp_image_file); echo ' ('; if (isset($attr12_size)) { list($attr12_tmp_width,$attr12_tmp_height)=explode('x',$attr12_size);echo $attr12_tmp_width.'x'.$attr12_tmp_height; echo')';} ?>" 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));
@@ -999,80 +398,12 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
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))
+ $attr10_title = '';
$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))
+ $langF = $attr10_escape?'langHtml':'lang';
$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
@@ -1106,80 +437,12 @@ if ( isset($attr9_rowspan)) { ?> rowspan="<?php echo $attr9_rowspan ?>" <?php }
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))
+ $attr11_title = '';
$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);
- }
+ $langF = $attr11_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
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
@@ -1217,80 +480,13 @@ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php
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 }
+?> width="<?php echo $attr10_width ?>"<?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))
+ $attr11_title = '';
$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);
- }
+ $langF = $attr11_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr11_var)?$$attr11_var:'?unset:'.$attr11_var.'?';
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
@@ -1324,11 +520,7 @@ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php
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 }
+?> width="<?php echo $attr11_width ?>"<?php
?>><?php unset($attr11_width); ?><?php $attr12_empty='url'; ?><?php
if ( !isset($$attr12_empty) )
$attr12_tmp_exec = empty($attr12_empty);
@@ -1343,216 +535,27 @@ if ( isset($attr11_rowspan)) { ?> rowspan="<?php echo $attr11_rowspan ?>" <?php
{
?>
<?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))
+ $attr13_title = '';
$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))
+ $langF = $attr13_escape?'langHtml':'lang';
$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))
+ $attr13_title = '';
$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);
- }
+ $langF = $attr13_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr13_var)?$$attr13_var:'?unset:'.$attr13_var.'?';
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))
+ $attr13_title = '';
$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))
+ $langF = $attr13_escape?'langHtml':'lang';
$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
@@ -1564,243 +567,36 @@ if ( isset($attr11_rowspan)) { ?> rowspan="<?php echo $attr11_rowspan ?>" <?php
$attr12_tmp_exec = true;
else
$attr12_tmp_exec = empty( $$attr12_empty );
- if ( !empty($attr12_not) )
- $attr12_tmp_exec = !$attr12_tmp_exec;
+ $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))
+ $attr14_title = '';
$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))
+ $langF = $attr14_escape?'langHtml':'lang';
$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))
+ $attr14_title = '';
$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);
- }
+ $langF = $attr14_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr14_var)?$$attr14_var:'?unset:'.$attr14_var.'?';
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))
+ $attr14_title = '';
$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))
+ $langF = $attr14_escape?'langHtml':'lang';
$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
@@ -1813,74 +609,11 @@ if ( isset($attr11_rowspan)) { ?> rowspan="<?php echo $attr11_rowspan ?>" <?php
{
?>
<?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))
+ $attr13_title = '';
$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))
+ $langF = $attr13_escape?'langHtml':'lang';
$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
@@ -1899,11 +632,7 @@ if ( isset($attr11_rowspan)) { ?> rowspan="<?php echo $attr11_rowspan ?>" <?php
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?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;
@@ -1920,80 +649,12 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -2008,11 +669,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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())
@@ -2067,74 +723,11 @@ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" va
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -2191,74 +784,11 @@ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" va
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -2330,80 +860,12 @@ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" va
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -2418,11 +880,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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())
@@ -2477,74 +934,11 @@ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" va
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -2601,74 +995,11 @@ if (count($$attr8_list)==0) echo '<input type="hidden" name="'.$attr8_name.'" va
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -2746,11 +1077,7 @@ if (count($$attr8_list)==1) echo '<input type="hidden" name="'.$attr8_name.'" va
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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='';
@@ -2786,11 +1113,7 @@ document.forms[0].<?php echo $attr7_field ?>.select();
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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;
@@ -2929,7 +1252,9 @@ function table()
</script>
<table>
<tr>
- <noscript><input type="text" name="addtext" size="10" /></noscript>
+ <td colspan="14"><noscript><input type="text" name="addtext" size="30" /></noscript></td>
+ </tr>
+ <tr>
<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>
@@ -2944,18 +1269,15 @@ function table()
<td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
</tr>
</table>
- <?php ?>
+ <textarea name="<?php echo $attr8_name ?>" class="editor" style="width:100%;height:300px;"><?php echo $$attr8_name ?></textarea>
<?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');
+ echo implode('',$attr8_tmp_text);
}
break;
case 'text':
@@ -2990,77 +1312,14 @@ function table()
{
?>
<?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))
+ $attr10_title = '';
$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);
- }
+ $langF = $attr10_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr10_var)?$$attr10_var:'?unset:'.$attr10_var.'?';
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
+?></<?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_title=lang('value'); ?><fieldset><?php if(isset($attr8_title)) { ?><legend><?php echo encodeHtml($attr8_title) ?></legend><?php } ?><?php unset($attr8_title); ?><?php ?></fieldset><?php ?><?php $attr8_name='text'; $attr8_type='wiki'; ?><?php
function checkbox( $name,$value=false,$writable=true,$params=Array() )
{
$src = '<input type="checkbox" name="'.$name.'"';
@@ -3192,7 +1451,9 @@ function table()
</script>
<table>
<tr>
- <noscript><input type="text" name="addtext" size="10" /></noscript>
+ <td colspan="14"><noscript><input type="text" name="addtext" size="30" /></noscript></td>
+ </tr>
+ <tr>
<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>
@@ -3207,18 +1468,15 @@ function table()
<td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
</tr>
</table>
- <?php ?>
+ <textarea name="<?php echo $attr8_name ?>" class="editor" style="width:100%;height:300px;"><?php echo $$attr8_name ?></textarea>
<?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');
+ echo implode('',$attr8_tmp_text);
}
break;
case 'text':
@@ -3250,33 +1508,12 @@ function table()
{
?>
<?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))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$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))
@@ -3289,435 +1526,52 @@ function table()
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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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
@@ -3732,293 +1586,36 @@ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php
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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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
@@ -4033,293 +1630,36 @@ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php
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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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
@@ -4334,1003 +1674,116 @@ if ( isset($attr10_rowspan)) { ?> rowspan="<?php echo $attr10_rowspan ?>" <?php
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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+?></<?php echo $tmp_tag ?>><?php unset($attr11_class);unset($attr11_value);unset($attr11_escape); ?><?php $attr11_class='text'; $attr11_raw='...'; $attr11_escape=true; ?><?php
+ $attr11_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr11_class ?>" title="<?php echo $attr11_title ?>"><?php
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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))
+ $attr11_title = '';
$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))
+ $langF = $attr11_escape?'langHtml':'lang';
$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
@@ -5371,80 +1824,12 @@ document.forms[0].<?php echo $attr8_field ?>.select();
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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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
@@ -5459,11 +1844,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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())
@@ -5548,80 +1928,12 @@ document.forms[0].<?php echo $attr7_field ?>.select();
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))
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -5636,11 +1948,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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='';
@@ -5670,11 +1977,7 @@ if ($attr8_readonly) {
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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())
@@ -5756,11 +2059,7 @@ document.forms[0].<?php echo $attr7_field ?>.select();
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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())
@@ -5842,11 +2141,7 @@ document.forms[0].<?php echo $attr7_field ?>.select();
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?php
?>><?php unset($attr6_colspan); ?><?php $attr7_name='decimals'; $attr7_default='decimals'; ?><?php
if (isset($$attr7_name))
$attr7_tmp_value = $$attr7_name;
@@ -5889,11 +2184,7 @@ document.forms[0].<?php echo $attr7_field ?>.select();
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 }
+?> colspan="<?php echo $attr6_colspan ?>" <?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())
@@ -5990,11 +2281,7 @@ document.forms[0].<?php echo $attr7_field ?>.select();
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 }
+?> colspan="<?php echo $attr8_colspan ?>" <?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;
@@ -6017,11 +2304,7 @@ if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?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) )
@@ -6034,74 +2317,12 @@ 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))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr9_text);
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
@@ -6126,11 +2347,7 @@ if ( $attr8_readonly && $checked )
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 }
+?> colspan="<?php echo $attr7_colspan ?>" <?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) )
@@ -6143,74 +2360,12 @@ 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))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr9_text);
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
@@ -6229,22 +2384,12 @@ if ( $attr8_readonly && $checked )
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 }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/pageelement/prop.tpl.php b/themes/default/pages/html/pageelement/prop.tpl.php
@@ -1,1927 +1,1832 @@
-<?php $attr1_class='main'; ?> <?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
- ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
- <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
- <?php
- }
- ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
- ?><?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
- <?php } ?>
- <?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
- <?php } ?>
- </head>
- <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && !$this->isEditMode())
- $attr2_subaction = $subActionName;
- ?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
- <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
- <input type="hidden" name="mode" value="edit" />
- <?php } ?>
- <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
- <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
- <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
- if ( $conf['interface']['url_sessionid'] )
- echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
- ?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_icon='folder'; $attr3_widths='40%,60%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->isEditMode()) {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
- <?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
- <?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
- <?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
- <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td>
- <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
- <?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3_icon);unset($attr3_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_text='name'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='name'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_var='name'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_text='description'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_var='description'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_text='type'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php $attr5_class='filename'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class); ?><?php $attr6_align='left'; $attr6_elementtype=$element_type; ?> <?php
- $attr6_tmp_image_file = $image_dir.'icon_el_'.$attr6_elementtype.IMG_ICON_EXT;
- $attr6_size = '16x16';
- ?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_align);unset($attr6_elementtype); ?><?php $attr6_class='text'; $attr6_key='el_'.$element_type.''; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('additional_info'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_key='template'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_present='template_url'; ?> <?php
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #IF-ATTR present#
- $attr6_tmp_exec = isset($$attr6_present);
- #END-IF#
- #END-IF#
- #END-IF#
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $attr6_tmp_exec;
- if ( $attr6_tmp_exec )
- {
- ?>
-<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main_main'; $attr7_url=$template_url; $attr7_class=''; ?> <?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
- ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_file='icon_template'; $attr8_align='left'; ?> <?php
- $attr8_tmp_image_file = $image_dir.$attr8_fileext;
- $attr8_tmp_image_file = $image_dir.$attr8_file.IMG_ICON_EXT;
- ?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_file);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='template_name'; $attr8_escape=true; ?> <?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
- $tmp_tag = 'span';
- else
- switch( $attr8_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
- $attr8_title = '';
- if ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php $attr6_empty='template_url'; ?> <?php
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #IF-ATTR empty#
- if ( !isset($$attr6_empty) )
- $attr6_tmp_exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $attr6_tmp_exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $attr6_tmp_exec = true;
- else
- $attr6_tmp_exec = empty( $$attr6_empty );
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $attr6_tmp_exec;
- if ( $attr6_tmp_exec )
- {
- ?>
-<?php unset($attr6_empty); ?><?php $attr7_file='icon_template'; $attr7_align='left'; ?> <?php
- $attr7_tmp_image_file = $image_dir.$attr7_fileext;
- $attr7_tmp_image_file = $image_dir.$attr7_file.IMG_ICON_EXT;
- ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_file);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='template_name'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_key='element'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_present='element_url'; ?> <?php
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #IF-ATTR present#
- $attr6_tmp_exec = isset($$attr6_present);
- #END-IF#
- #END-IF#
- #END-IF#
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $attr6_tmp_exec;
- if ( $attr6_tmp_exec )
- {
- ?>
-<?php unset($attr6_present); ?><?php $attr7_title=''; $attr7_target='cms_main_main'; $attr7_url=$element_url; $attr7_class=''; ?> <?php
- $params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- if (!empty($attr7_var2) && isset($attr7_value2))
- $params[$attr7_var2]=$attr7_value2;
- if (!empty($attr7_var3) && isset($attr7_value3))
- $params[$attr7_var3]=$attr7_value3;
- if (!empty($attr7_var4) && isset($attr7_value4))
- $params[$attr7_var4]=$attr7_value4;
- if (!empty($attr7_var5) && isset($attr7_value5))
- $params[$attr7_var5]=$attr7_value5;
- if(empty($attr7_class))
- $attr7_class='';
- if(empty($attr7_title))
- $attr7_title = '';
- if(!empty($attr7_url))
- $tmp_url = $attr7_url;
- else
- $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
- ?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_align='left'; $attr8_elementtype=$element_type; ?> <?php
- $attr8_tmp_image_file = $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT;
- $attr8_size = '16x16';
- ?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_elementtype); ?><?php $attr8_class='text'; $attr8_var='element_name'; $attr8_escape=true; ?> <?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
- $tmp_tag = 'span';
- else
- switch( $attr8_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr8_class ?>" title="<?php echo $attr8_title ?>"><?php
- $attr8_title = '';
- if ( $attr8_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr8_array))
- {
- $tmpArray = $$attr8_array;
- if (!empty($attr8_var))
- $tmp_text = $tmpArray[$attr8_var];
- else
- $tmp_text = $langF($tmpArray[$attr8_text]);
- }
- elseif (!empty($attr8_text))
- $tmp_text = $langF($attr8_text);
- elseif (!empty($attr8_textvar))
- $tmp_text = $langF($$attr8_textvar);
- elseif (!empty($attr8_key))
- $tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?> </a><?php ?><?php ?> <?php } ?><?php ?><?php $attr6_empty='element_url'; ?> <?php
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #IF-ATTR empty#
- if ( !isset($$attr6_empty) )
- $attr6_tmp_exec = empty($attr6_empty);
- elseif ( is_array($$attr6_empty) )
- $attr6_tmp_exec = (count($$attr6_empty)==0);
- elseif ( is_bool($$attr6_empty) )
- $attr6_tmp_exec = true;
- else
- $attr6_tmp_exec = empty( $$attr6_empty );
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- unset($attr6_true);
- unset($attr6_false);
- unset($attr6_notempty);
- unset($attr6_empty);
- unset($attr6_contains);
- unset($attr6_present);
- unset($attr6_invert);
- unset($attr6_not);
- unset($attr6_value);
- unset($attr6_equals);
- $last_exec = $attr6_tmp_exec;
- if ( $attr6_tmp_exec )
- {
- ?>
-<?php unset($attr6_empty); ?><?php $attr7_icon='element'; $attr7_align='left'; ?> <?php
- $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT;
- $attr7_size = '16x16';
- ?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_icon);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='element_name'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?> <?php } ?><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_present='text'; ?> <?php
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #END-IF#
- #IF-ATTR present#
- $attr4_tmp_exec = isset($$attr4_present);
- #END-IF#
- #END-IF#
- #END-IF#
- unset($attr4_true);
- unset($attr4_false);
- unset($attr4_notempty);
- unset($attr4_empty);
- unset($attr4_contains);
- unset($attr4_present);
- unset($attr4_invert);
- unset($attr4_not);
- unset($attr4_value);
- unset($attr4_equals);
- $last_exec = $attr4_tmp_exec;
- if ( $attr4_tmp_exec )
- {
- ?>
-<?php unset($attr4_present); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_colspan); ?><?php $attr7_title=lang('DOCUMENT_TREE'); ?> <fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr5_class ?>"><?php ?><?php $attr6_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr6_class))
- $attr6_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
- $attr6_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
- if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style?>" <?php }
- if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
- if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
- if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
- ?>><?php unset($attr6_colspan); ?><?php $attr7_name='text'; $attr7_type='dom'; ?> <?php
- function checkbox( $name,$value=false,$writable=true,$params=Array() )
- {
- $src = '<input type="checkbox" name="'.$name.'"';
- foreach( $params as $name=>$val )
- $src .= " $name=\"$val\"";
- if ( !$writable )
- $src .= ' disabled="disabled"';
- if ( $value )
- $src .= ' value="1" checked="checked"';
- $src .= ' />';
- return $src;
- }
- function selectBox( $name,$values,$default='',$params=Array() )
- {
- if ( ! is_array($values) )
- $values = array($values);
- $src = '<select size="1" name="'.$name.'"';
- foreach( $params as $name=>$value )
- $src .= " $name=\"$value\"";
- $src .= '>';
- foreach( $values as $key=>$value )
- {
- $src .= '<option value="'.$key.'"';
- if ($key == $default)
- $src .= ' selected="selected"';
- $src .= '>'.$value.'</option>';
- }
- $src .= '</select>';
- return $src;
- }
- ?><?php
- switch( $attr7_type )
- {
- case 'fckeditor':
- case 'html':
- if ( $this->isEditMode() )
- {
- include('./editor/fckeditor.php');
- $editor = new FCKeditor( $attr7_name ) ;
- $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
- $editor->Value = $$attr7_name;
- $editor->Height = '290';
- $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
- $editor->Create();
- }
- else
- {
- echo ($$attr7_name);
- }
- break;
- case 'wiki':
- $conf_tags = $conf['editor']['text-markup'];
- if ( $this->isEditMode() )
- {
- ?>
- <script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
- <script name="JavaScript" type="text/javascript">
- function strong()
- {
- insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
- }
- function emphatic()
- {
- insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
- }
- function link()
- {
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr7_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
- }
- function image()
- {
- objectid = document.forms[0].objectid.value;
- if (objectid=="" ||objectid=="0"||objectid==null)
- objectid = window.prompt("Id","");
- if (objectid=="" ||objectid=="0"||objectid==null)
- return;
- insert('<?php echo $attr7_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
- }
- function list()
- {
- insert('<?php echo $attr7_name ?>',"","\n");
- while( true )
- {
- t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
- if ( t != '' && t != null )
- insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
- else
- break;
- }
- }
- function numlist()
- {
- insert('<?php echo $attr7_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
- }
- function table()
- {
- column=1;
- while( true )
- {
- if ( column==1 )
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
- else
- text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
- t = window.prompt(text,'');
- if ( t != '' && t != null )
- {
- insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
- column++;
- }
- else
- {
- if (column==1)
- {
- break;
- }
- else
- {
- insert('text',"\n","");
- column=1;
- }
- }
- }
- }
- </script>
- <table>
- <tr>
- <noscript><input type="text" name="addtext" size="10" /></noscript>
- <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
- <td> </td>
- <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
- <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
- <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
- <td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
- </tr>
- </table>
- <?php ?>
- <?php
- echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
- }
- else
- {
- $attr7_tmp_doc = new DocumentElement();
- $attr7_tmp_text = $$attr7_name;
- if ( !is_array($attr7_tmp_text))
- $attr7_tmp_text = explode("\n",$attr7_tmp_text);
- $attr7_tmp_doc->parse($attr7_tmp_text);
- echo $attr7_tmp_doc->render('application/html');
- }
- break;
- case 'text':
- case 'raw':
- if ( $this->isEditMode() )
- echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
- else
- echo nl2br($$attr7_name);
- break;
- case 'dom':
- case 'tree':
- $attr7_tmp_doc = new DocumentElement();
- $attr7_tmp_text = $$attr7_name;
- if ( !is_array($attr7_tmp_text))
- $attr7_tmp_text = explode("\n",$attr7_tmp_text);
- $attr7_tmp_doc->parse($attr7_tmp_text);
- echo $attr7_tmp_doc->render('application/html-dom');
- break;
- default:
- echo "Unknown editor type: ".$attr7_type;
- }
- ?><?php unset($attr7_name);unset($attr7_type); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php } ?><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('prop_userinfo'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class='text'; $attr6_text='lastchange'; $attr6_escape=true; ?> <?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
- $tmp_tag = 'span';
- else
- switch( $attr6_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php
- $attr6_title = '';
- if ( $attr6_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = $langF($tmpArray[$attr6_text]);
- }
- elseif (!empty($attr6_text))
- $tmp_text = $langF($attr6_text);
- elseif (!empty($attr6_textvar))
- $tmp_text = $langF($$attr6_textvar);
- elseif (!empty($attr6_key))
- $tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_width='100%'; $attr6_space='0px'; $attr6_padding='0px'; $attr6_rowclasses='odd,even'; ?> <?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr6_class))
- $attr6_class='';
- if (!empty($attr6_widths))
- {
- $column_widths = explode(',',$attr6_widths);
- unset($attr6['widths']);
- }
- if (!empty($attr6_classes))
- {
- $row_classes = explode(',',$attr6_rowclasses);
- $row_class_idx = 999;
- unset($attr6['rowclasses']);
- }
- if (!empty($attr6_rowclasses))
- {
- $row_classes = explode(',',$attr6_rowclasses);
- $row_class_idx = 999;
- unset($attr6['rowclasses']);
- }
- if (!empty($attr6_columnclasses))
- {
- $column_classes = explode(',',$attr6_columnclasses);
- unset($attr6['columnclasses']);
- }
- ?><table class="<?php echo $attr6_class ?>" cellspacing="<?php echo $attr6_space ?>" width="<?php echo $attr6_width ?>" cellpadding="<?php echo $attr6_padding ?>"><?php unset($attr6_width);unset($attr6_space);unset($attr6_padding);unset($attr6_rowclasses); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr7_class))
- $attr7_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr7_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr8_class))
- $attr8_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) )
- $attr8_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr8_width )) { ?> width="<?php echo $attr8_width ?>" <?php }
- if ( isset($attr8_style )) { ?> style="<?php echo $attr8_style?>" <?php }
- if ( isset($attr8_class )) { ?> class="<?php echo $attr8_class ?>" <?php }
- if ( isset($attr8_colspan)) { ?> colspan="<?php echo $attr8_colspan ?>" <?php }
- if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
- ?>><?php ?><?php $attr9_icon='el_date'; $attr9_align='left'; ?> <?php
- $attr9_tmp_image_file = $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT;
- $attr9_size = '16x16';
- ?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_icon);unset($attr9_align); ?><?php $attr9_date=$lastchange_date; ?> <?php
- global $conf;
- $time = $attr9_date;
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- {
- echo '<span title="';
- $dl = date(lang('DATE_FORMAT_LONG'),$time);
- $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
- $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
- echo $dl;
- unset($dl);
- echo '">';
- echo date(lang('DATE_FORMAT'),$time);
- echo '</span>';
- }
- else
- {
- $sekunden = time()-$time;
- $minuten = intval($sekunden/60);
- $stunden = intval($minuten /60);
- $tage = intval($stunden /24);
- $monate = intval($tage /30);
- $jahre = intval($monate /12);
- echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">';
- if ( $time==0)
- echo lang('GLOBAL_UNKNOWN');
- elseif ( !$conf['interface']['human_date_format'] )
- echo date(lang('DATE_FORMAT'),$time);
- elseif ( $sekunden == 1 )
- echo $sekunden.' '.lang('GLOBAL_SECOND');
- elseif ( $sekunden < 60 )
- echo $sekunden.' '.lang('GLOBAL_SECONDS');
- elseif ( $minuten == 1 )
- echo $minuten.' '.lang('GLOBAL_MINUTE');
- elseif ( $minuten < 60 )
- echo $minuten.' '.lang('GLOBAL_MINUTES');
- elseif ( $stunden == 1 )
- echo $stunden.' '.lang('GLOBAL_HOUR');
- elseif ( $stunden < 60 )
- echo $stunden.' '.lang('GLOBAL_HOURS');
- elseif ( $tage == 1 )
- echo $tage.' '.lang('GLOBAL_DAY');
- elseif ( $tage < 60 )
- echo $tage.' '.lang('GLOBAL_DAYS');
- elseif ( $monate == 1 )
- echo $monate.' '.lang('GLOBAL_MONTH');
- elseif ( $monate < 12 )
- echo $monate.' '.lang('GLOBAL_MONTHS');
- elseif ( $jahre == 1 )
- echo $jahre.' '.lang('GLOBAL_YEAR');
- else
- echo $jahre.' '.lang('GLOBAL_YEARS');
- echo '</span>';
- }
- ?><?php unset($attr9_date); ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr8_class))
- $attr8_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr8_rowspan) )
- $attr8_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr8_width )) { ?> width="<?php echo $attr8_width ?>" <?php }
- if ( isset($attr8_style )) { ?> style="<?php echo $attr8_style?>" <?php }
- if ( isset($attr8_class )) { ?> class="<?php echo $attr8_class ?>" <?php }
- if ( isset($attr8_colspan)) { ?> colspan="<?php echo $attr8_colspan ?>" <?php }
- if ( isset($attr8_rowspan)) { ?> rowspan="<?php echo $attr8_rowspan ?>" <?php }
- ?>><?php ?><?php $attr9_icon='user'; $attr9_align='left'; ?> <?php
- $attr9_tmp_image_file = $image_dir.'icon_'.$attr9_icon.IMG_ICON_EXT;
- $attr9_size = '16x16';
- ?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_icon);unset($attr9_align); ?><?php $attr9_user=$lastchange_user; ?> <?php
- if ( is_object($attr9_user) )
- $user = $attr9_user;
- else
- $user = $$attr9_user;
- if ( empty($user->name) )
- $user->name = lang('GLOBAL_UNKNOWN');
- if ( empty($user->fullname) )
- $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE');
- if ( !empty($user->mail) && $conf['security']['user']['show_mail'] )
- echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>';
- else
- echo '<span title="'.$user->fullname.'">'.$user->name.'</span>';
- ?><?php unset($attr9_user); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
- </td>
+<?php $attr1_class='main'; ?><?php
+ if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
+?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+ <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
+ <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
+ <meta name="MSSmartTagsPreventParsing" content="true" />
+ <meta name="robots" content="noindex,nofollow" />
+<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
+ {
+ ?>
+ <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
+<?php
+ }
+?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
+ {
+ ?>
+ <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
+ }
+?><?php if(!empty($root_stylesheet)) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
+<?php } ?>
+<?php if($root_stylesheet!=$user_stylesheet) { ?>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
+<?php } ?>
+</head>
+<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
+ if (empty($attr2_action))
+ $attr2_action = $actionName;
+ if (empty($attr2_subaction))
+ $attr2_subaction = $targetSubActionName;
+ if (empty($attr2_id))
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
+<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
+ if ( $conf['interface']['url_sessionid'] )
+ echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_icon='folder'; $attr3_widths='40%,60%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+<?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+<?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <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_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;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php ?><?php $attr6_class='text'; $attr6_text='name'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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='name'; ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr5_class))
+ $attr5_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
+if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
+if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
+if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
+if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_var='name'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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='description'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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='description'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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='type'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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_align='left'; $attr6_elementtype=$element_type; ?><?php
+ $attr6_tmp_image_file = $image_dir.'icon_el_'.$attr6_elementtype.IMG_ICON_EXT;
+ $attr6_size = '16x16';
+?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_align);unset($attr6_elementtype); ?><?php $attr6_class='text'; $attr6_key='el_'.$element_type.''; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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 ?></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='template'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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_present='template_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=$template_url; $attr7_class=''; ?><?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_file='icon_template'; $attr8_align='left'; ?><?php
+ $attr8_tmp_image_file = $image_dir.$attr8_fileext;
+ $attr8_tmp_image_file = $image_dir.$attr8_file.IMG_ICON_EXT;
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_file);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='template_name'; $attr8_escape=true; ?><?php
+ if ( isset($attr8_prefix)&& isset($attr8_key))
+ $attr8_key = $attr8_prefix.$attr8_key;
+ if ( isset($attr8_suffix)&& isset($attr8_key))
+ $attr8_key = $attr8_key.$attr8_suffix;
+ if(empty($attr8_title))
+ $attr8_title = '';
+ if (empty($attr8_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr8_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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 ?><?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
+ $attr6_tmp_exec = empty( $$attr6_empty );
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+?>
+<?php unset($attr6_empty); ?><?php $attr7_file='icon_template'; $attr7_align='left'; ?><?php
+ $attr7_tmp_image_file = $image_dir.$attr7_fileext;
+ $attr7_tmp_image_file = $image_dir.$attr7_file.IMG_ICON_EXT;
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_file);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='template_name'; $attr7_escape=true; ?><?php
+ if ( isset($attr7_prefix)&& isset($attr7_key))
+ $attr7_key = $attr7_prefix.$attr7_key;
+ if ( isset($attr7_suffix)&& isset($attr7_key))
+ $attr7_key = $attr7_key.$attr7_suffix;
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if (empty($attr7_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr7_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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 ?><?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='element'; $attr6_escape=true; ?><?php
+ if ( isset($attr6_prefix)&& isset($attr6_key))
+ $attr6_key = $attr6_prefix.$attr6_key;
+ if ( isset($attr6_suffix)&& isset($attr6_key))
+ $attr6_key = $attr6_key.$attr6_suffix;
+ if(empty($attr6_title))
+ $attr6_title = '';
+ if (empty($attr6_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr6_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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_present='element_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=$element_url; $attr7_class=''; ?><?php
+ $params = array();
+ if (!empty($attr7_var1) && isset($attr7_value1))
+ $params[$attr7_var1]=$attr7_value1;
+ if (!empty($attr7_var2) && isset($attr7_value2))
+ $params[$attr7_var2]=$attr7_value2;
+ if (!empty($attr7_var3) && isset($attr7_value3))
+ $params[$attr7_var3]=$attr7_value3;
+ if (!empty($attr7_var4) && isset($attr7_value4))
+ $params[$attr7_var4]=$attr7_value4;
+ if (!empty($attr7_var5) && isset($attr7_value5))
+ $params[$attr7_var5]=$attr7_value5;
+ if(empty($attr7_class))
+ $attr7_class='';
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if(!empty($attr7_url))
+ $tmp_url = $attr7_url;
+ else
+ $tmp_url = Html::url($attr7_action,$attr7_subaction,!empty($attr7_id)?$attr7_id:$this->getRequestId(),$params);
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class); ?><?php $attr8_align='left'; $attr8_elementtype=$element_type; ?><?php
+ $attr8_tmp_image_file = $image_dir.'icon_el_'.$attr8_elementtype.IMG_ICON_EXT;
+ $attr8_size = '16x16';
+?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_elementtype); ?><?php $attr8_class='text'; $attr8_var='element_name'; $attr8_escape=true; ?><?php
+ if ( isset($attr8_prefix)&& isset($attr8_key))
+ $attr8_key = $attr8_prefix.$attr8_key;
+ if ( isset($attr8_suffix)&& isset($attr8_key))
+ $attr8_key = $attr8_key.$attr8_suffix;
+ if(empty($attr8_title))
+ $attr8_title = '';
+ if (empty($attr8_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr8_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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 ?><?php } ?><?php ?><?php $attr6_empty='element_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
+ $attr6_tmp_exec = empty( $$attr6_empty );
+ $attr6_tmp_last_exec = $attr6_tmp_exec;
+ if ( $attr6_tmp_exec )
+ {
+?>
+<?php unset($attr6_empty); ?><?php $attr7_icon='element'; $attr7_align='left'; ?><?php
+ $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT;
+ $attr7_size = '16x16';
+?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_icon);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='element_name'; $attr7_escape=true; ?><?php
+ if ( isset($attr7_prefix)&& isset($attr7_key))
+ $attr7_key = $attr7_prefix.$attr7_key;
+ if ( isset($attr7_suffix)&& isset($attr7_key))
+ $attr7_key = $attr7_key.$attr7_suffix;
+ if(empty($attr7_title))
+ $attr7_title = '';
+ if (empty($attr7_type))
+ $tmp_tag = 'span';
+ else
+ switch( $attr7_type )
+ {
+ case 'emphatic':
+ case 'italic':
+ $tmp_tag = 'em';
+ break;
+ case 'strong':
+ case 'bold':
+ $tmp_tag = 'strong';
+ break;
+ case 'tt':
+ case 'teletype':
+ $tmp_tag = 'tt';
+ break;
+ 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='text'; ?><?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 $attr6_colspan='2'; ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr6_class))
+ $attr6_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr6_rowspan) )
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+if ( isset($attr6_width )) { ?> width="<?php echo $attr6_width ?>" <?php }
+if ( isset($attr6_style )) { ?> style="<?php echo $attr6_style ?>" <?php }
+if ( isset($attr6_class )) { ?> class="<?php echo $attr6_class ?>" <?php }
+if ( isset($attr6_colspan)) { ?> colspan="<?php echo $attr6_colspan ?>" <?php }
+if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
+?>><?php unset($attr6_colspan); ?><?php $attr7_title=lang('DOCUMENT_TREE'); ?><fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $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='text'; $attr7_type='dom'; ?><?php
+ function checkbox( $name,$value=false,$writable=true,$params=Array() )
+ {
+ $src = '<input type="checkbox" name="'.$name.'"';
+ foreach( $params as $name=>$val )
+ $src .= " $name=\"$val\"";
+ if ( !$writable )
+ $src .= ' disabled="disabled"';
+ if ( $value )
+ $src .= ' value="1" checked="checked"';
+ $src .= ' />';
+ return $src;
+ }
+ function selectBox( $name,$values,$default='',$params=Array() )
+ {
+ if ( ! is_array($values) )
+ $values = array($values);
+ $src = '<select size="1" name="'.$name.'"';
+ foreach( $params as $name=>$value )
+ $src .= " $name=\"$value\"";
+ $src .= '>';
+ foreach( $values as $key=>$value )
+ {
+ $src .= '<option value="'.$key.'"';
+ if ($key == $default)
+ $src .= ' selected="selected"';
+ $src .= '>'.$value.'</option>';
+ }
+ $src .= '</select>';
+ return $src;
+ }
+ ?><?php
+switch( $attr7_type )
+{
+ case 'fckeditor':
+ case 'html':
+ if ( $this->isEditMode() )
+ {
+ include('./editor/fckeditor.php');
+ $editor = new FCKeditor( $attr7_name ) ;
+ $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/';
+ $editor->Value = $$attr7_name;
+ $editor->Height = '290';
+ $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js';
+ $editor->Create();
+ }
+ else
+ {
+ echo ($$attr7_name);
+ }
+ break;
+ case 'wiki':
+ $conf_tags = $conf['editor']['text-markup'];
+ if ( $this->isEditMode() )
+ {
+ ?>
+<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../../js/editor.js"></script>
+<script name="JavaScript" type="text/javascript">
+function strong()
+{
+ insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['strong-begin'] ?>','<?php echo $conf_tags['strong-end'] ?>');
+}
+function emphatic()
+{
+ insert('<?php echo $attr7_name ?>','<?php echo $conf_tags['emphatic-begin'] ?>','<?php echo $conf_tags['emphatic-end'] ?>');
+}
+function link()
+{
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr7_name ?>','"','"<?php echo $conf_tags['linkto'] ?>"'+objectid+'"');
+}
+function image()
+{
+ objectid = document.forms[0].objectid.value;
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ objectid = window.prompt("Id","");
+ if (objectid=="" ||objectid=="0"||objectid==null)
+ return;
+ insert('<?php echo $attr7_name ?>','','<?php echo $conf_tags['image-begin'] ?>"'+objectid+'"<?php echo $conf_tags['image-end'] ?>');
+}
+function list()
+{
+ insert('<?php echo $attr7_name ?>',"","\n");
+ while( true )
+ {
+ t = window.prompt('<?php echo lang('EDITOR_PROMPT_LIST_ENTRY') ?>','');
+ if ( t != '' && t != null )
+ insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['list-unnumbered'] ?> "+t+"\n","");
+ else
+ break;
+ }
+}
+function numlist()
+{
+ insert('<?php echo $attr7_name ?>',"\n\n<?php echo $conf_tags['list-numbered'] ?> ","\n<?php echo $conf_tags['list-numbered'] ?> \n<?php echo $conf_tags['list-numbered'] ?> \n");
+}
+function table()
+{
+ column=1;
+ while( true )
+ {
+ if ( column==1 )
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL_FIRST_COLUMN') ?>';
+ else
+ text='<?php echo lang('EDITOR_PROMPT_TABLE_CELL') ?>';
+ t = window.prompt(text,'');
+ if ( t != '' && t != null )
+ {
+ insert('<?php echo $attr7_name ?>',"<?php echo $conf_tags['table-cell-sep'] ?>"+t,"");
+ column++;
+ }
+ else
+ {
+ if (column==1)
+ {
+ break;
+ }
+ else
+ {
+ insert('text',"\n","");
+ column=1;
+ }
+ }
+ }
+}
+</script>
+ <table>
+ <tr>
+ <noscript><input type="text" name="addtext" size="10" /></noscript>
+ <td><noscript><?php echo checkbox('strong') ?></noscript><a href="javascript:strong();" title="<?php echo lang('PAGE_EDITOR_ADD_STRONG') ?>"><img src="<?php echo $image_dir ?>/editor/bold.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('emphatic') ?></noscript><a href="javascript:emphatic();" title="<?php echo lang('PAGE_EDITOR_ADD_EMPHATIC') ?>"><img src="<?php echo $image_dir ?>/editor/italic.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('table') ?></noscript><a href="javascript:table();" title="<?php echo lang('PAGE_EDITOR_ADD_TABLE') ?>"><img src="<?php echo $image_dir ?>/editor/table.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('list') ?></noscript><a href="javascript:list();" title="<?php echo lang('PAGE_EDITOR_ADD_LIST') ?>"><img src="<?php echo $image_dir ?>/editor/list.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('numlist') ?></noscript><a href="javascript:numlist();" title="<?php echo lang('PAGE_EDITOR_ADD_NUMLIST') ?>"><img src="<?php echo $image_dir ?>/editor/numlist.png" border"0" /></a></td>
+ <td> </td>
+ <td><noscript><?php echo checkbox('image') ?></noscript><a href="javascript:image();" title="<?php echo lang('PAGE_EDITOR_ADD_IMAGE') ?>"><img src="<?php echo $image_dir ?>/editor/image.png" border"0" /></a></td>
+ <td><noscript><?php echo checkbox('link') ?></noscript><a href="javascript:link();" title="<?php echo lang('PAGE_EDITOR_ADD_LINK') ?>"><img src="<?php echo $image_dir ?>/editor/link.png" border"0" /></a></td>
+ <td><?php echo selectBox('objectid',$objects) ?><noscript> <input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td>
+ <td> <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" style="width:200px;"/></td>
</tr>
</table>
- </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="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
+ }
+ else
+ {
+ $attr7_tmp_text = $$attr7_name;
+ if ( !is_array($attr7_tmp_text))
+ $attr7_tmp_text = explode("\n",$attr7_tmp_text);
+ echo implode('',$attr7_tmp_text);
+ }
+ break;
+ case 'text':
+ case 'raw':
+ if ( $this->isEditMode() )
+ echo '<textarea name="'.$attr7_name.'" class="editor" style="width:100%;height:300px;">'.$$attr7_name.'</textarea>';
+ else
+ echo nl2br($$attr7_name);
+ break;
+ case 'dom':
+ case 'tree':
+ $attr7_tmp_doc = new DocumentElement();
+ $attr7_tmp_text = $$attr7_name;
+ if ( !is_array($attr7_tmp_text))
+ $attr7_tmp_text = explode("\n",$attr7_tmp_text);
+ $attr7_tmp_doc->parse($attr7_tmp_text);
+ echo $attr7_tmp_doc->render('application/html-dom');
+ break;
+ default:
+ echo "Unknown editor type: ".$attr7_type;
+}
+?><?php unset($attr7_name);unset($attr7_type); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php
+ $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='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 ?> </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/confirmmail.tpl.php b/themes/default/pages/html/profile/confirmmail.tpl.php
@@ -1,49 +1,51 @@
-<?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 name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
+ <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']) ?>" />
+ <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
+ <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 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 ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" >
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
$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:7:{s:5:"title";s:15:"GLOBAL_password";s:4:"name";s:5:"login";s:4:"icon";s:4:"user";s:6:"widths";s:7:"50%,50%";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('title'=>'GLOBAL_password','name'=>'login','icon'=>'user','widths'=>'50%,50%','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_title='GLOBAL_password' ?><?php $attr3_name='login' ?><?php $attr3_icon='user' ?><?php $attr3_widths='50%,50%' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_title='GLOBAL_password'; $attr3_name='login'; $attr3_icon='user'; $attr3_widths='50%,50%'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -74,17 +76,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 +100,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 +110,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,161 +158,94 @@
<?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:2:{s:5:"class";s:4:"logo";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'logo','colspan'=>'2') ?><?php $attr5_class='logo' ?><?php $attr5_colspan='2' ?><?php
+ <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 $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;
+ $attr5_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:1:{s:4:"name";s:10:"changemail";}' ?><?php $attr6 = array('name'=>'changemail') ?><?php $attr6_name='changemail' ?><img src="<?php echo $image_dir.'logo_'.$attr6_name.IMG_ICON_EXT ?>" border="0" align="left"><h2 class="logo"><?php echo lang('logo_'.$attr6_name) ?></h2><p class="logo"><?php echo lang('logo_'.$attr6_name.'_text') ?></p><?php unset($attr6) ?><?php unset($attr6_name) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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 ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
$column_class=$column_classes[$column_class_idx-1];
if (empty($attr5_class))
- $attr5['class']=$column_class;
+ $attr5_class=$column_class;
global $cell_column_nr;
$cell_column_nr++;
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5['width']=$column_widths[$cell_column_nr-1];
-?><td <?php foreach( $attr5 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr5) ?><?php $attr6_debug_info = 'a:3:{s:5:"class";s:4:"text";s:4:"text";s:9:"mail_code";s:6:"escape";s:4:"true";}' ?><?php $attr6 = array('class'=>'text','text'=>'mail_code','escape'=>true) ?><?php $attr6_class='text' ?><?php $attr6_text='mail_code' ?><?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
+?>><?php ?><?php $attr6_class='text'; $attr6_text='mail_code'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
$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 (!empty($attr6_array))
- {
- $tmpArray = $$attr6_array;
- if (!empty($attr6_var))
- $tmp_text = $tmpArray[$attr6_var];
- else
- $tmp_text = lang($tmpArray[$attr6_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;
- 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))
- {
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = $langF($$attr6_textvar);
+ $tmp_text = $langF($attr6_text);
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:"code";s:4:"size";s:2:"30";s:9:"maxlength";s:3:"256";s:8:"onchange";s:0:"";s:8:"readonly";s:5:"false";}' ?><?php $attr6 = array('class'=>'','default'=>'','type'=>'text','name'=>'code','size'=>'30','maxlength'=>'256','onchange'=>'','readonly'=>false) ?><?php $attr6_class='' ?><?php $attr6_default='' ?><?php $attr6_type='text' ?><?php $attr6_name='code' ?><?php $attr6_size='30' ?><?php $attr6_maxlength='256' ?><?php $attr6_onchange='' ?><?php $attr6_readonly=false ?><?php if(!isset($attr6_default)) $attr6_default='';
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr6_class='text'; $attr6_default=''; $attr6_type='text'; $attr6_name='code'; $attr6_size='30'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr6_default)) $attr6_default='';
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
?><input<?php if ($attr6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" name="<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" type="<?php echo $attr6_type ?>" size="<?php echo $attr6_size ?>" maxlength="<?php echo $attr6_maxlength ?>" class="<?php echo $attr6_class ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
if ($attr6_readonly) {
?><input type="hidden" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" /><?php
- } ?><?php unset($attr6) ?><?php unset($attr6_class) ?><?php unset($attr6_default) ?><?php unset($attr6_type) ?><?php unset($attr6_name) ?><?php unset($attr6_size) ?><?php unset($attr6_maxlength) ?><?php unset($attr6_onchange) ?><?php unset($attr6_readonly) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></td><?php unset($attr4) ?><?php $attr3_debug_info = 'a:0:{}' ?><?php $attr3 = array() ?></tr><?php unset($attr3) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4) ?><?php $attr5_debug_info = 'a:2:{s:5:"class";s:3:"act";s:7:"colspan";s:1:"2";}' ?><?php $attr5 = array('class'=>'act','colspan'=>'2') ?><?php $attr5_class='act' ?><?php $attr5_colspan='2' ?><?php
+ } } 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_class) ?><?php unset($attr5_colspan) ?><?php $attr6_debug_info = 'a:4:{s:4:"type";s:2:"ok";s:5:"class";s:2:"ok";s:5:"value";s:2:"ok";s:4:"text";s:9:"button_ok";}' ?><?php $attr6 = array('type'=>'ok','class'=>'ok','value'=>'ok','text'=>'button_ok') ?><?php $attr6_type='ok' ?><?php $attr6_class='ok' ?><?php $attr6_value='ok' ?><?php $attr6_text='button_ok' ?><?php
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ $attr6_type = 'submit';
$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>
@@ -317,12 +257,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:"code";}' ?><?php $attr2 = array('field'=>'code') ?><?php $attr2_field='code' ?><?php
+<?php ?><?php ?></form>
+<?php ?><?php $attr2_field='code'; ?><?php
if (isset($errors[0])) $attr2_field = $errors[0];
?><script name="JavaScript" type="text/javascript"><!--
document.forms[0].<?php echo $attr2_field ?>.focus();
document.forms[0].<?php echo $attr2_field ?>.select();
</script>
-<?php unset($attr2) ?><?php unset($attr2_field) ?><?php $attr0_debug_info = 'a:0:{}' ?><?php $attr0 = array() ?></body>
-</html><?php unset($attr0) ?>-
\ No newline at end of file
+<?php unset($attr2_field); ?><?php ?></body>
+</html><?php ?>+
\ No newline at end of file
diff --git a/themes/default/pages/html/profile/edit.tpl.php b/themes/default/pages/html/profile/edit.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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_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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?></td><?php ?><?php $attr5_class='name'; ?><?php
@@ -266,80 +196,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
?>><?php unset($attr5_class); ?><?php $attr6_class='name'; $attr6_var='name'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -358,80 +221,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_mail'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -446,80 +242,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='filename'; $attr6_var='mail'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -538,11 +266,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -559,80 +283,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='name'; $attr6_text='user_fullname'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -647,11 +304,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -675,80 +327,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_tel'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -763,11 +348,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -791,80 +371,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_desc'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -879,11 +392,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -907,80 +415,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_style'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -995,11 +436,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_list='allstyles'; $attr6_name='style'; $attr6_default=@$conf['interface']['style']['default']; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
$attr6_tmp_list = $$attr6_list;
if ($this->isEditable() && !$this->isEditMode())
@@ -1069,22 +505,12 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/profile/groups.tpl.php b/themes/default/pages/html/profile/groups.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -175,80 +175,12 @@
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='group'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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 } ?><?php ?><?php ?> </table>
diff --git a/themes/default/pages/html/profile/mail.tpl.php b/themes/default/pages/html/profile/mail.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,11 +175,8 @@
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 }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -199,11 +193,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -220,80 +210,13 @@ 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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -308,11 +231,6 @@ 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_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='';
@@ -336,22 +254,12 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/project/add.tpl.php b/themes/default/pages/html/project/add.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -178,80 +175,14 @@
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 }
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +197,6 @@ 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_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='';
@@ -294,11 +220,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -315,11 +237,6 @@ 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_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) )
@@ -328,7 +245,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
@@ -340,80 +258,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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
@@ -432,11 +282,6 @@ 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_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) )
@@ -445,7 +290,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
@@ -457,80 +303,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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?><?php
@@ -545,11 +323,6 @@ 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_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())
@@ -619,11 +392,8 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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/project/edit.tpl.php b/themes/default/pages/html/project/edit.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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='PROJECT_NAME'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='name'; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $attr6_size='30'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
@@ -294,80 +219,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_TARGET_DIR'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -382,11 +240,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='target_dir'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
@@ -410,80 +263,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_CMD_AFTER_PUBLISH'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -498,11 +284,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='cmd_after_publish'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=! @$conf['publish']['project']['override_system_command']; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
@@ -526,11 +307,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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
$attr4_tmp_class='';
$attr4_last_class = $attr4_tmp_class;
@@ -547,80 +324,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='PROJECT_FTP_URL'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -635,11 +345,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='filename'; $attr6_default=''; $attr6_type='text'; $attr6_name='ftp_url'; $attr6_size='50'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=! @$conf['publish']['ftp']['enable']; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
@@ -663,11 +368,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
@@ -680,11 +380,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_default=false; $attr6_readonly=! @$conf['publish']['ftp']['enable']; $attr6_name='ftp_passive'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
@@ -697,74 +392,12 @@ 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='ftp_passive'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='PROJECT_FTP_PASSIVE'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -783,11 +416,7 @@ if ( $attr6_readonly && $checked )
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 }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -804,11 +433,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?php
?>><?php unset($attr5_colspan); ?><?php $attr6_default=false; $attr6_readonly=false; $attr6_name='content_negotiation'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
@@ -821,74 +446,12 @@ 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='content_negotiation'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='PROJECT_CONTENT_NEGOTIATION'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -907,11 +470,7 @@ if ( $attr6_readonly && $checked )
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 }
+?> colspan="<?php echo $attr5_colspan ?>" <?php
?>><?php unset($attr5_colspan); ?><?php $attr6_default=false; $attr6_readonly=false; $attr6_name='cut_index'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
@@ -924,74 +483,12 @@ 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='cut_index'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='PROJECT_CUT_INDEX'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -1010,22 +507,12 @@ if ( $attr6_readonly && $checked )
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 }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/project/export.tpl.php b/themes/default/pages/html/project/export.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -178,80 +175,13 @@
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 }
+?> width="<?php echo $attr5_width ?>"<?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr5_width='50%'; ?><?php
@@ -266,11 +196,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> width="<?php echo $attr5_width ?>"<?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())
@@ -340,22 +266,9 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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())
- $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>
diff --git a/themes/default/pages/html/project/listing.tpl.php b/themes/default/pages/html/project/listing.tpl.php
@@ -182,103 +182,18 @@
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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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_value);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php ?><?php
@@ -293,100 +208,15 @@ 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_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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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 ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
diff --git a/themes/default/pages/html/project/maintenance.tpl.php b/themes/default/pages/html/project/maintenance.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -178,30 +175,16 @@
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 }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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) )
- $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_exec = !$attr6_tmp_exec;
$attr6_tmp_last_exec = $attr6_tmp_exec;
if ( $attr6_tmp_exec )
{
?>
<?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())
- $attr7_text = 'MODE_EDIT';
- }
- if ($attr7_type=='ok')
- $attr7_type = 'submit';
- if (isset($attr7_src))
- $attr7_type = 'image';
- else
$attr7_src = '';
?><input type="<?php echo $attr7_type ?>"<?php if(isset($attr7_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr7_value ?>" class="<?php echo $attr7_class ?>" title="<?php echo lang($attr7_text.'_DESC') ?>" value=" <?php echo langHtml($attr7_text) ?> " /><?php unset($attr7_src) ?><?php
?><?php unset($attr7_type);unset($attr7_class);unset($attr7_value);unset($attr7_text); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table>
diff --git a/themes/default/pages/html/project/remove.tpl.php b/themes/default/pages/html/project/remove.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -178,80 +175,13 @@
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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,80 +196,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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -358,11 +220,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -379,11 +237,7 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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) )
@@ -396,74 +250,12 @@ 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='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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -482,22 +274,12 @@ if ( $attr6_readonly && $checked )
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 }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/search/prop.tpl.php b/themes/default/pages/html/search/prop.tpl.php
@@ -1,865 +1,465 @@
-<?php $attr1_class='main'; ?> <?php
- if (!headers_sent()) header('Content-Type: text/html; charset='.$charset)
- ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title>
- <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" />
- <meta name="MSSmartTagsPreventParsing" content="true" />
- <meta name="robots" content="noindex,nofollow" />
- <?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu )
- {
- ?>
- <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" />
- <?php
- }
- ?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta )
- {
- ?>
- <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php
- }
- ?><?php if(!empty($root_stylesheet)) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" />
- <?php } ?>
- <?php if($root_stylesheet!=$user_stylesheet) { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" />
- <?php } ?>
- </head>
- <body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?> <?php
- if (empty($attr2_action))
- $attr2_action = $actionName;
- if (empty($attr2_subaction))
- $attr2_subaction = $targetSubActionName;
- if (empty($attr2_id))
- $attr2_id = $this->getRequestId();
- if ($this->isEditable() && !$this->isEditMode())
- $attr2_subaction = $subActionName;
- ?><form name="<?php echo $attr2_name ?>"
- target="<?php echo $attr2_target ?>"
- action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
- method="<?php echo $attr2_method ?>"
- enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
- <?php if ($this->isEditable() && !$this->isEditMode()) { ?>
- <input type="hidden" name="mode" value="edit" />
- <?php } ?>
- <input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
- <input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
- <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
- if ( $conf['interface']['url_sessionid'] )
- echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
- ?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_icon='search'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?> <?php
- $coloumn_widths=array();
- if (!empty($attr3_widths))
- {
- $column_widths = explode(',',$attr3_widths);
- unset($attr3['widths']);
- }
- if (!empty($attr3_rowclasses))
- {
- $row_classes = explode(',',$attr3_rowclasses);
- $row_class_idx = 999;
- unset($attr3['rowclasses']);
- }
- if (!empty($attr3_columnclasses))
- {
- $column_classes = explode(',',$attr3_columnclasses);
- unset($attr3['columnclasses']);
- }
- global $image_dir;
- if (@$conf['interface']['application_mode'] )
- {
- echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
- }
- else
- {
- echo '<br/><br/><br/><center>';
- echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
- }
- if (!@$conf['interface']['application_mode'] )
- {
- echo '<tr><td class="menu">';
- echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
- if ($this->isEditable()) { ?>
- <?php if ($this->isEditMode()) {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
- ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
- ?><?php }
- echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
- if ( !isset($path) || is_array($path) )
- $path = array();
- foreach( $path as $pathElement)
- {
- extract($pathElement);
- echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
- echo ' » ';
- }
- echo '<span class="title">'.langHtml($windowTitle).'</span>';
- ?>
- </td>
- <?php
- }
- ?>
- <?php ?> <!--<td class="menu" style="align:right;">
- <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
- {
- ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
- }
- ?>
- </td>-->
- </tr>
- <tr><td class="subaction">
- <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
- $windowMenu = array();
- foreach( $windowMenu as $menu )
- {
- $tmp_text = langHtml($menu['text']);
- $tmp_key = strtoupper(langHtml($menu['key' ]));
- $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
- if ( $tmp_pos !== false )
- $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
- if ( isset($menu['url']) )
- {
- ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
- }
- else
- {
- ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
- }
- }
- if (@$conf['help']['enabled'] )
- {
- ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
- }
- ?></td>
- </tr>
- <?php if (isset($notices) && count($notices)>0 )
- { ?>
- <tr>
- <td align="center" class="notice">
- <?php foreach( $notices as $notice_idx=>$notice ) { ?>
- <br><table class="notice" width="80%">
- <?php if ($notice['name']!='') { ?>
- <tr>
- <td colspan="2" class="subaction" style="padding:2px; white-space:nowrap; border-bottom:1px solid black;"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>
- </td>
- </tr>
- <?php } ?>
- <tr class="notice_<?php echo $notice['status'] ?>">
- <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td>
- <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?>
- <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?>
- </td>
- </tr>
- </table>
- <?php } ?>
- </td>
- </tr>
- <tr>
- <td colspan="2"><fieldset></fieldset></td>
- </tr>
- <?php } ?>
- <tr>
- <td>
- <table class="n" cellspacing="0" width="100%" cellpadding="4">
-<?php unset($attr3_icon);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('global_user'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='create_user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ( isset($$attr6_name) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='create_user'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='create_user'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='lastchange_user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ( isset($$attr6_name) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='lastchange_user'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='lastchange_user'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_list='users'; $attr6_name='userid'; $attr6_default=$act_userid; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?> <?php
- $attr6_tmp_list = $$attr6_list;
- if ($this->isEditable() && !$this->isEditMode())
- {
- echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
- }
- else
- {
- if ( $attr6_addempty!==FALSE )
- {
- if ($attr6_addempty===TRUE)
- $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list;
- else
- $$attr6_list = array(''=>'- '.lang($attr6_addempty).' -')+$$attr6_list;
- }
- ?><select<?php if ($attr6_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name; if ($attr6_multiple) echo '[]'; ?>" onchange="<?php echo $attr6_onchange ?>" title="<?php echo $attr6_title ?>" class="<?php echo $attr6_class ?>"<?php
- if (count($$attr6_list)<=1) echo ' disabled="disabled"';
- if ($attr6_multiple) echo ' multiple="multiple"';
- if (in_array($attr6_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
- echo ' size="'.intval($attr6_size).'"';
- ?>><?php
- if ( isset($$attr6_name) && isset($attr6_tmp_list[$$attr6_name]) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- foreach( $attr6_tmp_list as $box_key=>$box_value )
- {
- if ( is_array($box_value) )
- {
- $box_key = $box_value['key' ];
- $box_title = $box_value['title'];
- $box_value = $box_value['value'];
- }
- elseif( $attr6_lang )
- {
- $box_title = lang( $box_value.'_DESC');
- $box_value = lang( $box_value );
- }
- else
- {
- $box_title = '';
- }
- echo '<option class="'.$attr6_class.'" value="'.$box_key.'" title="'.$box_title.'"';
- if ($box_key==$attr6_tmp_default)
- echo ' selected="selected"';
- echo '>'.$box_value.'</option>';
- }
- ?></select><?php
- if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" value="" />';
- if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />';
- }
- ?><?php unset($attr6_list);unset($attr6_name);unset($attr6_default);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php $attr5_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('MENU_SEARCH_PROP'); ?> <fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?> </fieldset><?php ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='id'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ( isset($$attr6_name) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='id'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='id'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='name'; $attr6_default=true; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ( isset($$attr6_name) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='name'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='name'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='description'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ( isset($$attr6_name) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='description'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='description'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='filename'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?> <?php
- if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ( isset($$attr6_name) )
- $attr6_tmp_default = $$attr6_name;
- elseif ( isset($attr6_default) )
- $attr6_tmp_default = $attr6_default;
- else
- $attr6_tmp_default = '';
- ?><input type="radio" id="id_<?php echo $attr6_name.'_'.$attr6_value ?>" name="<?php echo $attr6_prefix.$attr6_name ?>"<?php if ( $attr6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr6_value ?>" <?php if($attr6_value==$attr6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($attr6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='filename'; ?> <label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='filename'; $attr7_escape=true; ?> <?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
- $tmp_tag = 'span';
- else
- switch( $attr7_type )
- {
- case 'emphatic':
- case 'italic':
- $tmp_tag = 'em';
- break;
- case 'strong':
- case 'bold':
- $tmp_tag = 'strong';
- break;
- case 'tt':
- case 'teletype':
- $tmp_tag = 'tt';
- break;
- default:
- $tmp_tag = 'span';
- }
- ?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
- $attr7_title = '';
- if ( $attr7_escape )
- $langF = 'langHtml';
- else
- $langF = 'lang';
- if (!empty($attr7_array))
- {
- $tmpArray = $$attr7_array;
- if (!empty($attr7_var))
- $tmp_text = $tmpArray[$attr7_var];
- else
- $tmp_text = $langF($tmpArray[$attr7_text]);
- }
- elseif (!empty($attr7_text))
- $tmp_text = $langF($attr7_text);
- elseif (!empty($attr7_textvar))
- $tmp_text = $langF($$attr7_textvar);
- elseif (!empty($attr7_key))
- $tmp_text = $langF($attr7_key);
- elseif (!empty($attr7_var))
- $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
- elseif (!empty($attr7_raw))
- $tmp_text = str_replace('_',' ',$attr7_raw);
- elseif (!empty($attr7_value))
- $tmp_text = $attr7_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) );
- if (isset($attr7_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
- echo $tmp_text;
- unset($tmp_text);
- ?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?> </label><?php ?><?php ?> <br/><?php ?><?php ?> </td><?php ?><?php ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php ?><?php $attr6_class=''; $attr6_default=''; $attr6_type='text'; $attr6_name='text'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?> <?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
- if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
- if(!isset($attr6_default)) $attr6_default='';
- ?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
- ?><input<?php if ($attr6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" name="<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" type="<?php echo $attr6_type ?>" size="<?php echo $attr6_size ?>" maxlength="<?php echo $attr6_maxlength ?>" class="<?php echo $attr6_class ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
- if ($attr6_readonly) {
- ?><input type="hidden" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" /><?php
- } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php $attr4_class=''; ?> <?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr4_class))
- $attr4_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
- ?><tr class="<?php echo $attr4_class ?>"><?php unset($attr4_class); ?><?php $attr5_class='act'; $attr5_colspan='2'; ?> <?php
- $column_class_idx++;
- if ($column_class_idx > count($column_classes))
- $column_class_idx=1;
- $column_class=$column_classes[$column_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$column_class;
- global $cell_column_nr;
- $cell_column_nr++;
- if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
- $attr5_width=$column_widths[$cell_column_nr-1];
- ?><td<?php
- if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
- if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
- if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
- if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
- if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
- ?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?> <?php
- if ($attr6_type=='ok')
- {
- if ($this->isEditable() && !$this->isEditMode())
- $attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
- $attr6_src = '';
- ?><input type="<?php echo $attr6_type ?>"<?php if(isset($attr6_src)) { ?> src="<?php echo $image_dir.'icon_'.$attr6_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $attr6_value ?>" class="<?php echo $attr6_class ?>" title="<?php echo lang($attr6_text.'_DESC') ?>" value=" <?php echo langHtml($attr6_text) ?> " /><?php unset($attr6_src) ?><?php
- ?><?php unset($attr6_type);unset($attr6_class);unset($attr6_value);unset($attr6_text); ?><?php ?> </td><?php ?><?php ?> </tr><?php ?><?php ?> </table>
- </td>
- </tr>
+<?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
+ $attr2_action = $actionName;
+ $attr2_subaction = $targetSubActionName;
+ $attr2_id = $this->getRequestId();
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr2_subaction = $subActionName;
+?><form name="<?php echo $attr2_name ?>"
+ target="<?php echo $attr2_target ?>"
+ action="<?php echo Html::url( $attr2_action,$attr2_subaction,$attr2_id ) ?>"
+ method="<?php echo $attr2_method ?>"
+ enctype="<?php echo $attr2_enctype ?>" style="margin:0px;padding:0px;">
+<?php if ($this->isEditable() && !$this->isEditMode()) { ?>
+<input type="hidden" name="mode" value="edit" />
+<?php } ?>
+<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr2_action ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr2_subaction ?>" />
+<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr2_id ?>" /><?php
+ if ( $conf['interface']['url_sessionid'] )
+ echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n";
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_icon='search'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
+ $coloumn_widths=array();
+ if (!empty($attr3_widths))
+ {
+ $column_widths = explode(',',$attr3_widths);
+ unset($attr3['widths']);
+ }
+ if (!empty($attr3_rowclasses))
+ {
+ $row_classes = explode(',',$attr3_rowclasses);
+ $row_class_idx = 999;
+ unset($attr3['rowclasses']);
+ }
+ if (!empty($attr3_columnclasses))
+ {
+ $column_classes = explode(',',$attr3_columnclasses);
+ unset($attr3['columnclasses']);
+ }
+ global $image_dir;
+ if (@$conf['interface']['application_mode'] )
+ {
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">';
+ }
+ else
+ {
+ echo '<br/><br/><br/><center>';
+ echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr3_width.'">';
+ }
+ if (!@$conf['interface']['application_mode'] )
+ {
+ echo '<tr><td class="menu">';
+ echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">';
+ if ($this->isEditable()) { ?>
+ <?php if ($this->isEditMode()) {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else {
+ ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php }
+ ?><?php }
+ echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span> <strong>»</strong> ';
+ if ( !isset($path) || is_array($path) )
+ $path = array();
+ foreach( $path as $pathElement)
+ {
+ extract($pathElement);
+ echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>';
+ echo ' » ';
+ }
+ echo '<span class="title">'.langHtml($windowTitle).'</span>';
+ ?>
+ </td>
+ <?php
+ }
+ ?>
+<?php ?> <!--<td class="menu" style="align:right;">
+ <?php if (isset($windowIcons)) foreach( $windowIcons as $icon )
+ {
+ ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a> <?php
+ }
+ ?>
+ </td>-->
+ </tr>
+ <tr><td class="subaction">
+ <?php if ( !isset($windowMenu) || !is_array($windowMenu) )
+ $windowMenu = array();
+ foreach( $windowMenu as $menu )
+ {
+ $tmp_text = langHtml($menu['text']);
+ $tmp_key = strtoupper(langHtml($menu['key' ]));
+ $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key));
+ if ( $tmp_pos !== false )
+ $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1);
+ if ( isset($menu['url']) )
+ {
+ ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a> <?php
+ }
+ else
+ {
+ ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span> <?php
+ }
+ }
+ if (@$conf['help']['enabled'] )
+ {
+ ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php
+ }
+ ?></td>
+ </tr>
+<?php if (isset($notices) && count($notices)>0 )
+ { ?>
+ <tr>
+ <td align="center" class="notice">
+ <?php foreach( $notices as $notice_idx=>$notice ) { ?>
+ <br><table class="notice" width="80%">
+ <?php if ($notice['name']!='') { ?>
+ <tr>
+ <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='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 } ?>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><fieldset></fieldset></td>
+ </tr>
+<?php } ?>
+ <tr>
+ <td>
+ <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 $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
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('global_user'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='create_user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='create_user'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='create_user'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr7_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='lastchange_user'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='lastchange_user'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='lastchange_user'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr7_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr5_class))
+ $attr5_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr6_list='users'; $attr6_name='userid'; $attr6_default=$act_userid; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
+$attr6_tmp_list = $$attr6_list;
+if ($this->isEditable() && !$this->isEditMode())
+{
+ echo empty($$attr6_name)?'- '.lang('EMPTY').' -':$attr6_tmp_list[$$attr6_name];
+}
+else
+{
+if ( $attr6_addempty!==FALSE )
+{
+ if ($attr6_addempty===TRUE)
+ $$attr6_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$$attr6_list;
+ else
+ $$attr6_list = array(''=>'- '.lang($attr6_addempty).' -')+$$attr6_list;
+}
+?><select<?php if ($attr6_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name; if ($attr6_multiple) echo '[]'; ?>" onchange="<?php echo $attr6_onchange ?>" title="<?php echo $attr6_title ?>" class="<?php echo $attr6_class ?>"<?php
+if (count($$attr6_list)<=1) echo ' disabled="disabled"';
+if ($attr6_multiple) echo ' multiple="multiple"';
+if (in_array($attr6_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"';
+echo ' size="'.intval($attr6_size).'"';
+?>><?php
+ if ( isset($$attr6_name) && isset($attr6_tmp_list[$$attr6_name]) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ foreach( $attr6_tmp_list as $box_key=>$box_value )
+ {
+ if ( is_array($box_value) )
+ {
+ $box_key = $box_value['key' ];
+ $box_title = $box_value['title'];
+ $box_value = $box_value['value'];
+ }
+ elseif( $attr6_lang )
+ {
+ $box_title = lang( $box_value.'_DESC');
+ $box_value = lang( $box_value );
+ }
+ else
+ {
+ $box_title = '';
+ }
+ echo '<option class="'.$attr6_class.'" value="'.$box_key.'" title="'.$box_title.'"';
+ if ($box_key==$attr6_tmp_default)
+ echo ' selected="selected"';
+ echo '>'.$box_value.'</option>';
+ }
+?></select><?php
+if (count($$attr6_list)==0) echo '<input type="hidden" name="'.$attr6_name.'" value="" />';
+if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" value="'.$box_key.'" />';
+}
+?><?php unset($attr6_list);unset($attr6_name);unset($attr6_default);unset($attr6_onchange);unset($attr6_title);unset($attr6_class);unset($attr6_addempty);unset($attr6_multiple);unset($attr6_size);unset($attr6_lang); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $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
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_colspan); ?><?php $attr6_title=lang('MENU_SEARCH_PROP'); ?><fieldset><?php if(isset($attr6_title)) { ?><legend><?php echo encodeHtml($attr6_title) ?></legend><?php } ?><?php unset($attr6_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php
+ $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
+?>><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='id'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='id'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='id'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr7_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='name'; $attr6_default=true; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='name'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='name'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr7_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='description'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='description'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='description'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr7_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php $attr6_readonly=false; $attr6_name='type'; $attr6_value='filename'; $attr6_default=false; $attr6_prefix=''; $attr6_suffix=''; $attr6_class=''; $attr6_onchange=''; ?><?php
+ if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ( isset($$attr6_name) )
+ $attr6_tmp_default = $$attr6_name;
+ elseif ( isset($attr6_default) )
+ $attr6_tmp_default = $attr6_default;
+ else
+ $attr6_tmp_default = '';
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?php unset($attr6_readonly);unset($attr6_name);unset($attr6_value);unset($attr6_default);unset($attr6_prefix);unset($attr6_suffix);unset($attr6_class);unset($attr6_onchange); ?><?php $attr6_for='type'; $attr6_value='filename'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for);unset($attr6_value); ?><?php $attr7_class='text'; $attr7_key='filename'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
+ $tmp_tag = 'span';
+?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = $langF($attr7_key);
+ echo $tmp_text;
+ unset($tmp_text);
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_escape); ?><?php ?></label><?php ?><?php ?><br/><?php ?><?php ?></td><?php ?><?php ?><?php
+ $column_class_idx++;
+ if ($column_class_idx > count($column_classes))
+ $column_class_idx=1;
+ $column_class=$column_classes[$column_class_idx-1];
+ if (empty($attr5_class))
+ $attr5_class=$column_class;
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr6_class='text'; $attr6_default=''; $attr6_type='text'; $attr6_name='text'; $attr6_size='40'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
+ if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
+ if(!isset($attr6_default)) $attr6_default='';
+?><?php if (!$attr6_readonly || $attr6_type=='hidden') {
+?><input<?php if ($attr6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" name="<?php echo $attr6_name ?><?php if ($attr6_readonly) echo '_disabled' ?>" type="<?php echo $attr6_type ?>" size="<?php echo $attr6_size ?>" maxlength="<?php echo $attr6_maxlength ?>" class="<?php echo $attr6_class ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" <?php if (in_array($attr6_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php
+if ($attr6_readonly) {
+?><input type="hidden" id="id_<?php echo $attr6_name ?>" name="<?php echo $attr6_name ?>" value="<?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?>" /><?php
+ } } else { ?><span class="<?php echo $attr6_class ?>"><?php echo isset($$attr6_name)?$$attr6_name:$attr6_default ?></span><?php } ?><?php unset($attr6_class);unset($attr6_default);unset($attr6_type);unset($attr6_name);unset($attr6_size);unset($attr6_maxlength);unset($attr6_onchange);unset($attr6_readonly); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr4_class=''; ?><?php
+ $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='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
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
+ if ($this->isEditable() && !$this->isEditMode())
+ $attr6_text = 'MODE_EDIT';
+ $attr6_type = 'submit';
+ $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='name'; ?><?php
+if (isset($errors[0])) $attr2_field = $errors[0];
+?><script name="JavaScript" type="text/javascript"><!--
+document.forms[0].<?php echo $attr2_field ?>.focus();
+document.forms[0].<?php echo $attr2_field ?>.select();
+</script>
<?php unset($attr2_field); ?><?php ?></body>
</html><?php ?>
\ No newline at end of file
diff --git a/themes/default/pages/html/template/el.tpl.php b/themes/default/pages/html/template/el.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -182,103 +182,18 @@
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))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" 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
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -293,80 +208,13 @@ 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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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_prefix);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr3_empty='el'; ?><?php
@@ -398,80 +246,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$tmp_text = $langF($attr6_key);
- elseif (!empty($attr6_var))
- $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
- elseif (!empty($attr6_raw))
- $tmp_text = str_replace('_',' ',$attr6_raw);
- elseif (!empty($attr6_value))
- $tmp_text = $attr6_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) );
- if (isset($attr6_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_key);unset($attr6_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
diff --git a/themes/default/pages/html/template/extension.tpl.php b/themes/default/pages/html/template/extension.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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='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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_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) )
@@ -279,7 +204,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
@@ -291,11 +217,6 @@ 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_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->isEditMode())
@@ -365,11 +286,6 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $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))
@@ -382,11 +298,6 @@ 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_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) )
@@ -395,7 +306,8 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
$attr6_tmp_default = $attr6_default;
else
$attr6_tmp_default = '';
- ?><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
+ ?><input onclick="<?php echo $attr6_name.'_'.$attr6_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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;
@@ -407,11 +319,6 @@ 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_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='';
@@ -435,22 +342,12 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/template/listing.tpl.php b/themes/default/pages/html/template/listing.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -182,100 +182,15 @@
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_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))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php $attr3_empty='templates'; ?><?php
@@ -307,80 +222,14 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
?>><?php unset($attr5_class); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NO_TEMPLATES_AVAILABLE_DESC'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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 ?> </table>
diff --git a/themes/default/pages/html/template/name.tpl.php b/themes/default/pages/html/template/name.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,80 +175,13 @@
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='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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_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='';
@@ -294,11 +219,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -315,80 +236,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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -403,100 +256,15 @@ 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_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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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 ?></tr><?php ?><?php ?><?php
@@ -515,80 +283,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_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))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -603,100 +303,15 @@ 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_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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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 ?></tr><?php ?><?php ?><?php
@@ -715,22 +330,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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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_type = 'submit';
$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>
diff --git a/themes/default/pages/html/template/pages.tpl.php b/themes/default/pages/html/template/pages.tpl.php
@@ -4,25 +4,25 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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 } ?> >
@@ -175,103 +175,18 @@
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_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
+?><img alt="<?php echo basename($attr6_tmp_image_file); echo ' ('; if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo $attr6_tmp_width.'x'.$attr6_tmp_height; echo')';} ?>" 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;
- 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_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))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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 ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?> </table>
diff --git a/themes/default/pages/html/template/src.tpl.php b/themes/default/pages/html/template/src.tpl.php
@@ -4,34 +4,31 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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;
@@ -178,11 +175,6 @@
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_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
@@ -203,22 +195,11 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?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())
$attr6_text = 'MODE_EDIT';
- }
- if ($attr6_type=='ok')
- $attr6_type = 'submit';
- if (isset($attr6_src))
- $attr6_type = 'image';
- else
+ $attr6_type = 'submit';
$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>
diff --git a/themes/default/pages/html/template/srcelement.tpl.php b/themes/default/pages/html/template/srcelement.tpl.php
@@ -1,46 +1,43 @@
-<?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>
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" >
<?php } ?>
</head>
<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> >
-<?php unset($attr1) ?><?php unset($attr1_class) ?><?php $attr2_debug_info = 'a:4:{s:4:"name";s:0:"";s:6:"target";s:5:"_self";s:6:"method";s:4:"post";s:7:"enctype";s:33:"application/x-www-form-urlencoded";}' ?><?php $attr2 = array('name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr2_name='' ?><?php $attr2_target='_self' ?><?php $attr2_method='post' ?><?php $attr2_enctype='application/x-www-form-urlencoded' ?><?php
- if (empty($attr2_action))
+<?php unset($attr1_class); ?><?php $attr2_name=''; $attr2_target='_self'; $attr2_method='post'; $attr2_enctype='application/x-www-form-urlencoded'; ?><?php
$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 +45,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:"10px,150px";s:5:"width";s:3:"93%";s:10:"rowclasses";s:8:"odd,even";s:13:"columnclasses";s:5:"1,2,3";}' ?><?php $attr3 = array('widths'=>'10px,150px','width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr3_widths='10px,150px' ?><?php $attr3_width='93%' ?><?php $attr3_rowclasses='odd,even' ?><?php $attr3_columnclasses='1,2,3' ?><?php
+?><?php unset($attr2_name);unset($attr2_target);unset($attr2_method);unset($attr2_enctype); ?><?php $attr3_widths='10px,150px'; $attr3_width='93%'; $attr3_rowclasses='odd,even'; $attr3_columnclasses='1,2,3'; ?><?php
$coloumn_widths=array();
if (!empty($attr3_widths))
{
@@ -81,7 +78,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 +138,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,187 +158,73 @@
<?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:1:{s:7:"present";s:8:"elements";}' ?><?php $attr4 = array('present'=>'elements') ?><?php $attr4_present='elements' ?><?php
- if ( isset($attr4_true) )
- {
- if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
- $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_widths);unset($attr3_width);unset($attr3_rowclasses);unset($attr3_columnclasses); ?><?php $attr4_present='elements'; ?><?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:0:{}' ?><?php $attr6 = array() ?><?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 $attr7_debug_info = 'a:8:{s:8:"readonly";s:5:"false";s:4:"name";s:4:"type";s:5:"value";s:10:"addelement";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addelement','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addelement' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='addelement'; $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 onclick="<?php echo $attr7_name.'_'.$attr7_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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:15:"type_addelement";}' ?><?php $attr7 = array('for'=>'type_addelement') ?><?php $attr7_for='type_addelement' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:5:"value";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'value','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='value' ?><?php $attr8_escape=true ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_for='type_addelement'; ?><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='value'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></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_key);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:8:"elements";s:4:"name";s:9:"elementid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";s:4:"lang";s:5:"false";}' ?><?php $attr7 = array('list'=>'elements','name'=>'elementid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='elements' ?><?php $attr7_name='elementid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php $attr7_lang=false ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_list='elements'; $attr7_name='elementid'; $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];
}
@@ -392,207 +275,90 @@ 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:17:"writable_elements";}' ?><?php $attr4 = array('present'=>'writable_elements') ?><?php $attr4_present='writable_elements' ?><?php
- if ( isset($attr4_true) )
- {
- if (gettype($attr4_true) === '' && gettype($attr4_true) === '1')
- $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='writable_elements'; ?><?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:"3";}' ?><?php $attr6 = array('colspan'=>'3') ?><?php $attr6_colspan='3' ?><?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='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:0:{}' ?><?php $attr7 = array() ?><fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php unset($attr7) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></fieldset><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $row_class=$row_classes[$row_class_idx-1];
- if (empty($attr5_class))
- $attr5_class=$row_class;
- global $cell_column_nr;
- $cell_column_nr=0;
- $column_class_idx = 999;
-?><tr class="<?php echo $attr5_class ?>"><?php unset($attr5) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> colspan="<?php echo $attr6_colspan ?>" <?php
+?>><?php unset($attr6_colspan); ?><?php ?><fieldset><?php if(isset($attr7_title)) { ?><legend><?php echo encodeHtml($attr7_title) ?></legend><?php } ?><?php ?><?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:7:"addicon";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addicon','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addicon' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='addicon'; $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 onclick="<?php echo $attr7_name.'_'.$attr7_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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:12:"type_addicon";}' ?><?php $attr7 = array('for'=>'type_addicon') ?><?php $attr7_for='type_addicon' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:11:"GLOBAL_ICON";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'GLOBAL_ICON','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='GLOBAL_ICON' ?><?php $attr8_escape=true ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_for='type_addicon'; ?><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='GLOBAL_ICON'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr6_debug_info = 'a:1:{s:7:"rowspan";s:1:"3";}' ?><?php $attr6 = array('rowspan'=>'3') ?><?php $attr6_rowspan='3' ?><?php
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></label><?php ?><?php ?></td><?php ?><?php $attr6_rowspan='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_rowspan) ?><?php $attr7_debug_info = 'a:9:{s:4:"list";s:17:"writable_elements";s:4:"name";s:18:"writable_elementid";s:8:"onchange";s:0:"";s:5:"title";s:0:"";s:5:"class";s:0:"";s:8:"addempty";s:5:"false";s:8:"multiple";s:5:"false";s:4:"size";s:1:"1";s:4:"lang";s:5:"false";}' ?><?php $attr7 = array('list'=>'writable_elements','name'=>'writable_elementid','onchange'=>'','title'=>'','class'=>'','addempty'=>false,'multiple'=>false,'size'=>'1','lang'=>false) ?><?php $attr7_list='writable_elements' ?><?php $attr7_name='writable_elementid' ?><?php $attr7_onchange='' ?><?php $attr7_title='' ?><?php $attr7_class='' ?><?php $attr7_addempty=false ?><?php $attr7_multiple=false ?><?php $attr7_size='1' ?><?php $attr7_lang=false ?><?php
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> rowspan="<?php echo $attr6_rowspan ?>" <?php
+?>><?php unset($attr6_rowspan); ?><?php $attr7_list='writable_elements'; $attr7_name='writable_elementid'; $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];
}
@@ -643,251 +409,121 @@ 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 $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_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 ?><?php
$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:10:"addifempty";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addifempty','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addifempty' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='addifempty'; $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 onclick="<?php echo $attr7_name.'_'.$attr7_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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:15:"type_addifempty";}' ?><?php $attr7 = array('for'=>'type_addifempty') ?><?php $attr7_for='type_addifempty' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:20:"TEMPLATE_SRC_IFEMPTY";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'TEMPLATE_SRC_IFEMPTY','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='TEMPLATE_SRC_IFEMPTY' ?><?php $attr8_escape=true ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_for='type_addifempty'; ?><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='TEMPLATE_SRC_IFEMPTY'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></label><?php unset($attr6) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?></td><?php unset($attr5) ?><?php $attr4_debug_info = 'a:0:{}' ?><?php $attr4 = array() ?></tr><?php unset($attr4) ?><?php $attr5_debug_info = 'a:0:{}' ?><?php $attr5 = array() ?><?php
- $row_class_idx++;
- if ($row_class_idx > count($row_classes))
- $row_class_idx=1;
- $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 echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_escape); ?><?php ?></label><?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:13:"addifnotempty";s:7:"default";s:5:"false";s:6:"prefix";s:0:"";s:6:"suffix";s:0:"";s:5:"class";s:0:"";s:8:"onchange";s:0:"";}' ?><?php $attr7 = array('readonly'=>false,'name'=>'type','value'=>'addifnotempty','default'=>false,'prefix'=>'','suffix'=>'','class'=>'','onchange'=>'') ?><?php $attr7_readonly=false ?><?php $attr7_name='type' ?><?php $attr7_value='addifnotempty' ?><?php $attr7_default=false ?><?php $attr7_prefix='' ?><?php $attr7_suffix='' ?><?php $attr7_class='' ?><?php $attr7_onchange='' ?><?php
- if ($this->isEditable() && $this->getRequestVar('mode')!='edit') $attr7_readonly=true;
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_readonly=false; $attr7_name='type'; $attr7_value='addifnotempty'; $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 onclick="<?php echo $attr7_name.'_'.$attr7_value ?>_valueChanged(this);" 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 /* #END-IF# */ ?><?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:18:"type_addifnotempty";}' ?><?php $attr7 = array('for'=>'type_addifnotempty') ?><?php $attr7_for='type_addifnotempty' ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7) ?><?php unset($attr7_for) ?><?php $attr8_debug_info = 'a:3:{s:5:"class";s:4:"text";s:3:"key";s:20:"TEMPLATE_SRC_IFEMPTY";s:6:"escape";s:4:"true";}' ?><?php $attr8 = array('class'=>'text','key'=>'TEMPLATE_SRC_IFEMPTY','escape'=>true) ?><?php $attr8_class='text' ?><?php $attr8_key='TEMPLATE_SRC_IFEMPTY' ?><?php $attr8_escape=true ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr6_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?>><?php ?><?php $attr7_for='type_addifnotempty'; ?><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='TEMPLATE_SRC_IFEMPTY'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$tmp_text = $langF($attr8_key);
- elseif (!empty($attr8_var))
- $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
- elseif (!empty($attr8_raw))
- $tmp_text = str_replace('_',' ',$attr8_raw);
- elseif (!empty($attr8_value))
- $tmp_text = $attr8_value;
- else
- $tmp_text = ' ';
- if ( !empty($attr8_maxlength) && intval($attr8_maxlength)!=0 )
- $tmp_text = Text::maxLength( $tmp_text,intval($attr8_maxlength) );
- if (isset($attr8_accesskey))
- {
- $pos = strpos(strtolower($tmp_text),strtolower($attr8_accesskey));
- if ( $pos !== false )
- $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1);
- }
echo $tmp_text;
unset($tmp_text);
-?></<?php echo $tmp_tag ?>><?php unset($attr8) ?><?php unset($attr8_class) ?><?php unset($attr8_key) ?><?php unset($attr8_escape) ?><?php $attr6_debug_info = 'a:0:{}' ?><?php $attr6 = array() ?></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
- if ($attr6_type=='ok')
- {
+ $attr5_width=$column_widths[$cell_column_nr-1];
+?><td<?php
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?php
+?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_type='ok'; $attr6_class='ok'; $attr6_value='ok'; $attr6_text='button_ok'; ?><?php
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_type = 'submit';
$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>
@@ -899,6 +535,6 @@ 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 $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/title/show.tpl.php b/themes/default/pages/html/title/show.tpl.php
@@ -4,56 +4,35 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_width='100%'; $attr2_space='0'; $attr2_padding='5'; ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr2_class))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$attr2_class='';
- if (!empty($attr2_widths))
- {
$column_widths = explode(',',$attr2_widths);
unset($attr2['widths']);
- }
- if (!empty($attr2_classes))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- 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']);
- }
?><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;
@@ -70,225 +49,32 @@
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 }
+?> width="<?php echo $attr4_width ?>"<?php
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_width);unset($attr4_class); ?><?php $attr5_icon='database'; $attr5_align='left'; ?><?php
$attr5_tmp_image_file = $image_dir.'icon_'.$attr5_icon.IMG_ICON_EXT;
$attr5_size = '16x16';
-?><img src="<?php echo $attr5_tmp_image_file ?>" border="0"<?php if(isset($attr5_align)) echo ' align="'.$attr5_align.'"' ?><?php if (isset($attr5_size)) { list($attr5_tmp_width,$attr5_tmp_height)=explode('x',$attr5_size);echo ' width="'.$attr5_tmp_width.'" height="'.$attr5_tmp_height.'"';} ?>><?php unset($attr5_icon);unset($attr5_align); ?><?php $attr5_title=lang('database'); $attr5_class='text'; $attr5_var='dbname'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+?><img alt="<?php echo basename($attr5_tmp_image_file); echo ' ('; if (isset($attr5_size)) { list($attr5_tmp_width,$attr5_tmp_height)=explode('x',$attr5_size);echo $attr5_tmp_width.'x'.$attr5_tmp_height; echo')';} ?>" src="<?php echo $attr5_tmp_image_file ?>" border="0"<?php if(isset($attr5_align)) echo ' align="'.$attr5_align.'"' ?><?php if (isset($attr5_size)) { list($attr5_tmp_width,$attr5_tmp_height)=explode('x',$attr5_size);echo ' width="'.$attr5_tmp_width.'" height="'.$attr5_tmp_height.'"';} ?>><?php unset($attr5_icon);unset($attr5_align); ?><?php $attr5_title=lang('database'); $attr5_class='text'; $attr5_var='dbname'; $attr5_escape=true; ?><?php
$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);
- }
+ $langF = $attr5_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr5_title);unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php $attr5_class='text'; $attr5_raw='_-_'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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))
+ $langF = $attr5_escape?'langHtml':'lang';
$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 $attr5_class='text'; $attr5_var='cms_title'; $attr5_escape=true; ?><?php
- if ( isset($attr5_prefix)&& isset($attr5_key))
- $attr5_key = $attr5_prefix.$attr5_key;
- if ( isset($attr5_suffix)&& isset($attr5_key))
- $attr5_key = $attr5_key.$attr5_suffix;
- if(empty($attr5_title))
- $attr5_title = '';
- if (empty($attr5_type))
+ $attr5_title = '';
$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);
- }
+ $langF = $attr5_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_width='40%'; $attr4_style='text-align:center;'; $attr4_class='title'; ?><?php
@@ -303,11 +89,9 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> width="<?php echo $attr4_width ?>"<?php
+?> style="<?php echo $attr4_style ?>" <?php
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_width);unset($attr4_style);unset($attr4_class); ?><?php $attr5_present='projectname'; ?><?php
$attr5_tmp_exec = isset($$attr5_present);
$attr5_tmp_last_exec = $attr5_tmp_exec;
@@ -315,74 +99,10 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
{
?>
<?php unset($attr5_present); ?><?php $attr6_title=lang('project'); $attr6_class='text'; $attr6_var='projectname'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php $attr5_present='modelname'; ?><?php
@@ -392,358 +112,41 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
{
?>
<?php unset($attr5_present); ?><?php $attr6_class='text'; $attr6_raw='_('; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr6_title=lang('model'); $attr6_class='text'; $attr6_var='modelname'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_raw=','; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr6_title=lang('language'); $attr6_class='text'; $attr6_var='languagename'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_title);unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php $attr6_class='text'; $attr6_raw=')'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 ?><?php } ?><?php ?><?php ?></td><?php ?><?php $attr4_width='20%'; $attr4_style='text-align:right;'; $attr4_class='title'; ?><?php
@@ -758,103 +161,21 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> width="<?php echo $attr4_width ?>"<?php
+?> style="<?php echo $attr4_style ?>" <?php
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_width);unset($attr4_style);unset($attr4_class); ?><?php $attr5_title=lang('USER_PROFILE_DESC'); $attr5_target='cms_main_main'; $attr5_url=$profile_url; $attr5_class=''; ?><?php
$params = array();
- if (!empty($attr5_var1) && isset($attr5_value1))
- $params[$attr5_var1]=$attr5_value1;
- if (!empty($attr5_var2) && isset($attr5_value2))
- $params[$attr5_var2]=$attr5_value2;
- if (!empty($attr5_var3) && isset($attr5_value3))
- $params[$attr5_var3]=$attr5_value3;
- if (!empty($attr5_var4) && isset($attr5_value4))
- $params[$attr5_var4]=$attr5_value4;
- if (!empty($attr5_var5) && isset($attr5_value5))
- $params[$attr5_var5]=$attr5_value5;
- if(empty($attr5_class))
- $attr5_class='';
- if(empty($attr5_title))
- $attr5_title = '';
- if(!empty($attr5_url))
$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_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_icon='user'; $attr6_align='right'; ?><?php
$attr6_tmp_image_file = $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT;
$attr6_size = '16x16';
-?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_var='userfullname'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+?><img alt="<?php echo basename($attr6_tmp_image_file); echo ' ('; if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo $attr6_tmp_width.'x'.$attr6_tmp_height; echo')';} ?>" src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_var='userfullname'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
$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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?></a><?php ?><?php ?></td><?php ?><?php $attr4_width='10%'; $attr4_style='text-align:right;'; $attr4_class='title'; ?><?php
@@ -869,103 +190,21 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
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 }
+?> width="<?php echo $attr4_width ?>"<?php
+?> style="<?php echo $attr4_style ?>" <?php
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_width);unset($attr4_style);unset($attr4_class); ?><?php $attr5_title=lang('USER_LOGOUT_DESC'); $attr5_target='_top'; $attr5_url=$logout_url; $attr5_class=''; ?><?php
$params = array();
- if (!empty($attr5_var1) && isset($attr5_value1))
- $params[$attr5_var1]=$attr5_value1;
- if (!empty($attr5_var2) && isset($attr5_value2))
- $params[$attr5_var2]=$attr5_value2;
- if (!empty($attr5_var3) && isset($attr5_value3))
- $params[$attr5_var3]=$attr5_value3;
- if (!empty($attr5_var4) && isset($attr5_value4))
- $params[$attr5_var4]=$attr5_value4;
- if (!empty($attr5_var5) && isset($attr5_value5))
- $params[$attr5_var5]=$attr5_value5;
- if(empty($attr5_class))
- $attr5_class='';
- if(empty($attr5_title))
- $attr5_title = '';
- if(!empty($attr5_url))
$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_title);unset($attr5_target);unset($attr5_url);unset($attr5_class); ?><?php $attr6_icon='close'; $attr6_align='right'; ?><?php
$attr6_tmp_image_file = $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT;
$attr6_size = '16x16';
-?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_key='USER_LOGOUT'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+?><img alt="<?php echo basename($attr6_tmp_image_file); echo ' ('; if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo $attr6_tmp_width.'x'.$attr6_tmp_height; echo')';} ?>" src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_class='text'; $attr6_key='USER_LOGOUT'; $attr6_escape=true; ?><?php
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 ?></a><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></body>
diff --git a/themes/default/pages/html/tree/show.tpl.php b/themes/default/pages/html/tree/show.tpl.php
@@ -4,56 +4,37 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_class='tree'; $attr2_width='100%'; $attr2_space='0'; $attr2_padding='0'; ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr2_class))
- $attr2_class='';
- if (!empty($attr2_widths))
- {
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$column_widths = explode(',',$attr2_widths);
unset($attr2['widths']);
- }
- if (!empty($attr2_classes))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- 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']);
- }
?><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;
@@ -108,15 +89,11 @@
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 }
+?> class="<?php echo $attr6_class ?>" <?php
?>><?php unset($attr6_class); ?><?php $attr7_align='left'; $attr7_tree=$i; ?><?php
$attr7_tmp_image_file = $image_dir.'tree_'.$attr7_tree.IMG_EXT;
$attr7_size = '18x18';
-?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_tree); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr5_present='image'; ?><?php
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_tree); ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr5_present='image'; ?><?php
$attr5_tmp_exec = isset($$attr5_present);
$attr5_tmp_last_exec = $attr5_tmp_exec;
if ( $attr5_tmp_exec )
@@ -134,11 +111,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?php
?>><?php unset($attr6_class); ?><?php $attr7_present='image_url'; ?><?php
$attr7_tmp_exec = isset($$attr7_present);
$attr7_tmp_last_exec = $attr7_tmp_exec;
@@ -147,32 +120,15 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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;
- if (!empty($attr8_var2) && isset($attr8_value2))
- $params[$attr8_var2]=$attr8_value2;
- if (!empty($attr8_var3) && isset($attr8_value3))
- $params[$attr8_var3]=$attr8_value3;
- if (!empty($attr8_var4) && isset($attr8_value4))
- $params[$attr8_var4]=$attr8_value4;
- if (!empty($attr8_var5) && isset($attr8_value5))
- $params[$attr8_var5]=$attr8_value5;
- if(empty($attr8_class))
- $attr8_class='';
- if(empty($attr8_title))
- $attr8_title = '';
- if(!empty($attr8_url))
$tmp_url = $attr8_url;
- else
- $tmp_url = Html::url($attr8_action,$attr8_subaction,!empty($attr8_id)?$attr8_id:$this->getRequestId(),$params);
?><a<?php if (isset($attr8_name)) echo ' name="'.$attr8_name.'"'; else echo ' href="'.$tmp_url.($attr8_anchor?'#'.$attr8_anchor:'').'"' ?> class="<?php echo $attr8_class ?>" target="<?php echo $attr8_target ?>"<?php if (isset($attr8_accesskey)) echo ' accesskey="'.$attr8_accesskey.'"' ?> title="<?php echo encodeHtml($attr8_title) ?>"><?php unset($attr8_title);unset($attr8_target);unset($attr8_url);unset($attr8_class);unset($attr8_anchor); ?><?php $attr9_align='left'; $attr9_tree=$image; ?><?php
$attr9_tmp_image_file = $image_dir.'tree_'.$attr9_tree.IMG_EXT;
$attr9_size = '18x18';
-?><img src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_align);unset($attr9_tree); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
+?><img alt="<?php echo basename($attr9_tmp_image_file); echo ' ('; if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo $attr9_tmp_width.'x'.$attr9_tmp_height; echo')';} ?>" src="<?php echo $attr9_tmp_image_file ?>" border="0"<?php if(isset($attr9_align)) echo ' align="'.$attr9_align.'"' ?><?php if (isset($attr9_size)) { list($attr9_tmp_width,$attr9_tmp_height)=explode('x',$attr9_size);echo ' width="'.$attr9_tmp_width.'" height="'.$attr9_tmp_height.'"';} ?>><?php unset($attr9_align);unset($attr9_tree); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr7_tmp_last_exec) { ?>
<?php ?><?php $attr8_align='left'; $attr8_tree=$image; ?><?php
$attr8_tmp_image_file = $image_dir.'tree_'.$attr8_tree.IMG_EXT;
$attr8_size = '18x18';
-?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_tree); ?><?php ?><?php }
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_align);unset($attr8_tree); ?><?php ?><?php }
unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?><?php } ?><?php ?><?php $attr5_class='treevalue'; $attr5_colspan=$colspan; ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
@@ -185,30 +141,10 @@ unset($attr6_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php ?><?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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?php
?>><?php unset($attr5_class);unset($attr5_colspan); ?><?php $attr6_title=''; $attr6_target='_self'; $attr6_class=''; $attr6_name=$name; ?><?php
$params = array();
- if (!empty($attr6_var1) && isset($attr6_value1))
- $params[$attr6_var1]=$attr6_value1;
- 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_class);unset($attr6_name); ?><?php ?></a><?php ?><?php $attr6_present='url'; ?><?php
$attr6_tmp_exec = isset($$attr6_present);
@@ -218,187 +154,36 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>
<?php unset($attr6_present); ?><?php $attr7_title=$desc; $attr7_target=$target; $attr7_url=$url; $attr7_class='tree'; ?><?php
$params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- 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_icon=$icon; $attr8_align='left'; ?><?php
$attr8_tmp_image_file = $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT;
$attr8_size = '16x16';
-?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='text'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><img alt="<?php echo basename($attr8_tmp_image_file); echo ' ('; if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo $attr8_tmp_width.'x'.$attr8_tmp_height; echo')';} ?>" src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='text'; $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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);
- }
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_var);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
<?php ?><?php $attr7_icon=$icon; $attr7_align='left'; ?><?php
$attr7_tmp_image_file = $image_dir.'icon_'.$attr7_icon.IMG_ICON_EXT;
$attr7_size = '16x16';
-?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_icon);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='text'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?><img alt="<?php echo basename($attr7_tmp_image_file); echo ' ('; if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo $attr7_tmp_width.'x'.$attr7_tmp_height; echo')';} ?>" src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_icon);unset($attr7_align); ?><?php $attr7_class='text'; $attr7_var='text'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?><?php }
unset($attr5_tmp_last_exec) ?><?php ?><?php ?></td><?php ?><?php $attr5_var='url'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
- elseif (isset($attr5_key))
- $$attr5_var = $attr5_value[$attr5_key];
- else
- $$attr5_var = $attr5_value;
?><?php unset($attr5_var); ?><?php $attr5_var='image'; ?><?php
if (!isset($attr5_value))
unset($$attr5_var);
- elseif (isset($attr5_key))
- $$attr5_var = $attr5_value[$attr5_key];
- else
- $$attr5_var = $attr5_value;
?><?php unset($attr5_var); ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?></table><?php ?><?php ?></body>
</html><?php ?>
\ No newline at end of file
diff --git a/themes/default/pages/html/treetitle/show.tpl.php b/themes/default/pages/html/treetitle/show.tpl.php
@@ -4,56 +4,35 @@
<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" />
+ <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']) ?>" />
+ <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
+ <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 ?>" />
+ <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 ?>" />
+ <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_width='100%'; $attr2_space='0'; $attr2_padding='5'; ?><?php
- $coloumn_widths=array();
- $row_classes = array('');
- $column_classes= array('');
- if(empty($attr2_class))
+ $coloumn_widths = array();
+ $row_classes = array();
+ $column_classes = array();
$attr2_class='';
- if (!empty($attr2_widths))
- {
$column_widths = explode(',',$attr2_widths);
unset($attr2['widths']);
- }
- if (!empty($attr2_classes))
- {
- $row_classes = explode(',',$attr2_rowclasses);
- $row_class_idx = 999;
- unset($attr2['rowclasses']);
- }
- 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']);
- }
?><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;
@@ -79,15 +58,11 @@
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 }
+?> class="<?php echo $attr5_class ?>" <?php
?>><?php unset($attr5_class); ?><?php $attr6_align='left'; $attr6_type=$type; ?><?php
$attr6_tmp_image_file = $image_dir.'icon_'.$attr6_type.IMG_ICON_EXT;
$attr6_size = '16x16';
-?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_align);unset($attr6_type); ?><?php $attr6_list='path'; $attr6_extract=true; $attr6_key='list_key'; $attr6_value='xy'; ?><?php
+?><img alt="<?php echo basename($attr6_tmp_image_file); echo ' ('; if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo $attr6_tmp_width.'x'.$attr6_tmp_height; echo')';} ?>" src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_align);unset($attr6_type); ?><?php $attr6_list='path'; $attr6_extract=true; $attr6_key='list_key'; $attr6_value='xy'; ?><?php
$attr6_list_tmp_key = $attr6_key;
$attr6_list_tmp_value = $attr6_value;
$attr6_list_extract = $attr6_extract;
@@ -108,93 +83,14 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
}
?><?php unset($attr6_list);unset($attr6_extract);unset($attr6_key);unset($attr6_value); ?><?php $attr7_title='title'; $attr7_target='cms_main'; $attr7_url=$url; $attr7_class='path'; ?><?php
$params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- 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_var='name'; $attr8_maxlength='20'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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 )
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
$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 ?></a><?php ?><?php $attr7_type='filesep'; ?><?php
@@ -203,74 +99,10 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
else
echo "char error";
?><?php unset($attr7_type); ?><?php ?><?php } ?><?php ?><?php $attr6_title=$text; $attr6_class='title'; $attr6_var='text'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $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);
- }
+ $langF = $attr6_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?';
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
@@ -289,11 +121,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr4_class ?>" <?php
?>><?php unset($attr4_class); ?><?php $attr5_list='windowMenu'; $attr5_extract=true; $attr5_key='list_key'; $attr5_value='list_value'; ?><?php
$attr5_list_tmp_key = $attr5_key;
$attr5_list_tmp_value = $attr5_value;
@@ -313,7 +141,7 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
}
extract($$attr5_list_tmp_value);
}
-?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_not=true; $attr6_empty='url'; ?><?php
+?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_not=''; $attr6_empty='url'; ?><?php
if ( !isset($$attr6_empty) )
$attr6_tmp_exec = empty($attr6_empty);
elseif ( is_array($$attr6_empty) )
@@ -322,251 +150,48 @@ if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php }
$attr6_tmp_exec = true;
else
$attr6_tmp_exec = empty( $$attr6_empty );
- if ( !empty($attr6_not) )
- $attr6_tmp_exec = !$attr6_tmp_exec;
+ $attr6_tmp_exec = !$attr6_tmp_exec;
$attr6_tmp_last_exec = $attr6_tmp_exec;
if ( $attr6_tmp_exec )
{
?>
<?php unset($attr6_not);unset($attr6_empty); ?><?php $attr7_title=lang($title); $attr7_target='_parent'; $attr7_url=$url; $attr7_class='menu'; $attr7_accesskey=lang($key); ?><?php
$params = array();
- if (!empty($attr7_var1) && isset($attr7_value1))
- $params[$attr7_var1]=$attr7_value1;
- 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);unset($attr7_accesskey); ?><?php $attr8_class='text'; $attr8_text=$text; $attr8_accesskey=lang($key); $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+?><a<?php if (isset($attr7_name)) echo ' name="'.$attr7_name.'"'; else echo ' href="'.$tmp_url.($attr7_anchor?'#'.$attr7_anchor:'').'"' ?> class="<?php echo $attr7_class ?>" target="<?php echo $attr7_target ?>"<?php if (isset($attr7_accesskey)) echo ' accesskey="'.$attr7_accesskey.'"' ?> title="<?php echo encodeHtml($attr7_title) ?>"><?php unset($attr7_title);unset($attr7_target);unset($attr7_url);unset($attr7_class);unset($attr7_accesskey); ?><?php $attr8_class='text'; $attr8_key=$text; $attr8_accesskey=lang($key); $attr8_escape=true; ?><?php
+ $attr8_title = '';
$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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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_accesskey);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
-<?php ?><?php $attr7_class='menu_disabled'; $attr7_text=$text; $attr7_accesskey=lang($key); $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+?></<?php echo $tmp_tag ?>><?php unset($attr8_class);unset($attr8_key);unset($attr8_accesskey);unset($attr8_escape); ?><?php ?></a><?php ?><?php ?><?php } ?><?php ?><?php ?><?php if (!$attr6_tmp_last_exec) { ?>
+<?php ?><?php $attr7_class='menu_disabled'; $attr7_key=$text; $attr7_accesskey=lang($key); $attr7_escape=true; ?><?php
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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_accesskey);unset($attr7_escape); ?><?php ?><?php }
+?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_key);unset($attr7_accesskey);unset($attr7_escape); ?><?php ?><?php }
unset($attr5_tmp_last_exec) ?><?php ?><?php $attr6_class='text'; $attr6_raw='__'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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 $attr6_var='url'; $attr6_value=''; ?><?php
- if (!isset($attr6_value))
- unset($$attr6_var);
- elseif (isset($attr6_key))
+ if (isset($attr6_key))
$$attr6_var = $attr6_value[$attr6_key];
else
$$attr6_var = $attr6_value;
diff --git a/themes/default/pages/html/user/add.tpl.php b/themes/default/pages/html/user/add.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -141,11 +138,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 +158,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;
@@ -184,74 +175,13 @@
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_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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,12 +196,7 @@ 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_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;
+?>><?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 +204,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_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;
@@ -300,11 +219,8 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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/user/edit.tpl.php b/themes/default/pages/html/user/edit.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -178,80 +175,13 @@
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_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))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -266,11 +196,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='name'; $attr6_default=''; $attr6_type='text'; $attr6_name='name'; $attr6_size='20'; $attr6_maxlength='256'; $attr6_onchange=''; $attr6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ($attr6_readonly && empty($$attr6_name)) $$attr6_name = '- '.lang('EMPTY').' -';
if(!isset($attr6_default)) $attr6_default='';
@@ -294,11 +219,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -315,80 +236,13 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_fullname'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -403,11 +257,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -440,80 +289,13 @@ if ($attr6_readonly) {
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='user_mail'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
echo $tmp_text;
unset($tmp_text);
?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_text);unset($attr7_escape); ?><?php ?></td><?php ?><?php ?><?php
@@ -528,11 +310,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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_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='';
@@ -556,80 +333,13 @@ if ($attr7_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_desc'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -644,11 +354,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -672,80 +377,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_tel'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -760,11 +398,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -788,11 +421,7 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> colspan="<?php echo $attr5_colspan ?>" <?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;
@@ -809,11 +438,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php ?></td><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
@@ -826,11 +450,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_default=false; $attr6_readonly=false; $attr6_name='is_admin'; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr6_readonly=true;
if ( isset($$attr6_name) )
@@ -843,74 +462,12 @@ 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='is_admin'; ?><label for="id_<?php echo $attr6_for ?><?php if (!empty($attr6_value)) echo '_'.$attr6_value ?>"><?php unset($attr6_for); ?><?php $attr7_class='text'; $attr7_text='user_admin'; $attr7_escape=true; ?><?php
- if ( isset($attr7_prefix)&& isset($attr7_key))
- $attr7_key = $attr7_prefix.$attr7_key;
- if ( isset($attr7_suffix)&& isset($attr7_key))
- $attr7_key = $attr7_key.$attr7_suffix;
- if(empty($attr7_title))
- $attr7_title = '';
- if (empty($attr7_type))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -929,80 +486,13 @@ if ( $attr6_readonly && $checked )
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_ldapdn'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -1017,11 +507,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?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='';
@@ -1045,80 +530,13 @@ if ($attr6_readonly) {
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_class='text'; $attr6_text='user_style'; $attr6_escape=true; ?><?php
- if ( isset($attr6_prefix)&& isset($attr6_key))
- $attr6_key = $attr6_prefix.$attr6_key;
- if ( isset($attr6_suffix)&& isset($attr6_key))
- $attr6_key = $attr6_key.$attr6_suffix;
- if(empty($attr6_title))
- $attr6_title = '';
- if (empty($attr6_type))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr6_text);
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
@@ -1133,11 +551,6 @@ 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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
?>><?php ?><?php $attr6_list='allstyles'; $attr6_name='style'; $attr6_default=@$conf['interface']['style']['default']; $attr6_onchange=''; $attr6_title=''; $attr6_class=''; $attr6_addempty=false; $attr6_multiple=false; $attr6_size='1'; $attr6_lang=false; ?><?php
$attr6_tmp_list = $$attr6_list;
if ($this->isEditable() && !$this->isEditMode())
@@ -1207,11 +620,8 @@ if (count($$attr6_list)==1) echo '<input type="hidden" name="'.$attr6_name.'" va
if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) )
$attr5_width=$column_widths[$cell_column_nr-1];
?><td<?php
-if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php }
-if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php }
-if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php }
-if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php }
-if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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/user/groups.tpl.php b/themes/default/pages/html/user/groups.tpl.php
@@ -27,11 +27,8 @@
</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;
@@ -141,11 +138,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 +158,7 @@
<?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 $attr4_list='memberships'; $attr4_extract=true; $attr4_key='list_key'; $attr4_value='list_value'; ?><?php
$attr4_list_tmp_key = $attr4_key;
$attr4_list_tmp_value = $attr4_value;
@@ -204,11 +201,6 @@
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_default=false; $attr7_readonly=false; $attr7_name=$var; ?><?php
if ($this->isEditable() && !$this->isEditMode()) $attr7_readonly=true;
if ( isset($$attr7_name) )
@@ -232,83 +224,15 @@ if ( $attr7_readonly && $checked )
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_for=$var; ?><label for="id_<?php echo $attr7_for ?><?php if (!empty($attr7_value)) echo '_'.$attr7_value ?>"><?php unset($attr7_for); ?><?php $attr8_file='icon_group'; $attr8_align='left'; ?><?php
$attr8_tmp_image_file = $image_dir.$attr8_fileext;
$attr8_tmp_image_file = $image_dir.$attr8_file.IMG_ICON_EXT;
?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_file);unset($attr8_align); ?><?php $attr8_class='text'; $attr8_var='name'; $attr8_escape=true; ?><?php
- if ( isset($attr8_prefix)&& isset($attr8_key))
- $attr8_key = $attr8_prefix.$attr8_key;
- if ( isset($attr8_suffix)&& isset($attr8_key))
- $attr8_key = $attr8_key.$attr8_suffix;
- if(empty($attr8_title))
- $attr8_title = '';
- if (empty($attr8_type))
+ $attr8_title = '';
$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);
- }
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
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
@@ -327,11 +251,8 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_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_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
+?> class="<?php echo $attr5_class ?>" <?php
+?> colspan="<?php echo $attr5_colspan ?>" <?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/user/listing.tpl.php b/themes/default/pages/html/user/listing.tpl.php
@@ -182,11 +182,6 @@
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))
@@ -211,74 +206,11 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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))
+ $attr7_title = '';
$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);
- }
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
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
@@ -293,80 +225,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_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))
+ $attr6_title = '';
$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))
+ $langF = $attr6_escape?'langHtml':'lang';
$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
@@ -379,216 +243,27 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
{
?>
<?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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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>
diff --git a/themes/default/pages/html/user/rights.tpl.php b/themes/default/pages/html/user/rights.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_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;
@@ -175,11 +175,7 @@
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 }
+?> colspan="<?php echo $attr5_colspan ?>" <?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);
@@ -197,7 +193,7 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?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
+?><?php ?><?php ?><?php
$column_class_idx++;
if ($column_class_idx > count($column_classes))
$column_class_idx=1;
@@ -209,80 +205,13 @@ if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php }
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))
+?>><?php ?><?php $attr7_class='text'; $attr7_text='GLOBAL_NOT_FOUND'; $attr7_escape=true; ?><?php
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -294,8 +223,7 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
$attr4_tmp_exec = true;
else
$attr4_tmp_exec = empty( $$attr4_empty );
- if ( !empty($attr4_not) )
- $attr4_tmp_exec = !$attr4_tmp_exec;
+ $attr4_tmp_exec = !$attr4_tmp_exec;
$attr4_tmp_last_exec = $attr4_tmp_exec;
if ( $attr4_tmp_exec )
{
@@ -316,80 +244,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -404,80 +266,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -492,80 +288,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr6_class ?>" <?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))
+ $attr7_title = '';
$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))
+ $langF = $attr7_escape?'langHtml':'lang';
$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);
- }
+ $tmp_text = $langF($attr7_text);
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
@@ -599,80 +329,14 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 }
+?> class="<?php echo $attr7_class ?>" <?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))
+ $langF = $attr8_escape?'langHtml':'lang';
$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
@@ -717,11 +381,6 @@ if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php }
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;
@@ -732,74 +391,12 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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))
+ $attr8_title = '';
$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 )
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
$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
@@ -812,88 +409,24 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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))
+ $attr8_title = '';
$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 )
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
$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_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_exec = !$attr8_tmp_exec;
$attr8_tmp_last_exec = $attr8_tmp_exec;
if ( $attr8_tmp_exec )
{
@@ -902,74 +435,11 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?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))
+ $attr9_title = '';
$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))
+ $langF = $attr9_escape?'langHtml':'lang';
$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
@@ -998,11 +468,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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';
@@ -1027,74 +492,11 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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 )
+ $langF = $attr8_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr8_var)?$$attr8_var:'?unset:'.$attr8_var.'?';
$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
@@ -1109,80 +511,13 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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))
+ $attr7_title = '';
$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 )
+ $langF = $attr7_escape?'langHtml':'lang';
+ $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?';
$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
@@ -1216,11 +551,6 @@ if ( isset($attr6_rowspan)) { ?> rowspan="<?php echo $attr6_rowspan ?>" <?php }
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);