openrat-cms

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

commit 20556fb6721b2458433f1f8e95a048fa599873a5
parent 4b5d1a3af3f89ef6102aa8316f39575786d020c7
Author: dankert <devnull@localhost>
Date:   Sun, 29 Jan 2006 20:00:15 +0100

Seiten neu aus Vorlagen (../templates/*) generiert.

Diffstat:
themes/default/pages/html/background/show.tpl.php | 30------------------------------
themes/default/pages/html/element/remove.tpl.php | 333+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/file/compress.tpl.php | 289++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/file/edit.tpl.php | 224++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------
themes/default/pages/html/file/editvalue.tpl.php | 200+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/file/prop.tpl.php | 451++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------
themes/default/pages/html/folder/create.tpl.php | 97+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/folder/createfile.tpl.php | 308+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/folder/createfolder.tpl.php | 254+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/folder/createlink.tpl.php | 254+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/folder/createpage.tpl.php | 320+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/folder/new.tpl.php | 83++++++++++++++++++++++++++++++++++++++-----------------------------------------
themes/default/pages/html/folder/new/file.tpl.php | 202-------------------------------------------------------------------------------
themes/default/pages/html/folder/new/folder.tpl.php | 202-------------------------------------------------------------------------------
themes/default/pages/html/folder/new/link.tpl.php | 202-------------------------------------------------------------------------------
themes/default/pages/html/folder/new/page.tpl.php | 276-------------------------------------------------------------------------------
themes/default/pages/html/folder/order.tpl.php | 692+++++++++++++++++++++++++++++++++++++++++--------------------------------------
themes/default/pages/html/folder/prop.tpl.php | 340++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
themes/default/pages/html/folder/show.tpl.php | 1048++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
themes/default/pages/html/frameset/main.tpl.php | 12------------
themes/default/pages/html/group/edit.tpl.php | 214+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
themes/default/pages/html/group/list.tpl.php | 40----------------------------------------
themes/default/pages/html/group/listing.tpl.php | 171+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/group/remove.tpl.php | 323+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/group/users.tpl.php | 228++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
themes/default/pages/html/index/projectmenu.tpl.php | 171+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/index/show.tpl.php | 38++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/language/add.tpl.php | 161+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/language/edit.tpl.php | 228+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
themes/default/pages/html/language/list.tpl.php | 46----------------------------------------------
themes/default/pages/html/language/listing.tpl.php | 171+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/link/editprop.tpl.php | 38++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/link/edittarget.tpl.php | 33+++++++++++++++++++++++++++++++++
themes/default/pages/html/link/prop.tpl.php | 294++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
themes/default/pages/html/link/remove.tpl.php | 323+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/link/showprop.tpl.php | 569+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/link/target.tpl.php | 29+++++++++++++++++++++++++++++
themes/default/pages/html/main/menu.tpl.php | 59-----------------------------------------------------------
themes/default/pages/html/main/show.tpl.php | 19+++++++++++++++++++
themes/default/pages/html/mainmenu/show.tpl.php | 232+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/model/add.tpl.php | 161+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/model/edit.tpl.php | 221+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
themes/default/pages/html/model/list.tpl.php | 54------------------------------------------------------
themes/default/pages/html/model/listing.tpl.php | 267+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/model/remove.tpl.php | 323+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/object/aclform.tpl.php | 693++++++++++++++++++++++++++++---------------------------------------------------
themes/default/pages/html/object/prop.tpl.php | 105-------------------------------------------------------------------------------
themes/default/pages/html/object/rights.tpl.php | 587++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------
themes/default/pages/html/page/changetemplate.tpl.php | 304+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/page/el.tpl.php | 708+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/page/element.tpl.php | 674++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
themes/default/pages/html/page/form.tpl.php | 1090+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
themes/default/pages/html/page/prop.tpl.php | 390+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
themes/default/pages/html/page/replacetemplate.tpl.php | 38--------------------------------------
themes/default/pages/html/page/showprop.tpl.php | 924+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/page/src.tpl.php | 147++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
themes/default/pages/html/pageelement/archive.tpl.php | 1114+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
themes/default/pages/html/pageelement/diff.tpl.php | 372+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
themes/default/pages/html/pageelement/edit/date.tpl.php | 161-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/edit/link.tpl.php | 45---------------------------------------------
themes/default/pages/html/pageelement/edit/list.tpl.php | 46----------------------------------------------
themes/default/pages/html/pageelement/edit/longtext.tpl.php | 134-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/edit/number.tpl.php | 47-----------------------------------------------
themes/default/pages/html/pageelement/edit/select.tpl.php | 50--------------------------------------------------
themes/default/pages/html/pageelement/edit/text.tpl.php | 48------------------------------------------------
themes/default/pages/html/pageelement/editnumber.tpl.php | 542+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/prefs/show.tpl.php | 151++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/project/add.tpl.php | 161+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/project/edit.tpl.php | 571++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
themes/default/pages/html/project/list.tpl.php | 34----------------------------------
themes/default/pages/html/project/listing.tpl.php | 211+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/project/remove.tpl.php | 323+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/project/select.tpl.php | 164++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
themes/default/pages/html/template/edit.tpl.php | 27++++++++++++++++++---------
themes/default/pages/html/template/el.tpl.php | 48+++++++++++++++++++++++++-----------------------
themes/default/pages/html/template/name.tpl.php | 36+++++++++++++++++++-----------------
themes/default/pages/html/title/show.tpl.php | 316+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/tree/menu.tpl.php | 39---------------------------------------
themes/default/pages/html/tree/show.tpl.php | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/treetitle/show.tpl.php | 232+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/user/add.tpl.php | 161+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/user/addgroup.tpl.php | 177+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/user/edit.tpl.php | 642++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
themes/default/pages/html/user/groups.tpl.php | 228++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
themes/default/pages/html/user/list.tpl.php | 42------------------------------------------
themes/default/pages/html/user/listing.tpl.php | 339+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/user/profile.tpl.php | 74--------------------------------------------------------------------------
themes/default/pages/html/user/pw.tpl.php | 527+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
themes/default/pages/html/user/rights.tpl.php | 97+++++++++++++++++++++++++++++++------------------------------------------------
themes/default/pages/html/user/show.tpl.php | 85-------------------------------------------------------------------------------
90 files changed, 18925 insertions(+), 4261 deletions(-)

diff --git a/themes/default/pages/html/background/show.tpl.php b/themes/default/pages/html/background/show.tpl.php @@ -1,29 +0,0 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:10:25 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> - <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 } ?> -</head> - -<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> - - -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 16:10:25 +0100 */ ?><?php $attr = array() ?> -<!-- $Id$ --> - -<?php if ($showDuration && false) { ?> -<br/> -<small>&nbsp; -<?php $dur = time()-START_TIME; - 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 diff --git a/themes/default/pages/html/element/remove.tpl.php b/themes/default/pages/html/element/remove.tpl.php @@ -0,0 +1,332 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'ELEMENT_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='ELEMENT_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'delete','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='delete' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'ELEMENT_DELETE_VALUES','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='ELEMENT_DELETE_VALUES' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'deletevalues','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='deletevalues' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = array('field'=>'delete') ?><?php $attr_field='delete' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:52 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/file/compress.tpl.php b/themes/default/pages/html/file/compress.tpl.php @@ -0,0 +1,288 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('action'=>'file','subaction'=>'docompress','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='file' ?><?php $attr_subaction='docompress' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('title'=>'asdfdfs','name'=>'asdf','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='asdfdfs' ?><?php $attr_name='asdf' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'type','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='type' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/set.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('var'=>'gz','value'=>'gz') ?><?php $attr_var='gz' ?><?php $attr_value='gz' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('list'=>'formats','name'=>'format','default'=>'gz','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='formats' ?><?php $attr_name='format' ?><?php $attr_default='gz' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php +if (count($$attr_list)==1) echo ' disabled="disabled"' +?>><?php + foreach( $$attr_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/set.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('var'=>'field','value'=>'replace') ?><?php $attr_var='field' ?><?php $attr_value='replace' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/radio.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'field','value'=>'true','default'=>'','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='field' ?><?php $attr_value='true' ?><?php $attr_default='' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'replace','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='replace' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/newline.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?><br/><?php unset($attr) ?><?php /* source: ./themes/default/include/html/radio.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'field','value'=>'false','default'=>'','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='field' ?><?php $attr_value='false' ?><?php $attr_default='' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'createnew','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='createnew' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:42 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/file/edit.tpl.php b/themes/default/pages/html/file/edit.tpl.php @@ -1,91 +1,141 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<?php windowOpen( 'FILE_REPLACE',2,'file') ?> - -<tr> - <td colspan="2" class="help"><?php echo lang('FILE_REPLACE_DESC') ?></td> -</tr> - -<tr> -<td colspan="2" class="act"> - <?php echo Html::form( 'file','replace',$id,array('enctype'=>'multipart/form-data') ) ?> - - <input type="file" name="file"> <input type="submit" class="submit" value="<?php echo lang('GLOBAL_UPLOAD') ?>"> - </form> - -</td> -</tr> - -<?php windowClose() ?> - -<?php if ( count($formats) > 0 ) - { ?> -<?php echo Html::form( 'file','resize',$id ) ?> - -<?php windowOpen( 'FILE_IMAGE_RESIZE',2,'file') ?> - -<tr> - <td colspan="2" class="help"><?php echo lang('FILE_IMAGE_RESIZE_DESC') ?></td> -</tr> - -<tr> -<td width="50%" class="f2"><?php echo lang('FILE_IMAGE_NEW_WIDTH') ?></td> -<td width="50%" class="f2"><input type="text" name="width" value=""></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('FILE_IMAGE_NEW_HEIGHT') ?></td> -<td width="50%" class="f2"><input type="text" name="height" value=""></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('FILE_IMAGE_FORMAT') ?></td> -<td width="50%" class="f2"><?php echo Html::selectBox('format',$formats,$default_format) ?></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('FILE_IMAGE_JPEG_COMPRESSION') ?></td> -<?php - $jpeglist = array(); - for ($i=10; $i<=95; $i+=5) - $jpeglist[$i]=$i.'%'; -?> -<td width="50%" class="f2"><?php echo Html::selectBox('jpeg_compression',$jpeglist,'70') ?></td> -</tr> - -<tr> -<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('FILE_IMAGE_RESIZE') ?>"></td> -</tr> - -<?php windowClose() ?> - -</form> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array('action'=>'file','subaction'=>'replace','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'multipart/form-data') ?><?php $attr_action='file' ?><?php $attr_subaction='replace' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='multipart/form-data' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array('title'=>'asdfdfs','name'=>'asdf','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='asdfdfs' ?><?php $attr_name='asdf' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/upload.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array('name'=>'file','class'=>'upload') ?><?php $attr_name='file' ?><?php $attr_class='upload' ?><input type="file" name="<?php echo $attr_name ?>" class="<?php echo $attr_class ?>" /><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/button.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:10 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> - - - - -<?php if ( substr($mimetype,0,5) == 'text/' ) - { ?> - -<?php echo Html::form( 'file','savevalue',$id ) ?> - -<?php windowOpen( 'GLOBAL_VALUE',2,'file') ?> - -<tr> -<td class="f2"><?php echo lang('GLOBAL_VALUE') ?></a></td> -<td class="f2"><textarea cols="60" rows="35" name="value"><?php echo htmlentities($value) ?></textarea></td> -</tr> -<tr> -<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -<?php windowClose() ?> - -</form> +<?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 } ?> -</center> - -<?php Html::focusField('name') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/file/editvalue.tpl.php b/themes/default/pages/html/file/editvalue.tpl.php @@ -0,0 +1,199 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_VALUE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_VALUE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('name'=>'value','rows'=>'35','cols'=>'60','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='value' ?><?php $attr_rows='35' ?><?php $attr_cols='60' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = array('field'=>'value') ?><?php $attr_field='value' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:12 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/file/prop.tpl.php b/themes/default/pages/html/file/prop.tpl.php @@ -1,104 +1,361 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<center> - -<?php echo Html::form('file','save') ?> - -<?php windowOpen( 'GLOBAL_PROP',2,'file') ?> - -<?php if (isset($message)) - { ?> -<tr> - <td colspan="2" class="message"><?php echo $message ?></td> -</tr> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> -<tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_NAME') ?></a></td> - <td width="50%" class="f1"><input type="text" class="name" name="name" size="50" value="<?php echo $name ?>"></td> -</tr> -<tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td> -</tr> - -<?php if($edit_filename) - { ?> -<tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_FILENAME') ?></a></td> - <td width="50%" class="f1"><input class="filename" type="text" name="filename" size="40" value="<?php echo $filename ?>"></td> -</tr> -<?php } ?> - -<tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_FILENAME_DESC') ?></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('FILE_extension') ?></a></td> - <td width="50%" class="f2"><input class="filename" type="text" name="extension" size="10" value="<?php echo $extension ?>"></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_description') ?></a></td> - <td width="50%" class="f2"><textarea class="desc" cols="40" rows="10" name="desc"><?php echo $desc ?></textarea></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('FILE_SIZE') ?></a></td> - <td width="50%" class="f2"><?php echo number_format($size/1000,0,',','.') ?> kB</td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('FILE_mimetype') ?></a></td> - <td width="50%" class="f2"><tt><?php echo $mimetype; ?></tt></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_FULL_FILENAME') ?></a></td> - <td width="50%" class="f2"><tt><?php echo $full_filename ?></tt></td> -</tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_created') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$create_date) ?>, <?php Html::printUser($create_user) ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_lastchange') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$lastchange_date) ?>, <?php Html::printUser($lastchange_user) ?></td> - </tr> -<tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> -</tr> - -<?php windowClose() ?> -</form> - +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'folder','widths'=>'50%,50%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='folder' ?><?php $attr_widths='50%,50%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_name','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'50','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='50' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_filename','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'filename','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='filename' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'file_extension','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='file_extension' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'extension','prefix'=>'','value'=>'','size'=>'10','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='extension' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='10' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_description','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'10','cols'=>'40','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='10' ?><?php $attr_cols='40' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:18 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> - - - -<?php windowOpen( 'FILE_PAGES',2) ?> - -<tr> - <td colspan="2" class="help"><?php echo lang('FILE_PAGES_DESC') ?></td> -</tr> - -<?php $f1=true; - foreach( $pages as $id=>$p ) - { ?> -<tr> -<td class="f1"><a href="<?php echo $p['url'] ?>" target="cms_main"><img src="<?php echo $image_dir.'icon_page'.IMG_EXT ?>" align="left" border="0"><?php echo $p['name'] ?></a></td> -</tr> -<?php } - if ( count($pages)==0) - { ?> -<tr> -<td class="f1"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> -</tr> +<?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 windowClose() ?> - -</center> - -<?php Html::focusField('name') ?> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/create.tpl.php b/themes/default/pages/html/folder/create.tpl.php @@ -0,0 +1,96 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:39:05 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:39:05 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_NEW','name'=>'global_new','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='GLOBAL_NEW' ?><?php $attr_name='global_new' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:05 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:05 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/createfile.tpl.php b/themes/default/pages/html/folder/createfile.tpl.php @@ -0,0 +1,307 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'multipart/form-data') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='multipart/form-data' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/hidden.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('name'=>'type','default'=>'file') ?><?php $attr_name='type' ?><?php $attr_default='file' ?><input type="hidden" name="<?php echo $attr_name ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_FILE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_FILE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/upload.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('name'=>'file','class'=>'upload') ?><?php $attr_name='file' ?><?php $attr_class='upload' ?><input type="file" name="<?php echo $attr_name ?>" class="<?php echo $attr_class ?>" /><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'50','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='50' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_DESCRIPTION','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_DESCRIPTION' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'5','cols'=>'50','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='5' ?><?php $attr_cols='50' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:07 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/createfolder.tpl.php b/themes/default/pages/html/folder/createfolder.tpl.php @@ -0,0 +1,253 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_FOLDER','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_FOLDER' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_DESCRIPTION','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_DESCRIPTION' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'5','cols'=>'50','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='5' ?><?php $attr_cols='50' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:06 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/createlink.tpl.php b/themes/default/pages/html/folder/createlink.tpl.php @@ -0,0 +1,253 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_DESCRIPTION','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_DESCRIPTION' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'5','cols'=>'50','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='5' ?><?php $attr_cols='50' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:41:27 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/createpage.tpl.php b/themes/default/pages/html/folder/createpage.tpl.php @@ -0,0 +1,319 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_TEMPLATE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_TEMPLATE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('list'=>'templates','name'=>'templateid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='templates' ?><?php $attr_name='templateid' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php +if (count($$attr_list)==1) echo ' disabled="disabled"' +?>><?php + foreach( $$attr_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_DESCRIPTION','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_DESCRIPTION' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'5','cols'=>'50','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='5' ?><?php $attr_cols='50' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:09 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/new.tpl.php b/themes/default/pages/html/folder/new.tpl.php @@ -1,21 +1,21 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 11 Jan 2006 22:14:14 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> - <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 } ?> -</head> - -<body<?php if( !empty($attr_class) )echo ' class="'.$class.'"' ?>> - - -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:14:14 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_NEW','name'=>'global_new','widths'=>'','width'=>'') ?><?php $attr_title='GLOBAL_NEW' ?><?php $attr_name='global_new' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 18 Jan 2006 23:07:08 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 18 Jan 2006 23:07:08 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_NEW','name'=>'global_new','widths'=>'','width'=>'') ?><?php $attr_title='GLOBAL_NEW' ?><?php $attr_name='global_new' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php $coloumn_widths=array(); if (!empty($attr_widths)) { @@ -23,7 +23,7 @@ unset($attr['widths']); } global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; + if ( empty($attr_width)) $attr['width']='90%'; echo '<br/><br/><br/><center>'; echo '<table class="main" cellspacing="0" cellpadding="4" '; foreach( $attr as $aName=>$aValue ) @@ -31,7 +31,7 @@ echo '>'; echo '<tr><th>'; if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; + echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_ICON_EXT.'" align="left" border="0">'; if ( !isset($$attr_name)) $$attr_name=''; echo $$attr_name.': '; echo lang( $attr_title ); @@ -48,17 +48,17 @@ <?php if (isset($notices) && count($notices)>0 ) { ?> - + <tr> <td><table> - + <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> + + <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> <?php } ?> - + </table></td> </tr> @@ -68,23 +68,20 @@ <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:14 +0100 */ ?><?php $attr = array() ?> </table> + <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_name) ?><?php unset($attr_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 18 Jan 2006 23:07:08 +0100 */ ?><?php $attr = array() ?> </table> </td> </tr> </table> -</center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:14 +0100 */ ?><?php $attr = 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> -<?php } ?> - -</body> -</html> -<?php unset($attr) ?>- \ No newline at end of file +</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 18 Jan 2006 23:07:08 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/new/file.tpl.php b/themes/default/pages/html/folder/new/file.tpl.php @@ -1,201 +0,0 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> - <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 } ?> -</head> - -<body<?php if( !empty($attr_class) )echo ' class="'.$class.'"' ?>> - - -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('action'=>'folder','subaction'=>'createnew','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'multipart/form-data') ?><?php $attr_action='folder' ?><?php $attr_subaction='createnew' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='multipart/form-data' ?><form name="<?php echo $attr_name ?>" - target="<?php echo $attr_target ?>" - action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" - method="<?php echo $attr_method ?>" - enctype="<?php echo $attr_enctype ?>"> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?> -<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?> -<?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','widths'=>'','width'=>'') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php - $coloumn_widths=array(); - if (!empty($attr_widths)) - { - $column_widths = explode(',',$attr_widths); - unset($attr['widths']); - } - global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; - echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; - if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); - ?> - </th> - </tr> - <tr><td class="subaction"> - <?php foreach( $windowMenu as $menu ) - { - ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php - } - ?></td> - </tr> - -<?php if (isset($notices) && count($notices)>0 ) - { ?> - - <tr> - <td><table> - - <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> - <?php } ?> - - </table></td> - </tr> - -<?php } ?> - - - - <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_NAME','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_NAME' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/input.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('default'=>'','type'=>'file','index'=>'','name'=>'file','prefix'=>'','value'=>'','size'=>'','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='file' ?><?php $attr_index='' ?><?php $attr_name='file' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='' ?><?php $attr_maxlength='' ?><?php $attr_onchange='' ?><input <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?> value="<?php echo $$attr_name ?>" /> -<?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/button.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php - if ($attr_type=='ok') - { - $attr_type = 'submit'; - $attr_class = 'ok'; - $attr_text = 'BUTTON_OK'; - $attr_value = 'ok'; - } -?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /> -<?php unset($attr) ?><?php unset($attr_type) ?> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?> </table> - </td> - </tr> -</table> - -</center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array() ?></form> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = array('field'=>'file') ?><?php $attr_field='file' ?><script name="JavaScript" type="text/javascript"><!-- -document.forms[0].<?php echo $$attr_field ?>.focus(); -//--></script> -<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:17 +0100 */ ?><?php $attr = 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> -<?php } ?> - -</body> -</html> -<?php unset($attr) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/folder/new/folder.tpl.php b/themes/default/pages/html/folder/new/folder.tpl.php @@ -1,201 +0,0 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> - <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 } ?> -</head> - -<body<?php if( !empty($attr_class) )echo ' class="'.$class.'"' ?>> - - -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('action'=>'folder','subaction'=>'createnew','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='folder' ?><?php $attr_subaction='createnew' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><form name="<?php echo $attr_name ?>" - target="<?php echo $attr_target ?>" - action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" - method="<?php echo $attr_method ?>" - enctype="<?php echo $attr_enctype ?>"> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?> -<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?> -<?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','widths'=>'','width'=>'') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php - $coloumn_widths=array(); - if (!empty($attr_widths)) - { - $column_widths = explode(',',$attr_widths); - unset($attr['widths']); - } - global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; - echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; - if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); - ?> - </th> - </tr> - <tr><td class="subaction"> - <?php foreach( $windowMenu as $menu ) - { - ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php - } - ?></td> - </tr> - -<?php if (isset($notices) && count($notices)>0 ) - { ?> - - <tr> - <td><table> - - <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> - <?php } ?> - - </table></td> - </tr> - -<?php } ?> - - - - <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_FOLDER','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_FOLDER' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/input.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('default'=>'','type'=>'','index'=>'','name'=>'foldername','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='' ?><?php $attr_index='' ?><?php $attr_name='foldername' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='' ?><?php $attr_onchange='' ?><input <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?> value="<?php echo $$attr_name ?>" /> -<?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/button.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php - if ($attr_type=='ok') - { - $attr_type = 'submit'; - $attr_class = 'ok'; - $attr_text = 'BUTTON_OK'; - $attr_value = 'ok'; - } -?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /> -<?php unset($attr) ?><?php unset($attr_type) ?> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?> </table> - </td> - </tr> -</table> - -</center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array() ?></form> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = array('field'=>'foldername') ?><?php $attr_field='foldername' ?><script name="JavaScript" type="text/javascript"><!-- -document.forms[0].<?php echo $$attr_field ?>.focus(); -//--></script> -<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:16 +0100 */ ?><?php $attr = 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> -<?php } ?> - -</body> -</html> -<?php unset($attr) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/folder/new/link.tpl.php b/themes/default/pages/html/folder/new/link.tpl.php @@ -1,201 +0,0 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> - <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 } ?> -</head> - -<body<?php if( !empty($attr_class) )echo ' class="'.$class.'"' ?>> - - -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('action'=>'folder','subaction'=>'createnew','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='folder' ?><?php $attr_subaction='createnew' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><form name="<?php echo $attr_name ?>" - target="<?php echo $attr_target ?>" - action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" - method="<?php echo $attr_method ?>" - enctype="<?php echo $attr_enctype ?>"> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?> -<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?> -<?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','widths'=>'','width'=>'') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php - $coloumn_widths=array(); - if (!empty($attr_widths)) - { - $column_widths = explode(',',$attr_widths); - unset($attr['widths']); - } - global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; - echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; - if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); - ?> - </th> - </tr> - <tr><td class="subaction"> - <?php foreach( $windowMenu as $menu ) - { - ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php - } - ?></td> - </tr> - -<?php if (isset($notices) && count($notices)>0 ) - { ?> - - <tr> - <td><table> - - <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> - <?php } ?> - - </table></td> - </tr> - -<?php } ?> - - - - <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_NAME','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_NAME' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/input.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('default'=>'','type'=>'','index'=>'','name'=>'linkname','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='' ?><?php $attr_index='' ?><?php $attr_name='linkname' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='' ?><?php $attr_onchange='' ?><input <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?> value="<?php echo $$attr_name ?>" /> -<?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/button.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php - if ($attr_type=='ok') - { - $attr_type = 'submit'; - $attr_class = 'ok'; - $attr_text = 'BUTTON_OK'; - $attr_value = 'ok'; - } -?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /> -<?php unset($attr) ?><?php unset($attr_type) ?> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?> </table> - </td> - </tr> -</table> - -</center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array() ?></form> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = array('field'=>'pagename') ?><?php $attr_field='pagename' ?><script name="JavaScript" type="text/javascript"><!-- -document.forms[0].<?php echo $$attr_field ?>.focus(); -//--></script> -<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:18 +0100 */ ?><?php $attr = 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> -<?php } ?> - -</body> -</html> -<?php unset($attr) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/folder/new/page.tpl.php b/themes/default/pages/html/folder/new/page.tpl.php @@ -1,275 +0,0 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> - <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 } ?> -</head> - -<body<?php if( !empty($attr_class) )echo ' class="'.$class.'"' ?>> - - -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('action'=>'folder','subaction'=>'createnew','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='folder' ?><?php $attr_subaction='createnew' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><form name="<?php echo $attr_name ?>" - target="<?php echo $attr_target ?>" - action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" - method="<?php echo $attr_method ?>" - enctype="<?php echo $attr_enctype ?>"> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?> -<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?> -<?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','widths'=>'','width'=>'') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php - $coloumn_widths=array(); - if (!empty($attr_widths)) - { - $column_widths = explode(',',$attr_widths); - unset($attr['widths']); - } - global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; - echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; - if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); - ?> - </th> - </tr> - <tr><td class="subaction"> - <?php foreach( $windowMenu as $menu ) - { - ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php - } - ?></td> - </tr> - -<?php if (isset($notices) && count($notices)>0 ) - { ?> - - <tr> - <td><table> - - <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> - <?php } ?> - - </table></td> - </tr> - -<?php } ?> - - - - <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_TEMPLATE','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_TEMPLATE' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/selectbox.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('list'=>'templates','name'=>'templateid','default'=>'') ?><?php $attr_list='templates' ?><?php $attr_name='templateid' ?><?php $attr_default='' ?><select size="1" name="<?php echo $attr_name ?>" <?php -if (count($$attr_list)==1) echo ' disabled="disabled"' -?>><?php - foreach( $$attr_list as $box_key=>$box_value ) - { - echo '<option value="'.$box_key.'"'; - if ($box_key == $$attr_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' -?> -<?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_NAME','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_NAME' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/input.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('default'=>'','type'=>'','index'=>'','name'=>'pagename','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='' ?><?php $attr_index='' ?><?php $attr_name='pagename' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='' ?><?php $attr_onchange='' ?><input <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?> value="<?php echo $$attr_name ?>" /> -<?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/button.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php - if ($attr_type=='ok') - { - $attr_type = 'submit'; - $attr_class = 'ok'; - $attr_text = 'BUTTON_OK'; - $attr_value = 'ok'; - } -?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /> -<?php unset($attr) ?><?php unset($attr_type) ?> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?> </table> - </td> - </tr> -</table> - -</center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array() ?></form> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = array('field'=>'pagename') ?><?php $attr_field='pagename' ?><script name="JavaScript" type="text/javascript"><!-- -document.forms[0].<?php echo $$attr_field ?>.focus(); -//--></script> -<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 11 Jan 2006 22:14:19 +0100 */ ?><?php $attr = 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> -<?php } ?> - -</body> -</html> -<?php unset($attr) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/folder/order.tpl.php b/themes/default/pages/html/folder/order.tpl.php @@ -1,21 +1,21 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><!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" /> - <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 } ?> -</head> - -<body<?php if( isset($css_body_class) )echo ' class="'.$css_body_class.'"' ?>> - - -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','widths'=>'','width'=>'') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +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 $coloumn_widths=array(); if (!empty($attr_widths)) { @@ -23,42 +23,42 @@ unset($attr['widths']); } global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_width.'">'; + echo '<tr><td class="menu">'; if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); + echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_ICON_EXT.'" align="left" border="0">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; ?> </th> </tr> <tr><td class="subaction"> <?php foreach( $windowMenu as $menu ) { - ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php + ?><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 } ?></td> </tr> <?php if (isset($notices) && count($notices)>0 ) { ?> - + <tr> <td><table> - + <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> + + <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> <?php } ?> - + </table></td> </tr> @@ -68,361 +68,349 @@ <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + <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: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'7') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='7' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'7') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='7' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_FOLDER_DESC','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_FOLDER_DESC' ?><?php $attr_raw='' ?><?php + +?><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: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_FOLDER_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_FOLDER_DESC' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'FOLDER_ORDERBYTYPE','target'=>'','url'=>'orderbytype_url') ?><?php $attr_title='FOLDER_ORDERBYTYPE' ?><?php $attr_target='' ?><?php $attr_url='orderbytype_url' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_TYPE','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_TYPE' ?><?php $attr_raw='' ?><?php + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'FOLDER_ORDERBYTYPE','target'=>'','url'=>'orderbytype_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='FOLDER_ORDERBYTYPE' ?><?php $attr_target='' ?><?php $attr_url='orderbytype_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_TYPE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_TYPE' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_/_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_/_' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'FOLDER_ORDERBYNAME','target'=>'','url'=>'orderbyname_url') ?><?php $attr_title='FOLDER_ORDERBYNAME' ?><?php $attr_target='' ?><?php $attr_url='orderbyname_url' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?php $attr_raw='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'FOLDER_ORDERBYNAME','target'=>'','url'=>'orderbyname_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='FOLDER_ORDERBYNAME' ?><?php $attr_target='' ?><?php $attr_url='orderbyname_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'FOLDER_ORDERBYLASTCHANGE','target'=>'','url'=>'orderbylastchange_url') ?><?php $attr_title='FOLDER_ORDERBYLASTCHANGE' ?><?php $attr_target='' ?><?php $attr_url='orderbylastchange_url' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_LASTCHANGE','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_LASTCHANGE' ?><?php $attr_raw='' ?><?php + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'FOLDER_ORDERBYLASTCHANGE','target'=>'','url'=>'orderbylastchange_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='FOLDER_ORDERBYLASTCHANGE' ?><?php $attr_target='' ?><?php $attr_url='orderbylastchange_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_LASTCHANGE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_LASTCHANGE' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'4') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='4' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'4') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='4' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'FOLDER_FLIP','target'=>'','url'=>'flip_url') ?><?php $attr_title='FOLDER_FLIP' ?><?php $attr_target='' ?><?php $attr_url='flip_url' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'FOLDER_ORDER','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='FOLDER_ORDER' ?><?php $attr_raw='' ?><?php + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'FOLDER_FLIP','target'=>'','url'=>'flip_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='FOLDER_FLIP' ?><?php $attr_target='' ?><?php $attr_url='flip_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'FOLDER_ORDER','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='FOLDER_ORDER' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('list'=>'object','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='object' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('list'=>'object','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='object' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php $list_tmp_key = $attr_key; $list_tmp_value = $attr_value; $list_extract = ($attr_extract=='true'); - + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) { if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } extract($$list_tmp_value); -?> -<?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'40%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='40%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'40%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='40%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/image.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'icon') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='icon' ?><?php + +?><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/image.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'icon') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='icon' ?><?php if (!empty($attr_eltype)) { -?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_type)) { -?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($$attr_url)) { ?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_file)) { -?><img src="<?php echo $image_dir.$$attr_file.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?> -<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'18%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='18%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'18%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='18%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'date','text'=>'','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='date' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php + +?><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: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'date','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='date' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'upurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='upurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'upurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='upurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -435,7 +423,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -447,6 +435,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -458,6 +448,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -472,23 +466,22 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_UP','target'=>'','url'=>'upurl') ?><?php $attr_title='GLOBAL_UP' ?><?php $attr_target='' ?><?php $attr_url='upurl' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_up') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_up' ?><?php $$attr_var = $attr_value ?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_UP','target'=>'','url'=>'upurl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='GLOBAL_UP' ?><?php $attr_target='' ?><?php $attr_url='upurl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_up') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_up' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php if (!empty($attr_eltype)) { -?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_type)) { -?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($$attr_url)) { ?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_file)) { -?><img src="<?php echo $image_dir.$$attr_file.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?> -<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'upurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='upurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'upurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='upurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -501,7 +494,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -513,6 +506,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -524,6 +519,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -538,49 +537,44 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'topurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='topurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'topurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='topurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -593,7 +587,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -605,6 +599,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -616,6 +612,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -630,23 +630,22 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_TOP','target'=>'','url'=>'topurl') ?><?php $attr_title='GLOBAL_TOP' ?><?php $attr_target='' ?><?php $attr_url='topurl' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_top') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_top' ?><?php $$attr_var = $attr_value ?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_TOP','target'=>'','url'=>'topurl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='GLOBAL_TOP' ?><?php $attr_target='' ?><?php $attr_url='topurl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_top') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_top' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php if (!empty($attr_eltype)) { -?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_type)) { -?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($$attr_url)) { ?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_file)) { -?><img src="<?php echo $image_dir.$$attr_file.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?> -<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'topurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='topurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'topurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='topurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -659,7 +658,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -671,6 +670,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -682,6 +683,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -696,49 +701,44 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'bottomurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='bottomurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'bottomurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='bottomurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -751,7 +751,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -763,6 +763,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -774,6 +776,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -788,23 +794,22 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_BOTTOM','target'=>'','url'=>'bottomurl') ?><?php $attr_title='GLOBAL_BOTTOM' ?><?php $attr_target='' ?><?php $attr_url='bottomurl' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_bottom') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_bottom' ?><?php $$attr_var = $attr_value ?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_BOTTOM','target'=>'','url'=>'bottomurl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='GLOBAL_BOTTOM' ?><?php $attr_target='' ?><?php $attr_url='bottomurl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_bottom') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_bottom' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php if (!empty($attr_eltype)) { -?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_type)) { -?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($$attr_url)) { ?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_file)) { -?><img src="<?php echo $image_dir.$$attr_file.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?> -<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'bottomurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='bottomurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'bottomurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='bottomurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -817,7 +822,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -829,6 +834,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -840,6 +847,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -854,49 +865,44 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('width'=>'3%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='3%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'downurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='downurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'downurl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='downurl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -909,7 +915,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -921,6 +927,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -932,6 +940,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -946,23 +958,22 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_DOWN','target'=>'','url'=>'downurl') ?><?php $attr_title='GLOBAL_DOWN' ?><?php $attr_target='' ?><?php $attr_url='downurl' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_down') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_down' ?><?php $$attr_var = $attr_value ?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_DOWN','target'=>'','url'=>'downurl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='GLOBAL_DOWN' ?><?php $attr_target='' ?><?php $attr_url='downurl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'bild','value'=>'arrow_down') ?><?php $attr_var='bild' ?><?php $attr_value='arrow_down' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('file'=>'bild','url'=>'','align'=>'left','type'=>'') ?><?php $attr_file='bild' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php if (!empty($attr_eltype)) { -?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_type)) { -?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($$attr_url)) { ?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_file)) { -?><img src="<?php echo $image_dir.$$attr_file.IMG_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?> -<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'downurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='downurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'downurl','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='downurl' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -975,7 +986,7 @@ if (!empty($attr_eltype)) { // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -987,6 +998,8 @@ if (!empty($attr_eltype)) { $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -998,6 +1011,10 @@ if (!empty($attr_eltype)) { $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -1012,55 +1029,56 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?><?php } ?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?> </table> +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = array() ?> </table> </td> </tr> </table> </center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 11 Jan 2006 22:01:27 +0100 */ ?><?php $attr = array() ?> -<!-- $Id$ --> -<?php if ($showDuration) { ?> +<?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 } ?> - -</body> -</html> -<?php unset($attr) ?>- \ No newline at end of file +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 16:18:55 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/folder/prop.tpl.php b/themes/default/pages/html/folder/prop.tpl.php @@ -1,50 +1,298 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> -<center> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<?php echo Html::form('folder','save') ?> -<?php windowOpen('GLOBAL_PROP',2,'folder') ?> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('title'=>'global_prop','name'=>'objectName','icon'=>'folder','widths'=>'50%,50%','width'=>'90%') ?><?php $attr_title='global_prop' ?><?php $attr_name='objectName' ?><?php $attr_icon='folder' ?><?php $attr_widths='50%,50%' ?><?php $attr_width='90%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_name','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'50','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='50' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_filename','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'filename','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='filename' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_description','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'10','cols'=>'40','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='10' ?><?php $attr_cols='40' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 00:07:39 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<tr> -<td width="50%" rowspan="2" class="f1"><?php echo lang('GLOBAL_name') ?></a></td> -<td width="50%" class="f1"><input class="name" type="text" name="name" size="50" value="<?php echo $name ?>"></td> -</tr> -<tr> -<td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td> -</tr> -<tr> -<td width="50%" rowspan="2" class="f1"><?php echo lang('GLOBAL_filename') ?></a></td> -<td width="50%" class="f1"><input class="filename" type="text" name="filename" size="50" value="<?php echo $filename ?>"></td> -</tr> -<tr> -<td width="50%" class="help"><?php echo lang('GLOBAL_FILENAME_DESC') ?></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('GLOBAL_description') ?></a></td> -<td width="50%" class="f2"><textarea class="desc" cols="40" rows="10" name="desc"><?php echo $desc ?></textarea></td> -</tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_created') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$create_date) ?>, <?php Html::printUser($create_user) ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_lastchange') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$lastchange_date) ?>, <?php Html::printUser($lastchange_user) ?></td> - </tr> -<tr> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> -<td class="act"><input type="reset" class="reset" value="<?php echo lang('GLOBAL_UNDO') ?>" onClick="document.forms[0].name.focus();" /></td> -</tr> +<?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 windowClose() ?> - -</form> - - - -</center> - -<?php Html::focusField('name') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ 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 @@ -1,125 +1,935 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<center> - -<?php echo Html::form('folder','multiple') ?> - -<?php - $writable = isset($folder); -?> - -<?php windowOpen( 'GLOBAL_FOLDER',7,'folder' ) ?> - -<tr> -<td colspan="7" class="help"><?php echo lang('GLOBAL_FOLDER_DESC') ?></td> -</tr> - - -<?php if ( isset($up_url) ) - { ?> -<tr> -<td width="50%" colspan="8" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $up_url ?>" target="cms_main"><img src="<?php echo $image_dir.'icon_folder'.IMG_EXT ?>" align="left" border="0"><strong>..</strong></a></td> -</tr> -<?php } - - if ( count( $object) > 0 ) - { - $sortable = (count($object)>1 && $writable); - ?> -<tr> - <td width="5%" class="help" >&nbsp;</td> - <td width="60%" class="help" ><?php if ($sortable) { ?><a href="<?php echo $orderbytype_url ?>" title="<?php echo lang('FOLDER_ORDERBYTYPE' ) ?>"><?php } ?><?php echo lang('GLOBAL_TYPE' ) ?><?php if ($sortable) { ?></a><?php } ?> / <?php if ($sortable) { ?><a href="<?php echo $orderbyname_url ?>" title="<?php echo lang('FOLDER_ORDERBYNAME') ?>"><?php } ?><?php echo lang('GLOBAL_NAME') ?><?php if ($sortable) { ?></a><?php } ?></td> - <td width="20%" class="help" ><?php if ($sortable) { ?><a href="<?php echo $orderbylastchange_url ?>" title="<?php echo lang('FOLDER_ORDERBYLASTCHANGE') ?>"><?php } ?><?php echo lang('GLOBAL_LASTCHANGE') ?><?php if ($sortable) { ?></a><?php } ?></td> - <td width="30%" class="help" colspan="4"><?php if ($sortable) { ?><a href="<?php echo $flip_url ?>" title="<?php echo lang('FOLDER_FLIP') ?>"><?php } ?><?php echo lang('FOLDER_ORDER' ) ?><?php if ($sortable) { ?></a><?php } ?></td> -</tr> - -<?php $f1=true; - foreach( $object as $id=>$z ) - { - $fx = fx($f1); - ?> -<tr> - <td width="5%" class="<?php echo $fx; ?>"><?php if($writable) { ?><input type="checkbox" name="obj<?php echo $id ?>" value="1" /><?php } ?></td> - <td width="40%" class="<?php echo $fx; ?>"><a href="<?php echo $z['url'] ?>" target="cms_main" title="<?php echo $z['desc'] ?>"><img src="<?php echo $image_dir.'icon_'.$z['icon'].IMG_EXT ?>" align="left" border="0"><?php echo $z['name'] ?></a>&nbsp;</td> - <td width="18%" class="<?php echo $fx; ?>"><span title="<?php if (!empty($user->name)) echo lang('GLOBAL_USER').': '.$user->name ?>"><?php echo $z['date'] ?></span></td> - <td width="3%" class="<?php echo $fx; ?>"><?php if (isset($z['upurl' ])) { ?><a href="<?php echo $z['upurl' ] ?>"><img src="<?php echo $image_dir ?>arrow_up<?php echo IMG_EXT ?>" title="<?php echo lang('GLOBAL_UP' ) ?>" border="0"></a><?php } else echo '&nbsp;' ?></td> - <td width="3%" class="<?php echo $fx; ?>"><?php if (isset($z['topurl' ])) { ?><a href="<?php echo $z['topurl' ] ?>"><img src="<?php echo $image_dir ?>arrow_top<?php echo IMG_EXT ?>" title="<?php echo lang('GLOBAL_TOP' ) ?>" border="0"></a><?php } else echo '&nbsp;' ?></td> - <td width="3%" class="<?php echo $fx; ?>"><?php if (isset($z['bottomurl'])) { ?><a href="<?php echo $z['bottomurl'] ?>"><img src="<?php echo $image_dir ?>arrow_bottom<?php echo IMG_EXT ?>" title="<?php echo lang('GLOBAL_BOTTOM') ?>" border="0"></a><?php } else echo '&nbsp;' ?></td> - <td width="3%" class="<?php echo $fx; ?>"><?php if (isset($z['downurl' ])) { ?><a href="<?php echo $z['downurl' ] ?>"><img src="<?php echo $image_dir ?>arrow_down<?php echo IMG_EXT ?>" title="<?php echo lang('GLOBAL_DOWN' ) ?>" border="0"></a><?php } else echo '&nbsp;' ?></td> -</tr> -<?php } ?> - -<?php if($writable) { ?> -<tr> - <td colspan="7" class="<?php echo $fx; ?>"> - <img src="<?php echo $image_dir ?>tree_none_end.gif" align="left" />&nbsp; - <a href="javascript:mark();"><?php echo lang('FOLDER_MARK_ALL') ?></a> | <a href="javascript:unmark();"><?php echo lang('FOLDER_UNMARK_ALL') ?></a> | <a href="javascript:flip();"><?php echo lang('FOLDER_FLIP_MARK') ?></a> - </td> -</tr> -<tr> - <td></td> - <td colspan="1" class="<?php echo $fx; ?>"> - <table> - <tr> - <td> - <input type="radio" name="type" value="move" /> - <?php echo lang('GLOBAL_MOVE') ?> <?php echo lang('GLOBAL_TO') ?> - <br/> - <input type="radio" name="type" value="copy" /> - <?php echo lang('GLOBAL_COPY') ?> <?php echo lang('GLOBAL_TO') ?> - <br/> - <input type="radio" name="type" value="link" /> - <?php echo lang('GLOBAL_LINK') ?> <?php echo lang('GLOBAL_TO') ?> - <br/> - <input type="radio" name="type" value="delete" /> - <?php echo lang('GLOBAL_DELETE') ?> - </td><td> - <?php echo Html::selectBox('targetobjectid',$folder,$act_objectid) ?> - </td><td> - </td></tr> - </table> -</td> -<td class="act" colspan="5"> - <input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /> -</td> -</tr> -<?php } ?> -<?php } - else - { ?> -<tr> - <td colspan="2" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> -</tr> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> -<?php windowClose() ?> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -</form> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('action'=>'folder','subaction'=>'multiple','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='folder' ?><?php $attr_subaction='multiple' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'titelso','name'=>'bla','icon'=>'','widths'=>'5%,75%,20%','width'=>'85%') ?><?php $attr_title='titelso' ?><?php $attr_name='bla' ?><?php $attr_icon='' ?><?php $attr_widths='5%,75%,20%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'7') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='7' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_FOLDER_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_FOLDER_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'up_url','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='up_url' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'8') ?><?php $attr_width='50%' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='8' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'up_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='up_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'folder','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='folder' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:03 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_TYPE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_TYPE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_LASTCHANGE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_LASTCHANGE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('list'=>'object','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='object' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'writable','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='writable' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'id','prefix'=>'obj') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='id' ?><?php $attr_prefix='obj' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'','false'=>'writable') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='writable' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'desc','target'=>'cms_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='desc' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'icon','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='icon' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'date','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='date' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'writable','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='writable' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><tr> +<td colspan="7" class="<?php echo $fx; ?>"> +<img src="<?php echo $image_dir ?>tree_none_end.gif" align="left" />&nbsp; +<a href="javascript:mark();"><?php echo lang('FOLDER_MARK_ALL') ?></a> | <a href="javascript:unmark();"><?php echo lang('FOLDER_UNMARK_ALL') ?></a> | <a href="javascript:flip();"><?php echo lang('FOLDER_FLIP_MARK') ?></a> +</td> +</tr> +<tr> +<td></td> +<td colspan="1" class="<?php echo $fx; ?>"> +<table> +<tr> +<td> +<input type="radio" name="type" value="move" /> +<?php echo lang('GLOBAL_MOVE') ?> <?php echo lang('GLOBAL_TO') ?> +<br/> +<input type="radio" name="type" value="copy" /> +<?php echo lang('GLOBAL_COPY') ?> <?php echo lang('GLOBAL_TO') ?> +<br/> +<input type="radio" name="type" value="link" /> +<?php echo lang('GLOBAL_LINK') ?> <?php echo lang('GLOBAL_TO') ?> +<br/> +<input type="radio" name="type" value="delete" /> +<?php echo lang('GLOBAL_DELETE') ?> +</td><td> +<?php echo Html::selectBox('targetobjectid',$folder,$act_objectid) ?> +</td><td> +</td></tr> +</table> +</td> +</tr> +<?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'object','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='object' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/dummy.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?><?php unset($attr) ?><script name="JavaScript"> +<!-- +function mark() +{ +<?php foreach( $object as $id=>$z ) { ?> +document.forms[0].obj<?php echo $id ?>.checked=true; +<?php } ?> +} +function unmark() +{ +<?php foreach( $object as $id=>$z ) { ?> +document.forms[0].obj<?php echo $id ?>.checked=false; +<?php } ?> +} +function flip() +{ +<?php foreach( $object as $id=>$z ) { ?> +if (document.forms[0].obj<?php echo $id ?>.checked==false) +document.forms[0].obj<?php echo $id ?>.checked=true; +else document.forms[0].obj<?php echo $id ?>.checked=false; +<?php } ?> +} +</script> +<?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:39:03 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<script name="JavaScript"> -<!-- -function mark() -{ -<?php foreach( $object as $id=>$z ) { ?> -document.forms[0].obj<?php echo $id ?>.checked=true; +<?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 } ?> -} -function unmark() -{ -<?php foreach( $object as $id=>$z ) { ?> -document.forms[0].obj<?php echo $id ?>.checked=false; -<?php } ?> -} -function flip() -{ -<?php foreach( $object as $id=>$z ) { ?> -if (document.forms[0].obj<?php echo $id ?>.checked==false) - document.forms[0].obj<?php echo $id ?>.checked=true; -else document.forms[0].obj<?php echo $id ?>.checked=false; -<?php } ?> -} -//--> -</script> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/frameset/main.tpl.php b/themes/default/pages/html/frameset/main.tpl.php @@ -1,11 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> -<html> -<!-- $Id$ --> -<head> -<title></title> -</head> - <frameset rows="69,*" border="0" frameborder="0" framespacing="0"> - <frame src="<?php echo $frame_src_main_menu ?>" name="cms_main_menu" marginheight="0" marginwidth="0" scrolling="no"> - <frame src="<?php echo $frame_src_main_main ?>" name="cms_main_main" marginheight="0" marginwidth="0" scrolling="auto"> - </frameset> -</html>- \ No newline at end of file diff --git a/themes/default/pages/html/group/edit.tpl.php b/themes/default/pages/html/group/edit.tpl.php @@ -1,37 +1,199 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> -<!-- $Id$ --> +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> -<center> +<?php } ?> -<?php echo Html::form('group','save',$groupid) ?> -<?php windowOpen( 'GLOBAL_GROUP') ?> <tr> - <td width="50%" class="f1"><?php echo lang('GLOBAL_NAME') ?></a></td> - <td width="50%" class="f1"><input type="text" name="name" value="<?php echo $name ?>"></td> - </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: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; - <tr> - <td class="f1" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> - <td class="f1"><input type="checkbox" name="delete" value="1"></td> - </tr> - <tr> - <td class="help"><?php echo lang('GROUP_DELETE_DESC') ?></td> - </tr> +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; - <tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?> </table> + </td> </tr> +</table> -<?php windowClose() ?> - -</form> +</center> -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); +<?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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); //--></script> - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:27 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/group/list.tpl.php b/themes/default/pages/html/group/list.tpl.php @@ -1,39 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> - -<center> - -<?php echo Html::form('group','add') ?> - -<table class="main" width="50%" cellspacing="0" cellpadding="4"> - - <tr> - <th><?php echo lang('GLOBAL_GROUPS') ?></th> - </tr> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { ?> - <tr> - <td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><img src="<?php echo $image_dir ?>icon_group<?php echo IMG_EXT ?>" border="0" align="left"><?php echo $e['name'] ?></a></td> - </tr> -<?php } ?> - - <tr> - <td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> - </tr> - -</table> - -</form> - -</center> - -<script name="JavaScript" type="text/javascript"> -<!-- -window.document.forms[0].name.focus(); -//--> -</script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/group/listing.tpl.php b/themes/default/pages/html/group/listing.tpl.php @@ -0,0 +1,170 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('file'=>'icon_group','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_group' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:30 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/group/remove.tpl.php b/themes/default/pages/html/group/remove.tpl.php @@ -0,0 +1,322 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'delete','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='delete' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:28 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GROUP_DELETE_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GROUP_DELETE_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = array('field'=>'delete') ?><?php $attr_field='delete' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:29 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/group/users.tpl.php b/themes/default/pages/html/group/users.tpl.php @@ -1,39 +1,205 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GROUP_MEMBERSHIPS','icon'=>'user','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GROUP_MEMBERSHIPS' ?><?php $attr_icon='user' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> -<!-- $Id$ --> - -<center> - -<?php echo Html::form('group','adduser',$groupid) ?> - -<?php windowOpen( 'GROUP_MEMBERSHIPS') ?> - -<?php $f1=true; - foreach( $memberships as $id=>$name ) - { ?> -<tr> -<td width="50%" class="<?php if($f1==true) {echo'f1'; }else{echo'f2'; }?>"><?php echo $name ?></td> -<td width="10%" class="<?php if($f1==true) {echo'f1';$f1=false;}else{echo'f2';$f1=true;}?>"><a href="<?php echo Html::url('group','deluser',$groupid,array('userid'=>$id)) ?>"><?php echo lang('GLOBAL_DELETE') ?></a></td> -</tr> -<?php } - if ( count($memberships)==0 ) +<?php if (isset($notices) && count($notices)>0 ) { ?> -<tr> -<td colspan="2" class="f1"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> -</tr> -<?php } ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> -<?php if ( count($users)>0 ) - { ?> -<tr> - <td colspan="2" class="act"><?php echo Html::selectBox('userid',$users) ?></a>&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> -</tr> <?php } ?> -<?php windowClose() ?> -</form> + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('list'=>'memberships','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='memberships' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/image.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('file'=>'icon_user','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_user' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'','class'=>'','action'=>'group','subaction'=>'deluser','id'=>'groupid','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='' ?><?php $attr_class='' ?><?php $attr_action='group' ?><?php $attr_subaction='deluser' ?><?php $attr_id='groupid' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> </center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file + +<?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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:21 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/index/projectmenu.tpl.php b/themes/default/pages/html/index/projectmenu.tpl.php @@ -0,0 +1,170 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_PROJECTS','name'=>'login','icon'=>'','widths'=>'','width'=>'400') ?><?php $attr_title='GLOBAL_PROJECTS' ?><?php $attr_name='login' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='400' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('title'=>'TREE_CHOOSE_PROJECT','target'=>'','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='TREE_CHOOSE_PROJECT' ?><?php $attr_target='' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('var'=>'project','value'=>'project') ?><?php $attr_var='project' ?><?php $attr_value='project' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'project','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='project' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:21 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/index/show.tpl.php b/themes/default/pages/html/index/show.tpl.php @@ -0,0 +1,37 @@ +<?php /* source: ./themes/default/include/html/frameset-page.inc.php - compile time: Sun, 29 Jan 2006 19:47:36 +0100 */ ?><?php $attr = array() ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> +<html> +<!-- $Id$ --> + <head> + <title><?php echo $title ?> - <?php echo $cms_title ?></title> + <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" /> + <meta name="robots" content="noindex,nofollow" /> + </head> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frameset.inc.php - compile time: Sun, 29 Jan 2006 19:47:36 +0100 */ ?><?php $attr = array('rows'=>'20,5,*,5','columns'=>'') ?><?php $attr_rows='20,5,*,5' ?><?php $attr_columns='' ?><frameset +<?php echo !empty($attr_rows) ?' rows="'.$attr_rows.'"':'' ?> +<?php echo !empty($attr_columns)?' cols="'.$attr_columns.'"':'' ?> + border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr) ?><?php unset($attr_rows) ?><?php unset($attr_columns) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_title','name'=>'cms_title','scrolling'=>'') ?><?php $attr_file='frame_src_title' ?><?php $attr_name='cms_title' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_background','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_background' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frameset.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('rows'=>'','columns'=>'5,3,25%,3,5,3,*,3,5') ?><?php $attr_rows='' ?><?php $attr_columns='5,3,25%,3,5,3,*,3,5' ?><frameset +<?php echo !empty($attr_rows) ?' rows="'.$attr_rows.'"':'' ?> +<?php echo !empty($attr_columns)?' cols="'.$attr_columns.'"':'' ?> + border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr) ?><?php unset($attr_rows) ?><?php unset($attr_columns) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_background','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_background' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frameset.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('rows'=>'3,54,*,3','columns'=>'') ?><?php $attr_rows='3,54,*,3' ?><?php $attr_columns='' ?><frameset +<?php echo !empty($attr_rows) ?' rows="'.$attr_rows.'"':'' ?> +<?php echo !empty($attr_columns)?' cols="'.$attr_columns.'"':'' ?> + border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr) ?><?php unset($attr_rows) ?><?php unset($attr_columns) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_tree_title','name'=>'cms_treemenu','scrolling'=>'') ?><?php $attr_file='frame_src_tree_title' ?><?php $attr_name='cms_treemenu' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_tree','name'=>'cms_tree','scrolling'=>'auto') ?><?php $attr_file='frame_src_tree' ?><?php $attr_name='cms_tree' ?><?php $attr_scrolling='auto' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frameset-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array() ?></frameset> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_background','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_background' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_main','name'=>'cms_main','scrolling'=>'') ?><?php $attr_file='frame_src_main' ?><?php $attr_name='cms_main' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_background','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_background' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frameset-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array() ?></frameset> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array('file'=>'frame_src_background','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_background' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frameset-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array() ?></frameset> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frameset-page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:37 +0100 */ ?><?php $attr = array() ?> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/language/add.tpl.php b/themes/default/pages/html/language/add.tpl.php @@ -0,0 +1,160 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECTS','icon'=>'project','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECTS' ?><?php $attr_icon='project' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:10 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/language/edit.tpl.php b/themes/default/pages/html/language/edit.tpl.php @@ -1,41 +1,199 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> -<center> - -<?php echo Html::form('language','save',$languageid) ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<tr> - <th colspan="2"><?php echo lang('GLOBAL_LANGUAGE') ?></a></th> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('GLOBAL_LANGUAGE') ?></a></td> -<td width="50%" class="f2"><?php echo Html::selectBox('isocode',$isocodes,strtoupper($act_isocode)) ?></td> -</tr> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:13 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<?php if ( $delete ) - { ?> -<tr> -<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> -<td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td> -</tr> -<tr> -<td class="help"><?php echo lang('HELP_LANGUAGE_DELETE') ?></td> +<?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 } ?> -</tr> - -<tr> -<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td> -</tr> -</table> - -</form> -</center> - -<?php Html::focusField('name') ?> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/language/list.tpl.php b/themes/default/pages/html/language/list.tpl.php @@ -1,45 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('language','add') ?> - -<table class="main" width="60%" cellspacing="0" cellpadding="4"> -<tr> - <th colspan="3"><?php echo lang('GLOBAL_LANGUAGES') ?></th> -</tr> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { ?> -<tr> -<?php if ( isset($e['url'])) - { ?> -<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>"><img src="<?php echo $image_dir.'icon_lang'.IMG_EXT ?>" align="left" border="0" /><?php echo $e['name'] ?></a></td> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if (!isset($e['default_url'])) echo '<strong>'.lang('GLOBAL_default').'</strong>'; else echo '<a href="'.$e['default_url'].'" target="_self">'.lang('GLOBAL_make_default').'</a>' ?></td> -<?php } - else - { ?> -<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><img src="<?php echo $image_dir.'icon_lang.png' ?>" align="left"/><?php echo $e['name'] ?></td> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>">&nbsp;</td> -<?php } ?> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if (!isset($e['select_url' ])) echo '<strong>'.lang('GLOBAL_selected').'</strong>'; else echo '<a href="'.$e['select_url'].'" target="_top">'.lang('GLOBAL_select').'</a>' ?></td> -</tr> -<?php } ?> - -<?php if (isset($isocodes)) - { ?> -<tr> -<td colspan="3" class="act"><?php echo Html::selectBox( 'isocode',$isocodes ) ?> -<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> -</tr> -<?php } ?> - -</table> - -</form> - -</center> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/language/listing.tpl.php b/themes/default/pages/html/language/listing.tpl.php @@ -0,0 +1,170 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('file'=>'icon_group','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_group' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:20 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/link/editprop.tpl.php b/themes/default/pages/html/link/editprop.tpl.php @@ -0,0 +1,37 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<?php echo Html::form('link','save') ?> + +<?php windowOpen( 'GLOBAL_PROP',2,'link') ?> + +<?php $tabnr=0 ?> + <tr> + <td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_name') ?></a> + </td> + <td width="50%" class="f1"><?php echo Html::inputText('name',$name,array('size'=>'50','tabindex'=>++$tabnr)) ?> + </td> + </tr> + <tr> + <td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td> + </tr> + <tr> + <td width="50%" class="f2"><?php echo lang('GLOBAL_description') ?></a> + </td> + <td width="50%" class="f2"><?php echo Html::inputTextArea('desc',$desc,array('class'=>'desc','cols'=>'40','rows'=>'10','tabindex'=>++$tabnr)) ?> + </td> + </tr> + <tr> + <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> + </tr> + +<?php windowClose() ?> + +</form> + + +<?php Html::focusField('name') ?> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/link/edittarget.tpl.php b/themes/default/pages/html/link/edittarget.tpl.php @@ -0,0 +1,32 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<?php echo Html::form('link','save') ?> + +<?php windowOpen( 'GLOBAL_PROP',2,'link') ?> + +<?php $tabnr=0 ?> +<?php $typenr=0 ?> + <tr> + <td class="f1"><input type="radio" name="type" value="link"<?php if ($type=='link') echo ' checked="checked"'; ?> onClick="document.forms[0].linkobjectid.focus();" /><?php echo lang('LINK_TARGET') ?></a></td> + <td class="f1"><?php echo Html::selectBox('linkobjectid',$objects,$act_linkobjectid,array('tabindex'=>++$tabnr,'onFocus'=>'document.forms[0].type['.$typenr++.'].checked=true;')) ?></td> + </tr> + <tr> + <td class="f1"><input type="radio" name="type" value="url"<?php if ($type=='url') echo ' checked="checked"'; ?> onClick="document.forms[0].url.focus();" /><?php echo lang('LINK_URL') ?></a></td> + <td class="f1"><input type="text" name="url" size="50" maxlength="255" value="<?php echo $url; ?>" onFocus="document.forms[0].type[<?php echo $typenr++ ?>].checked=true;" tabindex="<?php echo ++$tabnr ?>"></td> + </tr> + <tr> + <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> + </tr> + +<?php windowClose() ?> + +</form> + + + +<?php Html::focusField('linkobjectid') ?> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/link/prop.tpl.php b/themes/default/pages/html/link/prop.tpl.php @@ -1,51 +1,253 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<center> - -<?php echo Html::form('link','save') ?> - -<?php windowOpen( 'GLOBAL_PROP',2,'link') ?> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> -<?php $tabnr=0 ?> - <tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_name') ?></a></td> - <td width="50%" class="f1"><input type="text" class="name" name="name" size="50" value="<?php echo $name ?>" tabindex="<?php echo ++$tabnr ?>"/></td> - </tr> - <tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_description') ?></a></td> - <td width="50%" class="f2"><textarea class="desc" cols="40" rows="10" name="desc" tabindex="<?php echo ++$tabnr ?>"/><?php echo $desc ?></textarea></td> - </tr> -<?php $typenr=0 ?> - <tr> - <td class="f1"><input type="radio" name="type" value="link"<?php if ($type=='link') echo ' checked="checked"'; ?> onClick="document.forms[0].linkobjectid.focus();" /><?php echo lang('LINK_TARGET') ?></a></td> - <td class="f1"><?php echo Html::selectBox('linkobjectid',$objects,$act_linkobjectid,array('tabindex'=>++$tabnr,'onFocus'=>'document.forms[0].type['.$typenr++.'].checked=true;')) ?></td> - </tr> - <tr> - <td class="f1"><input type="radio" name="type" value="url"<?php if ($type=='url') echo ' checked="checked"'; ?> onClick="document.forms[0].url.focus();" /><?php echo lang('LINK_URL') ?></a></td> - <td class="f1"><input type="text" name="url" size="50" maxlength="255" value="<?php echo $url; ?>" onFocus="document.forms[0].type[<?php echo $typenr++ ?>].checked=true;" tabindex="<?php echo ++$tabnr ?>"></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_created') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$create_date) ?>, <?php Html::printUser($create_user) ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_lastchange') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$lastchange_date) ?>, <?php Html::printUser($lastchange_user) ?></td> - </tr> - <tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> - </tr> - -<?php windowClose() ?> - -</form> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('title'=>'global_link','name'=>'GLOBAL_PROP','icon'=>'link','widths'=>'40%,60%','width'=>'90%') ?><?php $attr_title='global_link' ?><?php $attr_name='GLOBAL_PROP' ?><?php $attr_icon='link' ?><?php $attr_widths='40%,60%' ?><?php $attr_width='90%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_name','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_description','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'10','cols'=>'40','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='10' ?><?php $attr_cols='40' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:32 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<?php Html::focusField('name') ?> +<?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 include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/link/remove.tpl.php b/themes/default/pages/html/link/remove.tpl.php @@ -0,0 +1,322 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECT','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECT' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'delete','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='delete' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GROUP_DELETE_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GROUP_DELETE_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = array('field'=>'delete') ?><?php $attr_field='delete' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:34 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/link/showprop.tpl.php b/themes/default/pages/html/link/showprop.tpl.php @@ -0,0 +1,568 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'link','widths'=>'40%,60%','width'=>'90%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='link' ?><?php $attr_widths='40%,60%' ?><?php $attr_width='90%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_name','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_description','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'desc','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='desc' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:35 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_created','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_created' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/date.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +0100 */ ?><?php $attr = array('date'=>'create_date') ?><?php $attr_date='create_date' ?><?php + $time = $$attr_date; + + $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 ( $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($attr) ?><?php unset($attr_date) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:35 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/user.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array('user'=>'create_user') ?><?php $attr_user='create_user' ?><?php + $user = $$attr_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) ) + echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; + else + echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; +?><?php unset($attr) ?><?php unset($attr_user) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_lastchange','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_lastchange' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/date.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array('date'=>'lastchange_date') ?><?php $attr_date='lastchange_date' ?><?php + $time = $$attr_date; + + $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 ( $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($attr) ?><?php unset($attr_date) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/user.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array('user'=>'lastchange_user') ?><?php $attr_user='lastchange_user' ?><?php + $user = $$attr_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) ) + echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; + else + echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; +?><?php unset($attr) ?><?php unset($attr_user) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:36 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/link/target.tpl.php b/themes/default/pages/html/link/target.tpl.php @@ -0,0 +1,28 @@ +<?php include( $tpl_dir.'header.tpl.php') ?> + +<!-- $Id$ --> +<center> + +<?php echo Html::form('link','save') ?> + +<?php windowOpen( 'GLOBAL_PROP',2,'link') ?> + +<?php $tabnr=0 ?> +<?php $typenr=0 ?> + <tr> + <td class="f1"><input type="radio" name="type" value="link"<?php if ($type=='link') echo ' checked="checked"'; ?> onClick="document.forms[0].linkobjectid.focus();" /><?php echo lang('LINK_TARGET') ?></a></td> + <td class="f1"><?php echo Html::selectBox('linkobjectid',$objects,$act_linkobjectid,array('tabindex'=>++$tabnr,'onFocus'=>'document.forms[0].type['.$typenr++.'].checked=true;')) ?></td> + </tr> + <tr> + <td class="f1"><input type="radio" name="type" value="url"<?php if ($type=='url') echo ' checked="checked"'; ?> onClick="document.forms[0].url.focus();" /><?php echo lang('LINK_URL') ?></a></td> + <td class="f1"><input type="text" name="url" size="50" maxlength="255" value="<?php echo $url; ?>" onFocus="document.forms[0].type[<?php echo $typenr++ ?>].checked=true;" tabindex="<?php echo ++$tabnr ?>"></td> + </tr> + <tr> + <td class="f1" colspan="2"><a href="<?php echo $edittarget_url ?>"><?php echo lang('GLOBAL_CHANGE') ?></a></td> + </tr> + +<?php windowClose() ?> + +</form> + +<?php include( $tpl_dir.'footer.tpl.php') ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/main/menu.tpl.php b/themes/default/pages/html/main/menu.tpl.php @@ -1,58 +0,0 @@ -<?php include($tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<table cellpadding="5" cellspacing="0" width="100%" height="100%" border="0"> - <tr> - <td class="menu"> - <table cellpadding="0" cellspacing="0" width="100%"> - <tr> - </td> - <?php - if ( isset($folder) && is_array($folder) ) - { - foreach( $folder as $id=>$ftext ) - { - echo '<td width="2%" nowrap>'; - echo '<a href="'.Html::url('main','folder',$id).'" target="cms_main" class="mainmenu">'; - echo '<img src="'.$image_dir.'icon_folder'.IMG_EXT.'" align="left" alt="" border="0" />'; - echo Text::maxLength($ftext,20,'..',STR_PAD_BOTH); - echo '</a><strong>'.FILE_SEP.'</strong>&nbsp;'; - echo '</td>'; - } - } - ?> - <td><span class="mainmenu_name">&nbsp;<?php if (isset($text)) { ?><img src="<?php echo $image_dir.'icon_'.$type.IMG_EXT ?>" align="left" title="<?php echo $type ?>" alt="" /><?php echo Text::maxLength($text,30) ?><?php } ?></span> - </td> - - <?php if (isset($otherObjects) && count($otherObjects)>1 ) { ?> - <td align="right"><!--<img src="<?php echo $image_dir.'icon_'.$type.IMG_EXT ?>" align="left" title="<?php echo $type ?>" alt="" />--><form><?php echo Html::selectBox('objectid',$otherObjects,$nr,array('onclick'=>'submit();')) ?></form> - </td> - <?php } ?> - </tr> - </table> - </td> - </tr> - <tr> - <td class="submenu" height="20"><?php - $i = 0; - foreach( $subaction as $act=>$text ) - { - $title = lang('MENU_'.$act.'_DESC' ); - - if ( hasLang('MENU_'.$act.'_KEY' ) ) - { - $attrAccesskey = ' accesskey="'.lang('MENU_'.$act.'_KEY').'"'; - $title.=' ('.lang('GLOBAL_KEY').': ALT+'.lang('MENU_'.$act.'_KEY').')'; - } - else - $attrAccesskey = ''; - - - if ( ++$i > 1 ) echo ' | '; - echo '<a href="'.Html::url($action,$act,$actionid).'"'.$attrAccesskey.' target="cms_main_main" title="'.$title.'">'.$text.'</a>'; - } - ?></td> - </tr> -</table> - -<?php include($tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/main/show.tpl.php b/themes/default/pages/html/main/show.tpl.php @@ -0,0 +1,18 @@ +<?php /* source: ./themes/default/include/html/frameset-page.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array() ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> +<html> +<!-- $Id$ --> + <head> + <title><?php echo $title ?> - <?php echo $cms_title ?></title> + <link rel="shortcut icon" href="<?php echo $image_dir.'favicon.ico' ?>" /> + <meta name="robots" content="noindex,nofollow" /> + </head> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frameset.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array('rows'=>'3,54,*,3','columns'=>'') ?><?php $attr_rows='3,54,*,3' ?><?php $attr_columns='' ?><frameset +<?php echo !empty($attr_rows) ?' rows="'.$attr_rows.'"':'' ?> +<?php echo !empty($attr_columns)?' cols="'.$attr_columns.'"':'' ?> + border="0" frameborder="5" framespacing="0" bordercolor="#000000"><?php unset($attr) ?><?php unset($attr_rows) ?><?php unset($attr_columns) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array('file'=>'frame_src_main_menu','name'=>'cms_main_menu','scrolling'=>'') ?><?php $attr_file='frame_src_main_menu' ?><?php $attr_name='cms_main_menu' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array('file'=>'frame_src_main_main','name'=>'cms_main_main','scrolling'=>'auto') ?><?php $attr_file='frame_src_main_main' ?><?php $attr_name='cms_main_main' ?><?php $attr_scrolling='auto' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array('file'=>'frame_src_border','name'=>'','scrolling'=>'') ?><?php $attr_file='frame_src_border' ?><?php $attr_name='' ?><?php $attr_scrolling='' ?><frame src="<?php echo $$attr_file ?>" name="<?php echo empty($attr_name)?'':$attr_name ?>" marginheight="0" marginwidth="0" scrolling="<?php echo empty($attr_scrolling)?'no':$attr_scrolling ?>"> +<?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_name) ?><?php unset($attr_scrolling) ?><?php /* source: ./themes/default/include/html/frameset-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array() ?></frameset> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frameset-page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:51 +0100 */ ?><?php $attr = array() ?> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/mainmenu/show.tpl.php b/themes/default/pages/html/mainmenu/show.tpl.php @@ -0,0 +1,231 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/table.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('class'=>'','width'=>'100%','space'=>'0','padding'=>'5','widths'=>'') ?><?php $attr_class='' ?><?php $attr_width='100%' ?><?php $attr_space='0' ?><?php $attr_padding='5' ?><?php $attr_widths='' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } +?><table class="<?php echo $attr_class ?>" cellspacing="<?php echo $attr_space ?>" width="<?php echo $attr_width ?>" cellpadding="<?php echo $attr_padding ?>"><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_width) ?><?php unset($attr_space) ?><?php unset($attr_padding) ?><?php unset($attr_widths) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'menu','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='menu' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/image.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'type','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='type' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('list'=>'path','extract'=>'true','key'=>'list_key','value'=>'xy') ?><?php $attr_list='path' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='xy' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('title'=>'title','target'=>'cms_main','url'=>'url','class'=>'path','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='title' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='path' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'20') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php $attr_maxlength='20' ?><?php + if(empty($attr_title)) $attr_title = $attr_text; +?><span class="<?php echo $attr_class ?>"><?php + if (!empty($attr_array)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/char.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('type'=>'filesep') ?><?php $attr_type='filesep' ?><?php + if ($attr_type=='filesep') + echo '&nbsp;<strong>&raquo;</strong>&nbsp;'; + else + echo "char error"; +?><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('title'=>'text','class'=>'title','var'=>'text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='text' ?><?php $attr_class='title' ?><?php $attr_var='text' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'subaction','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='subaction' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/list.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('list'=>'windowMenu','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='windowMenu' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='text' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/table-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = array() ?></table><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:38 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/model/add.tpl.php b/themes/default/pages/html/model/add.tpl.php @@ -0,0 +1,160 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECTS','icon'=>'project','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECTS' ?><?php $attr_icon='project' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:25 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ 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 @@ -1,44 +1,199 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> -<!-- $Id$ --> -<center> +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> -<form action="<?php echo $self ?>" method="post" target="_self"> +<?php } ?> -<input type="hidden" name="subaction" value="save"> -<table class="main" width="90%" cellspacing="0" cellpadding="4"> -<tr> - <th colspan="2"><?php echo lang('GLOBAL_MODEL') ?></a></th> -</tr> + <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: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; -<tr> -<td width="50%" class="f1"><?php echo lang('GLOBAL_NAME') ?></td> -<td width="50%" class="f1"><input type="text" name="name" value="<?php echo $name ?>"></td> -</tr> -<?php if ( $delete ) - { ?> -<tr> -<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> -<td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td> -</tr> -<tr> -<td class="help"><?php echo lang('HELP_PROJECTMODEL_DELETE') ?></td> -</tr> -<?php } ?> -<tr> -<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td> -</tr> +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> </table> -</form> - </center> -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); +<?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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); //--></script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:31 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/model/list.tpl.php b/themes/default/pages/html/model/list.tpl.php @@ -1,53 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('model','add') ?> - -<table class="main" width="60%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="3"><?php echo lang('GLOBAL_MODELS') ?></th> -</tr> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { ?> -<tr> -<?php if (isset($e['url'])) - { ?> -<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>"><?php echo $e['name'] ?></a></td> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if ( !isset($e['default_url'])) echo '<strong>'.lang('GLOBAL_default' ).'</strong>'; else echo '<a href="'.$e['default_url'].'" target="_self">'.lang('GLOBAL_make_default').'</a>' ?></td> -<?php } - else - { ?> -<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><?php echo $e['name'] ?></td> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>">&nbsp;</td> -<?php } ?> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if ( !isset($e['select_url' ])) echo '<strong>'.lang('GLOBAL_selected').'</strong>'; else echo '<a href="'.$e['select_url' ].'" target="_top" >'.lang('GLOBAL_select' ).'</a>' ?></td> -</tr> -<?php } ?> - -<?php if ($add) - { ?> -<tr> -<td class="act" colspan="3"> - -<?php echo lang('GLOBAL_ADD') ?> <input type="text" name="name" size="30"> -<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"> -</td> -</tr> -<?php } ?> - -</table> - -</form> - -</center> - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); -//--></script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/model/listing.tpl.php b/themes/default/pages/html/model/listing.tpl.php @@ -0,0 +1,266 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_MODELS','icon'=>'group','widths'=>'50%,25%,25%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_MODELS' ?><?php $attr_icon='group' ?><?php $attr_widths='50%,25%,25%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('file'=>'icon_model','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_model' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'default_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='default_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('file'=>'icon_model','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_model' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_make_default','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_make_default' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'select_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='select_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('file'=>'icon_model','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_model' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_selected','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_selected' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:27 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/model/remove.tpl.php b/themes/default/pages/html/model/remove.tpl.php @@ -0,0 +1,322 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_GROUPS','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_GROUPS' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'delete','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='delete' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GROUP_DELETE_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GROUP_DELETE_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = array('field'=>'delete') ?><?php $attr_field='delete' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:47:30 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/object/aclform.tpl.php b/themes/default/pages/html/object/aclform.tpl.php @@ -1,6 +1,29 @@ -<?php /* source: ./themes/default/include/html/insert.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('file'=>'header') ?><?php $attr_file='header' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?> -<?php unset($attr) ?><?php unset($attr_file) ?> -<?php /* source: ./themes/default/include/html/form.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('action'=>'action','subaction'=>'addacl','id'=>'objectid','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='action' ?><?php $attr_subaction='addacl' ?><?php $attr_id='objectid' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><form name="<?php echo $attr_name ?>" +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" target="<?php echo $attr_target ?>" action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" method="<?php echo $attr_method ?>" @@ -10,9 +33,7 @@ <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php if ( $conf['interface']['url_sessionid'] ) echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?> -<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?> -<?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_ADD','name'=>'','widths'=>'','width'=>'') ?><?php $attr_title='GLOBAL_ADD' ?><?php $attr_name='' ?><?php $attr_widths='' ?><?php $attr_width='' ?><?php +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_ADD','name'=>'','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='GLOBAL_ADD' ?><?php $attr_name='' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php $coloumn_widths=array(); if (!empty($attr_widths)) { @@ -20,42 +41,42 @@ unset($attr['widths']); } global $image_dir; - if ( !isset($attr_width)) $attr['width']='90%'; echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" '; - foreach( $attr as $aName=>$aValue ) - echo " $aName=\"$aValue\""; - echo '>'; - echo '<tr><th>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_width.'">'; + echo '<tr><td class="menu">'; if ( !empty($attr_icon) ) - echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; - if ( !isset($$attr_name)) $$attr_name=''; - echo $$attr_name.': '; - echo lang( $attr_title ); + echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_ICON_EXT.'" align="left" border="0">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; ?> </th> </tr> <tr><td class="subaction"> <?php foreach( $windowMenu as $menu ) { - ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php + ?><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 } ?></td> </tr> <?php if (isset($notices) && count($notices)>0 ) { ?> - + <tr> <td><table> - + <?php foreach( $notices as $notice ) { ?> - - <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> - <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> + + <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> <?php } ?> - + </table></td> </tr> @@ -65,198 +86,174 @@ <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_widths) ?><?php unset($attr_width) ?> -<?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php + <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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ALL','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ALL' ?><?php $attr_raw='' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ALL','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ALL' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/radio.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'type','value'=>'all','default'=>'true') ?><?php $attr_readonly='' ?><?php $attr_name='type' ?><?php $attr_value='all' ?><?php $attr_default='true' ?><?php -?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?><?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /> -<?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + +?><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/set.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('var'=>'type','value'=>'all') ?><?php $attr_var='type' ?><?php $attr_value='all' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/radio.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'type','value'=>'type','default'=>'true','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='type' ?><?php $attr_value='type' ?><?php $attr_default='true' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_USER','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_USER' ?><?php $attr_raw='' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_USER','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_USER' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/radio.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'type','value'=>'user','default'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='type' ?><?php $attr_value='user' ?><?php $attr_default='' ?><?php -?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?><?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /> -<?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + +?><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/set.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('var'=>'type','value'=>'user') ?><?php $attr_var='type' ?><?php $attr_value='user' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/radio.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'type','value'=>'type','default'=>'','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='type' ?><?php $attr_value='type' ?><?php $attr_default='' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/selectbox.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('list'=>'users','name'=>'userid','default'=>'') ?><?php $attr_list='users' ?><?php $attr_name='userid' ?><?php $attr_default='' ?><select size="1" name="<?php echo $attr_name ?>" <?php + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('list'=>'users','name'=>'userid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='users' ?><?php $attr_name='userid' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php if (count($$attr_list)==1) echo ' disabled="disabled"' ?>><?php foreach( $$attr_list as $box_key=>$box_value ) { - echo '<option value="'.$box_key.'"'; - if ($box_key == $$attr_default) + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) echo ' selected="selected"'; echo '>'.$box_value.'</option>'; } ?></select><?php if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' -?> -<?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'true','empty'=>'groups','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='true' ?><?php $attr_empty='groups' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'groups','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='groups' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -269,7 +266,7 @@ if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" valu // Inhalt-Vergleich mit Wertliste elseif( !empty($attr_contains) ) $exec = in_array($$attr_var,explode(',',$attr_contains)); - + // Inhalt-Vergleich elseif( !empty($attr_var) ) $exec = $$attr_var == $attr_value; @@ -281,6 +278,8 @@ if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" valu $exec = true; elseif ( is_array($$attr_empty) ) $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; else $exec = empty( $$attr_empty ); } @@ -292,6 +291,10 @@ if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" valu $exec = false; elseif ( is_array($$attr_present) ) $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; else $exec = !empty( $$attr_present ); } @@ -306,515 +309,323 @@ if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" valu if ( $exec ) { -?> -<?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_GROUP','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_GROUP' ?><?php $attr_raw='' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_GROUP','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_GROUP' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/input.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('default'=>'','type'=>'radio','index'=>'','name'=>'type','prefix'=>'','value'=>'group','size'=>'','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='radio' ?><?php $attr_index='' ?><?php $attr_name='type' ?><?php $attr_prefix='' ?><?php $attr_value='group' ?><?php $attr_size='' ?><?php $attr_maxlength='' ?><?php $attr_onchange='' ?><input <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?> value="<?php echo $$attr_name ?>" /> -<?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + +?><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/set.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('var'=>'type','value'=>'group') ?><?php $attr_var='type' ?><?php $attr_value='group' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/radio.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'type','value'=>'type','default'=>'','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='type' ?><?php $attr_value='type' ?><?php $attr_default='' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/selectbox.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('list'=>'groups','name'=>'groupid','default'=>'') ?><?php $attr_list='groups' ?><?php $attr_name='groupid' ?><?php $attr_default='' ?><select size="1" name="<?php echo $attr_name ?>" <?php + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('list'=>'groups','name'=>'groupid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='groups' ?><?php $attr_name='groupid' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php if (count($$attr_list)==1) echo ' disabled="disabled"' ?>><?php foreach( $$attr_list as $box_key=>$box_value ) { - echo '<option value="'.$box_key.'"'; - if ($box_key == $$attr_default) + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) echo ' selected="selected"'; echo '>'.$box_value.'</option>'; } ?></select><?php if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' -?> -<?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php } -?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='3' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='3' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_LANGUAGE','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_LANGUAGE' ?><?php $attr_raw='' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_LANGUAGE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_LANGUAGE' ?><?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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/selectbox.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('list'=>'languages','name'=>'languageid','default'=>'') ?><?php $attr_list='languages' ?><?php $attr_name='languageid' ?><?php $attr_default='' ?><select size="1" name="<?php echo $attr_name ?>" <?php + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('list'=>'languages','name'=>'languageid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='languages' ?><?php $attr_name='languageid' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php if (count($$attr_list)==1) echo ' disabled="disabled"' ?>><?php foreach( $$attr_list as $box_key=>$box_value ) { - echo '<option value="'.$box_key.'"'; - if ($box_key == $$attr_default) + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) echo ' selected="selected"'; echo '>'.$box_value.'</option>'; } ?></select><?php if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' -?> -<?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='3' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='3' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_' ?><?php + +?><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: Sun, 29 Jan 2006 19:43:42 +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_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; if (!empty($attr_array)) { //geht nicht: //echo $$attr_array[$attr_var].'%'; $tmpArray = $$attr_array; if (!empty($attr_var)) - echo $tmpArray[$attr_var]; + $tmp_text = $tmpArray[$attr_var]; else - echo lang($tmpArray[$attr_text]); + $tmp_text = lang($tmpArray[$attr_text]); } elseif (!empty($attr_text)) - echo lang($attr_text); + $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - echo $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); + $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('list'=>'show','extract'=>'false','key'=>'list_key','value'=>'t') ?><?php $attr_list='show' ?><?php $attr_extract='false' ?><?php $attr_key='list_key' ?><?php $attr_value='t' ?><?php + + if ( !empty($attr_maxlength) && intval($attr_maxlength)!=0 ) + $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); + + 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: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('list'=>'show','extract'=>'false','key'=>'list_key','value'=>'t') ?><?php $attr_list='show' ?><?php $attr_extract='false' ?><?php $attr_key='list_key' ?><?php $attr_value='t' ?><?php $list_tmp_key = $attr_key; $list_tmp_value = $attr_value; $list_extract = ($attr_extract=='true'); - + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) { if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } extract($$list_tmp_value); -?> -<?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><td class="<?php echo $fx ?>"><?php echo lang('ACL_'.strtoupper($t)) ?></td> +?><tr><?php unset($attr) ?><td class="<?php echo $fx ?>"><?php echo lang('ACL_'.strtoupper($t)) ?></td> <td class="<?php echo $fx ?>" width="20"><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></td> <td class="<?php echo $fx ?>"><?php echo Html::checkBox($t,($t=='read'),($t!='read'),array('title'=>lang('ACL_'.strtoupper($t) )) ) ?></td> -<?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php } ?> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/dummy.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?><?php +<?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; else $fx='f1'; - + global $cell_column_nr; $cell_column_nr=0; -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='3' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; - + 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]; - -?><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/link.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'javascript:mark();') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='javascript:mark();' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'FOLDER_MARK_ALL','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='FOLDER_MARK_ALL' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_|_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_|_' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'javascript:unmark();') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='javascript:unmark();' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'FOLDER_UNMARK_ALL','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='FOLDER_UNMARK_ALL' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:23 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'','raw'=>'_|_') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='' ?><?php $attr_raw='_|_' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'javascript:flip();') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='javascript:flip();' ?><a href="<?php echo $$attr_url ?>" target="<?php echo $attr_target ?>" title="<?php echo lang($$attr_title) ?>"> -<?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'FOLDER_FLIP_MARK','raw'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='FOLDER_FLIP_MARK' ?><?php $attr_raw='' ?><?php - if(empty($attr_title)) $attr_title = $attr_text; -?><span class="<?php echo $attr_class ?>"><?php - if (!empty($attr_url)) - echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; - if (!empty($attr_array)) - { - //geht nicht: - //echo $$attr_array[$attr_var].'%'; - $tmpArray = $$attr_array; - if (!empty($attr_var)) - echo $tmpArray[$attr_var]; - else - echo lang($tmpArray[$attr_text]); - } - elseif (!empty($attr_text)) - echo lang($attr_text); - elseif (!empty($attr_var)) - echo $$attr_var; - elseif (!empty($attr_raw)) - echo str_replace('_',' ',$attr_raw); - else echo 'text error'; - - if (!empty($attr_url)) - echo '</a'; -?></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 /* source: ./themes/default/include/html/link-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?></a> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?><?php - global $fx; - if ( $fx =='f1') - $fx='f2'; - else $fx='f1'; - - global $cell_column_nr; - $cell_column_nr=0; - -?><tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='3' ?><?php - global $fx; - if (!isset($attr_class)) $attr_class=''; - if ($attr_class=='fx') $attr['class']=$fx; - - 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]; - -?><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/button.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php if ($attr_type=='ok') { $attr_type = 'submit'; @@ -822,41 +633,29 @@ if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" valu $attr_text = 'BUTTON_OK'; $attr_value = 'ok'; } -?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /> -<?php unset($attr) ?><?php unset($attr_type) ?> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?></td> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?></tr> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?> </table> +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?> </table> </td> </tr> </table> </center> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?></form> -<?php unset($attr) ?><?php /* source: ./themes/default/include/html/dummy.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array() ?><?php unset($attr) ?> -<script name="JavaScript"> -<!-- -function mark() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -document.forms[0].elements['<?php echo $t ?>'].checked=true; -function unmark() -<?php } ?> -} -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -document.forms[0].elements['<?php echo $t ?>'].checked=false; -<?php } ?> -} -function flip() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -if (document.forms[0].elements['<?php echo $t ?>'].checked==false) -document.forms[0].elements['<?php echo $t ?>'].checked=true; -else document.forms[0].elements['<?php echo $t ?>'].checked=false; -<?php } ?> -} -</script> -<?php /* source: ./themes/default/include/html/insert.inc.php - compile time: Wed, 11 Jan 2006 22:13:24 +0100 */ ?><?php $attr = array('file'=>'footer') ?><?php $attr_file='footer' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?> -<?php unset($attr) ?><?php unset($attr_file) ?>- \ No newline at end of file +<?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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:42 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/object/prop.tpl.php b/themes/default/pages/html/object/prop.tpl.php @@ -1,104 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('file','save') ?> - -<?php windowOpen( 'GLOBAL_PROP',2,'file') ?> - -<?php if (isset($message)) - { ?> -<tr> - <td colspan="2" class="message"><?php echo $message ?></td> -</tr> -<?php } ?> - -<tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_NAME') ?></a></td> - <td width="50%" class="f1"><input type="text" class="name" name="name" size="50" value="<?php echo $name ?>"></td> -</tr> -<tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td> -</tr> - -<?php if($edit_filename) - { ?> -<tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('GLOBAL_FILENAME') ?></a></td> - <td width="50%" class="f1"><input class="filename" type="text" name="filename" size="40" value="<?php echo $filename ?>"></td> -</tr> -<?php } ?> - -<tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_FILENAME_DESC') ?></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('FILE_extension') ?></a></td> - <td width="50%" class="f2"><input class="filename" type="text" name="extension" size="10" value="<?php echo $extension ?>"></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_description') ?></a></td> - <td width="50%" class="f2"><textarea class="desc" cols="40" rows="10" name="desc"><?php echo $desc ?></textarea></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('FILE_SIZE') ?></a></td> - <td width="50%" class="f2"><?php echo number_format($size/1000,0,',','.') ?> kB</td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('FILE_mimetype') ?></a></td> - <td width="50%" class="f2"><tt><?php echo $mimetype; ?></tt></td> -</tr> -<tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_FULL_FILENAME') ?></a></td> - <td width="50%" class="f2"><tt><?php echo $full_filename ?></tt></td> -</tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_created') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$create_date) ?>, <?php Html::printUser($create_user) ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_lastchange') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$lastchange_date) ?>, <?php Html::printUser($lastchange_user) ?></td> - </tr> -<tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> -</tr> - -<?php windowClose() ?> -</form> - - - - - - - -<?php windowOpen( 'FILE_PAGES',2) ?> - -<tr> - <td colspan="2" class="help"><?php echo lang('FILE_PAGES_DESC') ?></td> -</tr> - -<?php $f1=true; - foreach( $pages as $id=>$p ) - { ?> -<tr> -<td class="f1"><a href="<?php echo $p['url'] ?>" target="cms_main"><img src="<?php echo $image_dir.'icon_page'.IMG_EXT ?>" align="left" border="0"><?php echo $p['name'] ?></a></td> -</tr> -<?php } - if ( count($pages)==0) - { ?> -<tr> -<td class="f1"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> -</tr> -<?php } ?> - - -<?php windowClose() ?> - -</center> - -<?php Html::focusField('name') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/object/rights.tpl.php b/themes/default/pages/html/object/rights.tpl.php @@ -1,142 +1,457 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - - -<center> - -<?php if ( count($acls) > 0 ) - { ?> - -<?php windowOpen( 'ACL',count($show)+3 ) ?> - - <tr> - <td class="help"><?php echo lang('GLOBAL_NAME') ?></td> - <td class="help"><?php echo lang('GLOBAL_LANGUAGE') ?></td> - <?php foreach( $show as $t ) { ?> - <td class="help"><span title="<?php echo lang('ACL_'.strtoupper($t)) ?>"><strong><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></strong></span></td> - <?php } ?> - <td class="help">&nbsp;</td> - </tr> - - - - - -<?php $fx = ''; - foreach( $acls as $aclid=>$z ) - { $fx = fx($fx); ?> -<tr> -<?php if ( $z['username'] != '' ) - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user'.IMG_EXT ?>" align="left"><?php echo $z['username'] ?></td> -<?php } - elseif ( $z['groupname'] != '' ) - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo $z['groupname'] ?></td> -<?php } - else - { ?> -<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo lang('GLOBAL_ALL') ?></td> -<?php } ?> -<td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> - -<?php foreach( $show as $t ) { ?> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z[$t],false,array('title'=>lang('ACL_'.strtoupper($t))) ) ?></td> -<?php } ?> - -<?php if (isset($z['delete_url'])) - { ?> -<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('GLOBAL_DELETE') ?></a></td> -<?php } - else - { ?> - -<td class="<?php echo $fx ?>"><?php echo lang('ACL_INHERITED') ?></td> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> -</tr> -<?php } - ?> +</head> -<?php windowClose() ?> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<br/><br/><br/> -<?php } - $fx = ''; - $fx = fx($fx); ?> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('title'=>'ACL','name'=>'x','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='ACL' ?><?php $attr_name='x' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/if.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'acls','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='acls' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'y','empty'=>'acls','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='y' ?><?php $attr_empty='acls' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_LANGUAGE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_LANGUAGE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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 foreach( $show as $t ) { ?> +<td class="help"><span title="<?php echo lang('ACL_'.strtoupper($t)) ?>"><strong><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></strong></span></td> +<?php } ?> +<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_delete','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_delete' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('list'=>'acls','extract'=>'true','key'=>'aclid','value'=>'z') ?><?php $attr_list='acls' ?><?php $attr_extract='true' ?><?php $attr_key='aclid' ?><?php $attr_value='z' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php if ( $z['username'] != '' ) +{ ?> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_user'.IMG_ICON_EXT ?>" align="left"><?php echo $z['username'] ?></td> +<?php } +elseif ( $z['groupname'] != '' ) +{ ?> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_ICON_EXT ?>" align="left"><?php echo $z['groupname'] ?></td> +<?php } +else +{ ?> +<td width="50%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_group'.IMG_ICON_EXT ?>" align="left"><?php echo lang('GLOBAL_ALL') ?></td> +<?php } ?> +<?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'languagename','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='languagename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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 foreach( $show as $t ) { ?> +<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z[$t],false,array('title'=>lang('ACL_'.strtoupper($t))) ) ?></td> +<?php } ?> +<?php if (isset($z['delete_url'])) +{ ?> +<td class="<?php echo $fx ?>"><a href="<?php echo $z['delete_url'] ?>"><?php echo lang('GLOBAL_DELETE') ?></a></td> +<?php } +else +{ ?> +<td class="<?php echo $fx ?>"><?php echo lang('ACL_INHERITED') ?></td> +<?php } ?> +<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:56 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<?php echo Html::form( $action,'addacl',$objectid ) ?> - -<?php windowOpen( 'GLOBAL_ADD',3 ) ?> - -<tr> -<td class="<?php echo $fx ?>" colspan="2"><?php echo lang('GLOBAL_ALL') ?></td> -<td class="<?php echo $fx ?>"><input type="radio" name="type" value="all" checked="checked" /></td> -</tr> -<tr> -<td class="<?php echo $fx ?>" colspan="2"><?php echo lang('GLOBAL_USER') ?></td> -<td class="<?php echo $fx ?>"><input type="radio" name="type" value="user" />&nbsp;<?php echo Html::selectBox( 'userid',$users,0,array('onfocus'=>'document.forms[0].type[1].checked=true')); ?></td> -</tr> - -<?php if (count($groups)>0) - { ?> -<tr> -<td class="<?php echo $fx ?>" colspan="2"><?php echo lang('GLOBAL_GROUP') ?></td> -<td class="<?php echo $fx ?>"><input type="radio" name="type" value="group" />&nbsp;<?php echo Html::selectBox( 'groupid',$groups,0,array('onfocus'=>'document.forms[0].type[2].checked=true')); ?></td> -</tr> -<?php } ?> - -<tr> -<td class="<?php echo $fx ?>" colspan="2"><?php echo lang('GLOBAL_LANGUAGE') ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::selectBox( 'languageid',$languages); ?></td> -</tr> -<tr> - <td colspan="3" class="help">&nbsp;</td> -</tr> - -<?php foreach( $show as $t ) { ?> -<tr> -<td class="<?php echo $fx ?>"><?php echo lang('ACL_'.strtoupper($t)) ?></td> -<td class="<?php echo $fx ?>" width="20"><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></td> -<td class="<?php echo $fx ?>"><?php echo Html::checkBox($t,($t=='read'),($t!='read'),array('title'=>lang('ACL_'.strtoupper($t) )) ) ?></td> -</tr> -<?php } ?> -<tr> - <td><a href="javascript:mark();"><?php echo lang('FOLDER_MARK_ALL') ?></a> | <a href="javascript:unmark();"><?php echo lang('FOLDER_UNMARK_ALL') ?></a> | <a href="javascript:flip();"><?php echo lang('FOLDER_FLIP_MARK') ?></a></td> -</tr> -<tr> -<td class="act" colspan="3"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> -</tr> - -<?php windowClose() ?> -</form> - - -<script name="JavaScript"> -<!-- -function mark() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -document.forms[0].elements['<?php echo $t ?>'].checked=true; -<?php } ?> -} -function unmark() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -document.forms[0].elements['<?php echo $t ?>'].checked=false; +<?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 } ?> -} -function flip() -{ -<?php foreach( $show as $t ) { if($t=='read') continue; ?> -if (document.forms[0].elements['<?php echo $t ?>'].checked==false) - document.forms[0].elements['<?php echo $t ?>'].checked=true; -else document.forms[0].elements['<?php echo $t ?>'].checked=false; -<?php } ?> -} -//--> -</script> - - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/changetemplate.tpl.php b/themes/default/pages/html/page/changetemplate.tpl.php @@ -0,0 +1,303 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'page_template','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='page_template' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'template_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='template_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'template','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='template' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'template_name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='template_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'page_template','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='page_template' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('list'=>'templates','name'=>'templateid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='templates' ?><?php $attr_name='templateid' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php +if (count($$attr_list)==1) echo ' disabled="disabled"' +?>><?php + foreach( $$attr_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = array('field'=>'templateid') ?><?php $attr_field='templateid' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:35 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/el.tpl.php b/themes/default/pages/html/page/el.tpl.php @@ -0,0 +1,707 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'TEMPLATE_ELEMENTS','name'=>'x','icon'=>'','widths'=>'30%,50%,20%','width'=>'85%') ?><?php $attr_title='TEMPLATE_ELEMENTS' ?><?php $attr_name='x' ?><?php $attr_icon='' ?><?php $attr_widths='30%,50%,20%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/if.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'true','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='true' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENT_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENT_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENT_VALUE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENT_VALUE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ARCHIVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ARCHIVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'desc','target'=>'','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='desc' ?><?php $attr_target='' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'','elementtype'=>'type') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='type' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'value','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='value' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'archive_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='archive_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ARCHIVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ARCHIVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'archive_count','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='archive_count' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='3' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENTS_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENTS_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='3' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:13 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/element.tpl.php b/themes/default/pages/html/page/element.tpl.php @@ -1,46 +1,648 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - - <tr> - <th colspan="3"><?php echo lang('TEMPLATE_ELEMENTS') ?></th> +<?php /* source: ./themes/default/include/html/insert.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('file'=>'header') ?><?php $attr_file='header' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?><?php unset($attr) ?><?php unset($attr_file) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'TEMPLATE_ELEMENTS','name'=>'x','widths'=>'30%,50%,20%','width'=>'') ?><?php $attr_title='TEMPLATE_ELEMENTS' ?><?php $attr_name='x' ?><?php $attr_widths='30%,50%,20%' ?><?php $attr_width='' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + if ( empty($attr_width)) $attr['width']='90%'; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" '; + foreach( $attr as $aName=>$aValue ) + echo " $aName=\"$aValue\""; + echo '>'; + echo '<tr><th>'; + if ( !empty($attr_icon) ) + echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; + if ( !isset($$attr_name)) $$attr_name=''; + echo $$attr_name.': '; + echo lang( $attr_title ); + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php foreach( $windowMenu as $menu ) + { + ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php + } + ?></td> </tr> -<?php if ( count($el) > 0 ) +<?php if (isset($notices) && count($notices)>0 ) { ?> + <tr> - <td class="help"><?php echo lang('PAGE_ELEMENT_NAME') ?></td> - <td class="help"><?php echo lang('PAGE_ELEMENT_VALUE') ?></td> - <td class="help"><?php echo lang('GLOBAL_ARCHIVE') ?></td> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> + <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { - $fx = fx($f1); - ?> - <tr> - <td width="25%" class="<?php echo $fx ?>"><a href="<?php echo $e['url'] ?>" title="<?php echo $e['desc'] ?>"><img src="<?php echo $image_dir.'icon_el_'.$e['type'].IMG_EXT ?>" border="0" align="left"><?php echo $e['name'] ?></a></td> - <td width="40%" class="<?php echo $fx ?>"><?php echo $e['value'] ?>&nbsp;</td> - <td width="15%" class="<?php echo $fx ?>"><a href="<?php echo $e['archive_url'] ?>"><?php echo lang('GLOBAL_ARCHIVE') ?></a> (<?php echo $e['archive_count'] ?>)</td> + <?php } ?> + + </table></td> </tr> + <?php } ?> + + + <tr> - <td class="help" colspan="3"><?php echo lang('PAGE_ELEMENTS_DESC') ?></td> - </tr> -<?php } - else - { ?> - <tr> - <td colspan="3" class="f1"><strong><?php echo lang('GLOBAL_NOT_FOUND') ?></strong></td> - </tr> -<?php } ?> + <td> + <table class="n" cellspacing="0" width="100%" cellpadding="4"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_name) ?><?php unset($attr_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'true','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='true' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php -</table> + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; -</center> + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENT_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENT_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENT_VALUE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENT_VALUE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ARCHIVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ARCHIVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'desc','target'=>'','url'=>'url','class'=>'') ?><?php $attr_title='desc' ?><?php $attr_target='' ?><?php $attr_url='url' ?><?php $attr_class='' ?><a href="<?php echo $$attr_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'type') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='type' ?><?php +if (!empty($attr_eltype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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/link-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'value','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='value' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'archive_url','class'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='archive_url' ?><?php $attr_class='' ?><a href="<?php echo $$attr_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ARCHIVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ARCHIVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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/link-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'archive_count','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='archive_count' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='3' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENTS_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENTS_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'3') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='3' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Tue, 17 Jan 2006 22:40:13 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/insert.inc.php - compile time: Tue, 17 Jan 2006 22:40:13 +0100 */ ?><?php $attr = array('file'=>'footer') ?><?php $attr_file='footer' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?><?php unset($attr) ?><?php unset($attr_file) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/form.tpl.php b/themes/default/pages/html/page/form.tpl.php @@ -1,102 +1,986 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','saveform') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="4"><?php echo lang('TEMPLATE_ELEMENTS') ?></th> -</tr> - -<?php if ( count($el) > 0 ) - { ?> -<tr> - <td class="help"><?php echo lang('PAGE_ELEMENT_NAME') ?></td> - <td class="help"><?php echo lang('GLOBAL_CHANGE') ?></td> - <td class="help"><?php echo lang('GLOBAL_VALUE') ?></td> -</tr> - -<?php $f1=true; - $tabindex=0; - $firstId = 0; - foreach( $el as $id=>$e ) - { - $onchange = "window.document.forms[0].elements['saveid".$id."'].checked=true;"; - if ( $firstId == 0 ) - $firstId = $id; - $fx = fx($f1); - ?> -<tr> -<td width="30%" class="<?php echo $fx ?>"><img src="<?php echo $image_dir.'icon_el_'.$e['type'].IMG_EXT ?>" border="0" align="left"><?php echo $e['name'] ?></td> -<td width="5%" class="<?php echo $fx ?>"><input type="checkbox" name="saveid<?php echo $id ?>" value="1" /> </td> -<td width="65%" class="<?php echo $fx ?>"> - -<?php switch($e['type']) - { - case 'text': - case 'date': - case 'number': - ?> - <input tabindex="<?php echo ++$tabindex ?>" type="text" name="id<?php echo $id ?>" value="<?php echo $e['value'] ?>" size="40" maxlength="255" onchange="<?php echo $onchange ?>" /> - <?php - break; - case 'longtext': - ?> - <textarea tabindex="<?php echo ++$tabindex ?>" name="id<?php echo $id ?>" rows="7" cols="50" onchange="<?php echo $onchange ?>"><?php echo $e['value'] ?></textarea> - <?php - break; - case 'select': - case 'link': - case 'list': - echo Html::selectBox( 'id'.$id,$e['list'],$e['value'],array('tabindex'=>++$tabindex,'onchange'=>$onchange) ); - break; - } - ?> -&nbsp;</td> -</tr> -<?php } ?> - -<?php if ( $release ) - { ?> -<tr> - <td class="<?php echo $fx ?>">&nbsp;</td> - <td class="<?php echo $fx ?>" colspan="2"><?php echo Html::checkBox('release',true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> - -<?php if ( $publish ) - { ?> -<tr> - <td class="<?php echo $fx ?>">&nbsp;</td> - <td class="<?php echo $fx ?>" colspan="2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> - <td class="act" colspan="4"><input type="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" class="submit" /></td> -</tr> - - -<?php } - else - { ?> -<tr> -<td colspan="4" class="f1"><strong><?php echo lang('GLOBAL_NOT_FOUND') ?></strong></td> -</tr> -<?php } ?> - - -</table> - -</form> - -</center> - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].id<?php echo $firstId ?>.focus(); -//--></script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +<?php /* source: ./themes/default/include/html/insert.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('file'=>'header') ?><?php $attr_file='header' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?><?php unset($attr) ?><?php unset($attr_file) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('action'=>'page','subaction'=>'saveform','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='page' ?><?php $attr_subaction='saveform' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('title'=>'TEMPLATE_ELEMENTS','name'=>'TEMPLATE_ELEMENTS','icon'=>'','widths'=>'30%,5%,65%','width'=>'85%') ?><?php $attr_title='TEMPLATE_ELEMENTS' ?><?php $attr_name='TEMPLATE_ELEMENTS' ?><?php $attr_icon='' ?><?php $attr_widths='30%,5%,65%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'4') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='4' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'true','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='true' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_ELEMENT_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_ELEMENT_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_CHANGE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_CHANGE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_VALUE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_VALUE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/image.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'','elementtype'=>'type') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='type' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'id','prefix'=>'saveid') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='id' ?><?php $attr_prefix='saveid' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('var'=>'type','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'text,date,number','true'=>'','false'=>'') ?><?php $attr_var='type' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='text,date,number' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/input.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'true','name'=>'id','prefix'=>'id','value'=>'value','size'=>'40','maxlength'=>'255','onchange'=>'onchange') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='true' ?><?php $attr_name='id' ?><?php $attr_prefix='id' ?><?php $attr_value='value' ?><?php $attr_size='40' ?><?php $attr_maxlength='255' ?><?php $attr_onchange='onchange' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('var'=>'type','value'=>'longtext','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='type' ?><?php $attr_value='longtext' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/inputarea.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('name'=>'id','rows'=>'7','cols'=>'50','value'=>'value','index'=>'true','onchange'=>'onchange','prefix'=>'id','class'=>'','default'=>'') ?><?php $attr_name='id' ?><?php $attr_rows='7' ?><?php $attr_cols='50' ?><?php $attr_value='value' ?><?php $attr_index='true' ?><?php $attr_onchange='onchange' ?><?php $attr_prefix='id' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('var'=>'type','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'select,link,list','true'=>'','false'=>'') ?><?php $attr_var='type' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='select,link,list' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/selectbox.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array('list'=>'list','name'=>'id','default'=>'value','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='list' ?><?php $attr_name='id' ?><?php $attr_default='value' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php +if (count($$attr_list)==1) echo ' disabled="disabled"' +?>><?php + foreach( $$attr_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'release','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='release' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:24:46 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('default'=>'true','var'=>'','readonly'=>'false','name'=>'release','prefix'=>'') ?><?php $attr_default='true' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='release' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_RELEASE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_RELEASE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'publish','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='publish' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:24:46 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'publish','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='publish' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_PUBLISH_AFTER_SAVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_PUBLISH_AFTER_SAVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'4') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='4' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/insert.inc.php - compile time: Sun, 29 Jan 2006 16:24:46 +0100 */ ?><?php $attr = array('file'=>'footer') ?><?php $attr_file='footer' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?><?php unset($attr) ?><?php unset($attr_file) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/prop.tpl.php b/themes/default/pages/html/page/prop.tpl.php @@ -1,95 +1,307 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<center> - -<?php echo Html::form('page','propsave') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - - <tr> - <th colspan="2"><?php echo lang('GLOBAL_PROP') ?></th> - </tr> - - <tr> - <td width="50%" rowspan="2" class="f1"><?php echo lang('GLOBAL_NAME') ?></a></td> - <td width="50%" class="f1"><input type="text" class="name" name="name" size="50" value="<?php echo $name ?>"></td> - </tr> - <tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_NAME_DESC') ?></td> - </tr> - <tr> - <td width="50%" rowspan="2" class="f1"><?php echo lang('GLOBAL_FILENAME') ?></a></td> - <td width="50%" class="f1"><input type="text" class="filename" name="filename" size="50" value="<?php echo $filename ?>"></td> - </tr> - <tr> - <td width="50%" class="help"><?php echo lang('GLOBAL_FILENAME_DESC') ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_DESCRIPTION') ?></a></td> - <td width="50%" class="f2"><textarea cols="40" rows="10" name="desc"><?php echo $desc ?></textarea></td> - </tr> - <tr> - <td width="50%" class="f1"><?php echo lang('GLOBAL_TEMPLATE') ?></a></td> - <?php if (isset($template_url)) - { ?> - <td width="50%" class="f1"><a href="<?php echo $template_url ?>" target="cms_main"><img src="<?php echo $image_dir ?>icon_template<?php echo IMG_EXT ?>" border="0" align="left"><?php echo $template_name ?></a></td> - <?php } - else - { ?> - <td width="50%" class="f1"><img src="<?php echo $image_dir ?>icon_template<?php echo IMG_EXT ?>" align="left"><?php echo $template_name ?></td> - <?php } ?> - </tr> - <tr> - <td width="50%" class="f1"><?php echo lang('GLOBAL_FULL_FILENAME') ?></a></td> - <td width="50%" class="f1"><tt><?php echo $full_filename ?></tt></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_created') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$create_date) ?>, <?php Html::printUser($create_user) ?></td> - </tr> - <tr> - <td width="50%" class="f2"><?php echo lang('GLOBAL_lastchange') ?></a></td> - <td width="50%" class="f2"><?php echo date(lang('DATE_FORMAT'),$lastchange_date) ?>, <?php Html::printUser($lastchange_user) ?></td> - </tr> - - <tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> - </tr> - -</table> - -</form> - - -<!-- Vorlage tauschen --> -<?php if (count($templates)>0) // Nur anzeigen, wenn es Vorlagen zu tauschen gibt - { ?> -<?php echo Html::form('page','replacetemplateselectelements') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - - <tr> - <th colspan="2"><?php echo lang('PAGE_REPLACE_TEMPLATE') ?></th> - </tr> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> - <tr> - <td width="50%" class="f1"><?php echo lang('GLOBAL_TEMPLATES') ?></a></td> - <td width="50%" class="f1"><?php echo Html::selectBox('templateid',$templates) ?></td> - </tr> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> - <tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_REPLACE') ?>"></td> - </tr> -</table> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'page','widths'=>'50%,50%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='page' ?><?php $attr_widths='50%,50%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_name','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'50','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='50' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_filename','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'filename','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='filename' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_description','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:17 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array('name'=>'description','rows'=>'10','cols'=>'40','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='description' ?><?php $attr_rows='10' ?><?php $attr_cols='40' ?><?php $attr_value='' ?><?php $attr_index='' ?><?php $attr_onchange='' ?><?php $attr_prefix='' ?><?php $attr_class='' ?><?php $attr_default='' ?><textarea name="<?php echo $attr_name ?>" rows="<?php echo $attr_rows ?>" cols="<?php echo $attr_cols ?>"><?php echo htmlentities(isset($$attr_name)?$$attr_name:$attr_default) ?></textarea><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_rows) ?><?php unset($attr_cols) ?><?php unset($attr_value) ?><?php unset($attr_index) ?><?php unset($attr_onchange) ?><?php unset($attr_prefix) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:18 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -</form> +<?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 Html::focusField('name') ?> - -</center> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/replacetemplate.tpl.php b/themes/default/pages/html/page/replacetemplate.tpl.php @@ -1,37 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','replacetemplate','',array('newTemplateId'=>$newTemplateId)) ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - - <tr> - <th colspan="2"><?php echo lang('PAGE_REPLACE_TEMPLATE') ?></th> - </tr> - -<?php foreach( $oldTemplateElements as $oldId=>$oldName ) - { ?> - <tr> - <td width="50%" class="f1"><?php echo $oldName ?></a></td> - <td width="50%" class="f1"><?php $listName = 'newTemplateElementsOf'.$oldId; echo Html::selectBox('from'.$oldId,$$listName) ?></td> - </tr> -<?php } ?> - - <tr> - <td class="act" colspan="2"><input class="submit" type="submit" value="<?php echo lang('PAGE_REPLACE_TEMPLATE') ?>" /></td> - </tr> - -</table> - -</form> - - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); -//--></script> - -</center> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/page/showprop.tpl.php b/themes/default/pages/html/page/showprop.tpl.php @@ -0,0 +1,923 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'folder','widths'=>'50%,50%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='folder' ?><?php $attr_widths='50%,50%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_name','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_filename','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'filename','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_description','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'description','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='description' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'page_template','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='page_template' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'template_url','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='template_url' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'template_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='template_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('file'=>'icon_template','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_template' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'template_name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='template_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'template_url','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='template_url' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('file'=>'icon_template','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_template' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'template_name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='template_name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_full_filename','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_full_filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'full_filename','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='full_filename' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_created','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_created' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/date.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('date'=>'create_date') ?><?php $attr_date='create_date' ?><?php + $time = $$attr_date; + + $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 ( $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($attr) ?><?php unset($attr_date) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/user.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('user'=>'create_user') ?><?php $attr_user='create_user' ?><?php + $user = $$attr_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) ) + echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; + else + echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; +?><?php unset($attr) ?><?php unset($attr_user) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_lastchange','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_lastchange' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/date.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('date'=>'lastchange_date') ?><?php $attr_date='lastchange_date' ?><?php + $time = $$attr_date; + + $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 ( $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($attr) ?><?php unset($attr_date) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/user.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array('user'=>'lastchange_user') ?><?php $attr_user='lastchange_user' ?><?php + $user = $$attr_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) ) + echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; + else + echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; +?><?php unset($attr) ?><?php unset($attr_user) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:43:37 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/page/src.tpl.php b/themes/default/pages/html/page/src.tpl.php @@ -1,19 +1,142 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'page','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='page' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> -<!-- $Id$ --> -<center> +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> -<table class="main" width="90%" cellspacing="0" cellpadding="4"> +<?php } ?> -<tr> - <th><?php echo lang('PAGE_SOURCE') ?></th> -</tr> -<tr> - <td class="f1"><pre><?php echo $src ?></pre></td> -</tr> + <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: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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) ?><pre> +<?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'src','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='src' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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) ?></pre> +<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> </table> </center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file + +<?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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:22 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ 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,81 +1,1047 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<center> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="6"><?php echo lang('GLOBAL_ARCHIVE') ?> (<?php echo lang('PAGE_PAGEELEMENT') ?>: <?php echo $name ?>)</th> -</tr> -<?php if (count($el)>0) - { ?> -<tr> - <td class="help"><?php echo lang('GLOBAL_NR') ?></td> - <td class="help"><?php echo lang('DATE') ?></td> - <td class="help"><?php echo lang('GLOBAL_USER') ?></td> - <td class="help"><?php echo lang('GLOBAL_VALUE') ?></td> - <td class="help">&nbsp;</td> - <td class="help">&nbsp;</td> -</tr> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { - $fx = fx($f1); - ?> -<tr> -<td width="5%" class="<?php echo $fx ?>"><?php echo $e['lfd_nr'] ?></td> -<td width="20%" class="<?php echo $fx ?>"><?php echo $e['date'] ?></td> -<td width="20%" class="<?php echo $fx ?>"><?php echo $e['user' ] ?></td> -<td width="45%" class="<?php echo $fx ?>"><?php echo $e['value'] ?></td> -<td width="15%" class="<?php echo $fx ?>"><?php if ($e['public']) echo lang('GLOBAL_PUBLIC'); elseif ($e['releaseUrl']!='') { ?><a href="<?php echo $e['releaseUrl'] ?>"><?php echo lang('GLOBAL_RELEASE') ?></a><?php } else { ?>&nbsp;<?php } ?></td> -<td width="10%" class="<?php echo $fx ?>"><?php if ($e['active']) echo lang('GLOBAL_ACTIVE'); elseif ($e['useUrl' ]!='') { ?><a href="<?php echo $e['useUrl' ] ?>"><?php echo lang('GLOBAL_USE' ) ?></a><?php } else { ?>&nbsp;<?php } ?></td> -</tr> -<?php } ?> -<tr> - <td class="help" colspan="6"><?php echo lang('PAGE_ARCHIVE_DESC') ?></td> -</tr> -<?php } - else - { ?> -<tr> - <td class="f1" colspan="6"><strong><?php echo lang('GLOBAL_NOT_FOUND') ?></strong></td> -</tr> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> -</table> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'','widths'=>'5%,5%,5%,15%,15%,35%,10%,10%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='' ?><?php $attr_widths='5%,5%,5%,15%,15%,35%,10%,10%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NR','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NR' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'DATE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='DATE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_USER','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_USER' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_VALUE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_VALUE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'8') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='8' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'lfd_nr','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='lfd_nr' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/radio.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'compareid','value'=>'lfd_nr','default'=>'','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='compareid' ?><?php $attr_value='lfd_nr' ?><?php $attr_default='' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/radio.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('readonly'=>'','name'=>'withid','value'=>'lfd_nr','default'=>'','prefix'=>'','suffix'=>'') ?><?php $attr_readonly='' ?><?php $attr_name='withid' ?><?php $attr_value='lfd_nr' ?><?php $attr_default='' ?><?php $attr_prefix='' ?><?php $attr_suffix='' ?><?php +?><input type="radio" name="<?php echo $attr_prefix.$attr_name ?>"<?php if ( $attr_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $$attr_value ?>" <?php if( $attr_default ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_value) ?><?php unset($attr_default) ?><?php unset($attr_prefix) ?><?php unset($attr_suffix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'date','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='date' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'user','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='user' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'value','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='value' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'public','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='public' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_PUBLIC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_PUBLIC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'releaseUrl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='releaseUrl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'releaseUrl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='releaseUrl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_RELEASE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_RELEASE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/if.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'active','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='active' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_ACTIVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_ACTIVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'useUrl','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='useUrl' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'useUrl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='useUrl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_USE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_USE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'8') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='8' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 16:25:45 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<?php if (count($version_list)>1) - { ?> -<?php echo Html::form('pageelement','diff') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="2"><?php echo lang('GLOBAL_DIFFERENCES') ?></th> -</tr> -<tr> - <td colspan="2" class="help"><?php echo lang('GLOBAL_DIFFERENCES_DESC') ?></td> -</tr> -<tr> - <?php $ver_keys = array_keys( $version_list ); - $default1id = $ver_keys[ count($ver_keys)-2 ]; - $default2id = $ver_keys[ count($ver_keys)-1 ]; - ?> - <td class="<?php echo $fx ?>" width="50%"><?php echo lang('GLOBAL_COMPARE') ?>&nbsp;<?php echo Html::selectBox('value1id',$version_list,$default1id) ?></td> - <td class="<?php echo $fx ?>" width="50%"><?php echo lang('GLOBAL_WITH' ) ?>&nbsp;<?php echo Html::selectBox('value2id',$version_list,$default2id) ?></td> -</tr> -<tr> - <td colspan="2" class="act"><input class="submit" type="submit" value="<?php echo lang('MENU_SHOW') ?>" /></td> -</tr> - -</table> -</form> +<?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 } ?> - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ 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,70 +1,314 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?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"> +<html> <!-- $Id$ --> -<center> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="2"><?php echo lang('GLOBAL_COMPARE').' '.$title1 ?></th> - <th colspan="2"><?php echo lang('GLOBAL_WITH') .' '.$title2 ?></th> -</tr> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<?php $fx = fx(''); - if (count($text1) > 0) - { - $i=0; - while( isset($text1[$i]) || isset($text2[$i]) ) - { - $fx = fx($fx); - ?> - <tr> - <?php - if ( isset($text1[$i]['text']) ) - { - ?> - <td class="<?php echo $fx ?>" width="5%" ><?php echo $text1[$i]['line'] ?></td> - <td class="diff_<?php echo $text1[$i]['type'] ?>" width="45%"><?php echo $text1[$i]['text'] ?></td> - <?php - } - else - { - ?> - <td colspan="2" class="help" with="50%">&nbsp;</td> - <?php - } +<?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 + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><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; + + 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]; + +?><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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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; + + 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]; + +?><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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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(''); +if (count($text1) > 0) +{ +$i=0; +while( isset($text1[$i]) || isset($text2[$i]) ) +{ +$fx = fx($fx); +?> +<tr> +<?php +if ( isset($text1[$i]['text']) ) +{ +?> +<td class="<?php echo $fx ?>" width="5%" ><?php echo $text1[$i]['line'] ?></td> +<td class="diff_<?php echo $text1[$i]['type'] ?>" width="45%"><?php echo $text1[$i]['text'] ?></td> +<?php +} +else +{ +?> +<td colspan="2" class="help" with="50%">&nbsp;</td> +<?php +} +if ( isset($text2[$i]['text']) ) +{ +?> +<td class="<?php echo $fx ?>" width="5%" ><?php echo $text2[$i]['line'] ?></td> +<td class="diff_<?php echo $text2[$i]['type'] ?>" width="45%"><?php echo $text2[$i]['text'] ?></td> +<?php +} +else +{ +?> +<td colspan="2" class="help" with="50%">&nbsp;</td> +<?php +} +?> +</tr> +<?php +$i++; +} +} +else +{ ?> +<tr> +<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> + </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() ?> +<!-- $Id$ --> - if ( isset($text2[$i]['text']) ) - { - ?> - <td class="<?php echo $fx ?>" width="5%" ><?php echo $text2[$i]['line'] ?></td> - <td class="diff_<?php echo $text2[$i]['type'] ?>" width="45%"><?php echo $text2[$i]['text'] ?></td> - <?php - } - else - { - ?> - <td colspan="2" class="help" with="50%">&nbsp;</td> - <?php - } - ?> - </tr> - <?php - $i++; - } - } - else - { ?> -<tr> - <td class="f1" colspan="4"><strong><?php echo lang('GLOBAL_NO_DIFFERENCES_FOUND') ?></strong></td> -</tr> +<?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 } ?> -</table> - -</center> - -<br/><br/><br/> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/date.tpl.php b/themes/default/pages/html/pageelement/edit/date.tpl.php @@ -1,160 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave') ?> - - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="7"><?php echo $name ?> (<?php echo $title ?>)</th> -</tr> - -<tr> - <td colspan="7" class="help"><?php echo $desc ?><br><br></td> -</tr> - -<?php - - echo '<tr>'; - for ( $wday=0; $wday<=6; $wday++ ) - { - echo '<td class="help">'.lang('DATE_WEEKDAY'.$wday).'</th>'; - } - echo '</tr>'; - - $d = 0; - $begin = false; - do - { - echo '<tr>'; - for ( $wday=0; $wday<=6; $wday++ ) - { - - if (!$begin) - { - if ($wday == $first_weekday) - { - $begin = true; - } - } - - if ($begin && $d < $days ) - { - echo '<td class="f1">'; - - $d++; - if ($d == $day) - echo "<strong>$d</strong>"; - else echo '<a href="'.Html::url('pageelement','edit','-',array('year'=>$year,'month'=>$month,'day'=>$d,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.$d.'</a>'; - echo '</td>'; - } - else echo '<td></td'; - } - echo '</tr>'; - } - while( $d < $days-1 ) -?> - - - -<tr> -<?php - $lastyear = $year-1; - echo '<td colspan="3"><a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$month,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_LAST_YEAR').'</a>&nbsp;&laquo;&nbsp;'; - - $lastyear = $year; - $lastmonth = $month - 1; - - if ( $lastmonth == 0 ) - { - $lastyear--; - $lastmonth = 12; - } - echo '&nbsp;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$lastmonth,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_LAST_MONTH').'</a>&nbsp;&laquo;&nbsp;</td>'; - - // Link auf heutiges Datum - echo '<td style="text-align:center"><a href="'.$todayurl.'">'.lang('DATE_TODAY').'</a></td>'; - - $nextyear = $year; - $nextmonth = $month + 1; - - if ( $nextmonth == 13 ) - { - $nextyear++; - $nextmonth = 1; - } - echo '<td colspan="3" style="text-align:right">&raquo;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$lastyear,'month'=>$nextmonth,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_NEXT_MONTH').'</a>'; - - $nextyear = $year+1; - echo '&nbsp;&nbsp;&raquo;&nbsp;<a href="'.Html::url('pageelement','edit','-',array('year'=>$nextyear,'month'=>$month,'day'=>$day,'hour'=>$hour,'minute'=>$minute,'second'=>$second)).'">'.lang('DATE_NEXT_YEAR').'</a></td>'; -?> - -</tr> - -<tr> -<td class="help" colspan="7"><br><?php echo lang('HELP_DATE') ?>:</td> -</tr> - -<tr> -<td class="f2" colspan="1"><?php echo lang('DATE') ?> -<td class="f2" colspan="4"> -<?php echo Html::selectBox('year' ,$all_years ,$year ) ?>&nbsp;<strong>-</strong>&nbsp; -<?php echo Html::selectBox('month',$all_months,$month) ?>&nbsp;<strong>-</strong>&nbsp; -<?php echo Html::selectBox('day' ,$all_days ,$day ) ?> -</td><td class="f1" colspan="2">&nbsp; -</td> -</tr> - -<tr> -<td class="f1"><?php echo lang('DATE_TIME') ?> -<td class="f1" colspan="4"> -<?php echo Html::selectBox('hour' ,$all_hours ,$hour ) ?>&nbsp;:&nbsp; -<?php echo Html::selectBox('minute',$all_minutes ,$minute) ?>&nbsp;:&nbsp; -<?php echo Html::selectBox('second',$all_seconds ,$second) ?> -</td><td class="f1" colspan="2">&nbsp; -<!--<noscript><input type="submit" class="submit" value="<?php echo lang('REFRESH') ?>"></noscript>--> -</td> -</tr> - -<tr> -<td class="help" colspan="7"><?php echo lang('HELP_DATE_ANSIDATE') ?>:</td> -</tr> -<tr> -<td class="f2"><?php echo lang('DATE_ANSI') ?> -<td class="f2" colspan="4"><input type="text" name="ansidate" class="ansidate" width="25" maxlength="25" value="<?php echo $ansidate ?>"> - <input type="hidden" name="ansidate_orig" value="<?php echo $ansidate ?>"> -</td><td class="f1" colspan="2">&nbsp; -</td> -</tr> - -<?php if ( $release ) - { ?> -<tr> -<td class="f2"><?php echo Html::checkBox('release',true,true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> -<?php if ( $publish ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> -<td class="act" colspan="7"><?php echo lang('DATE').': <strong>'.$actdate ?></strong><br><br> -<!--<input type="hidden" name="date" value="<?php echo $date ?>">--> -<input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<?php Html::focusField('ansidate') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/link.tpl.php b/themes/default/pages/html/pageelement/edit/link.tpl.php @@ -1,44 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th><?php echo $name ?></th> -</tr> -<tr> - <td class="help"><?php echo $desc ?></th> -</tr> - -<tr> -<td class="f1"><?php echo Html::selectBox( 'linkobjectid',$objects,$act_linkobjectid) ?></td> -</tr> - -<?php if ( $release ) - { ?> -<tr> -<td class="f2"><?php echo Html::checkBox('release',true,true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> -<?php if ( $publish ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/list.tpl.php b/themes/default/pages/html/pageelement/edit/list.tpl.php @@ -1,45 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave') ?> - - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th><?php echo $name ?></th> -</tr> -<tr> - <td class="help"><?php echo $desc ?></th> -</tr> - -<tr> -<td class="f1"><?php echo Html::selectBox( 'linkobjectid',$objects,$act_linkobjectid) ?></td> -</tr> - -<?php if ( $release ) - { ?> -<tr> -<td class="f2"><?php echo Html::checkBox('release',true,true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> -<?php if ( $publish ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/longtext.tpl.php b/themes/default/pages/html/pageelement/edit/longtext.tpl.php @@ -1,133 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<?php - function editBar() - { - global $image_dir,$objects; - ?> -<tr> - <td colspan="2" class="f1"> - <table> - <tr> - <noscript><input type="text" name="addtext" size="10" /></noscript> - <td><noscript><?php echo Html::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 Html::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>&nbsp;&nbsp;&nbsp;&nbsp;</td> - <td><noscript><?php echo Html::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>&nbsp;&nbsp;&nbsp;&nbsp;</td> - <td><noscript><?php echo Html::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 Html::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>&nbsp;&nbsp;&nbsp;&nbsp;</td> - <td><noscript><?php echo Html::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 Html::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 Html::selectBox('objectid',$objects) ?><noscript>&nbsp;&nbsp;&nbsp;<input type="submit" class="submit" name="addmarkup" value="<?php echo lang('GLOBAL_ADD') ?>"/></noscript></td> - </tr> - </table> - </td> -</tr> - -<?php } ?> - -<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../js/editor.js"></script> -<script name="JavaScript" type="text/javascript"> -<!-- - -function strong() -{ - insert('text','*','*'); -} - - -function emphatic() -{ - insert('text','_','_'); -} - - -function link() -{ - insert('text','"','"->"'+document.forms[0].objectid.value+'"'); -} - - -function image() -{ - insert('text','','{"'+document.forms[0].objectid.value+'"}'); -} - - -function list() -{ - insert('text',"\n\n- ","\n- \n- \n"); -} - - -function numlist() -{ - insert('text',"\n\n# ","\n# \n# \n"); -} - - -function table() -{ - insert('text',"\n|","| |\n| | |\n"); -} - - -//--> -</script> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave',$objectid) ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="2"><?php echo $name ?></th> -</tr> - -<tr> - <td colspan="2" class="help"><?php echo $desc ?></td> -</tr> - -<?php if (isset($preview_text)) { ?> -<tr> - <td colspan="2" class="f1"><?php echo $preview_text ?></td> -</tr> -<?php } ?> - - -<?php editBar() ?> - - - -<tr> - <td colspan="2" class="f1"><br><textarea class="longtext" name="text"><?php echo $text ?></textarea></td> -</tr> - -<tr> - <td class="f2"><?php if ( $release ) echo Html::checkBox('release',true).' '.lang('GLOBAL_RELEASE') ?></td> - <td class="f2"><?php echo Html::checkBox('html',$html,false) ?> <span title="<?php echo lang('EL_PROP_HTML_DESC') ?>"><?php echo lang('EL_PROP_HTML') ?></span></td> -</tr> - -<tr> - <td class="f2"><?php if ( $publish ) echo Html::checkBox('publish',false).' '.lang('PAGE_PUBLISH_AFTER_SAVE') ?>&nbsp;</td> - <td class="f2" rowspan="2"><?php echo Html::checkBox('wiki',$wiki,false) ?> <span title="<?php echo lang('EL_PROP_WIKI_DESC') ?>"><?php echo lang('EL_PROP_WIKI') ?></span><?php if ($wiki) echo '<br/>'.lang('PAGE_LONGTEXT_WIKI_DESC') ?></td> -</tr> - -<tr> - <td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /> - <input type="submit" class="submit" name="preview" value="<?php echo lang('PAGE_PREVIEW') ?>" /></td> -</tr> - -</table> - -</form> - -</center> - -<?php Html::focusField('text') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/number.tpl.php b/themes/default/pages/html/pageelement/edit/number.tpl.php @@ -1,46 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th><?php echo $name ?></th> -</tr> -<tr> - <td class="help"><?php echo $desc ?></th> -</tr> - -<tr> -<td class="f1"><input type="hidden" name="decimals" value="<?php echo $decimals ?>"><input type="text" name="number" size="10" maxlength="20" value="<?php echo $number ?>"></td> -</tr> - -<?php if ( $release ) - { ?> -<tr> -<td class="f2"><?php echo Html::checkBox('release',true,true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> -<?php if ( $publish ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<?php Html::focusField('number') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/select.tpl.php b/themes/default/pages/html/pageelement/edit/select.tpl.php @@ -1,49 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave') ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th><?php echo $name ?></th> -</tr> -<tr> - <td class="help"><?php echo $desc ?></th> -</tr> - -<tr> -<td class="f1"><?php echo Html::selectBox( 'text',$items,$text,array('onchange'=>'submit();')) ?></td> -</tr> - -<?php if ( $release ) - { ?> -<tr> -<td class="f2"><?php echo Html::checkBox('release',true,true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> - -<?php if ( $publish ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> -<td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].text.focus(); -//--></script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/edit/text.tpl.php b/themes/default/pages/html/pageelement/edit/text.tpl.php @@ -1,47 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('page','elsave','-',array('old_pageaction'=>$old_pageaction,'elementid'=>$elementid)) ?> - -<table class="main" width="90%" cellspacing="0" cellpadding="4"> - -<tr> - <th><?php echo $name ?></th> -</tr> -<tr> - <td class="help"><?php echo $desc ?></th> -</tr> - -<tr> - <td class="f1"><input type="text" name="text" size="50" maxlength="1000" value="<?php echo $text ?>" /></td> -</tr> - -<?php if ( $release ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('release',true) ?> <?php echo lang('GLOBAL_RELEASE') ?></td> -</tr> -<?php } ?> - -<?php if ( $publish ) - { ?> -<tr> - <td class="f2"><?php echo Html::checkBox('publish',false) ?> <?php echo lang('PAGE_PUBLISH_AFTER_SAVE') ?></td> -</tr> -<?php } ?> - -<tr> - <td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> -</tr> - -</table> - -</form> - -</center> - -<?php Html::focusField('text') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/editnumber.tpl.php b/themes/default/pages/html/pageelement/editnumber.tpl.php @@ -0,0 +1,541 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('title'=>'','name'=>'element','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='element' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'desc','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='desc' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/hidden.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('name'=>'decimals','default'=>'decimals') ?><?php $attr_name='decimals' ?><?php $attr_default='decimals' ?><input type="hidden" name="<?php echo $attr_name ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php /* source: ./themes/default/include/html/input.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'number','prefix'=>'','value'=>'','size'=>'15','maxlength'=>'20','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='number' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='15' ?><?php $attr_maxlength='20' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'global_decimals','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='global_decimals' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'decimals','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='decimals' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'release','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='release' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'release','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='release' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_RELEASE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_RELEASE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'publish','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='publish' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'publish','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='publish' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PAGE_PUBLISH_AFTER_SAVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PAGE_PUBLISH_AFTER_SAVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = array('field'=>'text') ?><?php $attr_field='text' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:15 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/prefs/show.tpl.php b/themes/default/pages/html/prefs/show.tpl.php @@ -0,0 +1,150 @@ +<?php /* source: ./themes/default/templates/include/html/insert.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('file'=>'header') ?><?php $attr_file='header' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?> +<?php unset($attr) ?><?php unset($attr_file) ?> +<?php /* source: ./themes/default/templates/include/html/form.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('action'=>'prefs','subaction'=>'save') ?><?php $attr_action='prefs' ?><?php $attr_subaction='save' ?><?php + global $conf; + + if ( !isset($attr_target ) ) $attr_target = '_self'; + if ( !isset($attr_method ) ) $attr_method = 'post'; + if ( !isset($attr_name ) ) $attr_name = ''; + if ( !isset($attr_enctype ) ) $attr_enctype = ''; + if ( !isset($attr_id ) ) $attr_id = 0; + + $url = Html::url( $attr_action,$attr_subaction,$attr_id ); +?> + +<form name="<?php echo $name ?>" target="<?php echo $target ?>" action="<?php echo $attr_url ?>" method="<?php echo $method ?>" enctype="<?php echo $enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /> +<?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; + + unset($attr['target' ]); + unset($attr['method' ]); + unset($attr['name' ]); + unset($attr['enctype']); + foreach( $attr as $paramName=>$paramValue ) + echo '<input type="hidden" name="'.$paramName.'" value="'.$paramValue.'" />'."\n"; +?> +<?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?> +<?php /* source: ./themes/default/templates/include/html/form-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></form> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/window.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('name'=>'GLOBAL_PROP','title'=>'global_prefs','width'=>'90%','widths'=>'40%,60%') ?><?php $attr_name='GLOBAL_PROP' ?><?php $attr_title='global_prefs' ?><?php $attr_width='90%' ?><?php $attr_widths='40%,60%' ?><?php + $coloumn_widths=array(); + if (isset($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + if ( !isset($attr_width)) $width='90%'; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" '; + foreach( $attr as $aName=>$aValue ) + echo " $aName=\"$aValue\""; + echo '>'; + echo '<tr><th>'; + if ( !empty($attr_icon) ) + echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; + if ( !isset($$attr_name)) $$attr_name=''; + echo $$attr_name.': '; + echo lang( $attr_title ); + ?> + </th> + </tr> + <tr> + <td> + <table class="n" cellspacing="0" width="100%" cellpadding="4"> +<?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_title) ?><?php unset($attr_width) ?><?php unset($attr_widths) ?> +<?php /* source: ./themes/default/templates/include/html/row.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/cell.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('class'=>'fx') ?><?php $attr_class='fx' ?><?php + global $fx; + if (!isset($attr_class)) $attr['class']=''; + if ($attr_class=='fx') $attr['class']=$fx; + + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr]) && !isset($attr_rowspan) ) + $attr['width']=$column_widths[$cell_column_nr]; + +?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/templates/include/html/text.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('text'=>'GLOBAL_name') ?><?php $attr_text='GLOBAL_name' ?><?php if(!isset($attr_class)) $attr_class='' ?><?php if(!isset($attr_title)) $attr_title=$attr_text ?><span class="<?php echo $attr_class ?>"><?php + if (isset($attr_url)) echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; + if (isset($attr_text)) echo lang($attr_text); + elseif (isset($attr_var)) echo $$attr_var; + elseif (isset($attr_raw)) echo str_replace('_',' ',$attr_raw); + if (isset($attr_url)) echo '</a'; +?></span> +<?php unset($attr) ?><?php unset($attr_text) ?><?php /* source: ./themes/default/templates/include/html/cell-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></td> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/cell.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('class'=>'fx') ?><?php $attr_class='fx' ?><?php + global $fx; + if (!isset($attr_class)) $attr['class']=''; + if ($attr_class=='fx') $attr['class']=$fx; + + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr]) && !isset($attr_rowspan) ) + $attr['width']=$column_widths[$cell_column_nr]; + +?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/templates/include/html/text.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('var'=>'name') ?><?php $attr_var='name' ?><?php if(!isset($attr_class)) $attr_class='' ?><?php if(!isset($attr_title)) $attr_title=$attr_text ?><span class="<?php echo $attr_class ?>"><?php + if (isset($attr_url)) echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; + if (isset($attr_text)) echo lang($attr_text); + elseif (isset($attr_var)) echo $$attr_var; + elseif (isset($attr_raw)) echo str_replace('_',' ',$attr_raw); + if (isset($attr_url)) echo '</a'; +?></span> +<?php unset($attr) ?><?php unset($attr_var) ?><?php /* source: ./themes/default/templates/include/html/cell-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></td> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/row-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></tr> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/row.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/cell.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('colspan'=>'2','class'=>'fx') ?><?php $attr_colspan='2' ?><?php $attr_class='fx' ?><?php + global $fx; + if (!isset($attr_class)) $attr['class']=''; + if ($attr_class=='fx') $attr['class']=$fx; + + global $cell_column_nr; + $cell_column_nr++; + if ( isset($column_widths[$cell_column_nr]) && !isset($attr_rowspan) ) + $attr['width']=$column_widths[$cell_column_nr]; + +?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>> +<?php unset($attr) ?><?php unset($attr_colspan) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/templates/include/html/text.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('url'=>'editprop_url','text'=>'GLOBAL_CHANGE') ?><?php $attr_url='editprop_url' ?><?php $attr_text='GLOBAL_CHANGE' ?><?php if(!isset($attr_class)) $attr_class='' ?><?php if(!isset($attr_title)) $attr_title=$attr_text ?><span class="<?php echo $attr_class ?>"><?php + if (isset($attr_url)) echo "<a href=\"".$$attr_url."\" title=\"$attr_title\">"; + if (isset($attr_text)) echo lang($attr_text); + elseif (isset($attr_var)) echo $$attr_var; + elseif (isset($attr_raw)) echo str_replace('_',' ',$attr_raw); + if (isset($attr_url)) echo '</a'; +?></span> +<?php unset($attr) ?><?php unset($attr_url) ?><?php unset($attr_text) ?> +<?php /* source: ./themes/default/templates/include/html/cell-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></td> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/row-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?></tr> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/window-end.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</center> +<?php unset($attr) ?><?php /* source: ./themes/default/templates/include/html/focus.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $$attr_field ?>.focus(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?> +<?php /* source: ./themes/default/templates/include/html/insert.inc.php - compile time: Tue, 20 Dec 2005 00:37:16 +0100 */ ?><?php $attr = array('file'=>'footer') ?><?php $attr_file='footer' ?><?php include( $tpl_dir.$attr_file.'.tpl.php') ?> +<?php unset($attr) ?><?php unset($attr_file) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/project/add.tpl.php b/themes/default/pages/html/project/add.tpl.php @@ -0,0 +1,160 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECTS','icon'=>'project','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECTS' ?><?php $attr_icon='project' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:05 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/project/edit.tpl.php b/themes/default/pages/html/project/edit.tpl.php @@ -1,80 +1,501 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> <!-- $Id$ --> -<center> - -<?php echo Html::form('project','save',$projectid ) ?> - -<?php windowOpen('GLOBAL_PROJECT',2,'project') ?> - - <tr> - <td width="50%" class="f1"><?php echo lang('PROJECT_NAME') ?></a></td> - <td width="50%" class="f1"><input type="text" name="name" class="name" size="50" value="<?php echo $name ?>" /></td> - </tr> - <tr> - <td width="50%" class="f2" rowspan="2"><?php echo lang('PROJECT_TARGET_DIR') ?></a></td> - <td width="50%" class="f2"><input type="text" class="filename" name="target_dir" size="50" value="<?php echo $target_dir ?>" /></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_LOCALPATH_DESC') ?></td> - </tr> - - <tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('PROJECT_FTP_URL') ?></a></td> - <td width="50%" class="f1"><input type="text" name="ftp_url" size="50" value="<?php echo $ftp_url ?>" /></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_FTP_URL_DESC') ?></td> - </tr> +<head> + <title><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <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 } ?> +</head> - <tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('PROJECT_FTP_PASSIVE') ?></a></td> - <td width="50%" class="f1"><input type="checkbox" name="ftp_passive" value="1"<?php if ($ftp_passive=='1') echo ' checked="checked"' ?> /></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_FTP_PASSIVE_DESC') ?></td> - </tr> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> - <tr> - <td width="50%" class="f1" rowspan="2"><?php echo lang('PROJECT_CMD_AFTER_PUBLISH') ?></a></td> - <td width="50%" class="f1"><input type="text" name="cmd_after_publish" size="50" value="<?php echo $cmd_after_publish ?>"></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_CMD_AFTER_PUBLISH_DESC') ?></td> - </tr> - <tr> - <td class="f1" rowspan="2"><?php echo lang('PROJECT_CONTENT_NEGOTIATION') ?></a></td> - <td class="f1"><input type="checkbox" name="content_negotiation" value="1"<?php if ($content_negotiation=='1') echo ' checked' ?>></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_CONTENT_NEGOTIATION_DESC') ?></td> - </tr> - - <tr> - <td class="f1" rowspan="2"><?php echo lang('PROJECT_CUT_INDEX') ?></a></td> - <td class="f1"><input type="checkbox" name="cut_index" value="1"<?php if ($cut_index=='1') echo ' checked' ?>></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_CUT_INDEX_DESC') ?></td> - </tr> - - <tr> - <td class="f1" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> - <td class="f1"><input type="checkbox" name="delete" value="1"></td> - </tr> - <tr> - <td class="help"><?php echo lang('PROJECT_DELETE_DESC') ?></td> - </tr> - - <tr> - <td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>" /></td> - <td class="act"><input type="reset" class="submit" value="<?php echo lang('GLOBAL_UNDO') ?>" /></td> - </tr> - -<?php windowClose() ?> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECT','icon'=>'project','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECT' ?><?php $attr_icon='project' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'50','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='50' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:02 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_TARGET_DIR','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_TARGET_DIR' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('class'=>'filename','default'=>'','type'=>'text','index'=>'','name'=>'target_dir','prefix'=>'','value'=>'','size'=>'50','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='filename' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='target_dir' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='50' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_FTP_URL','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_FTP_URL' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'ftp_url','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='ftp_url' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_FTP_PASSIVE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_FTP_PASSIVE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'ftp_passive','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='ftp_passive' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_CMD_AFTER_PUBLISH','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_CMD_AFTER_PUBLISH' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'cmd_after_publish','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='cmd_after_publish' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_CONTENT_NEGOTIATION','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_CONTENT_NEGOTIATION' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'content_negotiation','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='content_negotiation' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'PROJECT_CUT_INDEX','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='PROJECT_CUT_INDEX' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'cut_index','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='cut_index' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:03 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -</form> +<?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 } ?> -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/project/list.tpl.php b/themes/default/pages/html/project/list.tpl.php @@ -1,33 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="<?php echo session_name() ?>" value="<?php echo session_id() ?>"> -<input type="hidden" name="action" value="project" /> -<input type="hidden" name="subaction" value="add" /> - -<?php windowOpen('GLOBAL_PROJECTS',2,'project') ?> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { ?> -<tr> - <td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><img src="<?php echo $image_dir ?>icon_project<?php echo IMG_EXT ?>" border="0" align="left"><?php echo $e['name'] ?></a></td> - <td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['use_url'] ?>" target="_top" ><?php echo lang('GLOBAL_SELECT') ?></a></td> -</tr> -<?php } ?> - -<tr> - <td class="act" colspan="2"> - <input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"> - </td> -</tr> - -<?php windowClose() ?> - -</form> - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/project/listing.tpl.php b/themes/default/pages/html/project/listing.tpl.php @@ -0,0 +1,210 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECTS','icon'=>'project','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECTS' ?><?php $attr_icon='project' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('title'=>'','target'=>'cms_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('file'=>'icon_project','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_project' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('title'=>'','target'=>'_top','url'=>'use_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='_top' ?><?php $attr_url='use_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_SELECT','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_SELECT' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:04 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/project/remove.tpl.php b/themes/default/pages/html/project/remove.tpl.php @@ -0,0 +1,322 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROJECT','icon'=>'group','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROJECT' ?><?php $attr_icon='group' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NAME' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'delete','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='delete' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'help','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='help' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GROUP_DELETE_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GROUP_DELETE_DESC' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +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; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = array('field'=>'delete') ?><?php $attr_field='delete' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:01 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/project/select.tpl.php b/themes/default/pages/html/project/select.tpl.php @@ -1,18 +1,156 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_PROJECTS','name'=>'login','widths'=>'','width'=>'400') ?><?php $attr_title='GLOBAL_PROJECTS' ?><?php $attr_name='login' ?><?php $attr_widths='' ?><?php $attr_width='400' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + if ( empty($attr_width)) $attr['width']='90%'; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" '; + foreach( $attr as $aName=>$aValue ) + echo " $aName=\"$aValue\""; + echo '>'; + echo '<tr><th>'; + if ( !empty($attr_icon) ) + echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_EXT.'" align="left" border="0">'; + if ( !isset($$attr_name)) $$attr_name=''; + echo $$attr_name.': '; + echo lang( $attr_title ); + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php foreach( $windowMenu as $menu ) + { + ?><a href="<?php echo Html::url($actionName,$menu['subaction']) ?>"><?php echo lang($menu['text']) ?></a>&nbsp;&nbsp;&nbsp;<?php + } + ?></td> + </tr> -<!-- $Id$ --> - -<?php windowOpen('GLOBAL_PROJECTS',1,'',array('width'=>'55%')) ?> - -<?php $f1=true; - foreach( $el as $id=>$e ) +<?php if (isset($notices) && count($notices)>0 ) { ?> -<tr> -<td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>" target="_top"><img src="<?php echo $image_dir ?>icon_project<?php echo IMG_EXT ?>" border="0" align="left"><?php echo $e['name'] ?></a></td> -</tr> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <td><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_EXT ?>" style="padding:10px" /></td> + <td class="f1"><?php if ($notice['name']!='') { ?><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_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> + <?php } ?> + + </table></td> + </tr> + <?php } ?> -<?php windowClose() ?> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file + <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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('title'=>'TREE_CHOOSE_PROJECT','target'=>'','url'=>'url','class'=>'') ?><?php $attr_title='TREE_CHOOSE_PROJECT' ?><?php $attr_target='' ?><?php $attr_url='url' ?><?php $attr_class='' ?><a href="<?php echo $$attr_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/set.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('var'=>'project','value'=>'project') ?><?php $attr_var='project' ?><?php $attr_value='project' ?><?php $$attr_var = $attr_value ?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'project') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='project' ?><?php +if (!empty($attr_eltype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + 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) ); + + 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/link-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:09 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/template/edit.tpl.php b/themes/default/pages/html/template/edit.tpl.php @@ -1,4 +1,4 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- $Id$ --> <head> @@ -15,7 +15,7 @@ <body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array('title'=>'','name'=>'TEMPLATE_SHOW','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='TEMPLATE_SHOW' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'','name'=>'TEMPLATE_SHOW','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='TEMPLATE_SHOW' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php $coloumn_widths=array(); if (!empty($attr_widths)) { @@ -68,7 +68,7 @@ <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: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array() ?><?php + <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: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; @@ -77,7 +77,7 @@ global $cell_column_nr; $cell_column_nr=0; -?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; @@ -88,7 +88,7 @@ $attr['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) ?><code> -<?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='text' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php +<?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='text' ?><?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)) @@ -104,7 +104,7 @@ elseif (!empty($attr_text)) $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - $tmp_text = $$attr_var; + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) $tmp_text = str_replace('_','&nbsp;',$attr_raw); else echo 'text error'; @@ -114,19 +114,28 @@ 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) ?><code> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +0100 */ ?><?php $attr = array() ?> </table> +<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?> </table> </td> </tr> </table> -</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 02:26:05 +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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = 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> diff --git a/themes/default/pages/html/template/el.tpl.php b/themes/default/pages/html/template/el.tpl.php @@ -1,4 +1,4 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- $Id$ --> <head> @@ -15,7 +15,7 @@ <body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('title'=>'','name'=>'TEMPLATE_ELEMENTS','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='TEMPLATE_ELEMENTS' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'','name'=>'TEMPLATE_ELEMENTS','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='TEMPLATE_ELEMENTS' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php $coloumn_widths=array(); if (!empty($attr_widths)) { @@ -68,7 +68,7 @@ <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/list.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php $list_tmp_key = $attr_key; $list_tmp_value = $attr_value; $list_extract = ($attr_extract=='true'); @@ -85,7 +85,7 @@ } extract($$list_tmp_value); } -?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?><?php +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; @@ -94,7 +94,7 @@ global $cell_column_nr; $cell_column_nr=0; -?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; @@ -104,20 +104,20 @@ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) $attr['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/link.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('title'=>'desc','target'=>'','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='desc' ?><?php $attr_target='' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'desc','target'=>'','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='desc' ?><?php $attr_target='' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php if(!empty($attr_url)) $tmp_url = $$attr_url; else $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); -?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'type') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='type' ?><?php -if (!empty($attr_eltype)) { -?><img src="<?php echo $image_dir.'icon_el_'.$$attr_eltype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'type','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='type' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_type)) { ?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($$attr_url)) { ?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php } elseif (!empty($attr_file)) { -?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) @@ -142,7 +142,7 @@ if (!empty($attr_eltype)) { $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?></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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; @@ -152,7 +152,7 @@ if (!empty($attr_eltype)) { if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) $attr['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: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'type','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='type' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php +?><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: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'type','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='type' ?><?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)) @@ -177,7 +177,7 @@ if (!empty($attr_eltype)) { $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); 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: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php +?></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: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'el','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='el' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php // Wahr-Vergleich if ( !empty($attr_true) ) @@ -233,7 +233,7 @@ if (!empty($attr_eltype)) { if ( $exec ) { -?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?><?php +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; @@ -242,7 +242,7 @@ if (!empty($attr_eltype)) { global $cell_column_nr; $cell_column_nr=0; -?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='2' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; @@ -252,7 +252,7 @@ if (!empty($attr_eltype)) { if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) $attr['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: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php +?><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: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOT_FOUND','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOT_FOUND' ?><?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)) @@ -277,28 +277,30 @@ if (!empty($attr_eltype)) { $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); 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: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?><?php +?></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: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?><?php } -?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?> </table> +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?> </table> </td> </tr> </table> -<?php if ($showDuration) { ?> +</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 } ?> - -</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:36 +0100 */ ?><?php $attr = array() ?> +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:59 +0100 */ ?><?php $attr = array() ?> <!-- $Id$ --> -<?php if ($showDuration && false) { ?> +<?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> diff --git a/themes/default/pages/html/template/name.tpl.php b/themes/default/pages/html/template/name.tpl.php @@ -1,4 +1,4 @@ -<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <!-- $Id$ --> <head> @@ -15,7 +15,7 @@ <body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php if (empty($attr_action)) $attr_action = $actionName; if (empty($attr_subaction)) @@ -33,7 +33,7 @@ <input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php if ( $conf['interface']['url_sessionid'] ) echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROP','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROP' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_PROP','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_PROP' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php $coloumn_widths=array(); if (!empty($attr_widths)) { @@ -86,7 +86,7 @@ <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: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?><?php + <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: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; @@ -95,7 +95,7 @@ global $cell_column_nr; $cell_column_nr=0; -?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; @@ -105,7 +105,7 @@ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) $attr['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: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'TEMPLATE_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='TEMPLATE_NAME' ?><?php $attr_raw='' ?><?php $attr_maxlength='' ?><?php +?><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: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'TEMPLATE_NAME','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='TEMPLATE_NAME' ?><?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)) @@ -130,7 +130,7 @@ $tmp_text = Text::maxLength( $tmp_text,intval($attr_maxlength) ); 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: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php +?></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: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php global $fx; if (!isset($attr_class)) $attr_class=''; if ($attr_class=='fx') $attr['class']=$fx; @@ -140,7 +140,7 @@ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) $attr['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/input.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?><?php +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?><?php global $fx; if ( $fx =='f1') $fx='f2'; @@ -149,7 +149,7 @@ global $cell_column_nr; $cell_column_nr=0; -?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='' ?><?php $attr_colspan='2' ?><?php +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +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; @@ -159,7 +159,7 @@ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) ) $attr['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/button.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php if ($attr_type=='ok') { $attr_type = 'submit'; @@ -187,30 +187,32 @@ if ( count($pages)==0) </table> </center> --> -<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?> </table> +<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?> </table> </td> </tr> </table> -<?php if ($showDuration) { ?> +</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 } ?> - -</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- document.forms[0].<?php echo $attr_field ?>.focus(); document.forms[0].<?php echo $attr_field ?>.select(); //--></script> -<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:34 +0100 */ ?><?php $attr = array() ?> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:46:56 +0100 */ ?><?php $attr = array() ?> <!-- $Id$ --> -<?php if ($showDuration && false) { ?> +<?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> diff --git a/themes/default/pages/html/title/show.tpl.php b/themes/default/pages/html/title/show.tpl.php @@ -0,0 +1,315 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/table.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('class'=>'','width'=>'100%','space'=>'0','padding'=>'5','widths'=>'') ?><?php $attr_class='' ?><?php $attr_width='100%' ?><?php $attr_space='0' ?><?php $attr_padding='5' ?><?php $attr_widths='' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } +?><table class="<?php echo $attr_class ?>" cellspacing="<?php echo $attr_space ?>" width="<?php echo $attr_width ?>" cellpadding="<?php echo $attr_padding ?>"><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_width) ?><?php unset($attr_space) ?><?php unset($attr_padding) ?><?php unset($attr_widths) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('width'=>'40%','style'=>'','class'=>'title','colspan'=>'') ?><?php $attr_width='40%' ?><?php $attr_style='' ?><?php $attr_class='title' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'USER_LOGINAS','class'=>'title','var'=>'userfullname','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='USER_LOGINAS' ?><?php $attr_class='title' ?><?php $attr_var='userfullname' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:34 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'dbid','class'=>'','var'=>'dbname','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='dbid' ?><?php $attr_class='' ?><?php $attr_var='dbname' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:34 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'','target'=>'_parent','url'=>'showtree_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='_parent' ?><?php $attr_url='showtree_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'showtree_text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='showtree_text' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('width'=>'20%','style'=>'text-align:center;','class'=>'title','colspan'=>'') ?><?php $attr_width='20%' ?><?php $attr_style='text-align:center;' ?><?php $attr_class='title' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'cms_title','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='cms_title' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('width'=>'40%','style'=>'text-align:right;','class'=>'title','colspan'=>'') ?><?php $attr_width='40%' ?><?php $attr_style='text-align:right;' ?><?php $attr_class='title' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'USER_PROFILE_DESC','target'=>'cms_main_main','url'=>'profile_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='USER_PROFILE_DESC' ?><?php $attr_target='cms_main_main' ?><?php $attr_url='profile_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'USER_YOURPROFILE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='USER_YOURPROFILE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'USER_LOGOUT_DESC','target'=>'_top','url'=>'logout_url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='USER_LOGOUT_DESC' ?><?php $attr_target='_top' ?><?php $attr_url='logout_url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'USER_LOGOUT','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='USER_LOGOUT' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/table-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array() ?></table><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/tree/menu.tpl.php b/themes/default/pages/html/tree/menu.tpl.php @@ -1,38 +0,0 @@ -<?php include($tpl_dir.'header.tpl.'.$conf_php) ?> - -<!-- $Id$ --> - -<table cellpadding="5" cellspacing="0" width="100%" height="100%"> - <tr> - <td class="menu"> - - <?php echo Html::form( 'index','project','-',array('target'=>'_parent','method'=>'get') ) ?> - <table cellpadding="0" cellspacing="0"> - <tr> - <td> - <?php - if ( count($projects) < 2 ) - $attrDisabled = array('disabled'=>'disabled'); - else - $attrDisabled = array(); - ?> - <?php echo Html::selectBox( 'projectid',$projects,$act_projectid,array('onchange'=>'submit();','title'=>lang('PROJECT_SELECT_DESC'),'style'=>'margin:0px;padding:0px;','class'=>'treemenu')+$attrDisabled ) ?></td><td><noscript>&nbsp;<input type="submit" class="submit" value="&raquo;"></noscript> - </td> - </tr> - </table> - </form> - </td> - </tr> - <tr> - <td class="submenu" height="20"> - <?php if (isset($language_name)) { ?> - <?php echo lang('GLOBAL_LANGUAGE') ?>:&nbsp;<a href="<?php echo $language_url ?>" target="cms_main"><?php echo $language_name ?></a> | - <?php echo lang('GLOBAL_MODEL') ?>:&nbsp;<a href="<?php echo $projectmodel_url ?>" target="cms_main"><?php echo $projectmodel_name ?></a> - <?php } else { ?>&nbsp; - <?php } ?> - </td> - </tr> -</table> - - -<?php include($tpl_dir.'footer.tpl.'.$conf_php) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/tree/show.tpl.php b/themes/default/pages/html/tree/show.tpl.php @@ -0,0 +1,51 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><!-- $Id$ --> +<table cellpadding="0" cellspacing="0" border="0"> +<?php foreach( $zeilen as $z ) +{ ?> +<tr> +<?php if (is_array($z['cols'])) foreach( $z['cols'] as $i ) +{ ?> +<td width="1%"><img src="<?php echo $image_dir.'tree_'.$i.IMG_EXT ?>" border="0" alt=""></td> +<?php } ?> +<?php if (isset($z['image'])) +{ ?> +<td width="1%"> +<?php if (isset($z['image_url'])) { ?><a href="<?php echo $z['image_url'].'#'.$z['name'] ?>" class="tree" target="_self" title="<?php echo $z['image_url_desc'] ?>"><?php } ?><img src="<?php echo $image_dir.'tree_'.$z['image'].IMG_EXT ?>" alt="" border="0"><?php if (isset($z['image_url'])) { ?></a><?php } ?> +</td> +<?php } ?> +<td colspan="<?php echo intval(20-count($z['cols'])) ?>" id="<?php echo $z['name'] ?>" valign="middle" style="white-space:nowrap;"> +<a name="<?php echo $z['name'] ?>"></a> +<?php if (isset($z['url'])) { ?><a href="<?php echo $z['url'] ?>" <?php if($z['desc']!='') echo 'title="'.$z['desc'].'" ' ?>class="tree" target="<?php echo $z['target'] ?>"><?php } ?><img src="<?php echo $image_dir.'icon_'.$z['icon'].IMG_ICON_EXT ?>" border="0" alt="" align="left"><?php echo $z['text'] ?><?php if (isset($z['url'])) { ?></a><?php if(isset($z['add'])) echo '&nbsp;<small>'.$z['add'].'<small>' ?><?php } ?> +</td> +</tr> +<?php } ?> +</table> +<?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:34 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ 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 @@ -0,0 +1,231 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/table.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('class'=>'','width'=>'100%','space'=>'0','padding'=>'5','widths'=>'') ?><?php $attr_class='' ?><?php $attr_width='100%' ?><?php $attr_space='0' ?><?php $attr_padding='5' ?><?php $attr_widths='' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } +?><table class="<?php echo $attr_class ?>" cellspacing="<?php echo $attr_space ?>" width="<?php echo $attr_width ?>" cellpadding="<?php echo $attr_padding ?>"><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_width) ?><?php unset($attr_space) ?><?php unset($attr_padding) ?><?php unset($attr_widths) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'menu','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='menu' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/image.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'type','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='type' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/list.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('list'=>'path','extract'=>'true','key'=>'list_key','value'=>'xy') ?><?php $attr_list='path' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='xy' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('title'=>'title','target'=>'cms_main','url'=>'url','class'=>'path','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='title' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='path' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'20') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?php $attr_text='' ?><?php $attr_raw='' ?><?php $attr_maxlength='20' ?><?php + if(empty($attr_title)) $attr_title = $attr_text; +?><span class="<?php echo $attr_class ?>"><?php + if (!empty($attr_array)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/char.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('type'=>'filesep') ?><?php $attr_type='filesep' ?><?php + if ($attr_type=='filesep') + echo '&nbsp;<strong>&raquo;</strong>&nbsp;'; + else + echo "char error"; +?><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('title'=>'text','class'=>'title','var'=>'text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='text' ?><?php $attr_class='title' ?><?php $attr_var='text' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'subaction','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='subaction' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/list.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('list'=>'windowMenu','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='windowMenu' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('title'=>'','target'=>'_parent','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='_parent' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'text','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='text' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/table-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = array() ?></table><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:33 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/add.tpl.php b/themes/default/pages/html/user/add.tpl.php @@ -0,0 +1,160 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_USERS','icon'=>'project','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_USERS' ?><?php $attr_icon='project' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'40','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:37 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/addgroup.tpl.php b/themes/default/pages/html/user/addgroup.tpl.php @@ -0,0 +1,176 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('title'=>'','name'=>'USER_MEMBERSHIPS','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='USER_MEMBERSHIPS' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('list'=>'groups','name'=>'groupid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='groups' ?><?php $attr_name='groupid' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php +if (count($$attr_list)==1) echo ' disabled="disabled"' +?>><?php + foreach( $$attr_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = array('field'=>'groupid') ?><?php $attr_field='groupid' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:02 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/edit.tpl.php b/themes/default/pages/html/user/edit.tpl.php @@ -1,79 +1,589 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> - -<center> - -<?php echo Html::form('user','save',$userid) ?> - -<?php windowOpen( 'GLOBAL_USER' ) ?> - -<tr> -<td width="50%" class="f1" rowspan="2"><?php echo lang('user_username') ?></a></td> -<td width="50%" class="f1"><input type="text" class="name" size="20" name="name" value="<?php echo $name ?>"></td> -</tr> - <tr> - <td class="help"><?php echo lang('USER_USERNAME_DESC') ?></td> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_USER','icon'=>'','widths'=>'50%,50%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_USER' ?><?php $attr_icon='' ?><?php $attr_widths='50%,50%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> </tr> -<tr> -<td width="50%" class="f1"><?php echo lang('user_fullname') ?></a></td> -<td width="50%" class="f1"><input type="text" name="fullname" size="50" value="<?php echo $fullname ?>"></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('user_mail') ?></a></td> -<td width="50%" class="f1"><input type="text" name="mail" size="50" value="<?php echo $mail ?>"><?php if ($mail!='' && !eregi('^[a-zA-Z0-9_.-]+\@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$',$mail)) echo '<strong>'.lang('USER_MAIL_INVALID').'</strong>' ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('USER_DESC') ?></a></td> -<td width="50%" class="f1"><input type="text" name="desc" size="50" value="<?php echo $desc ?>"></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('USER_TEL') ?></a></td> -<td width="50%" class="f1"><input type="text" name="tel" size="50" value="<?php echo $tel ?>"></td> -</tr> -<tr> -<td width="50%" class="f1" rowspan="2"><?php echo lang('USER_LDAPDN') ?></a></td> -<td width="50%" class="f1"><input type="text" name="ldap_dn" size="50" value="<?php echo $ldap_dn ?>"></td> -</tr> - <tr> - <td class="help"><?php echo lang('USER_LDAPDN_DESC') ?></td> - </tr> -<tr> -<td width="50%" class="f1" rowspan="2"><?php echo lang('USER_STYLE') ?></a></td> -<td width="50%" class="f1"><?php echo Html::selectBox('style',$allstyles,$style) ?></td> -</tr> - <tr> - <td class="help"><?php echo lang('USER_STYLE_DESC') ?></td> - </tr> -<tr> -<td width="50%" class="f1" rowspan="2"><?php echo lang('USER_ADMIN') ?></a></td> -<td width="50%" class="f1"><input type="checkbox" name="is_admin" value="1"<?php if ($is_admin==1) echo ' checked="checked"' ?>></td> -</tr> - <tr> - <td class="help"><?php echo lang('USER_ISADMIN_DESC') ?></td> + <tr><td class="subaction"> + <?php 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 + } + ?></td> </tr> +<?php if (isset($notices) && count($notices)>0 ) + { ?> + <tr> - <td class="f1" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> - <td class="f1"><input type="checkbox" name="delete" value="1"></td> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> - <tr> - <td class="help"><?php echo lang('USER_DELETE_DESC') ?></td> + <?php } ?> + + </table></td> </tr> +<?php } ?> + + + <tr> - <td class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> - <td class="act"><input type="reset" class="reset" value="<?php echo lang('GLOBAL_UNDO') ?>" onClick="document.forms[0].name.focus();"></td> - </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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_username','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_username' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'name','prefix'=>'','value'=>'','size'=>'20','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='20' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_fullname','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_fullname' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'fullname','prefix'=>'','value'=>'','size'=>'','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='fullname' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_mail','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_mail' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'mail','prefix'=>'','value'=>'','size'=>'','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='mail' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; -<?php windowClose() ?> +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_desc','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_desc' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'desc','prefix'=>'','value'=>'','size'=>'','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='desc' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; -</form> +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_tel','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_tel' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'tel','prefix'=>'','value'=>'','size'=>'','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='tel' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_ldap_dn','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_ldap_dn' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/input.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('class'=>'','default'=>'','type'=>'text','index'=>'','name'=>'ldap_dn','prefix'=>'','value'=>'','size'=>'','maxlength'=>'256','onchange'=>'') ?><?php $attr_class='' ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='ldap_dn' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='' ?><?php $attr_maxlength='256' ?><?php $attr_onchange='' ?><input name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_class) ?><?php unset($attr_default) ?><?php unset($attr_type) ?><?php unset($attr_index) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php unset($attr_value) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php unset($attr_onchange) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_style','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_style' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('list'=>'allstyles','name'=>'style','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='allstyles' ?><?php $attr_name='style' ?><?php $attr_default='' ?><?php $attr_onchange='' ?><?php $attr_title='' ?><?php $attr_class='' ?><select size="1" name="<?php echo $attr_name ?>" onchange="<?php echo $attr_onchange ?>" title="<?php echo $attr_title ?>" class="<?php echo $attr_class ?>"<?php +if (count($$attr_list)==1) echo ' disabled="disabled"' +?>><?php + foreach( $$attr_list as $box_key=>$box_value ) + { + echo '<option class="'.$attr_class.'" value="'.$box_key.'"'; + if (isset($$attr_name)&&$box_key==$$attr_name || isset($$attr_default)&&$box_key == $$attr_default) + echo ' selected="selected"'; + echo '>'.$box_value.'</option>'; + } +?></select><?php +if (count($$attr_list)==1) echo '<input type="hidden" name="'.$attr_name.'" value="'.$box_key.'" />' +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_onchange) ?><?php unset($attr_title) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_admin','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_admin' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'is_admin','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='is_admin' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> </center> -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); +<?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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = array('field'=>'name') ?><?php $attr_field='name' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); //--></script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:06 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/groups.tpl.php b/themes/default/pages/html/user/groups.tpl.php @@ -1,41 +1,205 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('title'=>'','name'=>'USER_MEMBERSHIPS','icon'=>'','widths'=>'70%,30%','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='USER_MEMBERSHIPS' ?><?php $attr_icon='' ?><?php $attr_widths='70%,30%' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> -<!-- $Id$ --> +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> -<center> +<?php } ?> -<?php echo Html::form('user','addgroup',$userid) ?> -<?php windowOpen( 'USER_MEMBERSHIPS') ?> -<?php $f1=true; - foreach( $memberships as $id=>$name ) - { ?> -<tr> -<td width="70%" class="<?php if($f1==true) {echo'f1'; }else{echo'f2'; }?>"><img src="<?php echo $image_dir.'icon_group'.IMG_EXT ?>" align="left"><?php echo $name ?></td> -<td width="30%" class="<?php if($f1==true) {echo'f1';$f1=false;}else{echo'f2';$f1=true;}?>"><a href="<?php echo Html::url('user','delgroup',$userid,array('groupid'=>$id)) ?>"><?php echo lang('GLOBAL_DELETE') ?></a></td> -</tr> -<?php } - if ( count($memberships) == 0 ) - { -?> -<tr> -<td colspan="2" class="f1"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> -</tr> -<?php } ?> + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('list'=>'memberships','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='memberships' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); -<?php if ( count($groups) > 0 ) - { ?> + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; -<tr> - <td width="70%" class="act"><?php echo Html::selectBox('groupid',$groups) ?></a></td> - <td width="30%" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> -</tr> -<?php windowClose() ?> +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/image.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('file'=>'icon_group','url'=>'','align'=>'left','type'=>'','elementtype'=>'') ?><?php $attr_file='icon_group' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('title'=>'','target'=>'','url'=>'delgroupurl','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='' ?><?php $attr_target='' ?><?php $attr_url='delgroupurl' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DELETE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DELETE' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> -</form> +</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 } ?> - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +<?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:49:04 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/list.tpl.php b/themes/default/pages/html/user/list.tpl.php @@ -1,41 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> - -<center> - -<?php echo Html::form('user','add') ?> - -<table class="main" width="80%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="2"><?php echo lang('GLOBAL_USERS') ?></th> -</tr> - -<?php $f1=true; - foreach( $el as $u ) - { - extract($u) ?> -<tr> - <td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $url ?>" target="cms_main" title="<?php echo $desc ?>"><img src="<?php echo $image_dir ?>icon_user<?php echo IMG_EXT ?>" border="0" align="left"><?php echo $name ?></a></td> - <td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><?php echo $fullname ?> <?php if($isAdmin) echo '('.lang('USER_ADMIN').')' ?></td> -</tr> -<?php } ?> - -<tr> -<td class="act" colspan="2"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> -</tr> - -</table> - -</form> - -</center> - -<script name="JavaScript" type="text/javascript"> -<!-- -window.document.forms[0].name.focus(); -//--> -</script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/user/listing.tpl.php b/themes/default/pages/html/user/listing.tpl.php @@ -0,0 +1,338 @@ +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> + +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> + + +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_USERS','icon'=>'user','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_USERS' ?><?php $attr_icon='user' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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/list.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('list'=>'el','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='el' ?><?php $attr_extract='true' ?><?php $attr_key='list_key' ?><?php $attr_value='list_value' ?><?php + $list_tmp_key = $attr_key; + $list_tmp_value = $attr_value; + $list_extract = ($attr_extract=='true'); + + + foreach( $$attr_list as $$list_tmp_key => $$list_tmp_value ) + { + if ( $list_extract ) + { + if ( !is_array($$list_tmp_value) ) + { + print_r($$list_tmp_value); + die( 'not an array at key: '.$$list_tmp_key ); + } + extract($$list_tmp_value); + } +?><?php unset($attr) ?><?php unset($attr_list) ?><?php unset($attr_extract) ?><?php unset($attr_key) ?><?php unset($attr_value) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/link.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('title'=>'desc','target'=>'cms_main','url'=>'url','class'=>'','action'=>'','subaction'=>'','id'=>'','var1'=>'','value1'=>'') ?><?php $attr_title='desc' ?><?php $attr_target='cms_main' ?><?php $attr_url='url' ?><?php $attr_class='' ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_var1='' ?><?php $attr_value1='' ?><?php + if(!empty($attr_url)) + $tmp_url = $$attr_url; + else + $tmp_url = Html::url($attr_action,$attr_subaction,!empty($$attr_id)?$$attr_id:$this->getRequestId(),array(!empty($var1)?$var1:'asdf'=>!empty($value1)?$$value1:'')); +?><a href="<?php echo $tmp_url ?>" class="<?php echo $attr_class ?>" target="<?php echo $attr_target ?>" title="<?php echo hasLang($attr_title)?lang($attr_title):lang($$attr_title) ?>"><?php unset($attr) ?><?php unset($attr_title) ?><?php unset($attr_target) ?><?php unset($attr_url) ?><?php unset($attr_class) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_var1) ?><?php unset($attr_value1) ?><?php /* source: ./themes/default/include/html/image.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('file'=>'','url'=>'','align'=>'left','type'=>'icon_user','elementtype'=>'') ?><?php $attr_file='' ?><?php $attr_url='' ?><?php $attr_align='left' ?><?php $attr_type='icon_user' ?><?php $attr_elementtype='' ?><?php +if (!empty($attr_elementtype)) { +?><img src="<?php echo $image_dir.'icon_el_'.$$attr_elementtype.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_type)) { +?><img src="<?php echo $image_dir.'icon_'.$$attr_type.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($$attr_url)) { +?><img src="<?php echo $$attr_url ?>" border="0" align="<?php echo $attr_align ?>"><?php +} elseif (!empty($attr_file)) { +?><img src="<?php echo $image_dir.$$attr_file.IMG_ICON_EXT ?>" border="0" align="<?php echo $attr_align ?>"><?php } ?><?php unset($attr) ?><?php unset($attr_file) ?><?php unset($attr_url) ?><?php unset($attr_align) ?><?php unset($attr_type) ?><?php unset($attr_elementtype) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/link-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'fullname','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='fullname' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/if.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'isAdmin','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='isAdmin' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'USER_ADMIN','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='USER_ADMIN' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:52 +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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/list-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?><?php } ?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:52 +0100 */ ?><?php $attr = 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> +<?php } ?> + +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/profile.tpl.php b/themes/default/pages/html/user/profile.tpl.php @@ -1,73 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> - -<center> - -<?php echo Html::form('profile','saveprofile',$userid) ?> - -<?php windowOpen( 'GLOBAL_USER' ) ?> - -<tr> -<td width="50%" class="f1"><?php echo lang('user_username') ?></a></td> -<td width="50%" class="f1"><strong><?php echo $name ?></strong></td> -</tr> - -<?php foreach( array('fullname','tel','mail','desc') as $z) - { - if ( isset($$z) ) - { ?> -<tr> -<td width="50%" class="f1"><?php echo lang('USER_'.$z) ?></a></td> -<td width="50%" class="f1"><input type="text" name="<?php echo $z ?>" size="40" maxlength="128" value="<?php echo $$z ?>"></td> -</tr> -<?php } - } ?> - -<?php if ( count($allstyles) > 1 ) - { ?> -<tr> -<td width="50%" class="f1"><?php echo lang('USER_style') ?></a></td> -<td width="50%" class="f1"><?php echo Html::selectBox('style',$allstyles,$style) ?></td> -</tr> - <tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> - </tr> -<?php } ?> - -<?php windowClose() ?> - -</form> - - -<?php if ( empty($ldap_dn) ) { ?> -<?php echo Html::form('profile','pwchange',$userid) ?> - -<?php windowOpen( 'USER_PASSWORD') ?> - -<tr> -<td width="50%" class="f2"><?php echo lang('user_password') ?></a></td> -<td width="50%" class="f2"><input type="password" name="act_password"></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('user_new_password') ?></a></td> -<td width="50%" class="f1"><input type="password" name="password1"></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('user_new_password_repeat') ?></a></td> -<td width="50%" class="f2"><input type="password" name="password2"></td> -</tr> -<tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> - -<?php windowClose() ?> - -</form> - -<?php } ?> -</center> - -<?php Html::focusField('fullname') ?> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file diff --git a/themes/default/pages/html/user/pw.tpl.php b/themes/default/pages/html/user/pw.tpl.php @@ -1,41 +1,498 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - +<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('class'=>'') ?><?php $attr_class='' ?><!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" /> + <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 } ?> +</head> -<center> +<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>> -<?php echo Html::form('user','pwchange',$userid) ?> -<?php windowOpen( 'USER_PASSWORD') ?> +<?php unset($attr) ?><?php unset($attr_class) ?><?php /* source: ./themes/default/include/html/form.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('action'=>'','subaction'=>'','id'=>'','name'=>'','target'=>'_self','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='' ?><?php $attr_subaction='' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_self' ?><?php $attr_method='post' ?><?php $attr_enctype='application/x-www-form-urlencoded' ?><?php + if (empty($attr_action)) + $attr_action = $actionName; + if (empty($attr_subaction)) + $attr_subaction = $targetSubActionName; + if (empty($attr_id)) + $attr_id = $this->getRequestId(); + +?><form name="<?php echo $attr_name ?>" + target="<?php echo $attr_target ?>" + action="<?php echo Html::url( $attr_action,$attr_subaction,$attr_id ) ?>" + method="<?php echo $attr_method ?>" + enctype="<?php echo $attr_enctype ?>"> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $attr_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $attr_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $attr_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($attr) ?><?php unset($attr_action) ?><?php unset($attr_subaction) ?><?php unset($attr_id) ?><?php unset($attr_name) ?><?php unset($attr_target) ?><?php unset($attr_method) ?><?php unset($attr_enctype) ?><?php /* source: ./themes/default/include/html/window.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','name'=>'USER_PASSWORD','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='USER_PASSWORD' ?><?php $attr_icon='' ?><?php $attr_widths='' ?><?php $attr_width='85%' ?><?php + $coloumn_widths=array(); + if (!empty($attr_widths)) + { + $column_widths = explode(',',$attr_widths); + unset($attr['widths']); + } + global $image_dir; + echo '<br/><br/><br/><center>'; + echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr_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">'; + foreach( $path as $pathElement) + { + extract($pathElement); + echo '<a href="'.$url.'" class="path">'.lang($name).'</a>'; + echo '&nbsp;&raquo;&nbsp;'; + } + echo '<span class="title">'.lang($windowTitle).'</span>'; + ?> + </th> + </tr> + <tr><td class="subaction"> + <?php 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 + } + ?></td> + </tr> + +<?php if (isset($notices) && count($notices)>0 ) + { ?> + + <tr> + <td><table> + + <?php foreach( $notices as $notice ) { ?> + + <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> + <?php } ?> + + </table></td> + </tr> + +<?php } ?> + + + + <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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_username','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_username' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'name','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='name' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'USER_new_password','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='USER_new_password' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/password.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('name'=>'password1','default'=>'','class'=>'','size'=>'40','maxlength'=>'256') ?><?php $attr_name='password1' ?><?php $attr_default='' ?><?php $attr_class='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><input type="password" name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_class) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'USER_new_password_repeat','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='USER_new_password_repeat' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/password.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('name'=>'password2','default'=>'','class'=>'','size'=>'40','maxlength'=>'256') ?><?php $attr_name='password2' ?><?php $attr_default='' ?><?php $attr_class='' ?><?php $attr_size='40' ?><?php $attr_maxlength='256' ?><input type="password" name="<?php echo $attr_name ?>" size="<?php echo $attr_size ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo $attr_class ?>" value="<?php echo isset($$attr_name)?$$attr_name:$attr_default ?>" /><?php unset($attr) ?><?php unset($attr_name) ?><?php unset($attr_default) ?><?php unset($attr_class) ?><?php unset($attr_size) ?><?php unset($attr_maxlength) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'mail','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='mail' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='' ?><?php + + // Wahr-Vergleich + if ( !empty($attr_true) ) + $exec = $$attr_true == true; + + // Falsch-Vergleich + elseif ( !empty($attr_false) ) + $exec = $$attr_false != true; + + // Inhalt-Vergleich mit Wertliste + elseif( !empty($attr_contains) ) + $exec = in_array($$attr_var,explode(',',$attr_contains)); + + // Inhalt-Vergleich + elseif( !empty($attr_var) ) + $exec = $$attr_var == $attr_value; + + // Vergleich auf leer + elseif ( !empty($attr_empty) ) + { + if ( !isset($$attr_empty) ) + $exec = true; + elseif ( is_array($$attr_empty) ) + $exec = (count($$attr_empty)==0); + elseif ( is_bool($$attr_empty) ) + $exec = true; + else + $exec = empty( $$attr_empty ); + } + + // Vergleich auf nicht-leer + elseif ( !empty($attr_present) ) + { + if ( !isset($$attr_present) ) + $exec = false; + elseif ( is_array($$attr_present) ) + $exec = (count($$attr_present)>0); + elseif ( is_bool($$attr_present) ) + $exec = true; + elseif ( is_numeric($$attr_present) ) + $exec = $$attr_present>=0; + else + $exec = !empty( $$attr_present ); + } + else + { + die("error in IF"); + } + + // Ergebnis umdrehen + if ( !empty($attr_invert) ) + $exec = !$exec; + + if ( $exec ) + { +?><?php unset($attr) ?><?php unset($attr_var) ?><?php unset($attr_value) ?><?php unset($attr_invert) ?><?php unset($attr_empty) ?><?php unset($attr_present) ?><?php unset($attr_contains) ?><?php unset($attr_true) ?><?php unset($attr_false) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_mail_new_password','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_mail_new_password' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'mail','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='mail' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + } +?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'user_random_password','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='user_random_password' ?><?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)) + { + //geht nicht: + //echo $$attr_array[$attr_var].'%'; + $tmpArray = $$attr_array; + if (!empty($attr_var)) + $tmp_text = $tmpArray[$attr_var]; + else + $tmp_text = lang($tmpArray[$attr_text]); + } + elseif (!empty($attr_text)) + $tmp_text = lang($attr_text); + elseif (!empty($attr_var)) + $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + 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) ); + + 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: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='fx' ?><?php $attr_colspan='' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'random','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='random' ?><?php $attr_prefix='' ?><input type="checkbox" name="<?php echo !empty($$attr_var)?$attr_prefix.$$attr_var:$attr_name ?>" <?php if ($attr_readonly=='true') echo ' disabled="disabled"' ?> value="1" <?php if( ($attr_default=='true')||(isset($$attr_name)&&$$attr_name) ) echo 'checked="checked"' ?> /><?php unset($attr) ?><?php unset($attr_default) ?><?php unset($attr_var) ?><?php unset($attr_readonly) ?><?php unset($attr_name) ?><?php unset($attr_prefix) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array() ?><?php + global $fx; + if ( $fx =='f1') + $fx='f2'; + else $fx='f1'; + + global $cell_column_nr; + $cell_column_nr=0; + +?><tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 19:48:54 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'act','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='act' ?><?php $attr_colspan='2' ?><?php + global $fx; + if (!isset($attr_class)) $attr_class=''; + if ($attr_class=='fx') $attr['class']=$fx; + + 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]; + +?><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/button.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array('type'=>'ok') ?><?php $attr_type='ok' ?><?php + if ($attr_type=='ok') + { + $attr_type = 'submit'; + $attr_class = 'ok'; + $attr_text = 'BUTTON_OK'; + $attr_value = 'ok'; + } +?><input type="<?php echo $attr_type ?>" name="<?php echo $attr_value ?>" class="<?php echo $attr_class ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo lang($attr_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array() ?> </table> + </td> + </tr> +</table> + +</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($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array('field'=>'password1') ?><?php $attr_field='password1' ?><script name="JavaScript" type="text/javascript"><!-- +document.forms[0].<?php echo $attr_field ?>.focus(); +document.forms[0].<?php echo $attr_field ?>.select(); +//--></script> +<?php unset($attr) ?><?php unset($attr_field) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 19:48:55 +0100 */ ?><?php $attr = array() ?> +<!-- $Id$ --> -<tr> -<td width="50%" class="f1"><?php echo lang('USER_new_password') ?></a></td> -<td width="50%" class="f1"><input type="password" name="password1"></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('USER_new_password_repeat') ?></a></td> -<td width="50%" class="f2"><input type="password" name="password2"></td> -</tr> -<?php if (!empty($mail)) { ?> -<tr> -<td width="50%" class="f2"><?php echo lang('user_mail_new_password') ?></a></td> -<td width="50%" class="f2"><?php echo Html::checkBox('mail',false,true) ?></td> -</tr> -<tr> -<td width="50%" class="f2"><?php echo lang('user_random_password') ?></a></td> -<td width="50%" class="f2"><?php echo Html::checkBox('random',false,true) ?></td> -</tr> +<?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 } ?> -<tr> -<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> -</tr> -<?php windowClose() ?> -</form> - -</center> - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].password1.focus(); -//--></script> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +</body> +</html><?php unset($attr) ?>+ \ No newline at end of file diff --git a/themes/default/pages/html/user/rights.tpl.php b/themes/default/pages/html/user/rights.tpl.php @@ -1,58 +1,38 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - - -<center> - -<?php foreach($projects as $projectid=>$projectname) { ?> - -<?php windowOpen( lang('GLOBAL_PROJECT').': '.$projectname,15) ?> - - <tr> - <td class="help"><?php echo lang('GLOBAL_FILENAME') ?></td> - <td class="help"><?php echo lang('GLOBAL_LANGUAGE') ?></td> - <?php foreach( $show as $t ) { ?> - <td class="help"><span title="<?php echo lang('ACL_'.strtoupper($t)) ?>"><strong><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></strong></span></td> - <?php } ?> - </tr> - - - - - -<?php $fx = ''; - if (isset($rights[$projectid]) && is_array($rights[$projectid])) - { - foreach( $rights[$projectid] as $oid=>$z ) - { $fx = fx($fx); ?> - <tr> -<?php $objectUrl = Html::url( 'index','object',$oid ) ?> - <td class="<?php echo $fx ?>"><a href="<?php echo $objectUrl ?>" target="_top"><img src="<?php echo $image_dir.'icon_'.$objects[$oid]['type'].IMG_EXT ?>" border="0" align="left"><?php echo $objects[$oid]['filename'] ?></a></td> - <td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> - -<?php foreach( $show as $t ) - { ?> - <td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z[$t],false,array('title'=>lang('ACL_'.strtoupper($t))) ) ?></td> -<?php } ?> - - - </tr> -<?php } - $fx = fx($fx); ?> -<?php } - else - { $fx = fx($fx); ?> - <tr> - <td colspan="14" class="<?php echo $fx ?>"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> - </tr> -<?php } ?> - - -<?php windowClose() ?> - -<?php } ?> - - - - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file +<?php include( $tpl_dir.'header.tpl.php') ?> +<center> +<?php foreach($projects as $projectid=>$projectname) { ?> +<?php windowOpen( lang('GLOBAL_PROJECT').': '.$projectname,15) ?> +<tr> +<td class="help"><?php echo lang('GLOBAL_FILENAME') ?></td> +<td class="help"><?php echo lang('GLOBAL_LANGUAGE') ?></td> +<?php foreach( $show as $t ) { ?> +<td class="help"><span title="<?php echo lang('ACL_'.strtoupper($t)) ?>"><strong><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></strong></span></td> +<?php } ?> +</tr> +<?php $fx = ''; +if (isset($rights[$projectid]) && is_array($rights[$projectid])) +{ +foreach( $rights[$projectid] as $oid=>$z ) +{ $fx = fx($fx); ?> +<tr> +<?php $objectUrl = Html::url( 'index','object',$oid ) ?> +<td class="<?php echo $fx ?>"><a href="<?php echo $objectUrl ?>" target="_top"><img src="<?php echo $image_dir.'icon_'.$objects[$oid]['type'].IMG_EXT ?>" border="0" align="left"><?php echo $objects[$oid]['filename'] ?></a></td> +<td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td> +<?php foreach( $show as $t ) +{ ?> +<td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z[$t],false,array('title'=>lang('ACL_'.strtoupper($t))) ) ?></td> +<?php } ?> +</tr> +<?php } +$fx = fx($fx); ?> +<?php } +else +{ $fx = fx($fx); ?> +<tr> +<td colspan="14" class="<?php echo $fx ?>"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> +</tr> +<?php } ?> +<?php windowClose() ?> +<?php } ?> +</center> +<?php include( $tpl_dir.'footer.tpl.php') ?> diff --git a/themes/default/pages/html/user/show.tpl.php b/themes/default/pages/html/user/show.tpl.php @@ -1,84 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> - -<br><br><br> -<center> - -<form action="<?php echo $action ?>" method="post" target="_self"> -<input type="hidden" name="<?php echo session_name() ?>" value="<?php echo session_id() ?>"> -<input type="hidden" name="useraction" value="save"> - -<table width="80%"> - -<tr> - <th colspan="2"><?php echo lang('USER') ?> <a href="<?php echo Html::url(array('action'=>'user','subaction'=>'edit')) ?>"><?php echo lang('EDIT') ?></a></th> -</tr> - -<tr> -<td width="50%" class="f1"><?php echo lang('username') ?></a></td> -<td width="50%" class="f1"><?php echo $name ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('name') ?></a></td> -<td width="50%" class="f1"><?php echo $fullname ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('mail') ?></a></td> -<td width="50%" class="f1"><?php echo $mail ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('ldap') ?></a></td> -<td width="50%" class="f1"><?php echo $ldap ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('language') ?></a></td> -<td width="50%" class="f1"><?php echo $lang ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('style') ?></a></td> -<td width="50%" class="f1"><?php echo $style ?></td> -</tr> -<tr> -<td width="50%" class="f1"><?php echo lang('admin') ?></a></td> -<td width="50%" class="f1"><?php if ($is_admin==1) echo lang('YES'); else echo lang('NO') ?></td> -</tr> - -</table> - -</form> - - -<table width="80%"> -<tr> - <th colspan="2"><?php echo lang('MEMBERSHIPS') ?><a href="<?php echo $action.'?useraction=groups' ?>"><?php echo lang('EDIT') ?></a></th> -</tr> -<?php $f1=true; - foreach( $memberships as $id=>$name ) - { ?> -<tr> -<td width="50%" class="<?php if($f1==true) {echo'f1'; }else{echo'f2'; }?>"><?php echo $name ?></td> -<td width="50%" class="<?php if($f1==true) {echo'f1';$f1=false;}else{echo'f2';$f1=true;}?>"></td> -</tr> -<?php } ?> -</table> -<br> - - -<table width="80%"> -<tr> - <th colspan="2"><?php echo lang('RIGHTS') ?></th> -</tr> -<?php $f1=true; - foreach( $acls as $id=>$name ) - { ?> -<tr> -<td width="50%" class="<?php if($f1==true) {echo'f1'; }else{echo'f2'; }?>"><?php echo $name ?></td> -<td width="50%" class="<?php if($f1==true) {echo'f1';$f1=false;}else{echo'f2';$f1=true;}?>"><a href="<?php echo Html::url(array('action'=>'user','subaction'=>'delacl','aclid'=>$id)) ?>"><?php echo lang('DELETE') ?></a></td> -</tr> -<?php } ?> -</table> -<br> - -</center> -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file