commit 15f929b846e3278037b3cea59c10167d61485ea8
parent 13c7fbbc57498f7a8a9415919091dda6edbb8739
Author: dankert <devnull@localhost>
Date: Sun, 29 Jan 2006 18:57:17 +0100
Seiten neu aus Vorlagen (../templates/*) generiert. Entfernung nicht mehr notwendiger Dateien.
Diffstat:
24 files changed, 2393 insertions(+), 1973 deletions(-)
diff --git a/themes/default/pages/.htaccess b/themes/default/pages/.htaccess
@@ -0,0 +1,2 @@
+order deny,allow
+deny from all+
\ No newline at end of file
diff --git a/themes/default/pages/html/blank.tpl.php b/themes/default/pages/html/blank.tpl.php
@@ -1,3 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<?php include( $tpl_dir.'footer.tpl.php') ?>-
\ No newline at end of file
diff --git a/themes/default/pages/html/copyright.tpl.php b/themes/default/pages/html/copyright.tpl.php
@@ -1,5 +0,0 @@
-<!-- $Id$ -->
-<!-- The GPL licence requires this text, so NEVER remove nor change it. -->
-
-<br><br>
-<p class="copyright"><a href="http://www.gnu.org/copyleft/gpl.html" target="_top"><?php echo lang('login_gpl') ?></a></p>
diff --git a/themes/default/pages/html/element.tpl.php b/themes/default/pages/html/element.tpl.php
@@ -1,362 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<!-- $Id$ -->
-
-<span style="text-align:center; ">
-
-<center>
-
-<?php echo Html::form('template','elementrename',$templateid,array('elementid'=>$elementid) ) ?>
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
- <tr>
- <th colspan="2"><?php echo lang('GLOBAL_NAME') ?></th>
- </tr>
- <tr>
- <td class="f1" rowspan="2" width="30%"><?php echo lang('GLOBAL_NAME') ?></td>
- <td class="f1"><input type="text" name="name" class="name" value="<?php echo $name ?>"></td>
- </tr>
- <tr>
- <td class="help"><?php echo lang('ELEMENT_NAME_DESC') ?></td>
- </tr>
-
- <tr>
- <td class="f2" rowspan="2" width="30%"><?php echo lang('GLOBAL_DESCRIPTION') ?></td>
- <td class="f2"><textarea name="desc" rows="5" cols="50"><?php echo $desc ?></textarea></td>
- </tr>
- <tr>
- <td class="help"><?php echo lang('ELEMENT_DESC_DESC') ?></td>
- </tr>
-
- <tr>
- <td class="f1" rowspan="2" width="30%"><?php echo lang('ELEMENT_DELETE_VALUES') ?></a></td>
- <td class="f1"><input type="checkbox" name="deletevalues" value="1"></td>
- </tr>
- <tr>
- <td class="help"><?php echo lang('ELEMENT_DELETE_VALUES_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('ELEMENT_DELETE_DESC') ?></td>
- </tr>
-
- <tr>
- <td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td>
- </tr>
-
-</table>
-
-</form>
-
-
-<?php echo Html::form('element','changetype',$templateid,array('elementid'=>$elementid) ) ?>
-
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
- <tr>
- <th colspan="2"><?php echo lang('GLOBAL_TYPE') ?></th>
- </tr>
- <tr>
- <td class="f1" width="30%"><?php echo lang('GLOBAL_TYPE') ?></td>
- <td class="f1" width="70%"><?php echo Html::selectBox('type',$type,$default_type,Array('onChange'=>'submit();')) ?> <noscript><input type="submit" class="submit" value="<?php echo lang('GLOBAL_CHANGE') ?>"></noscript></td>
- </tr>
- <tr>
- <td></td>
- <td class="help" width="70%"><?php echo lang('EL_'.$default_type.'_DESC') ?></td>
- </tr>
-
-</table>
-
-</form>
-
-<?php echo Html::form('template','elementsave',$templateid,array('elementid'=>$elementid) ) ?>
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
- <tr>
- <th colspan="2"><?php echo lang('GLOBAL_PREFS') ?></th>
- </tr>
-
-
- <?php $fx = '';
- if (isset($subtype))
- { $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>" width="30%"><?php echo lang('ELEMENT_SUBTYPE') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::selectBox('subtype',$subtype,$act_subtype) ?></td>
- </tr>
- <?php } ?>
-
-
- <?php
- if ( isset($with_icon) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_WITH_ICON') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::checkBox('with_icon',$with_icon) ?></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_WITH_ICON_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php
- if ( isset($all_languages) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_ALL_LANGUAGES') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::checkBox('all_languages',$all_languages) ?></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_ALL_LANGUAGES_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php
- if ( isset($writable) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_WRITABLE') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::checkBox('writable',$writable) ?></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_WRITABLE_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php
- if ( isset($width) && isset($height) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('WIDTH') ?></td>
- <td class="<?php echo $fx ?>"><input type="text" size="10" name="width" value="<?php echo $width ?>"></td>
- </tr>
- <?php $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('HEIGHT') ?></td>
- <td class="<?php echo $fx ?>"><input type="text" size="10" name="height" value="<?php echo $height ?>"></td>
- </tr>
- <?php } ?>
-
-
- <?php if (isset($dateformat))
- { $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DATEFORMAT') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::selectBox('dateformat',$dateformat,$act_dateformat) ?></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DATEFORMAT_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php
- if ( isset($wiki) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_WIKI') ?></td>
- <td class="<?php echo $fx ?>"><input type="checkbox" name="wiki" <?php if ($wiki) echo ' checked' ?>></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_WIKI_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php
- if ( isset($html) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_HTML') ?></td>
- <td class="<?php echo $fx ?>"><input type="checkbox" name="html" <?php if ($html) echo ' checked' ?>></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_HTML_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if ( isset($decimals) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DECIMALS') ?></td>
- <td class="<?php echo $fx ?>"><input type="text" size="10" maxlength="2" name="decimals" value="<?php echo $decimals ?>"></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DECIMALS_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if ( isset($dec_point) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DEC_POINT') ?></td>
- <td class="<?php echo $fx ?>"><input type="text" size="10" maxlength="5" name="dec_point" value="<?php echo $dec_point ?>"></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DEC_POINT_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if ( isset($thousand_sep) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_THOUSAND_SEP') ?></td>
- <td class="<?php echo $fx ?>"><input type="text" size="10" maxlength="1" name="thousand_sep" value="<?php echo $thousand_sep ?>"></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_THOUSAND_SEP_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if ( isset($default_text) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DEFAULT_TEXT') ?></td>
- <td class="<?php echo $fx ?>"><input type="text" size="40" maxlength="255" name="default_text" value="<?php echo $default_text ?>"></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DEFAULT_TEXT_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if ( isset($default_longtext) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DEFAULT_LONGTEXT') ?></td>
- <td class="<?php echo $fx ?>"><textarea name="default_text" rows="10" cols="40"><?php echo $default_longtext ?></textarea></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DEFAULT_LONGTEXT_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if ( isset($parameters) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td></td>
- <td class="help"><?php echo $dynamic_class_description ?></td>
- </tr>
- <?php if ( count($dynamic_class_description['parameters']) > 0 )
- { ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DYNAMIC_PARAMETERS') ?></td>
- <td class="<?php echo $fx ?>"><textarea name="code" rows="15" cols="40"><?php echo $parameters ?></textarea></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><ul><?php foreach( $dynamic_class_parameters as $paramName=>$defaultValue )
- { ?>
- <li><strong><?php echo $paramName ?></strong>: <em><?php echo lang('GLOBAL_DEFAULT') ?></em> = <?php echo $defaultValue ?><br/></li>
- <?php } ?>
- </ul>
- </td>
- </tr>
- <?php } ?>
- <?php } ?>
-
-
- <?php if ( isset($select_items) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_SELECT_ITEMS') ?></td>
- <td class="<?php echo $fx ?>"><textarea name="code" rows="15" cols="40"><?php echo $select_items ?></textarea></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_SELECT_ITEMS_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if (isset($act_folderobjectid))
- { $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DEFAULT_FOLDEROBJECT') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::selectBox('folderobjectid',$folders,$act_folderobjectid) ?></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DEFAULT_FOLDEROBJECT_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
- <?php if (isset($act_default_objectid))
- { $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_DEFAULT_OBJECT') ?></td>
- <td class="<?php echo $fx ?>"><?php echo Html::selectBox('default_objectid',$objects,$act_default_objectid) ?></td>
- </tr>
- <tr>
- <td></td>
- <td class="help"><?php echo lang('EL_PROP_DEFAULT_OBJECT_DESC') ?></td>
- </tr>
- <?php } ?>
-
-
-
- <?php if ( isset($code) )
- {
- $fx = fx($fx); ?>
- <tr>
- <td class="<?php echo $fx ?>"><?php echo lang('EL_PROP_CODE') ?></td>
- <td class="<?php echo $fx ?>"><textarea name="code" rows="35" cols="60"><?php echo $code ?></textarea></td>
- </tr>
- <?php } ?>
-
-
- <tr>
- <td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td>
- </tr>
-
-</table>
-
-</form>
-
-</center>
-</span>
-
-<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/footer.tpl.php b/themes/default/pages/html/footer.tpl.php
@@ -1,12 +0,0 @@
-
-<!-- $Id$ -->
-
-<?php if ($showDuration) { ?>
-<br/>
-<small>
-<?php $dur = time()-START_TIME;
- echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small>
-<?php } ?>
-
-</body>
-</html>-
\ No newline at end of file
diff --git a/themes/default/pages/html/frameset.tpl.php b/themes/default/pages/html/frameset.tpl.php
@@ -1,39 +0,0 @@
-<?php /* source: ./themes/default/include/html/frameset-page.inc.php - compile time: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +0100 */ ?><?php $attr = array('rows'=>'3,54,*,3,50,3','columns'=>'') ?><?php $attr_rows='3,54,*,3,50,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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +0100 */ ?><?php $attr = array('file'=>'frame_src_tree_menu','name'=>'cms_treemenu','scrolling'=>'') ?><?php $attr_file='frame_src_tree_menu' ?><?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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +0100 */ ?><?php $attr = array() ?></frameset>
-<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +0100 */ ?><?php $attr = array() ?></frameset>
-<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frame.inc.php - compile time: Wed, 18 Jan 2006 22:37:48 +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: Wed, 18 Jan 2006 22:37:48 +0100 */ ?><?php $attr = array() ?></frameset>
-<?php unset($attr) ?><?php /* source: ./themes/default/include/html/frameset-page-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:48 +0100 */ ?><?php $attr = array() ?>
-</html><?php unset($attr) ?>-
\ No newline at end of file
diff --git a/themes/default/pages/html/header.tpl.php b/themes/default/pages/html/header.tpl.php
@@ -1,32 +0,0 @@
-<!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 if (isset($notices) && count($notices)>0 )
- { ?>
-
- <?php windowOpen('GLOBAL_NOTICES',3) ?>
-
- <?php foreach( $notices as $notice ) { ?>
- <tr>
-
- <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 } ?>
-
- <?php windowClose() ?>
-
-<?php } ?>
diff --git a/themes/default/pages/html/login.tpl.php b/themes/default/pages/html/login.tpl.php
@@ -1,957 +0,0 @@
-<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('action'=>'index','subaction'=>'login','id'=>'','name'=>'','target'=>'_top','method'=>'post','enctype'=>'application/x-www-form-urlencoded') ?><?php $attr_action='index' ?><?php $attr_subaction='login' ?><?php $attr_id='' ?><?php $attr_name='' ?><?php $attr_target='_top' ?><?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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('title'=>'GLOBAL_LOGIN','name'=>'login','widths'=>'','width'=>'400') ?><?php $attr_title='GLOBAL_LOGIN' ?><?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_ICON_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> <?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_widths) ?><?php unset($attr_width) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'logo','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='logo' ?><?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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +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/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'logo_url','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='logo_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);
- 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/link.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('title'=>'','target'=>'_top','url'=>'logo_url','class'=>'') ?><?php $attr_title='' ?><?php $attr_target='_top' ?><?php $attr_url='logo_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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('file'=>'','url'=>'logo','align'=>'left','type'=>'') ?><?php $attr_file='' ?><?php $attr_url='logo' ?><?php $attr_align='left' ?><?php $attr_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/link-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'logo','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='logo' ?><?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/image.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('file'=>'','url'=>'logo','align'=>'left','type'=>'') ?><?php $attr_file='' ?><?php $attr_url='logo' ?><?php $attr_align='left' ?><?php $attr_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/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'motd','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='motd' ?><?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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('width'=>'','style'=>'','class'=>'motd','colspan'=>'2') ?><?php $attr_width='' ?><?php $attr_style='' ?><?php $attr_class='motd' ?><?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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'motd','text'=>'','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='motd' ?><?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('_',' ',$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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'nologin','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='nologin' ?><?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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'LOGIN_NOLOGIN_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='LOGIN_NOLOGIN_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('_',' ',$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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'readonly','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='readonly' ?><?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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_READONLY_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_READONLY_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('_',' ',$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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'nopublish','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='nopublish' ?><?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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +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: Fri, 20 Jan 2006 22:52:43 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NOPUBLISH_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NOPUBLISH_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('_',' ',$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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'','contains'=>'','true'=>'','false'=>'nologin') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='' ?><?php $attr_contains='' ?><?php $attr_true='' ?><?php $attr_false='nologin' ?><?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: Fri, 20 Jan 2006 22:52:44 +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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='50%' ?><?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: Fri, 20 Jan 2006 22:52:44 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='50%' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('default'=>'','type'=>'text','index'=>'','name'=>'login_name','prefix'=>'','value'=>'','size'=>'25','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='text' ?><?php $attr_index='' ?><?php $attr_name='login_name' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='25' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='50%' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'USER_PASSWORD','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='USER_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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='50%' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('default'=>'','type'=>'password','index'=>'','name'=>'login_password','prefix'=>'','value'=>'','size'=>'25','maxlength'=>'','onchange'=>'') ?><?php $attr_default='' ?><?php $attr_type='password' ?><?php $attr_index='' ?><?php $attr_name='login_password' ?><?php $attr_prefix='' ?><?php $attr_value='' ?><?php $attr_size='25' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='50%' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_DATABASE','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_DATABASE' ?><?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('_',' ',$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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('width'=>'50%','style'=>'','class'=>'fx','colspan'=>'') ?><?php $attr_width='50%' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('list'=>'dbids','name'=>'dbid','default'=>'actdbid','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='dbids' ?><?php $attr_name='dbid' ?><?php $attr_default='actdbid' ?><?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 ($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/input.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('default'=>'9999','type'=>'hidden','index'=>'','name'=>'screenwidth','prefix'=>'','value'=>'','size'=>'','maxlength'=>'','onchange'=>'') ?><?php $attr_default='9999' ?><?php $attr_type='hidden' ?><?php $attr_index='' ?><?php $attr_name='screenwidth' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +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: Fri, 20 Jan 2006 22:52:44 +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: Fri, 20 Jan 2006 22:52:44 +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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><script name="javascript1.2" type="text/javascript">
-<!--
-document.forms[0].screenwidth.value=window.innerWidth;
-</script>
-<?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?><?php
- }
-?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/window-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?> </table>
- </td>
- </tr>
-</table>
-
-</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/form-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/newline.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?><br/><?php unset($attr) ?><?php /* source: ./themes/default/include/html/newline.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?><br/><?php unset($attr) ?><?php /* source: ./themes/default/include/html/link.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('title'=>'','target'=>'_top','url'=>'http://www.gnu.org/copyleft/gpl.html','class'=>'') ?><?php $attr_title='' ?><?php $attr_target='_top' ?><?php $attr_url='http://www.gnu.org/copyleft/gpl.html' ?><?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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_GPL','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_GPL' ?><?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('_',' ',$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: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array('field'=>'login_name') ?><?php $attr_field='login_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/include/html/page-end.inc.php - compile time: Fri, 20 Jan 2006 22:52:44 +0100 */ ?><?php $attr = array() ?>
-<!-- $Id$ -->
-
-<?php if ($showDuration) { ?>
-<br/>
-<small>
-<?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/message.tpl.php b/themes/default/pages/html/message.tpl.php
@@ -1,24 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<!-- $Id$ -->
-<center>
-
-<table class="main" width="60%" cellspacing="0" cellpadding="4">
-
- <tr>
- <th><?php echo $title ?></th>
- </tr>
- <tr>
- <td class="message"><?php echo $text ?>
-
- <?php if ($info!='')
- echo '<br /><br /><br /><strong>'.lang('ADDITIONAL_INFO').'</strong><pre>'.htmlentities($info).'</pre>';
- ?>
- </td>
- </tr>
-
-</table>
-
-</center>
-
-<?php include( $tpl_dir.'footer.tpl.php') ?>-
\ No newline at end of file
diff --git a/themes/default/pages/html/publish.tpl.php b/themes/default/pages/html/publish.tpl.php
@@ -1,30 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<!-- $Id$ -->
-<center>
-
-<table class="main" width="60%" cellspacing="0" cellpadding="4">
-
- <tr>
- <th colspan="1"><?php echo lang('PUBLISH') ?></th>
- </tr>
-
- <?php foreach( $filenames as $filename )
- { ?>
- <tr>
- <td width="50%" class="f1"><?php echo $filename ?></td>
- </tr>
- <?php } ?>
-
-<!--
- <tr>
- <td colspan="4"><pre><?php echo $log ?></pre>
- </td>
- </tr>
--->
-</table>
-
-
-</center>
-
-<?php include( $tpl_dir.'footer.tpl.php') ?>-
\ No newline at end of file
diff --git a/themes/default/pages/html/table_close.tpl.php b/themes/default/pages/html/table_close.tpl.php
@@ -1,3 +0,0 @@
-
-<!-- $Id$ -->
-</table>
diff --git a/themes/default/pages/html/table_open.tpl.php b/themes/default/pages/html/table_open.tpl.php
@@ -1,7 +0,0 @@
-
-<!-- $Id$ -->
-<table class="main" width="98%" cellspacing="0" cellpadding="4">
-
-<tr>
- <th colspan="<?php echo $table_title_colspan ?>"><?php echo $table_title_text ?></th>
-</tr>
diff --git a/themes/default/pages/html/template/add.tpl.php b/themes/default/pages/html/template/add.tpl.php
@@ -0,0 +1,143 @@
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:11: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 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:14 +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:11:14 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_TEMPLATES','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_TEMPLATES' ?><?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 ' » ';
+ }
+ 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> <?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:11:14 +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:11:14 +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/input.inc.php - compile time: Sun, 29 Jan 2006 16:11:14 +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/button.inc.php - compile time: Sun, 29 Jan 2006 16:11:14 +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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:14 +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:14 +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:14 +0100 */ ?><?php $attr = array() ?> </table>
+ </td>
+ </tr>
+</table>
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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:14 +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:14 +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:14 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration && false) { ?>
+<br/>
+<small>
+<?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/addel.tpl.php b/themes/default/pages/html/template/addel.tpl.php
@@ -0,0 +1,310 @@
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 01:53: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/form.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53:13 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_TEMPLATES','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_TEMPLATES' ?><?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 ' » ';
+ }
+ 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> <?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 01:53: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 01:53: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 01:53: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 = $$attr_var;
+ elseif (!empty($attr_raw))
+ $tmp_text = str_replace('_',' ',$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 01:53:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53: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 01:53:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53:13 +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('_',' ',$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 01:53:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53: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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 01:53:13 +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 01:53: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 01:53:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53:13 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'element_type','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='element_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 = $$attr_var;
+ elseif (!empty($attr_raw))
+ $tmp_text = str_replace('_',' ',$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 01:53:13 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53: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/set.inc.php - compile time: Sun, 29 Jan 2006 01:53:13 +0100 */ ?><?php $attr = array('var'=>'text','value'=>'text') ?><?php $attr_var='text' ?><?php $attr_value='text' ?><?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 01:53:13 +0100 */ ?><?php $attr = array('list'=>'types','name'=>'type','default'=>'text','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='types' ?><?php $attr_name='type' ?><?php $attr_default='text' ?><?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 01:53: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 01:53:13 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53:13 +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 01:53: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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53:13 +0100 */ ?><?php $attr = array() ?> </table>
+ </td>
+ </tr>
+</table>
+
+</center><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 01:53: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/form-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:13 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:13 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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/el.tpl.php b/themes/default/pages/html/template/el.tpl.php
@@ -1,45 +1,305 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
+<?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">
+<html>
<!-- $Id$ -->
-<center>
-
-<?php echo Html::form('template','addelement',$templateid ) ?>
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
-<tr>
- <th colspan="2"><?php echo lang('TEMPLATE_ELEMENTS') ?></th>
-</tr>
-
-<?php
- $fx = '';
- if (count($el)>0) foreach( $el as $id=>$e )
- { $fx = fx($fx); ?>
-<tr>
-<td width="50%" 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="50%" class="<?php echo $fx ?>"><?php echo lang('el_'.$e['type']) ?></td>
-</tr>
-<?php }
- else
- { $fx = fx($fx); ?>
-<tr>
-<td colspan="2" class="<?php echo $fx ?>"><?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>
+<body<?php echo !empty($$attr_class)?' class="'.$$attr_class.'"':' class="'.$attr_class.'"' ?>>
-<tr>
-<td class="act" colspan="2"><input type="text" name="name" value=""> <input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td>
-</tr>
-</table>
-
-</form>
-
-</center>
+<?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
+ $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 ' » ';
+ }
+ 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> <?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 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
+ $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:11: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 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
+ global $fx;
+ if (!isset($attr_class)) $attr_class='';
+ if ($attr_class=='fx') $attr['class']=$fx;
+
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) )
+ $attr['width']=$column_widths[$cell_column_nr-1];
+
+?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php 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
+ 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
+} 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
+ 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('_',' ',$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: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
+ global $fx;
+ if (!isset($attr_class)) $attr_class='';
+ if ($attr_class=='fx') $attr['class']=$fx;
+
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) )
+ $attr['width']=$column_widths[$cell_column_nr-1];
+
+?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php 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
+ 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('_',' ',$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: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
+
+ // 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:11: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 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
+ global $fx;
+ if (!isset($attr_class)) $attr_class='';
+ if ($attr_class=='fx') $attr['class']=$fx;
+
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) )
+ $attr['width']=$column_widths[$cell_column_nr-1];
+
+?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php 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
+ 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('_',' ',$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: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
+ }
+?><?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>
+ </td>
+ </tr>
+</table>
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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() ?>
+<!-- $Id$ -->
-<script name="JavaScript" type="text/javascript"><!--
-document.forms[0].name.focus();
-//--></script>
+<?php if ($showDuration && false) { ?>
+<br/>
+<small>
+<?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/template/extension.tpl.php b/themes/default/pages/html/template/extension.tpl.php
@@ -0,0 +1,197 @@
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:11:26 +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 16:11:26 +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:11:26 +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))
+ {
+ $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 ' » ';
+ }
+ 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> <?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:11:26 +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:11:26 +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:11:26 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'TEMPLATE_extension','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='TEMPLATE_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('_',' ',$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:11:26 +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:26 +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 16:11:26 +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 16:11:26 +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:26 +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:26 +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:11:26 +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 16:11:26 +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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:11:26 +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:26 +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:26 +0100 */ ?><?php $attr = array() ?> </table>
+ </td>
+ </tr>
+</table>
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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:26 +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:26 +0100 */ ?><?php $attr = array('field'=>'extension') ?><?php $attr_field='extension' ?><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:26 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration && false) { ?>
+<br/>
+<small>
+<?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/list.tpl.php b/themes/default/pages/html/template/list.tpl.php
@@ -1,44 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<!-- $Id$ -->
-<center>
-
-<?php echo Html::form('template','add') ?>
-
-<table class="main" width="50%" cellspacing="0" cellpadding="4">
-
-<tr>
- <th colspan="2"><?php echo lang('GLOBAL_TEMPLATES') ?></th>
-</tr>
-
-<?php $f1=true;
- $fx='';
- foreach( $templates as $id=>$e )
- {
- $fx = fx( $fx ); ?>
-<tr>
-<td class="<?php echo $fx ?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><?php echo $e['name'] ?></a></td>
-</tr>
-<?php } ?>
-
-
-<?php if ( count($templates)==0 )
- { ?>
- <tr>
- <td class="help"><?php echo lang('GLOBAL_NO_TEMPLATES_AVAILABLE_DESC') ?></td>
- </tr>
-<?php } ?>
-
-<tr>
-<td class="act"><input type="text" name="name" value=""> <input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></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/template/listing.tpl.php b/themes/default/pages/html/template/listing.tpl.php
@@ -0,0 +1,262 @@
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:11:11 +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:11:11 +0100 */ ?><?php $attr = array('title'=>'','name'=>'GLOBAL_TEMPLATES','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='GLOBAL_TEMPLATES' ?><?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 ' » ';
+ }
+ 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> <?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 16:11:11 +0100 */ ?><?php $attr = array('list'=>'templates','extract'=>'true','key'=>'list_key','value'=>'list_value') ?><?php $attr_list='templates' ?><?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:11:11 +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:11:11 +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 16:11:11 +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/text.inc.php - compile time: Sun, 29 Jan 2006 16:11:11 +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('_',' ',$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:11:11 +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:11 +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:11 +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:11 +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:11 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'templates','present'=>'','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='templates' ?><?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:11:11 +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:11:11 +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:11:11 +0100 */ ?><?php $attr = array('title'=>'','class'=>'','var'=>'','text'=>'GLOBAL_NO_TEMPLATES_AVAILABLE_DESC','raw'=>'','maxlength'=>'') ?><?php $attr_title='' ?><?php $attr_class='' ?><?php $attr_var='' ?><?php $attr_text='GLOBAL_NO_TEMPLATES_AVAILABLE_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('_',' ',$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:11:11 +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:11 +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:11 +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:11 +0100 */ ?><?php $attr = array() ?> </table>
+ </td>
+ </tr>
+</table>
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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:11 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration && false) { ?>
+<br/>
+<small>
+<?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/name.tpl.php b/themes/default/pages/html/template/name.tpl.php
@@ -0,0 +1,217 @@
+<?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">
+<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 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
+ 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: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
+ $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 ' » ';
+ }
+ 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> <?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:11: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 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
+ global $fx;
+ if (!isset($attr_class)) $attr_class='';
+ if ($attr_class=='fx') $attr['class']=$fx;
+
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) )
+ $attr['width']=$column_widths[$cell_column_nr-1];
+
+?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php 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
+ 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('_',' ',$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: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
+ global $fx;
+ if (!isset($attr_class)) $attr_class='';
+ if ($attr_class=='fx') $attr['class']=$fx;
+
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) )
+ $attr['width']=$column_widths[$cell_column_nr-1];
+
+?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php 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
+ 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: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
+ global $fx;
+ if (!isset($attr_class)) $attr_class='';
+ if ($attr_class=='fx') $attr['class']=$fx;
+
+ global $cell_column_nr;
+ $cell_column_nr++;
+ if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr_rowspan) )
+ $attr['width']=$column_widths[$cell_column_nr-1];
+
+?><td <?php foreach( $attr as $a_name=>$a_value ) echo " $a_name=\"$a_value\"" ?>><?php 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
+ 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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><!--
+<tr>
+<th colspan="2"><?php echo lang('GLOBAL_PAGES') ?></th>
+</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 ?>" border="0" align="left"><?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 } ?>
+</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>
+ </td>
+ </tr>
+</table>
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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"><!--
+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() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration && false) { ?>
+<br/>
+<small>
+<?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/remove.tpl.php b/themes/default/pages/html/template/remove.tpl.php
@@ -0,0 +1,276 @@
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 16:11: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 16:11: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 16:11:28 +0100 */ ?><?php $attr = array('title'=>'','name'=>'','icon'=>'template','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='' ?><?php $attr_icon='template' ?><?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 ' » ';
+ }
+ 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> <?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:11: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 16:11: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 16:11: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('_',' ',$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:11:28 +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: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 16:11: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('_',' ',$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:11: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 16:11:28 +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: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 16:11: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 16:11: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('_',' ',$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:11:28 +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: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 16:11: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 16:11: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 16:11:28 +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: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 16:11:28 +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 16:11:28 +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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 16:11: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 16:11:28 +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:28 +0100 */ ?><?php $attr = array() ?> </table>
+ </td>
+ </tr>
+</table>
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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:28 +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:28 +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 16:11:28 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration && false) { ?>
+<br/>
+<small>
+<?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/show.tpl.php b/themes/default/pages/html/template/show.tpl.php
@@ -1,20 +0,0 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<!-- $Id$ -->
-<center>
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
-<tr>
- <th><?php echo lang('TEMPLATE_SHOW') ?></th>
-</tr>
-
-<tr>
-<td class="f1"><code><?php echo $text ?></code></td>
-</tr>
-
-</table>
-
-</center>
-
-<?php include( $tpl_dir.'footer.tpl.php') ?>-
\ No newline at end of file
diff --git a/themes/default/pages/html/template/src.tpl.php b/themes/default/pages/html/template/src.tpl.php
@@ -1,90 +1,155 @@
-<?php include( $tpl_dir.'header.tpl.php') ?>
-
-<script name="Javascript" type="text/javascript" src="<?php echo $tpl_dir ?>../js/editor.js" ></script>
-<script name="JavaScript" type="text/javascript">
-<!--
-function add_element()
-{
- var elementName = document.forms[0].elementid.options[document.forms[0].elementid.selectedIndex].text;
- insert('src',"{{"+elementName+"}}",'');
-}
-function add_icon()
-{
- var elementName = document.forms[0].elementid.options[document.forms[0].iconid.selectedIndex].text;
- insert('src',"{{->"+elementName+"}}",'');
-}
-function add_ifempty_tag()
-{
- var elementName = document.forms[0].elementid.options[document.forms[0].ifemptyid.selectedIndex].text;
- insert('src',"{{<?php echo lang('IFEMPTY') ?>:"+elementName+":<?php echo lang('BEGIN') ?>}}","{{<?php echo lang('IFEMPTY') ?>:"+elementName+":<?php echo lang('END') ?>}}");
-}
-
-function add_ifnotempty_tag()
-{
- var elementName = document.forms[0].elementid.options[document.forms[0].ifnotemptyid.selectedIndex].text;
- insert('src',"{{<?php echo lang('IFNOTEMPTY') ?>:"+elementName+":<?php echo lang('BEGIN') ?>}}","{{<?php echo lang('IFNOTEMPTY') ?>:"+elementName+":<?php echo lang('END') ?>}}");
-}
-//-->
-</script>
-
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 01:53:05 +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('template','srcsave',$templateid ) ?>
-
-<table class="main" width="90%" cellspacing="0" cellpadding="4">
-
-<tr>
- <th colspan="2"><?php echo lang('TEMPLATE_SOURCE') ?></th>
-</tr>
-
-<tr>
-<td class="f1" colspan="2"><textarea rows="25" cols="80" name="src"><?php echo $text ?></textarea></td>
-</tr>
-
-<?php if ( count($elements)>0 )
- { ?>
-<tr>
- <td class="f2" width="30%"><?php echo Html::selectBox('elementid',$elements) ?></td>
- <td class="f2"><input type="submit" name="addelement" class="submit" onClick="add_element(); return false;" value="<?php echo lang('GLOBAL_ADD') ?>" /></td>
-</tr>
-<?php } ?>
-
-<?php if ( count($icon_elements)>0 )
- { ?>
-<tr>
- <td class="f2" width="30%"><?php echo Html::selectBox('iconid',$icon_elements) ?></td>
- <td class="f2"><input type="submit" name="addicon" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>" /></td>
-</tr>
-
-<?php } ?>
-
-<?php if ( count($ifempty_elements)>0 )
- { ?>
-<tr>
- <td class="f2" width="30%"><?php echo Html::selectBox('ifemptyid',$ifempty_elements) ?></td>
- <td class="f2"><input type="submit" name="addifempty" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>" /></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>
+
+<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 01:53: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 01:53:05 +0100 */ ?><?php $attr = array('title'=>'','name'=>'TEMPLATE_SOURCE','icon'=>'','widths'=>'','width'=>'85%') ?><?php $attr_title='' ?><?php $attr_name='TEMPLATE_SOURCE' ?><?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 ' » ';
+ }
+ 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> <?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 01:53: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 01:53:05 +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/inputarea.inc.php - compile time: Sun, 29 Jan 2006 01:53:05 +0100 */ ?><?php $attr = array('name'=>'src','rows'=>'25','cols'=>'80','value'=>'','index'=>'','onchange'=>'','prefix'=>'','class'=>'','default'=>'') ?><?php $attr_name='src' ?><?php $attr_rows='25' ?><?php $attr_cols='80' ?><?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 01:53: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 01:53:05 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53: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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53:05 +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 01:53:05 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/focus.inc.php - compile time: Sun, 29 Jan 2006 01:53:05 +0100 */ ?><?php $attr = array('field'=>'src') ?><?php $attr_field='src' ?><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 01:53:05 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
-<?php if ( count($ifnotempty_elements)>0 )
- { ?>
-<tr>
- <td class="f2" width="30%"><?php echo Html::selectBox('ifnotemptyid',$ifnotempty_elements) ?></td>
- <td class="f2"><input type="submit" name="addifnotempty" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>" /></td>
-</tr>
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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>
-
-</table>
-
-</form>
-
-</center>
-
-<?php echo Html::focusField('src') ?>
-
-<?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/template/srcelement.tpl.php b/themes/default/pages/html/template/srcelement.tpl.php
@@ -0,0 +1,528 @@
+<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +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 01:53:00 +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 01:53:00 +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 ' » ';
+ }
+ 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> <?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 01:53:00 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'elements','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='elements' ?><?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_present) )
+ $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 01:53:00 +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 01:53:00 +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 01:53:00 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'addelement','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='addelement' ?><?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 01:53:00 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +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 01:53:00 +0100 */ ?><?php $attr = array('list'=>'elements','name'=>'elementid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='elements' ?><?php $attr_name='elementid' ?><?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 01:53:00 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +0100 */ ?><?php $attr = array() ?><?php
+ }
+?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'icon_elements','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='icon_elements' ?><?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_present) )
+ $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 01:53:00 +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 01:53:00 +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 01:53:00 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'addicon','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='addicon' ?><?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 01:53:00 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +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 01:53:00 +0100 */ ?><?php $attr = array('list'=>'icon_elements','name'=>'iconid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='icon_elements' ?><?php $attr_name='iconid' ?><?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 01:53:00 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +0100 */ ?><?php $attr = array() ?><?php
+ }
+?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'ifempty_elements','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='ifempty_elements' ?><?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_present) )
+ $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 01:53:00 +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 01:53:00 +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 01:53:00 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'addifempty','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='addifempty' ?><?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 01:53:00 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53:00 +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 01:53:01 +0100 */ ?><?php $attr = array('list'=>'ifempty_elements','name'=>'ifemptyid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='ifempty_elements' ?><?php $attr_name='ifemptyid' ?><?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 01:53: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 01:53:01 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:01 +0100 */ ?><?php $attr = array() ?><?php
+ }
+?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if.inc.php - compile time: Sun, 29 Jan 2006 01:53:01 +0100 */ ?><?php $attr = array('var'=>'','value'=>'','invert'=>'','empty'=>'','present'=>'ifnotempty_elements','contains'=>'','true'=>'','false'=>'') ?><?php $attr_var='' ?><?php $attr_value='' ?><?php $attr_invert='' ?><?php $attr_empty='' ?><?php $attr_present='ifnotempty_elements' ?><?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_present) )
+ $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 01:53: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 01:53: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/checkbox.inc.php - compile time: Sun, 29 Jan 2006 01:53:01 +0100 */ ?><?php $attr = array('default'=>'false','var'=>'','readonly'=>'false','name'=>'addifnotempty','prefix'=>'') ?><?php $attr_default='false' ?><?php $attr_var='' ?><?php $attr_readonly='false' ?><?php $attr_name='addifnotempty' ?><?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 01:53:01 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Sun, 29 Jan 2006 01:53: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/selectbox.inc.php - compile time: Sun, 29 Jan 2006 01:53:01 +0100 */ ?><?php $attr = array('list'=>'ifnotempty_elements','name'=>'ifnotemptyid','default'=>'','onchange'=>'','title'=>'','class'=>'') ?><?php $attr_list='ifnotempty_elements' ?><?php $attr_name='ifnotemptyid' ?><?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 01:53: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 01:53:01 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/if-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:01 +0100 */ ?><?php $attr = array() ?><?php
+ }
+?><?php unset($attr) ?><?php /* source: ./themes/default/include/html/row.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53:01 +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 01:53: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=" <?php echo lang($attr_text) ?> " /><?php unset($attr) ?><?php unset($attr_type) ?><?php /* source: ./themes/default/include/html/cell-end.inc.php - compile time: Sun, 29 Jan 2006 01:53: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 01:53: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 01:53:01 +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 01:53:01 +0100 */ ?><?php $attr = array() ?></form><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Sun, 29 Jan 2006 01:53:01 +0100 */ ?><?php $attr = array() ?>
+<!-- $Id$ -->
+
+<?php if ($showDuration) { ?>
+<br/>
+<small>
+<?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/title.tpl.php b/themes/default/pages/html/title.tpl.php
@@ -1,300 +0,0 @@
-<?php /* source: ./themes/default/include/html/page.inc.php - compile time: Wed, 18 Jan 2006 22:37: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/table.inc.php - compile time: Wed, 18 Jan 2006 22:37:52 +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: Wed, 18 Jan 2006 22:37:53 +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:53 +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: Wed, 18 Jan 2006 22:37:53 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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: Wed, 18 Jan 2006 22:37:53 +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('_',' ',$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: Wed, 18 Jan 2006 22:37:53 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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: Wed, 18 Jan 2006 22:37:53 +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('_',' ',$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: Wed, 18 Jan 2006 22:37:53 +0100 */ ?><?php $attr = array('title'=>'','target'=>'_parent','url'=>'showtree_url','class'=>'') ?><?php $attr_title='' ?><?php $attr_target='_parent' ?><?php $attr_url='showtree_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: Wed, 18 Jan 2006 22:37:53 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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:53 +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:53 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 18 Jan 2006 22:37:53 +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: Wed, 18 Jan 2006 22:37:53 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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: Wed, 18 Jan 2006 22:37:53 +0100 */ ?><?php $attr = array() ?></td><?php unset($attr) ?><?php /* source: ./themes/default/include/html/cell.inc.php - compile time: Wed, 18 Jan 2006 22:37:53 +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: Wed, 18 Jan 2006 22:37:53 +0100 */ ?><?php $attr = array('title'=>'USER_PROFILE_DESC','target'=>'cms_main_main','url'=>'profile_url','class'=>'') ?><?php $attr_title='USER_PROFILE_DESC' ?><?php $attr_target='cms_main_main' ?><?php $attr_url='profile_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: Wed, 18 Jan 2006 22:37:53 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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:53 +0100 */ ?><?php $attr = array() ?></a><?php unset($attr) ?><?php /* source: ./themes/default/include/html/text.inc.php - compile time: Wed, 18 Jan 2006 22:37:53 +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('_',' ',$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: Wed, 18 Jan 2006 22:37:53 +0100 */ ?><?php $attr = array('title'=>'USER_LOGOUT_DESC','target'=>'_top','url'=>'logout_url','class'=>'') ?><?php $attr_title='USER_LOGOUT_DESC' ?><?php $attr_target='_top' ?><?php $attr_url='logout_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: Wed, 18 Jan 2006 22:37:53 +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 = $$attr_var;
- elseif (!empty($attr_raw))
- $tmp_text = str_replace('_',' ',$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:53 +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:53 +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:53 +0100 */ ?><?php $attr = array() ?></tr><?php unset($attr) ?><?php /* source: ./themes/default/include/html/table-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:53 +0100 */ ?><?php $attr = array() ?></table><?php unset($attr) ?><?php /* source: ./themes/default/include/html/page-end.inc.php - compile time: Wed, 18 Jan 2006 22:37:53 +0100 */ ?><?php $attr = array() ?>
-<!-- $Id$ -->
-
-<?php if ($showDuration) { ?>
-<br/>
-<small>
-<?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