openrat-cms

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

commit 1d02c6ebf7c99e0226f4edb64347a12de0f923bf
parent 5b67d1e8a034de335bd2b2217a358eccf6f54556
Author: dankert <devnull@localhost>
Date:   Wed,  4 Jul 2007 00:29:35 +0200

Korrektur f?r das Vergleichen von Inhalten im Archiv.

Diffstat:
themes/default/pages/html/pageelement/diff.tpl.php | 578+++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 421 insertions(+), 157 deletions(-)

diff --git a/themes/default/pages/html/pageelement/diff.tpl.php b/themes/default/pages/html/pageelement/diff.tpl.php @@ -1,33 +1,54 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<?php $attr1 = array('class'=>'main','title'=>$cms_title) ?><?php $attr1_class='main' ?><?php $attr1_title=$cms_title ?><?php header('Content-Type: text/html; charset='.lang('CHARSET')) +?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> -<!-- $Id$ --> <head> - <title><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <title><?php echo $attr1_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" /> - <link rel="stylesheet" type="text/css" href="./themes/default/css/default.css" /> -<?php if($stylesheet!='default') { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $stylesheet ?>" /> +<?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(!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<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> - +<body class="<?php echo $attr1_class ?>"> -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php +<?php unset($attr1) ?><?php unset($attr1_class) ?><?php unset($attr1_title) ?><?php $attr2 = array('width'=>'93%','rowclasses'=>'odd,even','columnclasses'=>'1,2,3') ?><?php $attr2_width='93%' ?><?php $attr2_rowclasses='odd,even' ?><?php $attr2_columnclasses='1,2,3' ?><?php $coloumn_widths=array(); - if (!empty($attr_widths)) + if (!empty($attr2_widths)) { - $column_widths = explode(',',$attr_widths); - unset($attr['widths']); + $column_widths = explode(',',$attr2_widths); + unset($attr2['widths']); + } + if (!empty($attr2_rowclasses)) + { + $row_classes = explode(',',$attr2_rowclasses); + $row_class_idx = 999; + unset($attr2['rowclasses']); + } + if (!empty($attr2_columnclasses)) + { + $column_classes = explode(',',$attr2_columnclasses); + unset($attr2['columnclasses']); } global $image_dir; echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_width.'">'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">'; echo '<tr><td class="menu">'; - if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_ICON_EXT.'" align="left" border="0">'; + if ( !empty($attr2_icon) ) + echo '<img src="'.$image_dir.'icon_'.$attr2_icon.IMG_ICON_EXT.'" align="left" border="0">'; + if ( !isset($path) || is_array($path) ) + $path = array(); foreach( $path as $pathElement) { extract($pathElement); @@ -36,13 +57,39 @@ } echo '<span class="title">'.lang($windowTitle).'</span>'; ?> - </th> + </td><!--<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>&nbsp;<?php + } + ?> + </td>--> </tr> <tr><td class="subaction"> - <?php foreach( $windowMenu as $menu ) + + <?php if ( !isset($windowMenu) || !is_array($windowMenu) ) + $windowMenu = array(); + foreach( $windowMenu as $menu ) { - ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu<?php if($this->subActionName==$menu['subaction']) echo '_active' ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php + $tmp_text = lang($menu['text']); + $tmp_key = strtoupper(lang($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>&nbsp;&nbsp;&nbsp;<?php + } + else + { + ?><span class="menu_disabled" title="<?php echo lang($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span>&nbsp;&nbsp;&nbsp;<?php + } } + if ($conf['help']['enabled'] ) + { + ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.$conf['help']['suffix'] ?> " target="_new" title="<?php echo lang('GLOBAL_HELP') ?>" class="menu">?</a><?php + } ?></td> </tr> @@ -54,6 +101,7 @@ <?php foreach( $notices as $notice ) { ?> + <tr> <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?>: <?php } ?><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo $notice['text'] ?><?php if ($notice['status']=='error') { ?></strong><?php } ?></td> </tr> @@ -68,186 +116,393 @@ <tr> <td> - <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_name) ?><?php unset($attr_icon) ?><?php unset($attr_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - + <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr2) ?><?php unset($attr2_width) ?><?php unset($attr2_rowclasses) ?><?php unset($attr2_columnclasses) ?><?php $attr3 = array() ?><?php + $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><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='2' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; +?><tr class="<?php echo $attr3_class ?>"><?php unset($attr3) ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php +// if (empty($attr4_class)) +// $attr4['class']=$row_class; + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr4_class)) + $attr4['class']=$column_class; global $cell_column_nr; $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) - $attr['width']=$column_widths[$cell_column_nr-1]; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) + $attr4['width']=$column_widths[$cell_column_nr-1]; + +?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_colspan) ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_COMPARE','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_COMPARE' ?><?php $attr5_escape=true ?><?php + if ( isset($attr5_prefix)&& isset($attr5_key)) + $attr5_key = $attr5_prefix.$attr5_key; + if ( isset($attr5_suffix)&& isset($attr5_key)) + $attr5_key = $attr5_key.$attr5_suffix; -?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr) ?><?php unset($attr_width) ?><?php unset($attr_style) ?><?php unset($attr_class) ?><?php unset($attr_colspan) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_COMPARE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_COMPARE' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_array)) + if(empty($attr5_title)) + if (!empty($attr5_key)) + $attr5_title = lang($attr5_key.'_HELP'); + else + $attr5_title = ''; + +?><span class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php + $attr5_title = ''; + + if (!empty($attr5_array)) { //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - $tmp_text = $tmpArray[$attr_var]; + //echo $$attr5_array[$attr5_var].'%'; + $tmpArray = $$attr5_array; + if (!empty($attr5_var)) + $tmp_text = $tmpArray[$attr5_var]; + else + $tmp_text = lang($tmpArray[$attr5_text]); + } + elseif (!empty($attr5_text)) + if ( isset($$attr5_text)) + $tmp_text = lang($$attr5_text); else - $tmp_text = lang($tmpArray[$attr_text]); + $tmp_text = lang($attr5_text); + elseif (!empty($attr5_textvar)) + $tmp_text = lang($$attr5_textvar); + elseif (!empty($attr5_key)) + $tmp_text = lang($attr5_key); + elseif (!empty($attr5_var)) + $tmp_text = isset($$attr5_var)?($attr5_escape?htmlentities($$attr5_var):$$attr5_var):'?'.$attr5_var.'?'; + elseif (!empty($attr5_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr5_raw); + elseif (!empty($attr5_value)) + $tmp_text = $attr5_value; + else + { + $tmp_text = '&nbsp;'; + //Html::debug($attr5);echo 'text error'; } - elseif (!empty($attr_text)) - $tmp_text = lang($attr_text); - elseif (!empty($attr_var)) - $tmp_text = $$attr_var; - elseif (!empty($attr_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr_raw); - else echo 'text error'; - if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); - + 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; -?></span><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php unset($attr_var) ?><?php unset($attr_text) ?><?php unset($attr_raw) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php $attr_maxlength='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_array)) +?></span><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_text) ?><?php unset($attr5_escape) ?><?php $attr5 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_' ?><?php $attr5_escape=true ?><?php + if ( isset($attr5_prefix)&& isset($attr5_key)) + $attr5_key = $attr5_prefix.$attr5_key; + if ( isset($attr5_suffix)&& isset($attr5_key)) + $attr5_key = $attr5_key.$attr5_suffix; + + if(empty($attr5_title)) + if (!empty($attr5_key)) + $attr5_title = lang($attr5_key.'_HELP'); + else + $attr5_title = ''; + +?><span class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php + $attr5_title = ''; + + if (!empty($attr5_array)) { //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - $tmp_text = $tmpArray[$attr_var]; + //echo $$attr5_array[$attr5_var].'%'; + $tmpArray = $$attr5_array; + if (!empty($attr5_var)) + $tmp_text = $tmpArray[$attr5_var]; else - $tmp_text = lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr5_text]); + } + elseif (!empty($attr5_text)) + if ( isset($$attr5_text)) + $tmp_text = lang($$attr5_text); + else + $tmp_text = lang($attr5_text); + elseif (!empty($attr5_textvar)) + $tmp_text = lang($$attr5_textvar); + elseif (!empty($attr5_key)) + $tmp_text = lang($attr5_key); + elseif (!empty($attr5_var)) + $tmp_text = isset($$attr5_var)?($attr5_escape?htmlentities($$attr5_var):$$attr5_var):'?'.$attr5_var.'?'; + elseif (!empty($attr5_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr5_raw); + elseif (!empty($attr5_value)) + $tmp_text = $attr5_value; + else + { + $tmp_text = '&nbsp;'; + //Html::debug($attr5);echo 'text error'; } - elseif (!empty($attr_text)) - $tmp_text = lang($attr_text); - elseif (!empty($attr_var)) - $tmp_text = $$attr_var; - elseif (!empty($attr_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr_raw); - else echo 'text error'; - if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); - + 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; -?></span><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php unset($attr_var) ?><?php unset($attr_text) ?><?php unset($attr_raw) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'title1','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='title1' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_array)) +?></span><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr5 = array('class'=>'text','var'=>'title1','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='title1' ?><?php $attr5_escape=true ?><?php + if ( isset($attr5_prefix)&& isset($attr5_key)) + $attr5_key = $attr5_prefix.$attr5_key; + if ( isset($attr5_suffix)&& isset($attr5_key)) + $attr5_key = $attr5_key.$attr5_suffix; + + if(empty($attr5_title)) + if (!empty($attr5_key)) + $attr5_title = lang($attr5_key.'_HELP'); + else + $attr5_title = ''; + +?><span class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php + $attr5_title = ''; + + if (!empty($attr5_array)) { //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - $tmp_text = $tmpArray[$attr_var]; + //echo $$attr5_array[$attr5_var].'%'; + $tmpArray = $$attr5_array; + if (!empty($attr5_var)) + $tmp_text = $tmpArray[$attr5_var]; + else + $tmp_text = lang($tmpArray[$attr5_text]); + } + elseif (!empty($attr5_text)) + if ( isset($$attr5_text)) + $tmp_text = lang($$attr5_text); else - $tmp_text = lang($tmpArray[$attr_text]); + $tmp_text = lang($attr5_text); + elseif (!empty($attr5_textvar)) + $tmp_text = lang($$attr5_textvar); + elseif (!empty($attr5_key)) + $tmp_text = lang($attr5_key); + elseif (!empty($attr5_var)) + $tmp_text = isset($$attr5_var)?($attr5_escape?htmlentities($$attr5_var):$$attr5_var):'?'.$attr5_var.'?'; + elseif (!empty($attr5_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr5_raw); + elseif (!empty($attr5_value)) + $tmp_text = $attr5_value; + else + { + $tmp_text = '&nbsp;'; + //Html::debug($attr5);echo 'text error'; } - elseif (!empty($attr_text)) - $tmp_text = lang($attr_text); - elseif (!empty($attr_var)) - $tmp_text = $$attr_var; - elseif (!empty($attr_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr_raw); - else echo 'text error'; - if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); - + 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; -?></span><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php unset($attr_var) ?><?php unset($attr_text) ?><?php unset($attr_raw) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='2' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; +?></span><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_var) ?><?php unset($attr5_escape) ?><?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr4 = array('colspan'=>'2') ?><?php $attr4_colspan='2' ?><?php +// if (empty($attr4_class)) +// $attr4['class']=$row_class; + $column_class_idx++; + if ($column_class_idx > count($column_classes)) + $column_class_idx=1; + $column_class=$column_classes[$column_class_idx-1]; + if (empty($attr4_class)) + $attr4['class']=$column_class; global $cell_column_nr; $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) - $attr['width']=$column_widths[$cell_column_nr-1]; + if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) + $attr4['width']=$column_widths[$cell_column_nr-1]; -?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr) ?><?php unset($attr_width) ?><?php unset($attr_style) ?><?php unset($attr_class) ?><?php unset($attr_colspan) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_WITH','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_WITH' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_array)) +?><td <?php foreach( $attr4 as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php unset($attr4) ?><?php unset($attr4_colspan) ?><?php $attr5 = array('class'=>'text','text'=>'GLOBAL_WITH','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_text='GLOBAL_WITH' ?><?php $attr5_escape=true ?><?php + if ( isset($attr5_prefix)&& isset($attr5_key)) + $attr5_key = $attr5_prefix.$attr5_key; + if ( isset($attr5_suffix)&& isset($attr5_key)) + $attr5_key = $attr5_key.$attr5_suffix; + + if(empty($attr5_title)) + if (!empty($attr5_key)) + $attr5_title = lang($attr5_key.'_HELP'); + else + $attr5_title = ''; + +?><span class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php + $attr5_title = ''; + + if (!empty($attr5_array)) { //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - $tmp_text = $tmpArray[$attr_var]; + //echo $$attr5_array[$attr5_var].'%'; + $tmpArray = $$attr5_array; + if (!empty($attr5_var)) + $tmp_text = $tmpArray[$attr5_var]; else - $tmp_text = lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr5_text]); + } + elseif (!empty($attr5_text)) + if ( isset($$attr5_text)) + $tmp_text = lang($$attr5_text); + else + $tmp_text = lang($attr5_text); + elseif (!empty($attr5_textvar)) + $tmp_text = lang($$attr5_textvar); + elseif (!empty($attr5_key)) + $tmp_text = lang($attr5_key); + elseif (!empty($attr5_var)) + $tmp_text = isset($$attr5_var)?($attr5_escape?htmlentities($$attr5_var):$$attr5_var):'?'.$attr5_var.'?'; + elseif (!empty($attr5_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr5_raw); + elseif (!empty($attr5_value)) + $tmp_text = $attr5_value; + else + { + $tmp_text = '&nbsp;'; + //Html::debug($attr5);echo 'text error'; } - elseif (!empty($attr_text)) - $tmp_text = lang($attr_text); - elseif (!empty($attr_var)) - $tmp_text = $$attr_var; - elseif (!empty($attr_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr_raw); - else echo 'text error'; - if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); - + 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; -?></span><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php unset($attr_var) ?><?php unset($attr_text) ?><?php unset($attr_raw) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php $attr_maxlength='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_array)) +?></span><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_text) ?><?php unset($attr5_escape) ?><?php $attr5 = array('class'=>'text','raw'=>'_','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_raw='_' ?><?php $attr5_escape=true ?><?php + if ( isset($attr5_prefix)&& isset($attr5_key)) + $attr5_key = $attr5_prefix.$attr5_key; + if ( isset($attr5_suffix)&& isset($attr5_key)) + $attr5_key = $attr5_key.$attr5_suffix; + + if(empty($attr5_title)) + if (!empty($attr5_key)) + $attr5_title = lang($attr5_key.'_HELP'); + else + $attr5_title = ''; + +?><span class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php + $attr5_title = ''; + + if (!empty($attr5_array)) { //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - $tmp_text = $tmpArray[$attr_var]; + //echo $$attr5_array[$attr5_var].'%'; + $tmpArray = $$attr5_array; + if (!empty($attr5_var)) + $tmp_text = $tmpArray[$attr5_var]; else - $tmp_text = lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr5_text]); + } + elseif (!empty($attr5_text)) + if ( isset($$attr5_text)) + $tmp_text = lang($$attr5_text); + else + $tmp_text = lang($attr5_text); + elseif (!empty($attr5_textvar)) + $tmp_text = lang($$attr5_textvar); + elseif (!empty($attr5_key)) + $tmp_text = lang($attr5_key); + elseif (!empty($attr5_var)) + $tmp_text = isset($$attr5_var)?($attr5_escape?htmlentities($$attr5_var):$$attr5_var):'?'.$attr5_var.'?'; + elseif (!empty($attr5_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr5_raw); + elseif (!empty($attr5_value)) + $tmp_text = $attr5_value; + else + { + $tmp_text = '&nbsp;'; + //Html::debug($attr5);echo 'text error'; } - elseif (!empty($attr_text)) - $tmp_text = lang($attr_text); - elseif (!empty($attr_var)) - $tmp_text = $$attr_var; - elseif (!empty($attr_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr_raw); - else echo 'text error'; - if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); - + 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; -?></span><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php unset($attr_var) ?><?php unset($attr_text) ?><?php unset($attr_raw) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'title2','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='title2' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_array)) +?></span><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_raw) ?><?php unset($attr5_escape) ?><?php $attr5 = array('class'=>'text','var'=>'title2','escape'=>true) ?><?php $attr5_class='text' ?><?php $attr5_var='title2' ?><?php $attr5_escape=true ?><?php + if ( isset($attr5_prefix)&& isset($attr5_key)) + $attr5_key = $attr5_prefix.$attr5_key; + if ( isset($attr5_suffix)&& isset($attr5_key)) + $attr5_key = $attr5_key.$attr5_suffix; + + if(empty($attr5_title)) + if (!empty($attr5_key)) + $attr5_title = lang($attr5_key.'_HELP'); + else + $attr5_title = ''; + +?><span class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php + $attr5_title = ''; + + if (!empty($attr5_array)) { //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - $tmp_text = $tmpArray[$attr_var]; + //echo $$attr5_array[$attr5_var].'%'; + $tmpArray = $$attr5_array; + if (!empty($attr5_var)) + $tmp_text = $tmpArray[$attr5_var]; else - $tmp_text = lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr5_text]); + } + elseif (!empty($attr5_text)) + if ( isset($$attr5_text)) + $tmp_text = lang($$attr5_text); + else + $tmp_text = lang($attr5_text); + elseif (!empty($attr5_textvar)) + $tmp_text = lang($$attr5_textvar); + elseif (!empty($attr5_key)) + $tmp_text = lang($attr5_key); + elseif (!empty($attr5_var)) + $tmp_text = isset($$attr5_var)?($attr5_escape?htmlentities($$attr5_var):$$attr5_var):'?'.$attr5_var.'?'; + elseif (!empty($attr5_raw)) + $tmp_text = str_replace('_','&nbsp;',$attr5_raw); + elseif (!empty($attr5_value)) + $tmp_text = $attr5_value; + else + { + $tmp_text = '&nbsp;'; + //Html::debug($attr5);echo 'text error'; } - elseif (!empty($attr_text)) - $tmp_text = lang($attr_text); - elseif (!empty($attr_var)) - $tmp_text = $$attr_var; - elseif (!empty($attr_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr_raw); - else echo 'text error'; - if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); - + 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; -?></span><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php unset($attr_var) ?><?php unset($attr_text) ?><?php unset($attr_raw) ?><?php unset($attr_maxlength) ?><?php $fx = fx(''); +?></span><?php unset($attr5) ?><?php unset($attr5_class) ?><?php unset($attr5_var) ?><?php unset($attr5_escape) ?><?php $fx = fx(''); if (count($text1) > 0) { $i=0; @@ -295,20 +550,29 @@ else <td class="f1" colspan="4"><strong><?php echo lang('GLOBAL_NO_DIFFERENCES_FOUND') ?></strong></td> </tr> <?php } ?> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array() ?> </table> +<?php $attr3 = array() ?></td><?php unset($attr3) ?><?php $attr2 = array() ?></tr><?php unset($attr2) ?><?php $attr1 = array() ?> </table> </td> </tr> </table> -</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sat, 28 Jan 2006 20:29:54 +0100 */ ?><?php $attr = array() ?> +</center> + +<?php if ($showDuration) + { ?> +<br/> +<small>&nbsp; +<?php $dur = time()-START_TIME; + echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small> +<?php } ?> +<?php unset($attr1) ?><?php $attr0 = array() ?> <!-- $Id$ --> <?php if ($showDuration) { ?> <br/> <small>&nbsp; <?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small> +// echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small> <?php } ?> </body> -</html><?php unset($attr) ?>- \ No newline at end of file +</html><?php unset($attr0) ?>+ \ No newline at end of file