openrat-cms

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

commit f606831de948027a9b52c8ae01824c1f6837e256
parent 22a87c97bb99dfe64692d70f9163d8d387e1f853
Author: Jan Dankert <devnull@localhost>
Date:   Mon, 24 Sep 2012 23:30:38 +0200

Template-Dateien im temporären Verzeichnis erzeugen und von dort benutzen. Keine Versionierung der kompilierten Templates mehr.

Diffstat:
action/Action.class.php | 13+------------
action/FileAction.class.php | 7+++++--
model/File.class.php | 2+-
model/Object.class.php | 74+++++++-------------------------------------------------------------------
themes/default/pages/.htaccess | 3---
themes/default/pages/README.txt | 6------
themes/default/pages/html/configuration/show.tpl.php | 117-------------------------------------------------------------------------------
themes/default/pages/html/element/delete.tpl.php | 152-------------------------------------------------------------------------------
themes/default/pages/html/element/edit.tpl.php | 86-------------------------------------------------------------------------------
themes/default/pages/html/element/name.tpl.php | 247-------------------------------------------------------------------------------
themes/default/pages/html/element/prop.tpl.php | 878-------------------------------------------------------------------------------
themes/default/pages/html/element/properties.tpl.php | 1397-------------------------------------------------------------------------------
themes/default/pages/html/element/remove.tpl.php | 333-------------------------------------------------------------------------------
themes/default/pages/html/element/type.tpl.php | 120-------------------------------------------------------------------------------
themes/default/pages/html/file/compress.tpl.php | 338-------------------------------------------------------------------------------
themes/default/pages/html/file/edit.tpl.php | 41-----------------------------------------
themes/default/pages/html/file/editvalue.tpl.php | 211-------------------------------------------------------------------------------
themes/default/pages/html/file/extract.tpl.php | 176-------------------------------------------------------------------------------
themes/default/pages/html/file/info.tpl.php | 611-------------------------------------------------------------------------------
themes/default/pages/html/file/prop.tpl.php | 228-------------------------------------------------------------------------------
themes/default/pages/html/file/pub.tpl.php | 187-------------------------------------------------------------------------------
themes/default/pages/html/file/remove.tpl.php | 258-------------------------------------------------------------------------------
themes/default/pages/html/file/show.tpl.php | 200-------------------------------------------------------------------------------
themes/default/pages/html/file/showprop.tpl.php | 2374-------------------------------------------------------------------------------
themes/default/pages/html/file/size.tpl.php | 664-------------------------------------------------------------------------------
themes/default/pages/html/file/uncompress.tpl.php | 251-------------------------------------------------------------------------------
themes/default/pages/html/filebrowser/browse.tpl.php | 680-------------------------------------------------------------------------------
themes/default/pages/html/filemanager/browse.tpl.php | 510-------------------------------------------------------------------------------
themes/default/pages/html/folder/create.tpl.php | 461-------------------------------------------------------------------------------
themes/default/pages/html/folder/createfile.tpl.php | 357-------------------------------------------------------------------------------
themes/default/pages/html/folder/createfolder.tpl.php | 86-------------------------------------------------------------------------------
themes/default/pages/html/folder/createlink.tpl.php | 263-------------------------------------------------------------------------------
themes/default/pages/html/folder/createpage.tpl.php | 149-------------------------------------------------------------------------------
themes/default/pages/html/folder/edit.tpl.php | 519-------------------------------------------------------------------------------
themes/default/pages/html/folder/el.tpl.php | 443-------------------------------------------------------------------------------
themes/default/pages/html/folder/info.tpl.php | 257-------------------------------------------------------------------------------
themes/default/pages/html/folder/inherit.tpl.php | 86-------------------------------------------------------------------------------
themes/default/pages/html/folder/order.tpl.php | 610------------------------------------------------------------------------------
themes/default/pages/html/folder/prop.tpl.php | 79-------------------------------------------------------------------------------
themes/default/pages/html/folder/pub.tpl.php | 200-------------------------------------------------------------------------------
themes/default/pages/html/folder/remove.tpl.php | 278-------------------------------------------------------------------------------
themes/default/pages/html/folder/select.tpl.php | 436-------------------------------------------------------------------------------
themes/default/pages/html/folder/show.tpl.php | 338-------------------------------------------------------------------------------
themes/default/pages/html/folder/showprop.tpl.php | 1321-------------------------------------------------------------------------------
themes/default/pages/html/group/add.tpl.php | 66------------------------------------------------------------------
themes/default/pages/html/group/adduser.tpl.php | 269-------------------------------------------------------------------------------
themes/default/pages/html/group/edit.tpl.php | 75---------------------------------------------------------------------------
themes/default/pages/html/group/listing.tpl.php | 232-------------------------------------------------------------------------------
themes/default/pages/html/group/memberships.tpl.php | 276-------------------------------------------------------------------------------
themes/default/pages/html/group/remove.tpl.php | 79-------------------------------------------------------------------------------
themes/default/pages/html/group/rights.tpl.php | 469-------------------------------------------------------------------------------
themes/default/pages/html/group/users.tpl.php | 267-------------------------------------------------------------------------------
themes/default/pages/html/grouplist/add.tpl.php | 64----------------------------------------------------------------
themes/default/pages/html/grouplist/show.tpl.php | 142-------------------------------------------------------------------------------
themes/default/pages/html/index/applications.tpl.php | 196-------------------------------------------------------------------------------
themes/default/pages/html/index/changepassword.tpl.php | 256-------------------------------------------------------------------------------
themes/default/pages/html/index/login.tpl.php | 896-------------------------------------------------------------------------------
themes/default/pages/html/index/password.tpl.php | 296-------------------------------------------------------------------------------
themes/default/pages/html/index/passwordinputcode.tpl.php | 219-------------------------------------------------------------------------------
themes/default/pages/html/index/projectmenu.tpl.php | 308-------------------------------------------------------------------------------
themes/default/pages/html/index/register.tpl.php | 216-------------------------------------------------------------------------------
themes/default/pages/html/index/registeruserdata.tpl.php | 351-------------------------------------------------------------------------------
themes/default/pages/html/index/show.tpl.php | 80-------------------------------------------------------------------------------
themes/default/pages/html/language/add.tpl.php | 104-------------------------------------------------------------------------------
themes/default/pages/html/language/advanced.tpl.php | 91-------------------------------------------------------------------------------
themes/default/pages/html/language/edit.tpl.php | 120-------------------------------------------------------------------------------
themes/default/pages/html/language/listing.tpl.php | 322-------------------------------------------------------------------------------
themes/default/pages/html/language/remove.tpl.php | 96-------------------------------------------------------------------------------
themes/default/pages/html/languagelist/show.tpl.php | 248-------------------------------------------------------------------------------
themes/default/pages/html/link/edit.tpl.php | 141-------------------------------------------------------------------------------
themes/default/pages/html/link/info.tpl.php | 280-------------------------------------------------------------------------------
themes/default/pages/html/link/prop.tpl.php | 72------------------------------------------------------------------------
themes/default/pages/html/link/remove.tpl.php | 574-------------------------------------------------------------------------------
themes/default/pages/html/link/showprop.tpl.php | 1239-------------------------------------------------------------------------------
themes/default/pages/html/login/changepassword.tpl.php | 263-------------------------------------------------------------------------------
themes/default/pages/html/login/license.tpl.php | 120-------------------------------------------------------------------------------
themes/default/pages/html/login/login.tpl.php | 519-------------------------------------------------------------------------------
themes/default/pages/html/login/openid.tpl.php | 285-------------------------------------------------------------------------------
themes/default/pages/html/login/password.tpl.php | 137-------------------------------------------------------------------------------
themes/default/pages/html/login/passwordinputcode.tpl.php | 227-------------------------------------------------------------------------------
themes/default/pages/html/login/register.tpl.php | 58----------------------------------------------------------
themes/default/pages/html/login/registeruserdata.tpl.php | 147-------------------------------------------------------------------------------
themes/default/pages/html/login/show.tpl.php | 80-------------------------------------------------------------------------------
themes/default/pages/html/model/add.tpl.php | 74--------------------------------------------------------------------------
themes/default/pages/html/model/edit.tpl.php | 74--------------------------------------------------------------------------
themes/default/pages/html/model/listing.tpl.php | 318-------------------------------------------------------------------------------
themes/default/pages/html/model/remove.tpl.php | 96-------------------------------------------------------------------------------
themes/default/pages/html/modellist/add.tpl.php | 74--------------------------------------------------------------------------
themes/default/pages/html/modellist/show.tpl.php | 244-------------------------------------------------------------------------------
themes/default/pages/html/object/aclform.tpl.php | 362-------------------------------------------------------------------------------
themes/default/pages/html/object/rights.tpl.php | 378-------------------------------------------------------------------------------
themes/default/pages/html/page/changetemplate.tpl.php | 154-------------------------------------------------------------------------------
themes/default/pages/html/page/changetemplateselectelements.tpl.php | 123-------------------------------------------------------------------------------
themes/default/pages/html/page/el.tpl.php | 353-------------------------------------------------------------------------------
themes/default/pages/html/page/form.tpl.php | 497-------------------------------------------------------------------------------
themes/default/pages/html/page/info.tpl.php | 493-------------------------------------------------------------------------------
themes/default/pages/html/page/prop.tpl.php | 488-------------------------------------------------------------------------------
themes/default/pages/html/page/pub.tpl.php | 62--------------------------------------------------------------
themes/default/pages/html/page/show.tpl.php | 138-------------------------------------------------------------------------------
themes/default/pages/html/page/showprop.tpl.php | 1895-------------------------------------------------------------------------------
themes/default/pages/html/page/src.tpl.php | 127-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/advanced.tpl.php | 4473-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/archive.tpl.php | 675-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/diff.tpl.php | 486-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/edit.tpl.php | 2037-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/export.tpl.php | 247-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/import.tpl.php | 259-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/link.tpl.php | 390-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/prop.tpl.php | 719-------------------------------------------------------------------------------
themes/default/pages/html/pageelement/show.tpl.php | 251-------------------------------------------------------------------------------
themes/default/pages/html/profile/confirmmail.tpl.php | 227-------------------------------------------------------------------------------
themes/default/pages/html/profile/edit.tpl.php | 196-------------------------------------------------------------------------------
themes/default/pages/html/profile/groups.tpl.php | 167-------------------------------------------------------------------------------
themes/default/pages/html/profile/mail.tpl.php | 238-------------------------------------------------------------------------------
themes/default/pages/html/profile/memberships.tpl.php | 110-------------------------------------------------------------------------------
themes/default/pages/html/profile/pw.tpl.php | 71-----------------------------------------------------------------------
themes/default/pages/html/profile/pwchange.tpl.php | 207-------------------------------------------------------------------------------
themes/default/pages/html/profile/settings.tpl.php | 244-------------------------------------------------------------------------------
themes/default/pages/html/project/add.tpl.php | 322-------------------------------------------------------------------------------
themes/default/pages/html/project/edit.tpl.php | 129-------------------------------------------------------------------------------
themes/default/pages/html/project/export.tpl.php | 154-------------------------------------------------------------------------------
themes/default/pages/html/project/info.tpl.php | 41-----------------------------------------
themes/default/pages/html/project/listing.tpl.php | 217-------------------------------------------------------------------------------
themes/default/pages/html/project/maintenance.tpl.php | 113-------------------------------------------------------------------------------
themes/default/pages/html/project/remove.tpl.php | 251-------------------------------------------------------------------------------
themes/default/pages/html/projectlist/add.tpl.php | 170-------------------------------------------------------------------------------
themes/default/pages/html/projectlist/show.tpl.php | 129-------------------------------------------------------------------------------
themes/default/pages/html/search/content.tpl.php | 344-------------------------------------------------------------------------------
themes/default/pages/html/search/prop.tpl.php | 421-------------------------------------------------------------------------------
themes/default/pages/html/search/result.tpl.php | 279-------------------------------------------------------------------------------
themes/default/pages/html/start/administration.tpl.php | 0
themes/default/pages/html/start/applications.tpl.php | 240-------------------------------------------------------------------------------
themes/default/pages/html/start/projectmenu.tpl.php | 323-------------------------------------------------------------------------------
themes/default/pages/html/template/add.tpl.php | 466-------------------------------------------------------------------------------
themes/default/pages/html/template/addel.tpl.php | 163-------------------------------------------------------------------------------
themes/default/pages/html/template/edit.tpl.php | 143-------------------------------------------------------------------------------
themes/default/pages/html/template/el.tpl.php | 299-------------------------------------------------------------------------------
themes/default/pages/html/template/extension.tpl.php | 146-------------------------------------------------------------------------------
themes/default/pages/html/template/listing.tpl.php | 253-------------------------------------------------------------------------------
themes/default/pages/html/template/name.tpl.php | 166-------------------------------------------------------------------------------
themes/default/pages/html/template/pages.tpl.php | 107-------------------------------------------------------------------------------
themes/default/pages/html/template/prop.tpl.php | 18------------------
themes/default/pages/html/template/remove.tpl.php | 96-------------------------------------------------------------------------------
themes/default/pages/html/template/src.tpl.php | 240-------------------------------------------------------------------------------
themes/default/pages/html/template/srcelement.tpl.php | 253-------------------------------------------------------------------------------
themes/default/pages/html/templatelist/show.tpl.php | 255-------------------------------------------------------------------------------
themes/default/pages/html/title/show.tpl.php | 331-------------------------------------------------------------------------------
themes/default/pages/html/tree/content.tpl.php | 329-------------------------------------------------------------------------------
themes/default/pages/html/tree/settings.tpl.php | 243-------------------------------------------------------------------------------
themes/default/pages/html/tree/show.tpl.php | 329-------------------------------------------------------------------------------
themes/default/pages/html/user/add.tpl.php | 66------------------------------------------------------------------
themes/default/pages/html/user/addgroup.tpl.php | 308-------------------------------------------------------------------------------
themes/default/pages/html/user/edit.tpl.php | 187-------------------------------------------------------------------------------
themes/default/pages/html/user/groups.tpl.php | 267-------------------------------------------------------------------------------
themes/default/pages/html/user/info.tpl.php | 142-------------------------------------------------------------------------------
themes/default/pages/html/user/listing.tpl.php | 317-------------------------------------------------------------------------------
themes/default/pages/html/user/memberships.tpl.php | 276-------------------------------------------------------------------------------
themes/default/pages/html/user/pw.tpl.php | 97-------------------------------------------------------------------------------
themes/default/pages/html/user/remove.tpl.php | 79-------------------------------------------------------------------------------
themes/default/pages/html/user/rights.tpl.php | 478-------------------------------------------------------------------------------
themes/default/pages/html/userlist/add.tpl.php | 66------------------------------------------------------------------
themes/default/pages/html/userlist/show.tpl.php | 229-------------------------------------------------------------------------------
util/Code.class.php | 2+-
util/FileUtils.class.php | 30+++++++++++++++++++++++-------
util/TemplateEngine.class.php | 13+------------
165 files changed, 39 insertions(+), 52362 deletions(-)

diff --git a/action/Action.class.php b/action/Action.class.php @@ -454,11 +454,6 @@ class Action global $image_dir; global $view; - $tplName = str_replace( '_','/',$tplName ); - - $tplFileName = $tplName.'.tpl.'.PHP_EXT; - $conf_php = PHP_EXT; - // ?bertragen der Array-Variablen in den aktuellen Kontext // extract( $this->templateVars ); @@ -490,8 +485,6 @@ class Action $self = $HTTP_SERVER_VARS['PHP_SELF']; - $tplFileName = str_replace( '_','/',$tplFileName ); - if ( !empty($conf['interface']['override_title']) ) $cms_title = $conf['interface']['override_title']; else @@ -513,12 +506,8 @@ class Action unset($te); } - if ( config('theme','compiler','compile_to_tmp_dir') ) - $iFile = Object::getTempDir().'/'.str_replace('/', '_',$tplFileName); - else - $iFile = $tpl_dir.$tplFileName; + $iFile = FileUtils::getTempDir().'/'.'or.cache.tpl.'.str_replace('/', '.',$tplName).'.tpl.'.PHP_EXT;; - //Html::debug( $iFile ); //try //{ if ( is_file($iFile)) diff --git a/action/FileAction.class.php b/action/FileAction.class.php @@ -171,12 +171,15 @@ class FileAction extends ObjectAction // Groesse des Bildes in Bytes // Der Browser hat so die Moeglichkeit, einen Fortschrittsbalken zu zeigen header('Content-Length: '.filesize($this->file->tmpfile()) ); - + + // Unterscheidung, ob PHP-Code in der Datei ausgefuehrt werden soll. if ( ( config('publish','enable_php_in_file_content')=='auto' && $this->file->getRealExtension()=='php') || config('publish','enable_php_in_file_content')===true ) + // PHP-Code ausfuehren require( $this->file->tmpfile() ); else - readfile( $this->file->tmpfile() ); + // PHP-Code nicht ausfuehren, Datei direkt auf die Standardausgabe schreiben + readfile( $this->file->tmpfile() ); exit; } diff --git a/model/File.class.php b/model/File.class.php @@ -663,7 +663,7 @@ EOF if ( $this->tmpfile == '' ) { $db = db_connection(); - $this->tmpfile = $this->getTempDir().'/openrat_db'.$db->id.'_'.$this->objectid.'.tmp'; + $this->tmpfile = $this->getTempDir().'openrat_db'.$db->id.'_'.$this->objectid.'.tmp'; } return $this->tmpfile; } diff --git a/model/Object.class.php b/model/Object.class.php @@ -1100,70 +1100,6 @@ SQL } } - - /** - * Dateinamen der temporaeren Datei bestimmen - */ - function tmpfileYYYYYY() - { - if ( isset($this->tmpfile) && $this->tmpfile != '' ) - return $this->tmpfile; // Tempor�rer Dateiname bereits vorhanden. - - global $conf; - - // 1. Versuch: Temp-Dir aus Konfiguration. - $tmpdir = @$conf['cache']['tmp_dir']; - if ( $this->tmpfile === FALSE ) - $this->tmpfile = @tempnam( $tmpdir,'openrat_tmp' ); - - // 2. Versuch: Temp-Dir aus "upload_tmp_dir". - if ( $this->tmpfile === FALSE ) - { - Html::debug($this->tmpfile,"nochmal"); - $tmpdir = ini_get('upload_tmp_dir'); - $this->tmpfile = @tempnam( $tmpdir,'openrat_tmp' ); - } - - elseif ( $this->tmpfile === FALSE ) - { - Html::debug($this->tmpfile,"nochmal"); - $this->tmpfile = @tempnam( '','openrat_tmp' ); - } - - Html::debug($this->tmpfile,"tmpfile in objekt"); - Logger::debug( 'creating temporary file: '.$this->tmpfile ); - - return $this->tmpfile; - } - - - /** - * Liefert einen Verzeichnisnamen fuer temporaere Dateien. - */ - function getTempDir() - { - global $conf; - $tmpdir = @$conf['cache']['tmp_dir']; - $tmpfile = @tempnam( $tmpdir,'openrat_tmp' ); - - // 2. Versuch: Temp-Dir aus "upload_tmp_dir". - if ( $tmpfile === FALSE ) - { - $tmpdir = ini_get('upload_tmp_dir'); - $tmpfile = @tempnam( $tmpdir,'openrat_tmp' ); - } - - elseif ( $tmpfile === FALSE ) - { - $tmpfile = @tempnam( '','openrat_tmp' ); - } - - $tmpdir = dirname($tmpfile); - @unlink($tmpfile); - - return $tmpdir; - } - /** @@ -1171,13 +1107,13 @@ SQL * @param $attr Attribute fuer den Dateinamen, um diesen eindeutig zu gestalten. * @return unknown_type */ - function getTempFileName( $attr = array() ) + public function getTempFileName( $attr = array() ) { global $conf; // if ( $conf['cache']['enable_cache'] ) // { - $filename = Object::getTempDir().'/openrat'; + $filename = FileUtils::getTempDir().'/openrat'; foreach( $attr as $a=>$w ) $filename .= '_'.$a.$w; @@ -1199,12 +1135,16 @@ SQL * Gibt ein fertiges Dateihandle fuer eine temporaere Datei zurück. * @return Resource */ - function getTempFile() + protected function getTempFile() { return tmpfile(); } + public function getTempDir() + { + FileUtils::getTempDir(); + } /** * Reihenfolge-Sequenznr. dieses Objektes neu speichern diff --git a/themes/default/pages/.htaccess b/themes/default/pages/.htaccess @@ -1,2 +0,0 @@ -order deny,allow -deny from all- \ No newline at end of file diff --git a/themes/default/pages/README.txt b/themes/default/pages/README.txt @@ -1,6 +0,0 @@ -The files in this directory are created by the template compiler. - -Do NOT change any file in this directory, because they are overwritten! Edit the files under "../templates" instead. - -The template compiler is activated by a configuration flag in file 'config/theme.ini.php' - diff --git a/themes/default/pages/html/configuration/show.tpl.php b/themes/default/pages/html/configuration/show.tpl.php @@ -1,116 +0,0 @@ -<?php $a2_name='';$a2_views='create';$a2_back=false; ?><div class="header"> - <?php if ($a2_back) { ?> - <a href="javascript:void(0);" onclick="javascript:refreshActualView(this);" class="back button"> - <img src="<?php echo $image_dir ?>icon/window/back.gif" /> - <?php echo lang('BACK') ?> - </a> - <?php } ?><?php if(!empty($a2_views)) { ?> - <img src="<?php echo $image_dir ?>icon/window/down.gif" /> - <div class="headermenu"> - <?php foreach( explode(',',$a2_views) as $a2_tmp_view ) { ?> - <a class="entry" href="javascript:void(0);" onclick="javascript:startView(this,'<?php echo $a2_tmp_view ?>');"> - <img src="<?php echo $image_dir ?>icon/<?php echo $a2_tmp_view ?>.png" /><?php echo lang('MENU_'.$a2_tmp_view) ?> - </a> - <?php } ?> - </div> -<?php } ?> -</div><?php unset($a2_name,$a2_views,$a2_back) ?><?php $a2_width='100%';$a2_space='0px';$a2_padding='0px'; ?><?php - $last_column_idx = @$column_idx; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="%class%" cellspacing="0px" width="100%" cellpadding="0px"> -<?php unset($a2_width,$a2_space,$a2_padding) ?><?php $a3_class='headline'; ?><?php - $column_idx = 0; -?> -<tr - class="headline" -> -<?php unset($a3_class) ?><?php $a4_class='help';$a4_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="help" -><?php unset($a4_class,$a4_header) ?><?php $a5_class='text';$a5_key='GLOBAL_NAME';$a5_escape=true;$a5_cut='both'; ?><?php - $a5_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php - $langF = $a5_escape?'langHtml':'lang'; - $tmp_text = $langF($a5_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_key,$a5_escape,$a5_cut) ?></td><?php $a4_class='help';$a4_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="help" -><?php unset($a4_class,$a4_header) ?><?php $a5_class='text';$a5_key='GLOBAL_VALUE';$a5_escape=true;$a5_cut='both'; ?><?php - $a5_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php - $langF = $a5_escape?'langHtml':'lang'; - $tmp_text = $langF($a5_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_key,$a5_escape,$a5_cut) ?></td></tr><?php $a3_list='config';$a3_extract=true;$a3_key='list_key';$a3_value='list_value'; ?><?php - $a3_list_tmp_key = $a3_key; - $a3_list_tmp_value = $a3_value; - $a3_list_extract = $a3_extract; - unset($a3_key); - unset($a3_value); - if ( !isset($$a3_list) || !is_array($$a3_list) ) - $$a3_list = array(); - foreach( $$a3_list as $$a3_list_tmp_key => $$a3_list_tmp_value ) - { - if ( $a3_list_extract ) - { - if ( !is_array($$a3_list_tmp_value) ) - { - print_r($$a3_list_tmp_value); - die( 'not an array at key: '.$$a3_list_tmp_key ); - } - extract($$a3_list_tmp_value); - } -?><?php unset($a3_list,$a3_extract,$a3_key,$a3_value) ?><?php $a4_class='data'; ?><?php - $column_idx = 0; -?> -<tr - class="data" -> -<?php unset($a4_class) ?><?php $a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a5_header) ?><?php $a6_class='text';$a6_var='key';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></td><?php $a5_class=$class;$a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="<?php echo $class ?>" -><?php unset($a5_class,$a5_header) ?><?php $a6_class=$class;$a6_var='value';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></td></tr><?php } ?><?php - $column_idx = $last_column_idx; -?> -</table>- \ No newline at end of file diff --git a/themes/default/pages/html/element/delete.tpl.php b/themes/default/pages/html/element/delete.tpl.php @@ -1,152 +0,0 @@ -<?php $a2_name='';$a2_back=true; ?><div class="header"> - <?php if ($a2_back) { ?> - <a href="javascript:void(0);" onclick="javascript:refreshActualView(this);" class="back button"> - <img src="<?php echo $image_dir ?>icon/window/back.gif" /> - <?php echo lang('BACK') ?> - </a> - <?php } ?><?php if(!empty($a2_views)) { ?> - <img src="<?php echo $image_dir ?>icon/window/down.gif" /> - <div class="headermenu"> - <?php foreach( explode(',',$a2_views) as $a2_tmp_view ) { ?> - <a class="entry" href="javascript:void(0);" onclick="javascript:startView(this,'<?php echo $a2_tmp_view ?>');"> - <img src="<?php echo $image_dir ?>icon/<?php echo $a2_tmp_view ?>.png" /><?php echo lang('MENU_'.$a2_tmp_view) ?> - </a> - <?php } ?> - </div> -<?php } ?> -</div><?php unset($a2_name,$a2_back) ?><?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_key='ELEMENT_NAME';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_key,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='name';$a6_var='name';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div></fieldset><?php $a3_title=lang('options'); ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a3_title) ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_default=false;$a6_readonly=false;$a6_name='confirm'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ( isset($$a6_name) ) - $checked = $$a6_name; - else - $checked = $a6_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a6_name ?>" name="<?php echo $a6_name ?>" <?php if ($a6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a6_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a6_name ?>" value="1" /><?php -} -?><?php unset($a6_name); unset($a6_readonly); unset($a6_default); ?><?php unset($a6_default,$a6_readonly,$a6_name) ?><?php $a6_for='confirm'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='CONFIRM_DELETE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_raw='_____';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a6_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_raw,$a6_escape,$a6_cut) ?><?php $a6_readonly=false;$a6_name='type';$a6_value='value';$a6_default='value';$a6_prefix='';$a6_suffix='';$a6_class='';$a6_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ( isset($$a6_name) ) - $a6_tmp_default = $$a6_name; - elseif ( isset($a6_default) ) - $a6_tmp_default = $a6_default; - else - $a6_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a6_name.'_'.$a6_value ?>" name="<?php echo $a6_prefix.$a6_name ?>"<?php if ( $a6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a6_value ?>" <?php if($a6_value==$a6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a6_readonly,$a6_name,$a6_value,$a6_default,$a6_prefix,$a6_suffix,$a6_class,$a6_onchange) ?><?php $a6_for='type_value'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='ELEMENT_DELETE_VALUES';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label><br/><?php $a6_class='text';$a6_raw='_____';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a6_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_raw,$a6_escape,$a6_cut) ?><?php $a6_readonly=false;$a6_name='type';$a6_value='all';$a6_default=false;$a6_prefix='';$a6_suffix='';$a6_class='';$a6_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ( isset($$a6_name) ) - $a6_tmp_default = $$a6_name; - elseif ( isset($a6_default) ) - $a6_tmp_default = $a6_default; - else - $a6_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a6_name.'_'.$a6_value ?>" name="<?php echo $a6_prefix.$a6_name ?>"<?php if ( $a6_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a6_value ?>" <?php if($a6_value==$a6_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a6_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a6_readonly,$a6_name,$a6_value,$a6_default,$a6_prefix,$a6_suffix,$a6_class,$a6_onchange) ?><?php $a6_for='type_all'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='DELETE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div></div></fieldset></form> diff --git a/themes/default/pages/html/element/edit.tpl.php b/themes/default/pages/html/element/edit.tpl.php @@ -1,86 +0,0 @@ -<?php $a2_name='';$a2_views='type,delete';$a2_back=false; ?><div class="header"> - <?php if ($a2_back) { ?> - <a href="javascript:void(0);" onclick="javascript:refreshActualView(this);" class="back button"> - <img src="<?php echo $image_dir ?>icon/window/back.gif" /> - <?php echo lang('BACK') ?> - </a> - <?php } ?><?php if(!empty($a2_views)) { ?> - <img src="<?php echo $image_dir ?>icon/window/down.gif" /> - <div class="headermenu"> - <?php foreach( explode(',',$a2_views) as $a2_tmp_view ) { ?> - <a class="entry" href="javascript:void(0);" onclick="javascript:startView(this,'<?php echo $a2_tmp_view ?>');"> - <img src="<?php echo $image_dir ?>icon/<?php echo $a2_tmp_view ?>.png" /><?php echo lang('MENU_'.$a2_tmp_view) ?> - </a> - <?php } ?> - </div> -<?php } ?> -</div><?php unset($a2_name,$a2_views,$a2_back) ?><?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><?php $a3_class='line'; ?><div class="<?php echo $a3_class ?>"><?php unset($a3_class) ?><?php $a4_class='label'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='text';$a5_text='ELEMENT_NAME';$a5_escape=true;$a5_cut='both'; ?><?php - $a5_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php - $langF = $a5_escape?'langHtml':'lang'; - $tmp_text = $langF($a5_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_text,$a5_escape,$a5_cut) ?></div><?php $a4_class='input'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='focus';$a5_default='';$a5_type='text';$a5_name='name';$a5_size='';$a5_maxlength='256';$a5_onchange='';$a5_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a5_readonly=true; - if ($a5_readonly && empty($$a5_name)) $$a5_name = '- '.lang('EMPTY').' -'; - if(!isset($a5_default)) $a5_default=''; - $tmp_value = Text::encodeHtml(isset($$a5_name)?$$a5_name:$a5_default); -?><?php if (!$a5_readonly || $a5_type=='hidden') { -?><input<?php if ($a5_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a5_name ?><?php if ($a5_readonly) echo '_disabled' ?>" name="<?php echo $a5_name ?><?php if ($a5_readonly) echo '_disabled' ?>" type="<?php echo $a5_type ?>" maxlength="<?php echo $a5_maxlength ?>" class="<?php echo str_replace(',',' ',$a5_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a5_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a5_readonly) { -?><input type="hidden" id="id_<?php echo $a5_name ?>" name="<?php echo $a5_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a5_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a5_class,$a5_default,$a5_type,$a5_name,$a5_size,$a5_maxlength,$a5_onchange,$a5_readonly) ?></div></div><?php $a3_class='line'; ?><div class="<?php echo $a3_class ?>"><?php unset($a3_class) ?><?php $a4_class='label'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='text';$a5_text='GLOBAL_DESCRIPTION';$a5_escape=true;$a5_cut='both'; ?><?php - $a5_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php - $langF = $a5_escape?'langHtml':'lang'; - $tmp_text = $langF($a5_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_text,$a5_escape,$a5_cut) ?></div><?php $a4_class='input'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_name='description';$a5_rows='5';$a5_cols='40';$a5_class='inputarea';$a5_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a5_class ?>" name="<?php echo $a5_name ?>" rows="<?php echo $a5_rows ?>" cols="<?php echo $a5_cols ?>"><?php echo htmlentities(isset($$a5_name)?$$a5_name:$a5_default) ?></textarea><?php - } else { -?><span class="<?php echo $a5_class ?>"><?php echo isset($$a5_name)?$$a5_name:$a5_default ?></span><?php } ?><?php unset($a5_name,$a5_rows,$a5_cols,$a5_class,$a5_default) ?></div></div></form> diff --git a/themes/default/pages/html/element/name.tpl.php b/themes/default/pages/html/element/name.tpl.php @@ -1,246 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_name='GLOBAL_NAME';$a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_name,$a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_text='ELEMENT_NAME';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='name';$a7_size='';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_text='GLOBAL_DESCRIPTION';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_name='description';$a7_rows='5';$a7_cols='50';$a7_class='inputarea';$a7_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a7_class ?>" name="<?php echo $a7_name ?>" rows="<?php echo $a7_rows ?>" cols="<?php echo $a7_cols ?>"><?php echo htmlentities(isset($$a7_name)?$$a7_name:$a7_default) ?></textarea><?php - } else { -?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_name,$a7_rows,$a7_cols,$a7_class,$a7_default) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_class='act';$a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" - colspan="2" -><?php unset($a6_class,$a6_colspan,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> -<?php $a3_field='name'; ?><script name="JavaScript" type="text/javascript"><!-- -</script> -<?php unset($a3_field) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/element/prop.tpl.php b/themes/default/pages/html/element/prop.tpl.php @@ -1,878 +0,0 @@ -<?php $a2_name='';$a2_back=false; ?><div class="header"> - <?php if ($a2_back) { ?> - <a href="javascript:void(0);" onclick="javascript:refreshActualView(this);" class="back button"> - <img src="<?php echo $image_dir ?>icon/window/back.gif" /> - <?php echo lang('BACK') ?> - </a> - <?php } ?><?php if(!empty($a2_views)) { ?> - <img src="<?php echo $image_dir ?>icon/window/down.gif" /> - <div class="headermenu"> - <?php foreach( explode(',',$a2_views) as $a2_tmp_view ) { ?> - <a class="entry" href="javascript:void(0);" onclick="javascript:startView(this,'<?php echo $a2_tmp_view ?>');"> - <img src="<?php echo $image_dir ?>icon/<?php echo $a2_tmp_view ?>.png" /><?php echo lang('MENU_'.$a2_tmp_view) ?> - </a> - <?php } ?> - </div> -<?php } ?> -</div><?php unset($a2_name,$a2_back) ?><?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php $a4_present='subtype'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='ELEMENT_SUBTYPE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_present='subtypes'; ?><?php - $a7_tmp_exec = isset($$a7_present); - $a7_tmp_last_exec = $a7_tmp_exec; - if ( $a7_tmp_exec ) - { -?> -<?php unset($a7_present) ?><?php $a8_list='subtypes';$a8_name='subtype';$a8_onchange='';$a8_title='';$a8_class='';$a8_addempty=true;$a8_multiple=false;$a8_size='1';$a8_lang=false; ?><?php -$a8_readonly=false; -$a8_tmp_list = $$a8_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a8_name)?'- '.lang('EMPTY').' -':$a8_tmp_list[$$a8_name]; -} -else -{ -if ( $a8_addempty!==FALSE ) -{ - if ($a8_addempty===TRUE) - $a8_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a8_tmp_list; - else - $a8_tmp_list = array(''=>'- '.lang($a8_addempty).' -')+$a8_tmp_list; -} -?><select<?php if ($a8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name; if ($a8_multiple) echo '[]'; ?>" onchange="<?php echo $a8_onchange ?>" title="<?php echo $a8_title ?>" class="<?php echo $a8_class ?>"<?php -if (count($$a8_list)<=1) echo ' disabled="disabled"'; -if ($a8_multiple) echo ' multiple="multiple"'; -if (in_array($a8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a8_size).'"'; -?>><?php - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a8_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a8_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a8_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a8_list)==0) echo '<input type="hidden" name="'.$a8_name.'" value="" />'; -if (count($$a8_list)==1) echo '<input type="hidden" name="'.$a8_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class,$a8_addempty,$a8_multiple,$a8_size,$a8_lang) ?><?php } ?><?php $a7_not=true;$a7_present='subtypes'; ?><?php - $a7_tmp_exec = isset($$a7_present); - $a7_tmp_exec = !$a7_tmp_exec; - $a7_tmp_last_exec = $a7_tmp_exec; - if ( $a7_tmp_exec ) - { -?> -<?php unset($a7_not,$a7_present) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='subtype';$a8_size='';$a8_maxlength='256';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?><?php } ?></div></div><?php } ?><?php $a4_present='with_icon'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_default=false;$a7_readonly=false;$a7_name='with_icon'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $checked = $$a7_name; - else - $checked = $a7_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" <?php if ($a7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a7_name ?>" value="1" /><?php -} -?><?php unset($a7_name); unset($a7_readonly); unset($a7_default); ?><?php unset($a7_default,$a7_readonly,$a7_name) ?><?php $a7_for='with_icon'; ?><label<?php if (isset($a7_for)) { ?> for="id_<?php echo $a7_for ?><?php if (!empty($a7_value)) echo '_'.$a7_value ?>" class="label"<?php } ?>> -<?php if (isset($a7_key)) { echo lang($a7_key); if(hasLang($a7_key.'_desc')) { ?><div class="description"><?php echo lang($a7_key.'_desc')?></div> <?php } } ?><?php unset($a7_for) ?><?php $a8_class='text';$a8_text='EL_PROP_WITH_ICON';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></label></div></div><?php } ?><?php $a4_present='all_languages'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_default=false;$a7_readonly=false;$a7_name='all_languages'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $checked = $$a7_name; - else - $checked = $a7_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" <?php if ($a7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a7_name ?>" value="1" /><?php -} -?><?php unset($a7_name); unset($a7_readonly); unset($a7_default); ?><?php unset($a7_default,$a7_readonly,$a7_name) ?><?php $a7_for='all_languages'; ?><label<?php if (isset($a7_for)) { ?> for="id_<?php echo $a7_for ?><?php if (!empty($a7_value)) echo '_'.$a7_value ?>" class="label"<?php } ?>> -<?php if (isset($a7_key)) { echo lang($a7_key); if(hasLang($a7_key.'_desc')) { ?><div class="description"><?php echo lang($a7_key.'_desc')?></div> <?php } } ?><?php unset($a7_for) ?><?php $a8_class='text';$a8_text='EL_PROP_ALL_LANGUAGES';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></label></div></div><?php } ?><?php $a4_present='writable'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_default=false;$a7_readonly=false;$a7_name='writable'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $checked = $$a7_name; - else - $checked = $a7_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" <?php if ($a7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a7_name ?>" value="1" /><?php -} -?><?php unset($a7_name); unset($a7_readonly); unset($a7_default); ?><?php unset($a7_default,$a7_readonly,$a7_name) ?><?php $a7_for='writable'; ?><label<?php if (isset($a7_for)) { ?> for="id_<?php echo $a7_for ?><?php if (!empty($a7_value)) echo '_'.$a7_value ?>" class="label"<?php } ?>> -<?php if (isset($a7_key)) { echo lang($a7_key); if(hasLang($a7_key.'_desc')) { ?><div class="description"><?php echo lang($a7_key.'_desc')?></div> <?php } } ?><?php unset($a7_for) ?><?php $a8_class='text';$a8_text='EL_PROP_writable';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></label></div></div><?php } ?><?php $a4_present='width'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='width';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='width';$a7_size='10';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></div></div><?php } ?><?php $a4_present='height'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='height';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='height';$a7_size='10';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></div></div><?php } ?><?php $a4_present='dateformat'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_DATEFORMAT';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='dateformats';$a7_name='dateformat';$a7_onchange='';$a7_title='';$a7_class='';$a7_addempty=false;$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?></div></div><?php } ?><?php $a4_present='format'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_FORMAT';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='formatlist';$a7_name='format';$a7_onchange='';$a7_title='';$a7_class=''; ?><?php $a7_tmp_list = $$a7_list; - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - $box_value = is_array($box_value)?(isset($box_value['lang'])?langHtml($box_value['lang']):$box_value['value']):$box_value; - $id = 'id_'.$a7_name.'_'.$box_key; - echo '<input id="'.$id.'" name="'.$a7_name.'" type="radio" class="'.$a7_class.'" value="'.$box_key.'"'; - if ($box_key==$a7_tmp_default) - echo ' checked="checked"'; - echo ' />&nbsp;<label for="'.$id.'">'.$box_value.'</label><br />'; - } -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class) ?></div></div><?php } ?><?php $a4_present='decimals'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_DECIMALS';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='decimals';$a7_size='10';$a7_maxlength='2';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></div></div><?php } ?><?php $a4_present='dec_point'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_DEC_POINT';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='dec_point';$a7_size='10';$a7_maxlength='5';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></div></div><?php } ?><?php $a4_present='thousand_sep'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_thousand_sep';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='thousand_sep';$a7_size='10';$a7_maxlength='1';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></div></div><?php } ?><?php $a4_present='default_text'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_default_text';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='default_text';$a7_size='40';$a7_maxlength='255';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; - if(!isset($a7_default)) $a7_default=''; - $tmp_value = Text::encodeHtml(isset($$a7_name)?$$a7_name:$a7_default); -?><?php if (!$a7_readonly || $a7_type=='hidden') { -?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo str_replace(',',' ',$a7_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a7_readonly) { -?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a7_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?></div></div><?php } ?><?php $a4_present='default_longtext'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_default_longtext';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_name='default_longtext';$a7_rows='10';$a7_cols='40';$a7_class='inputarea';$a7_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a7_class ?>" name="<?php echo $a7_name ?>" rows="<?php echo $a7_rows ?>" cols="<?php echo $a7_cols ?>"><?php echo htmlentities(isset($$a7_name)?$$a7_name:$a7_default) ?></textarea><?php - } else { -?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_name,$a7_rows,$a7_cols,$a7_class,$a7_default) ?></div></div><?php } ?><?php $a4_present='parameters'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_DYNAMIC_PARAMETERS';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_name='parameters';$a7_rows='15';$a7_cols='40';$a7_class='inputarea';$a7_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a7_class ?>" name="<?php echo $a7_name ?>" rows="<?php echo $a7_rows ?>" cols="<?php echo $a7_cols ?>"><?php echo htmlentities(isset($$a7_name)?$$a7_name:$a7_default) ?></textarea><?php - } else { -?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_name,$a7_rows,$a7_cols,$a7_class,$a7_default) ?></div></div><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='dynamic_class_parameters';$a7_extract=false;$a7_key='paramName';$a7_value='defaultValue'; ?><?php - $a7_list_tmp_key = $a7_key; - $a7_list_tmp_value = $a7_value; - $a7_list_extract = $a7_extract; - unset($a7_key); - unset($a7_value); - if ( !isset($$a7_list) || !is_array($$a7_list) ) - $$a7_list = array(); - foreach( $$a7_list as $$a7_list_tmp_key => $$a7_list_tmp_value ) - { - if ( $a7_list_extract ) - { - if ( !is_array($$a7_list_tmp_value) ) - { - print_r($$a7_list_tmp_value); - die( 'not an array at key: '.$$a7_list_tmp_key ); - } - extract($$a7_list_tmp_value); - } -?><?php unset($a7_list,$a7_extract,$a7_key,$a7_value) ?><?php $a8_class='text';$a8_var='paramName';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = isset($$a8_var)?$$a8_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_var,$a8_escape,$a8_cut) ?><?php $a8_class='text';$a8_raw='_(';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a8_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_raw,$a8_escape,$a8_cut) ?><?php $a8_class='text';$a8_text='GLOBAL_DEFAULT';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?><?php $a8_class='text';$a8_raw=')_=_';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a8_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_raw,$a8_escape,$a8_cut) ?><?php $a8_class='text';$a8_var='defaultValue';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = isset($$a8_var)?$$a8_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_var,$a8_escape,$a8_cut) ?><br/><?php } ?></div></div><?php } ?><?php $a4_present='select_items'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_select_items';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_name='select_items';$a7_rows='15';$a7_cols='40';$a7_class='inputarea';$a7_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a7_class ?>" name="<?php echo $a7_name ?>" rows="<?php echo $a7_rows ?>" cols="<?php echo $a7_cols ?>"><?php echo htmlentities(isset($$a7_name)?$$a7_name:$a7_default) ?></textarea><?php - } else { -?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_name,$a7_rows,$a7_cols,$a7_class,$a7_default) ?></div></div><?php } ?><?php $a4_present='linkelement'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_LINK';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='linkelements';$a7_name='linkelement';$a7_onchange='';$a7_title='';$a7_class='';$a7_addempty=false;$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?></div></div><?php } ?><?php $a4_present='name'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='ELEMENT_NAME';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='names';$a7_name='name';$a7_onchange='';$a7_title='';$a7_class='';$a7_addempty=false;$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?></div></div><?php } ?><?php $a4_present='folderobjectid'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_DEFAULT_FOLDEROBJECT';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='folders';$a7_name='folderobjectid';$a7_onchange='';$a7_title='';$a7_class='';$a7_addempty=false;$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?></div></div><?php } ?><?php $a4_present='default_objectid'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_DEFAULT_OBJECT';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_list='objects';$a7_name='default_objectid';$a7_onchange='';$a7_title='';$a7_class='';$a7_addempty=true;$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?></div></div><?php } ?><?php $a4_present='code'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_text='EL_PROP_code';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_name='code';$a7_rows='35';$a7_cols='40';$a7_class='inputarea';$a7_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a7_class ?>" name="<?php echo $a7_name ?>" rows="<?php echo $a7_rows ?>" cols="<?php echo $a7_cols ?>"><?php echo htmlentities(isset($$a7_name)?$$a7_name:$a7_default) ?></textarea><?php - } else { -?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_name,$a7_rows,$a7_cols,$a7_class,$a7_default) ?></div></div><?php } ?></fieldset></form> diff --git a/themes/default/pages/html/element/properties.tpl.php b/themes/default/pages/html/element/properties.tpl.php @@ -1,1396 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_name='GLOBAL_PREFS';$a4_widths='30%,70%';$a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_name,$a4_widths,$a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php $a5_present='subtype'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='ELEMENT_SUBTYPE';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_present='subtypes'; ?><?php - $a8_tmp_exec = isset($$a8_present); - $a8_tmp_last_exec = $a8_tmp_exec; - if ( $a8_tmp_exec ) - { -?> -<?php unset($a8_present) ?><?php $a9_list='subtypes';$a9_name='subtype';$a9_onchange='';$a9_title='';$a9_class='';$a9_addempty=true;$a9_multiple=false;$a9_size='1';$a9_lang=false; ?><?php -$a9_readonly=false; -$a9_tmp_list = $$a9_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a9_name)?'- '.lang('EMPTY').' -':$a9_tmp_list[$$a9_name]; -} -else -{ -if ( $a9_addempty!==FALSE ) -{ - if ($a9_addempty===TRUE) - $a9_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a9_tmp_list; - else - $a9_tmp_list = array(''=>'- '.lang($a9_addempty).' -')+$a9_tmp_list; -} -?><select<?php if ($a9_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a9_name ?>" name="<?php echo $a9_name; if ($a9_multiple) echo '[]'; ?>" onchange="<?php echo $a9_onchange ?>" title="<?php echo $a9_title ?>" class="<?php echo $a9_class ?>"<?php -if (count($$a9_list)<=1) echo ' disabled="disabled"'; -if ($a9_multiple) echo ' multiple="multiple"'; -if (in_array($a9_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a9_size).'"'; -?>><?php - if ( isset($$a9_name) && isset($a9_tmp_list[$$a9_name]) ) - $a9_tmp_default = $$a9_name; - elseif ( isset($a9_default) ) - $a9_tmp_default = $a9_default; - else - $a9_tmp_default = ''; - foreach( $a9_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a9_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a9_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a9_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a9_list)==0) echo '<input type="hidden" name="'.$a9_name.'" value="" />'; -if (count($$a9_list)==1) echo '<input type="hidden" name="'.$a9_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a9_list,$a9_name,$a9_onchange,$a9_title,$a9_class,$a9_addempty,$a9_multiple,$a9_size,$a9_lang) ?><?php } ?><?php $a8_not=true;$a8_present='subtypes'; ?><?php - $a8_tmp_exec = isset($$a8_present); - $a8_tmp_exec = !$a8_tmp_exec; - $a8_tmp_last_exec = $a8_tmp_exec; - if ( $a8_tmp_exec ) - { -?> -<?php unset($a8_not,$a8_present) ?><?php $a9_class='text';$a9_default='';$a9_type='text';$a9_name='subtype';$a9_size='';$a9_maxlength='256';$a9_onchange='';$a9_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a9_readonly=true; - if ($a9_readonly && empty($$a9_name)) $$a9_name = '- '.lang('EMPTY').' -'; - if(!isset($a9_default)) $a9_default=''; - $tmp_value = Text::encodeHtml(isset($$a9_name)?$$a9_name:$a9_default); -?><?php if (!$a9_readonly || $a9_type=='hidden') { -?><input<?php if ($a9_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a9_name ?><?php if ($a9_readonly) echo '_disabled' ?>" name="<?php echo $a9_name ?><?php if ($a9_readonly) echo '_disabled' ?>" type="<?php echo $a9_type ?>" maxlength="<?php echo $a9_maxlength ?>" class="<?php echo str_replace(',',' ',$a9_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a9_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a9_readonly) { -?><input type="hidden" id="id_<?php echo $a9_name ?>" name="<?php echo $a9_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a9_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a9_class,$a9_default,$a9_type,$a9_name,$a9_size,$a9_maxlength,$a9_onchange,$a9_readonly) ?><?php } ?></td></tr><?php } ?><?php $a5_present='with_icon'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_WITH_ICON';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_default=false;$a8_readonly=false;$a8_name='with_icon'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ( isset($$a8_name) ) - $checked = $$a8_name; - else - $checked = $a8_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" <?php if ($a8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a8_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a8_name ?>" value="1" /><?php -} -?><?php unset($a8_name); unset($a8_readonly); unset($a8_default); ?><?php unset($a8_default,$a8_readonly,$a8_name) ?></td></tr><?php } ?><?php $a5_present='all_languages'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_ALL_LANGUAGES';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_default=false;$a8_readonly=false;$a8_name='all_languages'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ( isset($$a8_name) ) - $checked = $$a8_name; - else - $checked = $a8_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" <?php if ($a8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a8_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a8_name ?>" value="1" /><?php -} -?><?php unset($a8_name); unset($a8_readonly); unset($a8_default); ?><?php unset($a8_default,$a8_readonly,$a8_name) ?></td></tr><?php } ?><?php $a5_present='writable'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_writable';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_default=false;$a8_readonly=false;$a8_name='writable'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ( isset($$a8_name) ) - $checked = $$a8_name; - else - $checked = $a8_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" <?php if ($a8_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a8_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a8_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a8_name ?>" value="1" /><?php -} -?><?php unset($a8_name); unset($a8_readonly); unset($a8_default); ?><?php unset($a8_default,$a8_readonly,$a8_name) ?></td></tr><?php } ?><?php $a5_present='width'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='width';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='width';$a8_size='10';$a8_maxlength='256';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?></td></tr><?php } ?><?php $a5_present='height'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='height';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='height';$a8_size='10';$a8_maxlength='256';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?></td></tr><?php } ?><?php $a5_present='dateformat'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_DATEFORMAT';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='dateformats';$a8_name='dateformat';$a8_onchange='';$a8_title='';$a8_class='';$a8_addempty=false;$a8_multiple=false;$a8_size='1';$a8_lang=false; ?><?php -$a8_readonly=false; -$a8_tmp_list = $$a8_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a8_name)?'- '.lang('EMPTY').' -':$a8_tmp_list[$$a8_name]; -} -else -{ -if ( $a8_addempty!==FALSE ) -{ - if ($a8_addempty===TRUE) - $a8_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a8_tmp_list; - else - $a8_tmp_list = array(''=>'- '.lang($a8_addempty).' -')+$a8_tmp_list; -} -?><select<?php if ($a8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name; if ($a8_multiple) echo '[]'; ?>" onchange="<?php echo $a8_onchange ?>" title="<?php echo $a8_title ?>" class="<?php echo $a8_class ?>"<?php -if (count($$a8_list)<=1) echo ' disabled="disabled"'; -if ($a8_multiple) echo ' multiple="multiple"'; -if (in_array($a8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a8_size).'"'; -?>><?php - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a8_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a8_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a8_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a8_list)==0) echo '<input type="hidden" name="'.$a8_name.'" value="" />'; -if (count($$a8_list)==1) echo '<input type="hidden" name="'.$a8_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class,$a8_addempty,$a8_multiple,$a8_size,$a8_lang) ?></td></tr><?php } ?><?php $a5_present='format'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_FORMAT';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='formatlist';$a8_name='format';$a8_onchange='';$a8_title='';$a8_class=''; ?><?php $a8_tmp_list = $$a8_list; - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - $box_value = is_array($box_value)?(isset($box_value['lang'])?langHtml($box_value['lang']):$box_value['value']):$box_value; - $id = 'id_'.$a8_name.'_'.$box_key; - echo '<input id="'.$id.'" name="'.$a8_name.'" type="radio" class="'.$a8_class.'" value="'.$box_key.'"'; - if ($box_key==$a8_tmp_default) - echo ' checked="checked"'; - echo ' />&nbsp;<label for="'.$id.'">'.$box_value.'</label><br />'; - } -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class) ?></td></tr><?php } ?><?php $a5_present='decimals'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_DECIMALS';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='decimals';$a8_size='10';$a8_maxlength='2';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?></td></tr><?php } ?><?php $a5_present='dec_point'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_DEC_POINT';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='dec_point';$a8_size='10';$a8_maxlength='5';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?></td></tr><?php } ?><?php $a5_present='thousand_sep'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_thousand_sep';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='thousand_sep';$a8_size='10';$a8_maxlength='1';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?></td></tr><?php } ?><?php $a5_present='default_text'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_default_text';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_default='';$a8_type='text';$a8_name='default_text';$a8_size='40';$a8_maxlength='255';$a8_onchange='';$a8_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a8_readonly=true; - if ($a8_readonly && empty($$a8_name)) $$a8_name = '- '.lang('EMPTY').' -'; - if(!isset($a8_default)) $a8_default=''; - $tmp_value = Text::encodeHtml(isset($$a8_name)?$$a8_name:$a8_default); -?><?php if (!$a8_readonly || $a8_type=='hidden') { -?><input<?php if ($a8_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" name="<?php echo $a8_name ?><?php if ($a8_readonly) echo '_disabled' ?>" type="<?php echo $a8_type ?>" maxlength="<?php echo $a8_maxlength ?>" class="<?php echo str_replace(',',' ',$a8_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a8_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a8_readonly) { -?><input type="hidden" id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a8_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a8_class,$a8_default,$a8_type,$a8_name,$a8_size,$a8_maxlength,$a8_onchange,$a8_readonly) ?></td></tr><?php } ?><?php $a5_present='default_longtext'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_default_longtext';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_name='default_longtext';$a8_rows='10';$a8_cols='40';$a8_class='inputarea';$a8_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a8_class ?>" name="<?php echo $a8_name ?>" rows="<?php echo $a8_rows ?>" cols="<?php echo $a8_cols ?>"><?php echo htmlentities(isset($$a8_name)?$$a8_name:$a8_default) ?></textarea><?php - } else { -?><span class="<?php echo $a8_class ?>"><?php echo isset($$a8_name)?$$a8_name:$a8_default ?></span><?php } ?><?php unset($a8_name,$a8_rows,$a8_cols,$a8_class,$a8_default) ?></td></tr><?php } ?><?php $a5_present='parameters'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_DYNAMIC_PARAMETERS';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_name='parameters';$a8_rows='15';$a8_cols='40';$a8_class='inputarea';$a8_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a8_class ?>" name="<?php echo $a8_name ?>" rows="<?php echo $a8_rows ?>" cols="<?php echo $a8_cols ?>"><?php echo htmlentities(isset($$a8_name)?$$a8_name:$a8_default) ?></textarea><?php - } else { -?><span class="<?php echo $a8_class ?>"><?php echo isset($$a8_name)?$$a8_name:$a8_default ?></span><?php } ?><?php unset($a8_name,$a8_rows,$a8_cols,$a8_class,$a8_default) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='dynamic_class_parameters';$a8_extract=false;$a8_key='paramName';$a8_value='defaultValue'; ?><?php - $a8_list_tmp_key = $a8_key; - $a8_list_tmp_value = $a8_value; - $a8_list_extract = $a8_extract; - unset($a8_key); - unset($a8_value); - if ( !isset($$a8_list) || !is_array($$a8_list) ) - $$a8_list = array(); - foreach( $$a8_list as $$a8_list_tmp_key => $$a8_list_tmp_value ) - { - if ( $a8_list_extract ) - { - if ( !is_array($$a8_list_tmp_value) ) - { - print_r($$a8_list_tmp_value); - die( 'not an array at key: '.$$a8_list_tmp_key ); - } - extract($$a8_list_tmp_value); - } -?><?php unset($a8_list,$a8_extract,$a8_key,$a8_value) ?><?php $a9_class='text';$a9_var='paramName';$a9_escape=true;$a9_cut='both'; ?><?php - $a9_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a9_class ?>" title="<?php echo $a9_title ?>"><?php - $langF = $a9_escape?'langHtml':'lang'; - $tmp_text = isset($$a9_var)?$$a9_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a9_class,$a9_var,$a9_escape,$a9_cut) ?><?php $a9_class='text';$a9_raw='_(';$a9_escape=true;$a9_cut='both'; ?><?php - $a9_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a9_class ?>" title="<?php echo $a9_title ?>"><?php - $langF = $a9_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a9_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a9_class,$a9_raw,$a9_escape,$a9_cut) ?><?php $a9_class='text';$a9_text='GLOBAL_DEFAULT';$a9_escape=true;$a9_cut='both'; ?><?php - $a9_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a9_class ?>" title="<?php echo $a9_title ?>"><?php - $langF = $a9_escape?'langHtml':'lang'; - $tmp_text = $langF($a9_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a9_class,$a9_text,$a9_escape,$a9_cut) ?><?php $a9_class='text';$a9_raw=')_=_';$a9_escape=true;$a9_cut='both'; ?><?php - $a9_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a9_class ?>" title="<?php echo $a9_title ?>"><?php - $langF = $a9_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a9_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a9_class,$a9_raw,$a9_escape,$a9_cut) ?><?php $a9_class='text';$a9_var='defaultValue';$a9_escape=true;$a9_cut='both'; ?><?php - $a9_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a9_class ?>" title="<?php echo $a9_title ?>"><?php - $langF = $a9_escape?'langHtml':'lang'; - $tmp_text = isset($$a9_var)?$$a9_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a9_class,$a9_var,$a9_escape,$a9_cut) ?><br/><?php } ?></td></tr><?php } ?><?php $a5_present='select_items'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_select_items';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_name='select_items';$a8_rows='15';$a8_cols='40';$a8_class='inputarea';$a8_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a8_class ?>" name="<?php echo $a8_name ?>" rows="<?php echo $a8_rows ?>" cols="<?php echo $a8_cols ?>"><?php echo htmlentities(isset($$a8_name)?$$a8_name:$a8_default) ?></textarea><?php - } else { -?><span class="<?php echo $a8_class ?>"><?php echo isset($$a8_name)?$$a8_name:$a8_default ?></span><?php } ?><?php unset($a8_name,$a8_rows,$a8_cols,$a8_class,$a8_default) ?></td></tr><?php } ?><?php $a5_present='linkelement'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_LINK';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='linkelements';$a8_name='linkelement';$a8_onchange='';$a8_title='';$a8_class='';$a8_addempty=false;$a8_multiple=false;$a8_size='1';$a8_lang=false; ?><?php -$a8_readonly=false; -$a8_tmp_list = $$a8_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a8_name)?'- '.lang('EMPTY').' -':$a8_tmp_list[$$a8_name]; -} -else -{ -if ( $a8_addempty!==FALSE ) -{ - if ($a8_addempty===TRUE) - $a8_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a8_tmp_list; - else - $a8_tmp_list = array(''=>'- '.lang($a8_addempty).' -')+$a8_tmp_list; -} -?><select<?php if ($a8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name; if ($a8_multiple) echo '[]'; ?>" onchange="<?php echo $a8_onchange ?>" title="<?php echo $a8_title ?>" class="<?php echo $a8_class ?>"<?php -if (count($$a8_list)<=1) echo ' disabled="disabled"'; -if ($a8_multiple) echo ' multiple="multiple"'; -if (in_array($a8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a8_size).'"'; -?>><?php - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a8_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a8_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a8_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a8_list)==0) echo '<input type="hidden" name="'.$a8_name.'" value="" />'; -if (count($$a8_list)==1) echo '<input type="hidden" name="'.$a8_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class,$a8_addempty,$a8_multiple,$a8_size,$a8_lang) ?></td></tr><?php } ?><?php $a5_present='name'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='ELEMENT_NAME';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='names';$a8_name='name';$a8_onchange='';$a8_title='';$a8_class='';$a8_addempty=false;$a8_multiple=false;$a8_size='1';$a8_lang=false; ?><?php -$a8_readonly=false; -$a8_tmp_list = $$a8_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a8_name)?'- '.lang('EMPTY').' -':$a8_tmp_list[$$a8_name]; -} -else -{ -if ( $a8_addempty!==FALSE ) -{ - if ($a8_addempty===TRUE) - $a8_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a8_tmp_list; - else - $a8_tmp_list = array(''=>'- '.lang($a8_addempty).' -')+$a8_tmp_list; -} -?><select<?php if ($a8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name; if ($a8_multiple) echo '[]'; ?>" onchange="<?php echo $a8_onchange ?>" title="<?php echo $a8_title ?>" class="<?php echo $a8_class ?>"<?php -if (count($$a8_list)<=1) echo ' disabled="disabled"'; -if ($a8_multiple) echo ' multiple="multiple"'; -if (in_array($a8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a8_size).'"'; -?>><?php - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a8_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a8_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a8_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a8_list)==0) echo '<input type="hidden" name="'.$a8_name.'" value="" />'; -if (count($$a8_list)==1) echo '<input type="hidden" name="'.$a8_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class,$a8_addempty,$a8_multiple,$a8_size,$a8_lang) ?></td></tr><?php } ?><?php $a5_present='folderobjectid'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_DEFAULT_FOLDEROBJECT';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='folders';$a8_name='folderobjectid';$a8_onchange='';$a8_title='';$a8_class='';$a8_addempty=false;$a8_multiple=false;$a8_size='1';$a8_lang=false; ?><?php -$a8_readonly=false; -$a8_tmp_list = $$a8_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a8_name)?'- '.lang('EMPTY').' -':$a8_tmp_list[$$a8_name]; -} -else -{ -if ( $a8_addempty!==FALSE ) -{ - if ($a8_addempty===TRUE) - $a8_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a8_tmp_list; - else - $a8_tmp_list = array(''=>'- '.lang($a8_addempty).' -')+$a8_tmp_list; -} -?><select<?php if ($a8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name; if ($a8_multiple) echo '[]'; ?>" onchange="<?php echo $a8_onchange ?>" title="<?php echo $a8_title ?>" class="<?php echo $a8_class ?>"<?php -if (count($$a8_list)<=1) echo ' disabled="disabled"'; -if ($a8_multiple) echo ' multiple="multiple"'; -if (in_array($a8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a8_size).'"'; -?>><?php - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a8_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a8_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a8_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a8_list)==0) echo '<input type="hidden" name="'.$a8_name.'" value="" />'; -if (count($$a8_list)==1) echo '<input type="hidden" name="'.$a8_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class,$a8_addempty,$a8_multiple,$a8_size,$a8_lang) ?></td></tr><?php } ?><?php $a5_present='default_objectid'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_DEFAULT_OBJECT';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_list='objects';$a8_name='default_objectid';$a8_onchange='';$a8_title='';$a8_class='';$a8_addempty=true;$a8_multiple=false;$a8_size='1';$a8_lang=false; ?><?php -$a8_readonly=false; -$a8_tmp_list = $$a8_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a8_name)?'- '.lang('EMPTY').' -':$a8_tmp_list[$$a8_name]; -} -else -{ -if ( $a8_addempty!==FALSE ) -{ - if ($a8_addempty===TRUE) - $a8_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a8_tmp_list; - else - $a8_tmp_list = array(''=>'- '.lang($a8_addempty).' -')+$a8_tmp_list; -} -?><select<?php if ($a8_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a8_name ?>" name="<?php echo $a8_name; if ($a8_multiple) echo '[]'; ?>" onchange="<?php echo $a8_onchange ?>" title="<?php echo $a8_title ?>" class="<?php echo $a8_class ?>"<?php -if (count($$a8_list)<=1) echo ' disabled="disabled"'; -if ($a8_multiple) echo ' multiple="multiple"'; -if (in_array($a8_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a8_size).'"'; -?>><?php - if ( isset($$a8_name) && isset($a8_tmp_list[$$a8_name]) ) - $a8_tmp_default = $$a8_name; - elseif ( isset($a8_default) ) - $a8_tmp_default = $a8_default; - else - $a8_tmp_default = ''; - foreach( $a8_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a8_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a8_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a8_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a8_list)==0) echo '<input type="hidden" name="'.$a8_name.'" value="" />'; -if (count($$a8_list)==1) echo '<input type="hidden" name="'.$a8_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a8_list,$a8_name,$a8_onchange,$a8_title,$a8_class,$a8_addempty,$a8_multiple,$a8_size,$a8_lang) ?></td></tr><?php } ?><?php $a5_present='code'; ?><?php - $a5_tmp_exec = isset($$a5_present); - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_present) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_class='text';$a8_text='EL_PROP_code';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></td><?php $a7_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a7_header) ?><?php $a8_name='code';$a8_rows='35';$a8_cols='60';$a8_class='inputarea';$a8_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a8_class ?>" name="<?php echo $a8_name ?>" rows="<?php echo $a8_rows ?>" cols="<?php echo $a8_cols ?>"><?php echo htmlentities(isset($$a8_name)?$$a8_name:$a8_default) ?></textarea><?php - } else { -?><span class="<?php echo $a8_class ?>"><?php echo isset($$a8_name)?$$a8_name:$a8_default ?></span><?php } ?><?php unset($a8_name,$a8_rows,$a8_cols,$a8_class,$a8_default) ?></td></tr><?php } ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_class='act';$a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" - colspan="2" -><?php unset($a6_class,$a6_colspan,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> -<?php $a3_field='name'; ?><script name="JavaScript" type="text/javascript"><!-- -</script> -<?php unset($a3_field) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/element/remove.tpl.php b/themes/default/pages/html/element/remove.tpl.php @@ -1,332 +0,0 @@ -<?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><?php $a3_width='93%';$a3_rowclasses='odd,even';$a3_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a3_width,$a3_rowclasses,$a3_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a5_header) ?><?php $a6_class='text';$a6_text='ELEMENT_NAME';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></td><?php $a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a5_header) ?><?php $a6_class='text';$a6_var='name';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a5_colspan='2';$a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a5_colspan,$a5_header) ?><?php $a6_title=lang('options'); ?><fieldset><?php if(isset($a6_title)) { ?><legend><?php if(isset($a6_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a6_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a6_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a6_title) ?></fieldset></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a5_colspan='2';$a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a5_colspan,$a5_header) ?><?php $a6_default=false;$a6_readonly=false;$a6_name='confirm'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ( isset($$a6_name) ) - $checked = $$a6_name; - else - $checked = $a6_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a6_name ?>" name="<?php echo $a6_name ?>" <?php if ($a6_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a6_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a6_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a6_name ?>" value="1" /><?php -} -?><?php unset($a6_name); unset($a6_readonly); unset($a6_default); ?><?php unset($a6_default,$a6_readonly,$a6_name) ?><?php $a6_for='confirm'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='CONFIRM_DELETE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a5_colspan='2';$a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a5_colspan,$a5_header) ?><?php $a6_for='type_value'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_raw='_____';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a7_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_raw,$a7_escape,$a7_cut) ?><?php $a7_readonly=false;$a7_name='type';$a7_value='value';$a7_default='value';$a7_prefix='';$a7_suffix='';$a7_class='';$a7_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a7_name.'_'.$a7_value ?>" name="<?php echo $a7_prefix.$a7_name ?>"<?php if ( $a7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a7_value ?>" <?php if($a7_value==$a7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a7_readonly,$a7_name,$a7_value,$a7_default,$a7_prefix,$a7_suffix,$a7_class,$a7_onchange) ?><?php $a7_class='text';$a7_text='ELEMENT_DELETE_VALUES';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label><br/><?php $a6_for='type_all'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_raw='_____';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a7_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_raw,$a7_escape,$a7_cut) ?><?php $a7_readonly=false;$a7_name='type';$a7_value='all';$a7_default=false;$a7_prefix='';$a7_suffix='';$a7_class='';$a7_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a7_name.'_'.$a7_value ?>" name="<?php echo $a7_prefix.$a7_name ?>"<?php if ( $a7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a7_value ?>" <?php if($a7_value==$a7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a7_readonly,$a7_name,$a7_value,$a7_default,$a7_prefix,$a7_suffix,$a7_class,$a7_onchange) ?><?php $a7_class='text';$a7_text='DELETE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a5_class='act';$a5_colspan='2';$a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" - colspan="2" -><?php unset($a5_class,$a5_colspan,$a5_header) ?><?php $a6_type='ok';$a6_class='ok';$a6_value='ok';$a6_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a6_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a6_type = 'submit'; - } - $a6_tmp_src = ''; - if ( !empty($a6_type)) { -?> -<input type="<?php echo $a6_type ?>"<?php if(isset($a6_src)) { ?> src="<?php $a6_tmp_src ?>"<?php } ?> name="<?php echo $a6_value ?>" class="ok" title="<?php echo lang($a6_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a6_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a6_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a6_type,$a6_class,$a6_value,$a6_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> -<?php $a2_field='delete'; ?><script name="JavaScript" type="text/javascript"><!-- -</script> -<?php unset($a2_field) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/element/type.tpl.php b/themes/default/pages/html/element/type.tpl.php @@ -1,120 +0,0 @@ -<?php $a2_name='';$a2_back=true; ?><div class="header"> - <?php if ($a2_back) { ?> - <a href="javascript:void(0);" onclick="javascript:refreshActualView(this);" class="back button"> - <img src="<?php echo $image_dir ?>icon/window/back.gif" /> - <?php echo lang('BACK') ?> - </a> - <?php } ?><?php if(!empty($a2_views)) { ?> - <img src="<?php echo $image_dir ?>icon/window/down.gif" /> - <div class="headermenu"> - <?php foreach( explode(',',$a2_views) as $a2_tmp_view ) { ?> - <a class="entry" href="javascript:void(0);" onclick="javascript:startView(this,'<?php echo $a2_tmp_view ?>');"> - <img src="<?php echo $image_dir ?>icon/<?php echo $a2_tmp_view ?>.png" /><?php echo lang('MENU_'.$a2_tmp_view) ?> - </a> - <?php } ?> - </div> -<?php } ?> -</div><?php unset($a2_name,$a2_back) ?><?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='ELEMENT_TYPE';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_list='types';$a6_name='type';$a6_onchange='';$a6_title='';$a6_class='';$a6_addempty=false;$a6_multiple=false;$a6_size='1';$a6_lang=true; ?><?php -$a6_readonly=false; -$a6_tmp_list = $$a6_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a6_name)?'- '.lang('EMPTY').' -':$a6_tmp_list[$$a6_name]; -} -else -{ -if ( $a6_addempty!==FALSE ) -{ - if ($a6_addempty===TRUE) - $a6_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a6_tmp_list; - else - $a6_tmp_list = array(''=>'- '.lang($a6_addempty).' -')+$a6_tmp_list; -} -?><select<?php if ($a6_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a6_name ?>" name="<?php echo $a6_name; if ($a6_multiple) echo '[]'; ?>" onchange="<?php echo $a6_onchange ?>" title="<?php echo $a6_title ?>" class="<?php echo $a6_class ?>"<?php -if (count($$a6_list)<=1) echo ' disabled="disabled"'; -if ($a6_multiple) echo ' multiple="multiple"'; -if (in_array($a6_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a6_size).'"'; -?>><?php - if ( isset($$a6_name) && isset($a6_tmp_list[$$a6_name]) ) - $a6_tmp_default = $$a6_name; - elseif ( isset($a6_default) ) - $a6_tmp_default = $a6_default; - else - $a6_tmp_default = ''; - foreach( $a6_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a6_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a6_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a6_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a6_list)==0) echo '<input type="hidden" name="'.$a6_name.'" value="" />'; -if (count($$a6_list)==1) echo '<input type="hidden" name="'.$a6_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a6_list,$a6_name,$a6_onchange,$a6_title,$a6_class,$a6_addempty,$a6_multiple,$a6_size,$a6_lang) ?></div></div></fieldset></form> diff --git a/themes/default/pages/html/file/compress.tpl.php b/themes/default/pages/html/file/compress.tpl.php @@ -1,338 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_title='asdfdfs';$a4_name='asdf';$a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_title,$a4_name,$a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_text='type';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_var='gz';$a7_value='gz'; ?><?php - if (isset($a7_key)) - $$a7_var = $a7_value[$a7_key]; - else - $$a7_var = $a7_value; -?><?php unset($a7_var,$a7_value) ?><?php $a7_list='formats';$a7_name='format';$a7_default='gz';$a7_onchange='';$a7_title='';$a7_class='';$a7_addempty=false;$a7_multiple=false;$a7_size='1';$a7_lang=false; ?><?php -$a7_readonly=false; -$a7_tmp_list = $$a7_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a7_name)?'- '.lang('EMPTY').' -':$a7_tmp_list[$$a7_name]; -} -else -{ -if ( $a7_addempty!==FALSE ) -{ - if ($a7_addempty===TRUE) - $a7_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a7_tmp_list; - else - $a7_tmp_list = array(''=>'- '.lang($a7_addempty).' -')+$a7_tmp_list; -} -?><select<?php if ($a7_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name; if ($a7_multiple) echo '[]'; ?>" onchange="<?php echo $a7_onchange ?>" title="<?php echo $a7_title ?>" class="<?php echo $a7_class ?>"<?php -if (count($$a7_list)<=1) echo ' disabled="disabled"'; -if ($a7_multiple) echo ' multiple="multiple"'; -if (in_array($a7_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a7_size).'"'; -?>><?php - if ( isset($$a7_name) && isset($a7_tmp_list[$$a7_name]) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - foreach( $a7_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a7_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a7_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a7_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a7_list)==0) echo '<input type="hidden" name="'.$a7_name.'" value="" />'; -if (count($$a7_list)==1) echo '<input type="hidden" name="'.$a7_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a7_list,$a7_name,$a7_default,$a7_onchange,$a7_title,$a7_class,$a7_addempty,$a7_multiple,$a7_size,$a7_lang) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a6_colspan,$a6_header) ?><?php $a7_title=lang('OPTIONS'); ?><fieldset><?php if(isset($a7_title)) { ?><legend><?php if(isset($a7_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a7_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a7_title) ?></fieldset></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_var='replace';$a7_value='1'; ?><?php - if (isset($a7_key)) - $$a7_var = $a7_value[$a7_key]; - else - $$a7_var = $a7_value; -?><?php unset($a7_var,$a7_value) ?><?php $a7_readonly=false;$a7_name='replace';$a7_value='1';$a7_default=false;$a7_prefix='';$a7_suffix='';$a7_class='';$a7_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a7_name.'_'.$a7_value ?>" name="<?php echo $a7_prefix.$a7_name ?>"<?php if ( $a7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a7_value ?>" <?php if($a7_value==$a7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a7_readonly,$a7_name,$a7_value,$a7_default,$a7_prefix,$a7_suffix,$a7_class,$a7_onchange) ?><?php $a7_for='replace_1'; ?><label<?php if (isset($a7_for)) { ?> for="id_<?php echo $a7_for ?><?php if (!empty($a7_value)) echo '_'.$a7_value ?>" class="label"<?php } ?>> -<?php if (isset($a7_key)) { echo lang($a7_key); if(hasLang($a7_key.'_desc')) { ?><div class="description"><?php echo lang($a7_key.'_desc')?></div> <?php } } ?><?php unset($a7_for) ?><?php $a8_class='text';$a8_key='replace';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_key,$a8_escape,$a8_cut) ?></label><br/><?php $a7_readonly=false;$a7_name='replace';$a7_value='0';$a7_default=false;$a7_prefix='';$a7_suffix='';$a7_class='';$a7_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $a7_tmp_default = $$a7_name; - elseif ( isset($a7_default) ) - $a7_tmp_default = $a7_default; - else - $a7_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a7_name.'_'.$a7_value ?>" name="<?php echo $a7_prefix.$a7_name ?>"<?php if ( $a7_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a7_value ?>" <?php if($a7_value==$a7_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a7_readonly,$a7_name,$a7_value,$a7_default,$a7_prefix,$a7_suffix,$a7_class,$a7_onchange) ?><?php $a7_for='replace_0'; ?><label<?php if (isset($a7_for)) { ?> for="id_<?php echo $a7_for ?><?php if (!empty($a7_value)) echo '_'.$a7_value ?>" class="label"<?php } ?>> -<?php if (isset($a7_key)) { echo lang($a7_key); if(hasLang($a7_key.'_desc')) { ?><div class="description"><?php echo lang($a7_key.'_desc')?></div> <?php } } ?><?php unset($a7_for) ?><?php $a8_class='text';$a8_key='new';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_key,$a8_escape,$a8_cut) ?></label></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_class='act';$a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" - colspan="2" -><?php unset($a6_class,$a6_colspan,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> diff --git a/themes/default/pages/html/file/edit.tpl.php b/themes/default/pages/html/file/edit.tpl.php @@ -1,41 +0,0 @@ -<?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><?php $a3_class='line'; ?><div class="<?php echo $a3_class ?>"><?php unset($a3_class) ?><?php $a4_class='input'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><br/><?php $a5_name='file';$a5_class='upload';$a5_size='40'; ?><input size="<?php echo $a5_size ?>" id="id_<?php echo $a5_name ?>" type="file" <?php if (isset($a5_maxlength))echo ' maxlength="'.$a5_maxlength.'"' ?> name="<?php echo $a5_name ?>" class="<?php echo $a5_class ?>" <?php if (in_array($a5_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($a5_name,$a5_class,$a5_size) ?><br/><br/></div></div></form> diff --git a/themes/default/pages/html/file/editvalue.tpl.php b/themes/default/pages/html/file/editvalue.tpl.php @@ -1,210 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_text='GLOBAL_VALUE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_name='value';$a7_rows='40';$a7_cols='40';$a7_class='editor';$a7_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a7_class ?>" name="<?php echo $a7_name ?>" rows="<?php echo $a7_rows ?>" cols="<?php echo $a7_cols ?>"><?php echo htmlentities(isset($$a7_name)?$$a7_name:$a7_default) ?></textarea><?php - } else { -?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_name,$a7_rows,$a7_cols,$a7_class,$a7_default) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_class='act';$a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" - colspan="2" -><?php unset($a6_class,$a6_colspan,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> -<?php $a3_field='value'; ?><script name="JavaScript" type="text/javascript"><!-- -</script> -<?php unset($a3_field) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/file/extract.tpl.php b/themes/default/pages/html/file/extract.tpl.php @@ -1,176 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_title='asdfdfs';$a4_name='asdf';$a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_title,$a4_name,$a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_class='act';$a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" - colspan="2" -><?php unset($a6_class,$a6_colspan,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> diff --git a/themes/default/pages/html/file/info.tpl.php b/themes/default/pages/html/file/info.tpl.php @@ -1,611 +0,0 @@ -<?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='global_name';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='name';$a6_var='name';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='global_filename';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='filename';$a6_var='filename';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='file_extension';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='extension';$a6_var='extension';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='global_description';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_var='description';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div></fieldset><?php $a3_title=lang('additional_info'); ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a3_title) ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='full_filename'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='global_full_filename';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_var='full_filename';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='size'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='FILE_SIZE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?></div><?php $a5_class='text';$a5_var='size';$a5_escape=true;$a5_cut='both'; ?><?php - $a5_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php - $langF = $a5_escape?'langHtml':'lang'; - $tmp_text = isset($$a5_var)?$$a5_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_var,$a5_escape,$a5_cut) ?></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='mimetype'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='FILE_mimetype';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_var='mimetype';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?><br/><?php $a6_title='';$a6_type='';$a6_class='action';$a6_action='file';$a6_subaction='size';$a6_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $a6_target = $view; - switch( $a6_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a6_action)?$a6_action:$this->actionName,'subaction'=>!empty($a6_subaction)?$a6_subaction:$this->subActionName,'id'=>!empty($a6_id)?$a6_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a6_subaction)?$a6_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a6_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a6_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a6_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a6_frame ?>"<?php if (isset($a6_name)) { ?> name="<?php echo $a6_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a6_class ?>"<?php if (isset($a6_accesskey)) echo ' accesskey="'.$a6_accesskey.'"' ?> title="<?php echo encodeHtml($a6_title) ?>"><?php unset($a6_title,$a6_type,$a6_class,$a6_action,$a6_subaction,$a6_frame) ?><?php $a7_class='text';$a7_key='menu_file_size';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_key,$a7_escape,$a7_cut) ?></a></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text=lang('id');$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_var='objectid';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = isset($$a6_var)?$$a6_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_var,$a6_escape,$a6_cut) ?></div></div><?php $a4_present='cache_filename'; ?><?php - $a4_tmp_exec = isset($$a4_present); - $a4_tmp_last_exec = $a4_tmp_exec; - if ( $a4_tmp_exec ) - { -?> -<?php unset($a4_present) ?><?php $a5_class='line'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='label'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_for='cache_filename'; ?><label<?php if (isset($a7_for)) { ?> for="id_<?php echo $a7_for ?><?php if (!empty($a7_value)) echo '_'.$a7_value ?>" class="label"<?php } ?>> -<?php if (isset($a7_key)) { echo lang($a7_key); if(hasLang($a7_key.'_desc')) { ?><div class="description"><?php echo lang($a7_key.'_desc')?></div> <?php } } ?><?php unset($a7_for) ?><?php $a8_class='text';$a8_text='CACHE_FILENAME';$a8_escape=true;$a8_cut='both'; ?><?php - $a8_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php - $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $langF($a8_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a8_class,$a8_text,$a8_escape,$a8_cut) ?></label></div><?php $a6_class='input'; ?><div class="<?php echo $a6_class ?>"><?php unset($a6_class) ?><?php $a7_class='text';$a7_var='cache_filename';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = isset($$a7_var)?$$a7_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_var,$a7_escape,$a7_cut) ?><br/><?php $a7_icon='el_date';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.'icon_'.$a7_icon.IMG_ICON_EXT; - $a7_size = '16x16'; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?> /><?php unset($a7_icon,$a7_align) ?><?php $a7_date=$cache_filemtime; ?><?php - global $conf; - $time = $a7_date; - if ( isset($_COOKIE['or_timezone_offset']) ) - { - $time -= (int)date('Z'); - $time += ((int)$_COOKIE['or_timezone_offset']*60); - } - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - { - echo '<span title="'; - $dl = date(lang('DATE_FORMAT_LONG'),$time); - $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); - $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); - echo $dl; - unset($dl); - echo '">'; - echo date(lang('DATE_FORMAT'),$time); - echo '</span>'; - } - else - { - $sekunden = time()-$time; - $minuten = intval($sekunden/60); - $stunden = intval($minuten /60); - $tage = intval($stunden /24); - $monate = intval($tage /30); - $jahre = intval($monate /12); - echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - echo date(lang('DATE_FORMAT'),$time); - elseif ( $sekunden == 1 ) - echo $sekunden.' '.lang('GLOBAL_SECOND'); - elseif ( $sekunden < 60 ) - echo $sekunden.' '.lang('GLOBAL_SECONDS'); - elseif ( $minuten == 1 ) - echo $minuten.' '.lang('GLOBAL_MINUTE'); - elseif ( $minuten < 60 ) - echo $minuten.' '.lang('GLOBAL_MINUTES'); - elseif ( $stunden == 1 ) - echo $stunden.' '.lang('GLOBAL_HOUR'); - elseif ( $stunden < 60 ) - echo $stunden.' '.lang('GLOBAL_HOURS'); - elseif ( $tage == 1 ) - echo $tage.' '.lang('GLOBAL_DAY'); - elseif ( $tage < 60 ) - echo $tage.' '.lang('GLOBAL_DAYS'); - elseif ( $monate == 1 ) - echo $monate.' '.lang('GLOBAL_MONTH'); - elseif ( $monate < 12 ) - echo $monate.' '.lang('GLOBAL_MONTHS'); - elseif ( $jahre == 1 ) - echo $jahre.' '.lang('GLOBAL_YEAR'); - else - echo $jahre.' '.lang('GLOBAL_YEARS'); - echo '</span>'; - } -?><?php unset($a7_date) ?></div></div><?php } ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='pages'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='FILE_PAGES';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_width='100%';$a6_space='0px';$a6_padding='0px'; ?><?php - $last_column_idx = @$column_idx; - $column_idx = 0; - $coloumn_widths = array(); - $row_classes = array(); - $column_classes = array(); -?><table class="%class%" cellspacing="0px" width="100%" cellpadding="0px"> -<?php unset($a6_width,$a6_space,$a6_padding) ?><?php $a7_list='pages';$a7_extract=true;$a7_key='list_key';$a7_value='list_value'; ?><?php - $a7_list_tmp_key = $a7_key; - $a7_list_tmp_value = $a7_value; - $a7_list_extract = $a7_extract; - unset($a7_key); - unset($a7_value); - if ( !isset($$a7_list) || !is_array($$a7_list) ) - $$a7_list = array(); - foreach( $$a7_list as $$a7_list_tmp_key => $$a7_list_tmp_value ) - { - if ( $a7_list_extract ) - { - if ( !is_array($$a7_list_tmp_value) ) - { - print_r($$a7_list_tmp_value); - die( 'not an array at key: '.$$a7_list_tmp_key ); - } - extract($$a7_list_tmp_value); - } -?><?php unset($a7_list,$a7_extract,$a7_key,$a7_value) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a9_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a9_header) ?><?php $a10_title='';$a10_type='';$a10_target='cms_main';$a10_url=$url;$a10_class='';$a10_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $params[REQ_PARAM_TARGET] = $a10_target; - switch( $a10_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a10_action)?$a10_action:$this->actionName,'subaction'=>!empty($a10_subaction)?$a10_subaction:$this->subActionName,'id'=>!empty($a10_id)?$a10_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a10_subaction)?$a10_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a10_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a10_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a10_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a10_frame ?>"<?php if (isset($a10_name)) { ?> name="<?php echo $a10_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a10_class ?>"<?php if (isset($a10_accesskey)) echo ' accesskey="'.$a10_accesskey.'"' ?> title="<?php echo encodeHtml($a10_title) ?>"><?php unset($a10_title,$a10_type,$a10_target,$a10_url,$a10_class,$a10_frame) ?><?php $a11_align='left';$a11_type='page'; ?><?php - $a11_tmp_image_file = $image_dir.'icon_'.$a11_type.IMG_ICON_EXT; - $a11_size = '16x16'; - $a11_tmp_title = basename($a11_tmp_image_file); -?><img alt="<?php echo $a11_tmp_title; if (isset($a11_size)) { echo ' ('; list($a11_tmp_width,$a11_tmp_height)=explode('x',$a11_size);echo $a11_tmp_width.'x'.$a11_tmp_height; echo')';} ?>" src="<?php echo $a11_tmp_image_file ?>" border="0"<?php if(isset($a11_align)) echo ' align="'.$a11_align.'"' ?><?php if (isset($a11_size)) { list($a11_tmp_width,$a11_tmp_height)=explode('x',$a11_size);echo ' width="'.$a11_tmp_width.'" height="'.$a11_tmp_height.'"';} ?> /><?php unset($a11_align,$a11_type) ?><?php $a11_class='text';$a11_var='name';$a11_escape=true;$a11_cut='both'; ?><?php - $a11_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php - $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = isset($$a11_var)?$$a11_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a11_class,$a11_var,$a11_escape,$a11_cut) ?></a></td></tr><?php } ?><?php - $column_idx = $last_column_idx; -?> -</table><?php $a6_empty='pages'; ?><?php - if ( !isset($$a6_empty) ) - $a6_tmp_exec = empty($a6_empty); - elseif ( is_array($$a6_empty) ) - $a6_tmp_exec = (count($$a6_empty)==0); - elseif ( is_bool($$a6_empty) ) - $a6_tmp_exec = true; - else - $a6_tmp_exec = empty( $$a6_empty ); - $a6_tmp_last_exec = $a6_tmp_exec; - if ( $a6_tmp_exec ) - { -?> -<?php unset($a6_empty) ?><?php $a7_class='text';$a7_text='GLOBAL_NOT_FOUND';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?><?php } ?></div></div></fieldset><?php $a3_title=lang('prop_userinfo'); ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a3_title) ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='global_created';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_icon='el_date';$a6_align='left'; ?><?php - $a6_tmp_image_file = $image_dir.'icon_'.$a6_icon.IMG_ICON_EXT; - $a6_size = '16x16'; - $a6_tmp_title = basename($a6_tmp_image_file); -?><img alt="<?php echo $a6_tmp_title; if (isset($a6_size)) { echo ' ('; list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo $a6_tmp_width.'x'.$a6_tmp_height; echo')';} ?>" src="<?php echo $a6_tmp_image_file ?>" border="0"<?php if(isset($a6_align)) echo ' align="'.$a6_align.'"' ?><?php if (isset($a6_size)) { list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo ' width="'.$a6_tmp_width.'" height="'.$a6_tmp_height.'"';} ?> /><?php unset($a6_icon,$a6_align) ?><?php $a6_date=$create_date; ?><?php - global $conf; - $time = $a6_date; - if ( isset($_COOKIE['or_timezone_offset']) ) - { - $time -= (int)date('Z'); - $time += ((int)$_COOKIE['or_timezone_offset']*60); - } - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - { - echo '<span title="'; - $dl = date(lang('DATE_FORMAT_LONG'),$time); - $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); - $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); - echo $dl; - unset($dl); - echo '">'; - echo date(lang('DATE_FORMAT'),$time); - echo '</span>'; - } - else - { - $sekunden = time()-$time; - $minuten = intval($sekunden/60); - $stunden = intval($minuten /60); - $tage = intval($stunden /24); - $monate = intval($tage /30); - $jahre = intval($monate /12); - echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - echo date(lang('DATE_FORMAT'),$time); - elseif ( $sekunden == 1 ) - echo $sekunden.' '.lang('GLOBAL_SECOND'); - elseif ( $sekunden < 60 ) - echo $sekunden.' '.lang('GLOBAL_SECONDS'); - elseif ( $minuten == 1 ) - echo $minuten.' '.lang('GLOBAL_MINUTE'); - elseif ( $minuten < 60 ) - echo $minuten.' '.lang('GLOBAL_MINUTES'); - elseif ( $stunden == 1 ) - echo $stunden.' '.lang('GLOBAL_HOUR'); - elseif ( $stunden < 60 ) - echo $stunden.' '.lang('GLOBAL_HOURS'); - elseif ( $tage == 1 ) - echo $tage.' '.lang('GLOBAL_DAY'); - elseif ( $tage < 60 ) - echo $tage.' '.lang('GLOBAL_DAYS'); - elseif ( $monate == 1 ) - echo $monate.' '.lang('GLOBAL_MONTH'); - elseif ( $monate < 12 ) - echo $monate.' '.lang('GLOBAL_MONTHS'); - elseif ( $jahre == 1 ) - echo $jahre.' '.lang('GLOBAL_YEAR'); - else - echo $jahre.' '.lang('GLOBAL_YEARS'); - echo '</span>'; - } -?><?php unset($a6_date) ?><br/><?php $a6_icon='user';$a6_align='left'; ?><?php - $a6_tmp_image_file = $image_dir.'icon_'.$a6_icon.IMG_ICON_EXT; - $a6_size = '16x16'; - $a6_tmp_title = basename($a6_tmp_image_file); -?><img alt="<?php echo $a6_tmp_title; if (isset($a6_size)) { echo ' ('; list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo $a6_tmp_width.'x'.$a6_tmp_height; echo')';} ?>" src="<?php echo $a6_tmp_image_file ?>" border="0"<?php if(isset($a6_align)) echo ' align="'.$a6_align.'"' ?><?php if (isset($a6_size)) { list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo ' width="'.$a6_tmp_width.'" height="'.$a6_tmp_height.'"';} ?> /><?php unset($a6_icon,$a6_align) ?><?php $a6_user=$create_user; ?><?php - if ( is_object($a6_user) ) - $user = $a6_user; - else - $user = $$a6_user; - if ( empty($user->name) ) - $user->name = lang('GLOBAL_UNKNOWN'); - if ( empty($user->fullname) ) - $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE'); - if ( !empty($user->mail) && $conf['security']['user']['show_mail'] ) - echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; - else - echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; -?><?php unset($a6_user) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='text';$a6_text='global_lastchange';$a6_escape=true;$a6_cut='both'; ?><?php - $a6_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php - $langF = $a6_escape?'langHtml':'lang'; - $tmp_text = $langF($a6_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_icon='el_date';$a6_align='left'; ?><?php - $a6_tmp_image_file = $image_dir.'icon_'.$a6_icon.IMG_ICON_EXT; - $a6_size = '16x16'; - $a6_tmp_title = basename($a6_tmp_image_file); -?><img alt="<?php echo $a6_tmp_title; if (isset($a6_size)) { echo ' ('; list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo $a6_tmp_width.'x'.$a6_tmp_height; echo')';} ?>" src="<?php echo $a6_tmp_image_file ?>" border="0"<?php if(isset($a6_align)) echo ' align="'.$a6_align.'"' ?><?php if (isset($a6_size)) { list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo ' width="'.$a6_tmp_width.'" height="'.$a6_tmp_height.'"';} ?> /><?php unset($a6_icon,$a6_align) ?><?php $a6_date=$lastchange_date; ?><?php - global $conf; - $time = $a6_date; - if ( isset($_COOKIE['or_timezone_offset']) ) - { - $time -= (int)date('Z'); - $time += ((int)$_COOKIE['or_timezone_offset']*60); - } - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - { - echo '<span title="'; - $dl = date(lang('DATE_FORMAT_LONG'),$time); - $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); - $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); - echo $dl; - unset($dl); - echo '">'; - echo date(lang('DATE_FORMAT'),$time); - echo '</span>'; - } - else - { - $sekunden = time()-$time; - $minuten = intval($sekunden/60); - $stunden = intval($minuten /60); - $tage = intval($stunden /24); - $monate = intval($tage /30); - $jahre = intval($monate /12); - echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - echo date(lang('DATE_FORMAT'),$time); - elseif ( $sekunden == 1 ) - echo $sekunden.' '.lang('GLOBAL_SECOND'); - elseif ( $sekunden < 60 ) - echo $sekunden.' '.lang('GLOBAL_SECONDS'); - elseif ( $minuten == 1 ) - echo $minuten.' '.lang('GLOBAL_MINUTE'); - elseif ( $minuten < 60 ) - echo $minuten.' '.lang('GLOBAL_MINUTES'); - elseif ( $stunden == 1 ) - echo $stunden.' '.lang('GLOBAL_HOUR'); - elseif ( $stunden < 60 ) - echo $stunden.' '.lang('GLOBAL_HOURS'); - elseif ( $tage == 1 ) - echo $tage.' '.lang('GLOBAL_DAY'); - elseif ( $tage < 60 ) - echo $tage.' '.lang('GLOBAL_DAYS'); - elseif ( $monate == 1 ) - echo $monate.' '.lang('GLOBAL_MONTH'); - elseif ( $monate < 12 ) - echo $monate.' '.lang('GLOBAL_MONTHS'); - elseif ( $jahre == 1 ) - echo $jahre.' '.lang('GLOBAL_YEAR'); - else - echo $jahre.' '.lang('GLOBAL_YEARS'); - echo '</span>'; - } -?><?php unset($a6_date) ?><br/><?php $a6_icon='user';$a6_align='left'; ?><?php - $a6_tmp_image_file = $image_dir.'icon_'.$a6_icon.IMG_ICON_EXT; - $a6_size = '16x16'; - $a6_tmp_title = basename($a6_tmp_image_file); -?><img alt="<?php echo $a6_tmp_title; if (isset($a6_size)) { echo ' ('; list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo $a6_tmp_width.'x'.$a6_tmp_height; echo')';} ?>" src="<?php echo $a6_tmp_image_file ?>" border="0"<?php if(isset($a6_align)) echo ' align="'.$a6_align.'"' ?><?php if (isset($a6_size)) { list($a6_tmp_width,$a6_tmp_height)=explode('x',$a6_size);echo ' width="'.$a6_tmp_width.'" height="'.$a6_tmp_height.'"';} ?> /><?php unset($a6_icon,$a6_align) ?><?php $a6_user=$lastchange_user; ?><?php - if ( is_object($a6_user) ) - $user = $a6_user; - else - $user = $$a6_user; - if ( empty($user->name) ) - $user->name = lang('GLOBAL_UNKNOWN'); - if ( empty($user->fullname) ) - $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE'); - if ( !empty($user->mail) && $conf['security']['user']['show_mail'] ) - echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; - else - echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; -?><?php unset($a6_user) ?></div></div></fieldset></form> diff --git a/themes/default/pages/html/file/prop.tpl.php b/themes/default/pages/html/file/prop.tpl.php @@ -1,228 +0,0 @@ -<?php $a2_name='';$a2_target='_self';$a2_method='post';$a2_enctype='application/x-www-form-urlencoded';$a2_type=''; ?><?php - $a2_action = $actionName; - $a2_subaction = $targetSubActionName; - $a2_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a2_method = 'POST'; - } - else - { - $a2_method = 'GET'; - $a2_subaction = $subActionName; - } - } - switch( $a2_type ) - { - case 'upload': - $a2_tmp_submitFunction = ''; - break; - default: - $a2_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a2_name ?>" - target="<?php echo $a2_target ?>" - action="<?php echo Html::url( $a2_action,$a2_subaction,$a2_id ) ?>" - method="<?php echo $a2_method ?>" - enctype="<?php echo $a2_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a2_action ?>" - onSubmit="<?php echo $a2_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a2_name,$a2_target,$a2_method,$a2_enctype,$a2_type) ?><fieldset><?php if(isset($a3_title)) { ?><legend><?php if(isset($a3_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a3_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a3_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='name'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='global_name';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='name';$a6_default='';$a6_type='text';$a6_name='name';$a6_size='50';$a6_maxlength='256';$a6_onchange='';$a6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ($a6_readonly && empty($$a6_name)) $$a6_name = '- '.lang('EMPTY').' -'; - if(!isset($a6_default)) $a6_default=''; - $tmp_value = Text::encodeHtml(isset($$a6_name)?$$a6_name:$a6_default); -?><?php if (!$a6_readonly || $a6_type=='hidden') { -?><input<?php if ($a6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a6_name ?><?php if ($a6_readonly) echo '_disabled' ?>" name="<?php echo $a6_name ?><?php if ($a6_readonly) echo '_disabled' ?>" type="<?php echo $a6_type ?>" maxlength="<?php echo $a6_maxlength ?>" class="<?php echo str_replace(',',' ',$a6_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a6_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a6_readonly) { -?><input type="hidden" id="id_<?php echo $a6_name ?>" name="<?php echo $a6_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a6_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a6_class,$a6_default,$a6_type,$a6_name,$a6_size,$a6_maxlength,$a6_onchange,$a6_readonly) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='filename'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='global_filename';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='filename';$a6_default='';$a6_type='text';$a6_name='filename';$a6_size='';$a6_maxlength='256';$a6_onchange='';$a6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ($a6_readonly && empty($$a6_name)) $$a6_name = '- '.lang('EMPTY').' -'; - if(!isset($a6_default)) $a6_default=''; - $tmp_value = Text::encodeHtml(isset($$a6_name)?$$a6_name:$a6_default); -?><?php if (!$a6_readonly || $a6_type=='hidden') { -?><input<?php if ($a6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a6_name ?><?php if ($a6_readonly) echo '_disabled' ?>" name="<?php echo $a6_name ?><?php if ($a6_readonly) echo '_disabled' ?>" type="<?php echo $a6_type ?>" maxlength="<?php echo $a6_maxlength ?>" class="<?php echo str_replace(',',' ',$a6_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a6_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a6_readonly) { -?><input type="hidden" id="id_<?php echo $a6_name ?>" name="<?php echo $a6_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a6_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a6_class,$a6_default,$a6_type,$a6_name,$a6_size,$a6_maxlength,$a6_onchange,$a6_readonly) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='extension'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='file_extension';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_class='extension';$a6_default='';$a6_type='text';$a6_name='extension';$a6_size='10';$a6_maxlength='256';$a6_onchange='';$a6_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a6_readonly=true; - if ($a6_readonly && empty($$a6_name)) $$a6_name = '- '.lang('EMPTY').' -'; - if(!isset($a6_default)) $a6_default=''; - $tmp_value = Text::encodeHtml(isset($$a6_name)?$$a6_name:$a6_default); -?><?php if (!$a6_readonly || $a6_type=='hidden') { -?><input<?php if ($a6_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a6_name ?><?php if ($a6_readonly) echo '_disabled' ?>" name="<?php echo $a6_name ?><?php if ($a6_readonly) echo '_disabled' ?>" type="<?php echo $a6_type ?>" maxlength="<?php echo $a6_maxlength ?>" class="<?php echo str_replace(',',' ',$a6_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a6_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a6_readonly) { -?><input type="hidden" id="id_<?php echo $a6_name ?>" name="<?php echo $a6_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a6_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a6_class,$a6_default,$a6_type,$a6_name,$a6_size,$a6_maxlength,$a6_onchange,$a6_readonly) ?></div></div><?php $a4_class='line'; ?><div class="<?php echo $a4_class ?>"><?php unset($a4_class) ?><?php $a5_class='label'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_for='description'; ?><label<?php if (isset($a6_for)) { ?> for="id_<?php echo $a6_for ?><?php if (!empty($a6_value)) echo '_'.$a6_value ?>" class="label"<?php } ?>> -<?php if (isset($a6_key)) { echo lang($a6_key); if(hasLang($a6_key.'_desc')) { ?><div class="description"><?php echo lang($a6_key.'_desc')?></div> <?php } } ?><?php unset($a6_for) ?><?php $a7_class='text';$a7_text='global_description';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></label></div><?php $a5_class='input'; ?><div class="<?php echo $a5_class ?>"><?php unset($a5_class) ?><?php $a6_name='description';$a6_rows='10';$a6_cols='40';$a6_class='description';$a6_default=''; ?><?php if ($this->isEditMode()) { -?><textarea class="<?php echo $a6_class ?>" name="<?php echo $a6_name ?>" rows="<?php echo $a6_rows ?>" cols="<?php echo $a6_cols ?>"><?php echo htmlentities(isset($$a6_name)?$$a6_name:$a6_default) ?></textarea><?php - } else { -?><span class="<?php echo $a6_class ?>"><?php echo isset($$a6_name)?$$a6_name:$a6_default ?></span><?php } ?><?php unset($a6_name,$a6_rows,$a6_cols,$a6_class,$a6_default) ?></div></div></fieldset><?php $a3_title='';$a3_type='';$a3_class='action';$a3_action='file';$a3_subaction='compress';$a3_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $a3_target = $view; - switch( $a3_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a3_action)?$a3_action:$this->actionName,'subaction'=>!empty($a3_subaction)?$a3_subaction:$this->subActionName,'id'=>!empty($a3_id)?$a3_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a3_subaction)?$a3_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a3_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a3_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a3_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a3_frame ?>"<?php if (isset($a3_name)) { ?> name="<?php echo $a3_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a3_class ?>"<?php if (isset($a3_accesskey)) echo ' accesskey="'.$a3_accesskey.'"' ?> title="<?php echo encodeHtml($a3_title) ?>"><?php unset($a3_title,$a3_type,$a3_class,$a3_action,$a3_subaction,$a3_frame) ?><?php $a4_file='icon/compress';$a4_align='left'; ?><?php - $a4_tmp_image_file = $image_dir.$a4_file.IMG_ICON_EXT; - $a4_tmp_title = basename($a4_tmp_image_file); -?><img alt="<?php echo $a4_tmp_title; if (isset($a4_size)) { echo ' ('; list($a4_tmp_width,$a4_tmp_height)=explode('x',$a4_size);echo $a4_tmp_width.'x'.$a4_tmp_height; echo')';} ?>" src="<?php echo $a4_tmp_image_file ?>" border="0"<?php if(isset($a4_align)) echo ' align="'.$a4_align.'"' ?><?php if (isset($a4_size)) { list($a4_tmp_width,$a4_tmp_height)=explode('x',$a4_size);echo ' width="'.$a4_tmp_width.'" height="'.$a4_tmp_height.'"';} ?> /><?php unset($a4_file,$a4_align) ?><?php $a4_class='text';$a4_key='menu_file_compress';$a4_escape=true;$a4_cut='both'; ?><?php - $a4_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a4_class ?>" title="<?php echo $a4_title ?>"><?php - $langF = $a4_escape?'langHtml':'lang'; - $tmp_text = $langF($a4_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a4_class,$a4_key,$a4_escape,$a4_cut) ?></a><?php $a3_title='';$a3_type='';$a3_class='action';$a3_action='file';$a3_subaction='uncompress';$a3_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $a3_target = $view; - switch( $a3_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a3_action)?$a3_action:$this->actionName,'subaction'=>!empty($a3_subaction)?$a3_subaction:$this->subActionName,'id'=>!empty($a3_id)?$a3_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a3_subaction)?$a3_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a3_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a3_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a3_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a3_frame ?>"<?php if (isset($a3_name)) { ?> name="<?php echo $a3_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a3_class ?>"<?php if (isset($a3_accesskey)) echo ' accesskey="'.$a3_accesskey.'"' ?> title="<?php echo encodeHtml($a3_title) ?>"><?php unset($a3_title,$a3_type,$a3_class,$a3_action,$a3_subaction,$a3_frame) ?><?php $a4_file='icon/uncompress';$a4_align='left'; ?><?php - $a4_tmp_image_file = $image_dir.$a4_file.IMG_ICON_EXT; - $a4_tmp_title = basename($a4_tmp_image_file); -?><img alt="<?php echo $a4_tmp_title; if (isset($a4_size)) { echo ' ('; list($a4_tmp_width,$a4_tmp_height)=explode('x',$a4_size);echo $a4_tmp_width.'x'.$a4_tmp_height; echo')';} ?>" src="<?php echo $a4_tmp_image_file ?>" border="0"<?php if(isset($a4_align)) echo ' align="'.$a4_align.'"' ?><?php if (isset($a4_size)) { list($a4_tmp_width,$a4_tmp_height)=explode('x',$a4_size);echo ' width="'.$a4_tmp_width.'" height="'.$a4_tmp_height.'"';} ?> /><?php unset($a4_file,$a4_align) ?><?php $a4_class='text';$a4_key='menu_file_uncompress';$a4_escape=true;$a4_cut='both'; ?><?php - $a4_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a4_class ?>" title="<?php echo $a4_title ?>"><?php - $langF = $a4_escape?'langHtml':'lang'; - $tmp_text = $langF($a4_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a4_class,$a4_key,$a4_escape,$a4_cut) ?></a><?php $a3_title='';$a3_type='';$a3_class='action';$a3_action='file';$a3_subaction='extract';$a3_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $a3_target = $view; - switch( $a3_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a3_action)?$a3_action:$this->actionName,'subaction'=>!empty($a3_subaction)?$a3_subaction:$this->subActionName,'id'=>!empty($a3_id)?$a3_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a3_subaction)?$a3_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a3_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a3_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a3_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a3_frame ?>"<?php if (isset($a3_name)) { ?> name="<?php echo $a3_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a3_class ?>"<?php if (isset($a3_accesskey)) echo ' accesskey="'.$a3_accesskey.'"' ?> title="<?php echo encodeHtml($a3_title) ?>"><?php unset($a3_title,$a3_type,$a3_class,$a3_action,$a3_subaction,$a3_frame) ?><?php $a4_file='icon/extract';$a4_align='left'; ?><?php - $a4_tmp_image_file = $image_dir.$a4_file.IMG_ICON_EXT; - $a4_tmp_title = basename($a4_tmp_image_file); -?><img alt="<?php echo $a4_tmp_title; if (isset($a4_size)) { echo ' ('; list($a4_tmp_width,$a4_tmp_height)=explode('x',$a4_size);echo $a4_tmp_width.'x'.$a4_tmp_height; echo')';} ?>" src="<?php echo $a4_tmp_image_file ?>" border="0"<?php if(isset($a4_align)) echo ' align="'.$a4_align.'"' ?><?php if (isset($a4_size)) { list($a4_tmp_width,$a4_tmp_height)=explode('x',$a4_size);echo ' width="'.$a4_tmp_width.'" height="'.$a4_tmp_height.'"';} ?> /><?php unset($a4_file,$a4_align) ?><?php $a4_class='text';$a4_key='menu_file_extract';$a4_escape=true;$a4_cut='both'; ?><?php - $a4_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a4_class ?>" title="<?php echo $a4_title ?>"><?php - $langF = $a4_escape?'langHtml':'lang'; - $tmp_text = $langF($a4_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a4_class,$a4_key,$a4_escape,$a4_cut) ?></a></form> diff --git a/themes/default/pages/html/file/pub.tpl.php b/themes/default/pages/html/file/pub.tpl.php @@ -1,187 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><br/><br/><br/><br/><br/></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_class='act';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> - class="act" -><?php unset($a6_class,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> diff --git a/themes/default/pages/html/file/remove.tpl.php b/themes/default/pages/html/file/remove.tpl.php @@ -1,257 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_name='GLOBAL_GROUPS';$a4_icon='group';$a4_width='93%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_name,$a4_icon,$a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_text='GLOBAL_NAME';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_var='name';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = isset($$a7_var)?$$a7_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_var,$a7_escape,$a7_cut) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_text='GLOBAL_DELETE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_default=false;$a7_readonly=false;$a7_name='delete'; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; - if ( isset($$a7_name) ) - $checked = $$a7_name; - else - $checked = $a7_default; -?><input class="checkbox" type="checkbox" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" <?php if ($a7_readonly) echo ' disabled="disabled"' ?> value="1" <?php if( $checked ) echo 'checked="checked"' ?><?php if (in_array($a7_name,$errors)) echo ' style="background-color:red;"' ?> /><?php -if ( $a7_readonly && $checked ) -{ -?><input type="hidden" name="<?php echo $a7_name ?>" value="1" /><?php -} -?><?php unset($a7_name); unset($a7_readonly); unset($a7_default); ?><?php unset($a7_default,$a7_readonly,$a7_name) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a6_colspan,$a6_header) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='button_ok'; ?><div class="invisible"> -<?php - if ($this->isEditable() && !$this->isEditMode() && !readonly() ) - { - $a7_type = ''; // Knopf nicht anzeigen - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span title="<?php echo lang('MODE_EDIT_DESC') ?>"><?php echo langHtml('MODE_EDIT') ?></span></a><?php - } else - { - $a7_type = 'submit'; - } - $a7_tmp_src = ''; - if ( !empty($a7_type)) { -?> -<input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php $a7_tmp_src ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src); ?> -<?php } - if ($this->isEditable() && $this->isEditMode() ) - { - ?><a class="action" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'')) ?>"><span title="<?php echo lang('CANCEL_DESC') ?>"><?php echo langHtml('CANCEL') ?></span></a><?php - } -?> -</div><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?></form> -<?php $a3_field='delete'; ?><script name="JavaScript" type="text/javascript"><!-- -</script> -<?php unset($a3_field) ?>- \ No newline at end of file diff --git a/themes/default/pages/html/file/show.tpl.php b/themes/default/pages/html/file/show.tpl.php @@ -1,199 +0,0 @@ -<?php $a3_icon='folder';$a3_width='93%';$a3_rowclasses='odd,even';$a3_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a3_icon,$a3_width,$a3_rowclasses,$a3_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a5_colspan='2';$a5_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a5_colspan,$a5_header) ?><?php $a6_inline=false;$a6_url=$preview_url; ?><iframe name="<?php echo $a6_name ?>" src="<?php echo $a6_url ?>"></iframe> -<?php unset($a6_inline,$a6_url) ?><?php $a6_title='';$a6_type='';$a6_class='action';$a6_action='file';$a6_subaction='edit';$a6_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $a6_target = $view; - switch( $a6_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a6_action)?$a6_action:$this->actionName,'subaction'=>!empty($a6_subaction)?$a6_subaction:$this->subActionName,'id'=>!empty($a6_id)?$a6_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a6_subaction)?$a6_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a6_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a6_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a6_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a6_frame ?>"<?php if (isset($a6_name)) { ?> name="<?php echo $a6_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a6_class ?>"<?php if (isset($a6_accesskey)) echo ' accesskey="'.$a6_accesskey.'"' ?> title="<?php echo encodeHtml($a6_title) ?>"><?php unset($a6_title,$a6_type,$a6_class,$a6_action,$a6_subaction,$a6_frame) ?><?php $a7_file='icon/edit';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.$a7_file.IMG_ICON_EXT; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?> /><?php unset($a7_file,$a7_align) ?><?php $a7_class='text';$a7_key='menu_file_edit';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_key,$a7_escape,$a7_cut) ?></a><?php $a6_title='';$a6_type='';$a6_class='action';$a6_action='file';$a6_subaction='editvalue';$a6_frame='_self'; ?><?php - $params = array(); - $tmp_url = ''; - $a6_target = $view; - switch( $a6_type ) - { - case 'post': - $json = new JSON(); - $tmp_data = $json->encode( array('action'=>!empty($a6_action)?$a6_action:$this->actionName,'subaction'=>!empty($a6_subaction)?$a6_subaction:$this->subActionName,'id'=>!empty($a6_id)?$a6_id:$this->getRequestId()) - +array(REQ_PARAM_TOKEN=>token()) - +$params ); - $tmp_function_call = "submitLink(this,'".str_replace("\n",'',str_replace('"','&quot;',$tmp_data))."');"; - break; - case 'view': - $tmp_function_call = "startView(this,'".(!empty($a6_subaction)?$a6_subaction:$this->subActionName)."');"; - break; - case 'url': - $tmp_function_call = "submitUrl(this,'".($a6_url)."');"; - break; - case 'external': - $tmp_function_call = "location.href='".$a6_url."';"; - break; - case 'popup': - $tmp_function_call = "window.open('".$a6_url."', 'Popup', 'location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');"; - break; - default: - $tmp_function_call = "alert('TODO');"; - } -?><a target="<?php echo $a6_frame ?>"<?php if (isset($a6_name)) { ?> name="<?php echo $a6_name ?>"<?php }else{ ?> href="javascript:void(0);" onclick="<?php echo $tmp_function_call ?>" <?php } ?> class="<?php echo $a6_class ?>"<?php if (isset($a6_accesskey)) echo ' accesskey="'.$a6_accesskey.'"' ?> title="<?php echo encodeHtml($a6_title) ?>"><?php unset($a6_title,$a6_type,$a6_class,$a6_action,$a6_subaction,$a6_frame) ?><?php $a7_file='icon/editvalue';$a7_align='left'; ?><?php - $a7_tmp_image_file = $image_dir.$a7_file.IMG_ICON_EXT; - $a7_tmp_title = basename($a7_tmp_image_file); -?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?> /><?php unset($a7_file,$a7_align) ?><?php $a7_class='text';$a7_key='menu_file_editvalue';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_key); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_key,$a7_escape,$a7_cut) ?></a></td></tr><?php if (false) { ?> -</div> -</div> -<div class="bottom"> - <div class="status"> - </div> - <div class="command"> - <input type="button" value="<?php echo lang('OK') ?>" onclick="formSubmit( $(this),'<?php echo $view ?>');" /> - <input type="cancel" value="<?php echo lang('CANCEL') ?>" /> - </div> -</div> -</div> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php } ?>- \ No newline at end of file diff --git a/themes/default/pages/html/file/showprop.tpl.php b/themes/default/pages/html/file/showprop.tpl.php @@ -1,2373 +0,0 @@ -<?php $attr1_class='main'; ?><?php - if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) -?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> - <title><?php echo isset($attr1_title)?$attr1_title.' - ':(isset($windowTitle)?lang($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> - <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" /> - <meta name="MSSmartTagsPreventParsing" content="true" /> - <meta name="robots" content="noindex,nofollow" /> -<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) - { - ?> - <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" /> -<?php - } -?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) - { - ?> - <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo lang($meta['title']) ?>" /><?php - } -?><?php if(!empty($root_stylesheet)) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" /> -<?php } ?> -<?php if($root_stylesheet!=$user_stylesheet) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" /> -<?php } ?> -</head> -<body class="<?php echo $attr1_class ?>" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > -<?php unset($attr1_class); ?><?php $attr2_icon='folder'; $attr2_widths='40%,60%'; $attr2_width='70%'; $attr2_rowclasses='odd,even'; $attr2_columnclasses='1,2,3'; ?><?php - $coloumn_widths=array(); - if (!empty($attr2_widths)) - { - $column_widths = explode(',',$attr2_widths); - unset($attr2['widths']); - } - if (!empty($attr2_rowclasses)) - { - $row_classes = explode(',',$attr2_rowclasses); - $row_class_idx = 999; - unset($attr2['rowclasses']); - } - if (!empty($attr2_columnclasses)) - { - $column_classes = explode(',',$attr2_columnclasses); - unset($attr2['columnclasses']); - } - global $image_dir; - if (@$conf['interface']['application_mode'] ) - { - echo '<table class="main" cellspacing="0" cellpadding="4" width="100%" style="margin:0px;border:0px; padding:0px;" height_oo="100%">'; - } - else - { - echo '<br/><br/><br/><center>'; - echo '<table class="main" cellspacing="0" cellpadding="4" width="'.$attr2_width.'">'; - } - if (!@$conf['interface']['application_mode'] ) - { - echo '<tr><td class="menu">'; - echo '<img src="'.$image_dir.'icon_'.$actionName.IMG_ICON_EXT.'" align="left" border="0">'; - if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } - echo '<span class="path">'.langHtml('GLOBAL_'.$actionName).'</span>&nbsp;<strong>&raquo;</strong>&nbsp;'; - if ( !isset($path) || is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); - echo '<a href="'.$url.'" class="path">'.langHtml($name).'</a>'; - echo '&nbsp;&raquo;&nbsp;'; - } - echo '<span class="title">'.langHtml($windowTitle).'</span>'; - ?> - </td> - <?php - } - ?> -<?php ?> <!--<td class="menu" style="align:right;"> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> - </td>--> - </tr> - <tr><td class="subaction"> - <?php if ( !isset($windowMenu) || !is_array($windowMenu) ) - $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - if ( isset($menu['url']) ) - { - ?><a href="<?php echo Html::url($actionName,$menu['subaction'],$this->getRequestId() ) ?>" accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu<?php echo $this->subActionName==$menu['subaction']?'_highlight':'' ?>"><?php echo $tmp_text ?></a>&nbsp;&nbsp;&nbsp;<?php - } - else - { - ?><span class="menu_disabled" title="<?php echo langHtml($menu['text'].'_DESC') ?>" class="menu_disabled"><?php echo $tmp_text ?></span>&nbsp;&nbsp;&nbsp;<?php - } - } - if (@$conf['help']['enabled'] ) - { - ?><a href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>" class="menu" style="cursor:help;"><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?></td> - </tr> -<?php if (isset($notices) && count($notices)>0 ) - { ?> - <tr> - <td align="center" class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <br><table class="notice" width="80%"> - <?php if ($notice['name']!='') { ?> - <tr> - <th colspan="2"><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?> - </th> - </tr> -<?php } ?> - <tr class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </tr> - </table> - <?php } ?> - </td> - </tr> - <tr> - <td colspan="2"><fieldset></fieldset></td> - </tr> -<?php } ?> - <tr> - <td> - <table cellspacing="0" width="100%" cellpadding="4"> -<?php unset($attr2_icon);unset($attr2_widths);unset($attr2_width);unset($attr2_rowclasses);unset($attr2_columnclasses); ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='global_name'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='name'; ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_var='name'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='global_description'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_var='description'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='global_full_filename'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='filename'; ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_var='full_filename'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php $attr4_colspan='2'; ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php unset($attr4_colspan); ?><?php $attr5_title=lang('additional_info'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='FILE_SIZE'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_var='size'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='FILE_mimetype'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='filename'; ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php unset($attr4_class); ?><?php $attr5_class='text'; $attr5_var='mimetype'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_var);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text=lang('id'); $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text=$objectid; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='CACHE_FILENAME'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php $attr4_class='filename'; ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php unset($attr4_class); ?><?php $attr5_present='cache_filename'; ?><?php - $attr5_tmp_exec = isset($$attr5_present); - $attr5_tmp_last_exec = $attr5_tmp_exec; - if ( $attr5_tmp_exec ) - { -?> -<?php unset($attr5_present); ?><?php $attr6_class='text'; $attr6_var='cache_filename'; $attr6_escape=true; ?><?php - if ( isset($attr6_prefix)&& isset($attr6_key)) - $attr6_key = $attr6_prefix.$attr6_key; - if ( isset($attr6_suffix)&& isset($attr6_key)) - $attr6_key = $attr6_key.$attr6_suffix; - if(empty($attr6_title)) - $attr6_title = ''; - if (empty($attr6_type)) - $tmp_tag = 'span'; - else - switch( $attr6_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php - $attr6_title = ''; - if ( $attr6_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr6_array)) - { - $tmpArray = $$attr6_array; - if (!empty($attr6_var)) - $tmp_text = $tmpArray[$attr6_var]; - else - $tmp_text = $langF($tmpArray[$attr6_text]); - } - elseif (!empty($attr6_text)) - $tmp_text = $langF($attr6_text); - elseif (!empty($attr6_textvar)) - $tmp_text = $langF($$attr6_textvar); - elseif (!empty($attr6_key)) - $tmp_text = $langF($attr6_key); - elseif (!empty($attr6_var)) - $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?'; - elseif (!empty($attr6_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr6_raw); - elseif (!empty($attr6_value)) - $tmp_text = $attr6_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) ); - if (isset($attr6_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_var);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php $attr3_present='cache_filename'; ?><?php - $attr3_tmp_exec = isset($$attr3_present); - $attr3_tmp_last_exec = $attr3_tmp_exec; - if ( $attr3_tmp_exec ) - { -?> -<?php unset($attr3_present); ?><?php ?><?php - $attr4_tmp_class=''; - $attr4_last_class = $attr4_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr4_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr5_class)) - $attr5_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) - $attr5_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php } -if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php } -if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php } -if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php } -if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php } -?>><?php ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr5_class)) - $attr5_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr5_rowspan) ) - $attr5_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr5_width )) { ?> width="<?php echo $attr5_width ?>" <?php } -if ( isset($attr5_style )) { ?> style="<?php echo $attr5_style ?>" <?php } -if ( isset($attr5_class )) { ?> class="<?php echo $attr5_class ?>" <?php } -if ( isset($attr5_colspan)) { ?> colspan="<?php echo $attr5_colspan ?>" <?php } -if ( isset($attr5_rowspan)) { ?> rowspan="<?php echo $attr5_rowspan ?>" <?php } -?>><?php ?><?php $attr6_icon='el_date'; $attr6_align='left'; ?><?php - $attr6_tmp_image_file = $image_dir.'icon_'.$attr6_icon.IMG_ICON_EXT; - $attr6_size = '16x16'; -?><img src="<?php echo $attr6_tmp_image_file ?>" border="0"<?php if(isset($attr6_align)) echo ' align="'.$attr6_align.'"' ?><?php if (isset($attr6_size)) { list($attr6_tmp_width,$attr6_tmp_height)=explode('x',$attr6_size);echo ' width="'.$attr6_tmp_width.'" height="'.$attr6_tmp_height.'"';} ?>><?php unset($attr6_icon);unset($attr6_align); ?><?php $attr6_date=$cache_filemtime; ?><?php - global $conf; - $time = $attr6_date; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - { - echo '<span title="'; - $dl = date(lang('DATE_FORMAT_LONG'),$time); - $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); - $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); - echo $dl; - unset($dl); - echo '">'; - echo date(lang('DATE_FORMAT'),$time); - echo '</span>'; - } - else - { - $sekunden = time()-$time; - $minuten = intval($sekunden/60); - $stunden = intval($minuten /60); - $tage = intval($stunden /24); - $monate = intval($tage /30); - $jahre = intval($monate /12); - echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - echo date(lang('DATE_FORMAT'),$time); - elseif ( $sekunden == 1 ) - echo $sekunden.' '.lang('GLOBAL_SECOND'); - elseif ( $sekunden < 60 ) - echo $sekunden.' '.lang('GLOBAL_SECONDS'); - elseif ( $minuten == 1 ) - echo $minuten.' '.lang('GLOBAL_MINUTE'); - elseif ( $minuten < 60 ) - echo $minuten.' '.lang('GLOBAL_MINUTES'); - elseif ( $stunden == 1 ) - echo $stunden.' '.lang('GLOBAL_HOUR'); - elseif ( $stunden < 60 ) - echo $stunden.' '.lang('GLOBAL_HOURS'); - elseif ( $tage == 1 ) - echo $tage.' '.lang('GLOBAL_DAY'); - elseif ( $tage < 60 ) - echo $tage.' '.lang('GLOBAL_DAYS'); - elseif ( $monate == 1 ) - echo $monate.' '.lang('GLOBAL_MONTH'); - elseif ( $monate < 12 ) - echo $monate.' '.lang('GLOBAL_MONTHS'); - elseif ( $jahre == 1 ) - echo $jahre.' '.lang('GLOBAL_YEAR'); - else - echo $jahre.' '.lang('GLOBAL_YEARS'); - echo '</span>'; - } -?><?php unset($attr6_date); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php } ?><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='FILE_PAGES'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_list='pages'; $attr5_extract=true; $attr5_key='list_key'; $attr5_value='list_value'; ?><?php - $attr5_list_tmp_key = $attr5_key; - $attr5_list_tmp_value = $attr5_value; - $attr5_list_extract = $attr5_extract; - unset($attr5_key); - unset($attr5_value); - if ( !isset($$attr5_list) || !is_array($$attr5_list) ) - $$attr5_list = array(); - foreach( $$attr5_list as $$attr5_list_tmp_key => $$attr5_list_tmp_value ) - { - if ( $attr5_list_extract ) - { - if ( !is_array($$attr5_list_tmp_value) ) - { - print_r($$attr5_list_tmp_value); - die( 'not an array at key: '.$$attr5_list_tmp_key ); - } - extract($$attr5_list_tmp_value); - } -?><?php unset($attr5_list);unset($attr5_extract);unset($attr5_key);unset($attr5_value); ?><?php $attr6_title=''; $attr6_target='cms_main'; $attr6_url='url'; $attr6_class=''; ?><?php - $params = array(); - if (!empty($attr6_var1) && isset($attr6_value1)) - $params[$attr6_var1]=$attr6_value1; - if (!empty($attr6_var2) && isset($attr6_value2)) - $params[$attr6_var2]=$attr6_value2; - if (!empty($attr6_var3) && isset($attr6_value3)) - $params[$attr6_var3]=$attr6_value3; - if (!empty($attr6_var4) && isset($attr6_value4)) - $params[$attr6_var4]=$attr6_value4; - if (!empty($attr6_var5) && isset($attr6_value5)) - $params[$attr6_var5]=$attr6_value5; - if(empty($attr6_class)) - $attr6_class=''; - if(empty($attr6_title)) - $attr6_title = ''; - if(!empty($attr6_url)) - $tmp_url = $attr6_url; - else - $tmp_url = Html::url($attr6_action,$attr6_subaction,!empty($attr6_id)?$attr6_id:$this->getRequestId(),$params); -?><a<?php if (isset($attr6_name)) echo ' name="'.$attr6_name.'"'; else echo ' href="'.$tmp_url.($attr6_anchor?'#'.$attr6_anchor:'').'"' ?> class="<?php echo $attr6_class ?>" target="<?php echo $attr6_target ?>"<?php if (isset($attr6_accesskey)) echo ' accesskey="'.$attr6_accesskey.'"' ?> title="<?php echo encodeHtml($attr6_title) ?>"><?php unset($attr6_title);unset($attr6_target);unset($attr6_url);unset($attr6_class); ?><?php $attr7_align='left'; $attr7_type='page'; ?><?php - $attr7_tmp_image_file = $image_dir.'icon_'.$attr7_type.IMG_ICON_EXT; - $attr7_size = '16x16'; -?><img src="<?php echo $attr7_tmp_image_file ?>" border="0"<?php if(isset($attr7_align)) echo ' align="'.$attr7_align.'"' ?><?php if (isset($attr7_size)) { list($attr7_tmp_width,$attr7_tmp_height)=explode('x',$attr7_size);echo ' width="'.$attr7_tmp_width.'" height="'.$attr7_tmp_height.'"';} ?>><?php unset($attr7_align);unset($attr7_type); ?><?php $attr7_class='text'; $attr7_var='name'; $attr7_escape=true; ?><?php - if ( isset($attr7_prefix)&& isset($attr7_key)) - $attr7_key = $attr7_prefix.$attr7_key; - if ( isset($attr7_suffix)&& isset($attr7_key)) - $attr7_key = $attr7_key.$attr7_suffix; - if(empty($attr7_title)) - $attr7_title = ''; - if (empty($attr7_type)) - $tmp_tag = 'span'; - else - switch( $attr7_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr7_class ?>" title="<?php echo $attr7_title ?>"><?php - $attr7_title = ''; - if ( $attr7_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr7_array)) - { - $tmpArray = $$attr7_array; - if (!empty($attr7_var)) - $tmp_text = $tmpArray[$attr7_var]; - else - $tmp_text = $langF($tmpArray[$attr7_text]); - } - elseif (!empty($attr7_text)) - $tmp_text = $langF($attr7_text); - elseif (!empty($attr7_textvar)) - $tmp_text = $langF($$attr7_textvar); - elseif (!empty($attr7_key)) - $tmp_text = $langF($attr7_key); - elseif (!empty($attr7_var)) - $tmp_text = isset($$attr7_var)?$$attr7_var:'?unset:'.$attr7_var.'?'; - elseif (!empty($attr7_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr7_raw); - elseif (!empty($attr7_value)) - $tmp_text = $attr7_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr7_maxlength) && intval($attr7_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr7_maxlength) ); - if (isset($attr7_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr7_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr7_class);unset($attr7_var);unset($attr7_escape); ?><?php ?></a><?php ?><?php ?><br/><?php ?><?php ?><?php } ?><?php ?><?php $attr5_empty='pages'; ?><?php - if ( !isset($$attr5_empty) ) - $attr5_tmp_exec = empty($attr5_empty); - elseif ( is_array($$attr5_empty) ) - $attr5_tmp_exec = (count($$attr5_empty)==0); - elseif ( is_bool($$attr5_empty) ) - $attr5_tmp_exec = true; - else - $attr5_tmp_exec = empty( $$attr5_empty ); - $attr5_tmp_last_exec = $attr5_tmp_exec; - if ( $attr5_tmp_exec ) - { -?> -<?php unset($attr5_empty); ?><?php $attr6_class='text'; $attr6_text='GLOBAL_NOT_FOUND'; $attr6_escape=true; ?><?php - if ( isset($attr6_prefix)&& isset($attr6_key)) - $attr6_key = $attr6_prefix.$attr6_key; - if ( isset($attr6_suffix)&& isset($attr6_key)) - $attr6_key = $attr6_key.$attr6_suffix; - if(empty($attr6_title)) - $attr6_title = ''; - if (empty($attr6_type)) - $tmp_tag = 'span'; - else - switch( $attr6_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr6_class ?>" title="<?php echo $attr6_title ?>"><?php - $attr6_title = ''; - if ( $attr6_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr6_array)) - { - $tmpArray = $$attr6_array; - if (!empty($attr6_var)) - $tmp_text = $tmpArray[$attr6_var]; - else - $tmp_text = $langF($tmpArray[$attr6_text]); - } - elseif (!empty($attr6_text)) - $tmp_text = $langF($attr6_text); - elseif (!empty($attr6_textvar)) - $tmp_text = $langF($$attr6_textvar); - elseif (!empty($attr6_key)) - $tmp_text = $langF($attr6_key); - elseif (!empty($attr6_var)) - $tmp_text = isset($$attr6_var)?$$attr6_var:'?unset:'.$attr6_var.'?'; - elseif (!empty($attr6_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr6_raw); - elseif (!empty($attr6_value)) - $tmp_text = $attr6_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr6_maxlength) && intval($attr6_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr6_maxlength) ); - if (isset($attr6_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr6_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr6_class);unset($attr6_text);unset($attr6_escape); ?><?php ?><?php } ?><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php $attr4_colspan='2'; ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php unset($attr4_colspan); ?><?php $attr5_title=lang('prop_userinfo'); ?><fieldset><?php if(isset($attr5_title)) { ?><legend><?php echo encodeHtml($attr5_title) ?></legend><?php } ?><?php unset($attr5_title); ?><?php ?></fieldset><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='global_created'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php - $coloumn_widths=array(); - $row_classes = array(''); - $column_classes= array(''); - if(empty($attr5_class)) - $attr5_class=''; - if (!empty($attr5_widths)) - { - $column_widths = explode(',',$attr5_widths); - unset($attr5['widths']); - } - if (!empty($attr5_classes)) - { - $row_classes = explode(',',$attr5_rowclasses); - $row_class_idx = 999; - unset($attr5['rowclasses']); - } - if (!empty($attr5_rowclasses)) - { - $row_classes = explode(',',$attr5_rowclasses); - $row_class_idx = 999; - unset($attr5['rowclasses']); - } - if (!empty($attr5_columnclasses)) - { - $column_classes = explode(',',$attr5_columnclasses); - unset($attr5['columnclasses']); - } -?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php - $attr6_tmp_class=''; - $attr6_last_class = $attr6_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr6_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr7_class)) - $attr7_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) - $attr7_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php } -if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php } -if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php } -if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php } -if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php } -?>><?php ?><?php $attr8_icon='el_date'; $attr8_align='left'; ?><?php - $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT; - $attr8_size = '16x16'; -?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_date=$create_date; ?><?php - global $conf; - $time = $attr8_date; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - { - echo '<span title="'; - $dl = date(lang('DATE_FORMAT_LONG'),$time); - $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); - $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); - echo $dl; - unset($dl); - echo '">'; - echo date(lang('DATE_FORMAT'),$time); - echo '</span>'; - } - else - { - $sekunden = time()-$time; - $minuten = intval($sekunden/60); - $stunden = intval($minuten /60); - $tage = intval($stunden /24); - $monate = intval($tage /30); - $jahre = intval($monate /12); - echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - echo date(lang('DATE_FORMAT'),$time); - elseif ( $sekunden == 1 ) - echo $sekunden.' '.lang('GLOBAL_SECOND'); - elseif ( $sekunden < 60 ) - echo $sekunden.' '.lang('GLOBAL_SECONDS'); - elseif ( $minuten == 1 ) - echo $minuten.' '.lang('GLOBAL_MINUTE'); - elseif ( $minuten < 60 ) - echo $minuten.' '.lang('GLOBAL_MINUTES'); - elseif ( $stunden == 1 ) - echo $stunden.' '.lang('GLOBAL_HOUR'); - elseif ( $stunden < 60 ) - echo $stunden.' '.lang('GLOBAL_HOURS'); - elseif ( $tage == 1 ) - echo $tage.' '.lang('GLOBAL_DAY'); - elseif ( $tage < 60 ) - echo $tage.' '.lang('GLOBAL_DAYS'); - elseif ( $monate == 1 ) - echo $monate.' '.lang('GLOBAL_MONTH'); - elseif ( $monate < 12 ) - echo $monate.' '.lang('GLOBAL_MONTHS'); - elseif ( $jahre == 1 ) - echo $jahre.' '.lang('GLOBAL_YEAR'); - else - echo $jahre.' '.lang('GLOBAL_YEARS'); - echo '</span>'; - } -?><?php unset($attr8_date); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr7_class)) - $attr7_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) - $attr7_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php } -if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php } -if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php } -if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php } -if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php } -?>><?php ?><?php $attr8_icon='user'; $attr8_align='left'; ?><?php - $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT; - $attr8_size = '16x16'; -?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_user=$create_user; ?><?php - if ( is_object($attr8_user) ) - $user = $attr8_user; - else - $user = $$attr8_user; - if ( empty($user->name) ) - $user->name = lang('GLOBAL_UNKNOWN'); - if ( empty($user->fullname) ) - $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE'); - if ( !empty($user->mail) && $conf['security']['user']['show_mail'] ) - echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; - else - echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; -?><?php unset($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?><?php - $attr3_tmp_class=''; - $attr3_last_class = $attr3_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr3_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_class='text'; $attr5_text='global_lastchange'; $attr5_escape=true; ?><?php - if ( isset($attr5_prefix)&& isset($attr5_key)) - $attr5_key = $attr5_prefix.$attr5_key; - if ( isset($attr5_suffix)&& isset($attr5_key)) - $attr5_key = $attr5_key.$attr5_suffix; - if(empty($attr5_title)) - $attr5_title = ''; - if (empty($attr5_type)) - $tmp_tag = 'span'; - else - switch( $attr5_type ) - { - case 'emphatic': - case 'italic': - $tmp_tag = 'em'; - break; - case 'strong': - case 'bold': - $tmp_tag = 'strong'; - break; - case 'tt': - case 'teletype': - $tmp_tag = 'tt'; - break; - case 'preformatted'; - $tmp_tag = 'pre'; - break; - case 'code'; - $tmp_tag = 'code'; - break; - default: - $tmp_tag = 'span'; - } -?><<?php echo $tmp_tag ?> class="<?php echo $attr5_class ?>" title="<?php echo $attr5_title ?>"><?php - $attr5_title = ''; - if ( $attr5_escape ) - $langF = 'langHtml'; - else - $langF = 'lang'; - if (!empty($attr5_array)) - { - $tmpArray = $$attr5_array; - if (!empty($attr5_var)) - $tmp_text = $tmpArray[$attr5_var]; - else - $tmp_text = $langF($tmpArray[$attr5_text]); - } - elseif (!empty($attr5_text)) - $tmp_text = $langF($attr5_text); - elseif (!empty($attr5_textvar)) - $tmp_text = $langF($$attr5_textvar); - elseif (!empty($attr5_key)) - $tmp_text = $langF($attr5_key); - elseif (!empty($attr5_var)) - $tmp_text = isset($$attr5_var)?$$attr5_var:'?unset:'.$attr5_var.'?'; - elseif (!empty($attr5_raw)) - $tmp_text = str_replace('_','&nbsp;',$attr5_raw); - elseif (!empty($attr5_value)) - $tmp_text = $attr5_value; - else - $tmp_text = '&nbsp;'; - if ( !empty($attr5_maxlength) && intval($attr5_maxlength)!=0 ) - $tmp_text = Text::maxLength( $tmp_text,intval($attr5_maxlength) ); - if (isset($attr5_accesskey)) - { - $pos = strpos(strtolower($tmp_text),strtolower($attr5_accesskey)); - if ( $pos !== false ) - $tmp_text = substr($tmp_text,0,max($pos,0)).'<span class="accesskey">'.substr($tmp_text,$pos,1).'</span>'.substr($tmp_text,$pos+1); - } - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($attr5_class);unset($attr5_text);unset($attr5_escape); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr4_class)) - $attr4_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr4_rowspan) ) - $attr4_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr4_width )) { ?> width="<?php echo $attr4_width ?>" <?php } -if ( isset($attr4_style )) { ?> style="<?php echo $attr4_style ?>" <?php } -if ( isset($attr4_class )) { ?> class="<?php echo $attr4_class ?>" <?php } -if ( isset($attr4_colspan)) { ?> colspan="<?php echo $attr4_colspan ?>" <?php } -if ( isset($attr4_rowspan)) { ?> rowspan="<?php echo $attr4_rowspan ?>" <?php } -?>><?php ?><?php $attr5_width='100%'; $attr5_space='0px'; $attr5_padding='0px'; ?><?php - $coloumn_widths=array(); - $row_classes = array(''); - $column_classes= array(''); - if(empty($attr5_class)) - $attr5_class=''; - if (!empty($attr5_widths)) - { - $column_widths = explode(',',$attr5_widths); - unset($attr5['widths']); - } - if (!empty($attr5_classes)) - { - $row_classes = explode(',',$attr5_rowclasses); - $row_class_idx = 999; - unset($attr5['rowclasses']); - } - if (!empty($attr5_rowclasses)) - { - $row_classes = explode(',',$attr5_rowclasses); - $row_class_idx = 999; - unset($attr5['rowclasses']); - } - if (!empty($attr5_columnclasses)) - { - $column_classes = explode(',',$attr5_columnclasses); - unset($attr5['columnclasses']); - } -?><table class="<?php echo $attr5_class ?>" cellspacing="<?php echo $attr5_space ?>" width="<?php echo $attr5_width ?>" cellpadding="<?php echo $attr5_padding ?>"><?php unset($attr5_width);unset($attr5_space);unset($attr5_padding); ?><?php ?><?php - $attr6_tmp_class=''; - $attr6_last_class = $attr6_tmp_class; - echo Html::open_tag('tr',array('class'=>$attr6_tmp_class)); -?><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr7_class)) - $attr7_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) - $attr7_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php } -if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php } -if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php } -if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php } -if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php } -?>><?php ?><?php $attr8_icon='el_date'; $attr8_align='left'; ?><?php - $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT; - $attr8_size = '16x16'; -?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_date=$lastchange_date; ?><?php - global $conf; - $time = $attr8_date; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - { - echo '<span title="'; - $dl = date(lang('DATE_FORMAT_LONG'),$time); - $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); - $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); - echo $dl; - unset($dl); - echo '">'; - echo date(lang('DATE_FORMAT'),$time); - echo '</span>'; - } - else - { - $sekunden = time()-$time; - $minuten = intval($sekunden/60); - $stunden = intval($minuten /60); - $tage = intval($stunden /24); - $monate = intval($tage /30); - $jahre = intval($monate /12); - echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; - if ( $time==0) - echo lang('GLOBAL_UNKNOWN'); - elseif ( !$conf['interface']['human_date_format'] ) - echo date(lang('DATE_FORMAT'),$time); - elseif ( $sekunden == 1 ) - echo $sekunden.' '.lang('GLOBAL_SECOND'); - elseif ( $sekunden < 60 ) - echo $sekunden.' '.lang('GLOBAL_SECONDS'); - elseif ( $minuten == 1 ) - echo $minuten.' '.lang('GLOBAL_MINUTE'); - elseif ( $minuten < 60 ) - echo $minuten.' '.lang('GLOBAL_MINUTES'); - elseif ( $stunden == 1 ) - echo $stunden.' '.lang('GLOBAL_HOUR'); - elseif ( $stunden < 60 ) - echo $stunden.' '.lang('GLOBAL_HOURS'); - elseif ( $tage == 1 ) - echo $tage.' '.lang('GLOBAL_DAY'); - elseif ( $tage < 60 ) - echo $tage.' '.lang('GLOBAL_DAYS'); - elseif ( $monate == 1 ) - echo $monate.' '.lang('GLOBAL_MONTH'); - elseif ( $monate < 12 ) - echo $monate.' '.lang('GLOBAL_MONTHS'); - elseif ( $jahre == 1 ) - echo $jahre.' '.lang('GLOBAL_YEAR'); - else - echo $jahre.' '.lang('GLOBAL_YEARS'); - echo '</span>'; - } -?><?php unset($attr8_date); ?><?php ?></td><?php ?><?php ?><?php - $column_class_idx++; - if ($column_class_idx > count($column_classes)) - $column_class_idx=1; - $column_class=$column_classes[$column_class_idx-1]; - if (empty($attr7_class)) - $attr7_class=$column_class; - global $cell_column_nr; - $cell_column_nr++; - if ( isset($column_widths[$cell_column_nr-1]) && !isset($attr7_rowspan) ) - $attr7_width=$column_widths[$cell_column_nr-1]; -?><td<?php -if ( isset($attr7_width )) { ?> width="<?php echo $attr7_width ?>" <?php } -if ( isset($attr7_style )) { ?> style="<?php echo $attr7_style ?>" <?php } -if ( isset($attr7_class )) { ?> class="<?php echo $attr7_class ?>" <?php } -if ( isset($attr7_colspan)) { ?> colspan="<?php echo $attr7_colspan ?>" <?php } -if ( isset($attr7_rowspan)) { ?> rowspan="<?php echo $attr7_rowspan ?>" <?php } -?>><?php ?><?php $attr8_icon='user'; $attr8_align='left'; ?><?php - $attr8_tmp_image_file = $image_dir.'icon_'.$attr8_icon.IMG_ICON_EXT; - $attr8_size = '16x16'; -?><img src="<?php echo $attr8_tmp_image_file ?>" border="0"<?php if(isset($attr8_align)) echo ' align="'.$attr8_align.'"' ?><?php if (isset($attr8_size)) { list($attr8_tmp_width,$attr8_tmp_height)=explode('x',$attr8_size);echo ' width="'.$attr8_tmp_width.'" height="'.$attr8_tmp_height.'"';} ?>><?php unset($attr8_icon);unset($attr8_align); ?><?php $attr8_user=$lastchange_user; ?><?php - if ( is_object($attr8_user) ) - $user = $attr8_user; - else - $user = $$attr8_user; - if ( empty($user->name) ) - $user->name = lang('GLOBAL_UNKNOWN'); - if ( empty($user->fullname) ) - $user->fullname = lang('GLOBAL_NO_DESCRIPTION_AVAILABLE'); - if ( !empty($user->mail) && $conf['security']['user']['show_mail'] ) - echo '<a href="mailto:'.$user->mail.'" title="'.$user->fullname.'">'.$user->name.'</a>'; - else - echo '<span title="'.$user->fullname.'">'.$user->name.'</span>'; -?><?php unset($attr8_user); ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?></table><?php ?><?php ?></td><?php ?><?php ?></tr><?php ?><?php ?> </table> - </td> - </tr> -</table> -</center> -<?php if ($showDuration) - { ?> -<br/> -<center><small>&nbsp; -<?php $dur = time()-START_TIME; - echo floor($dur/60).':'.str_pad($dur%60,2,'0',STR_PAD_LEFT); ?></small></center> -<?php } ?> -<?php ?><?php ?></body> -</html><?php ?>- \ No newline at end of file diff --git a/themes/default/pages/html/file/size.tpl.php b/themes/default/pages/html/file/size.tpl.php @@ -1,664 +0,0 @@ -<?php $a3_name='';$a3_target='_self';$a3_method='post';$a3_enctype='application/x-www-form-urlencoded';$a3_type=''; ?><?php - $a3_action = $actionName; - $a3_subaction = $targetSubActionName; - $a3_id = $this->getRequestId(); - if ($this->isEditable()) - { - if ($this->isEditMode()) - { - $a3_method = 'POST'; - } - else - { - $a3_method = 'GET'; - $a3_subaction = $subActionName; - } - } - switch( $a3_type ) - { - case 'upload': - $a3_tmp_submitFunction = ''; - break; - default: - $a3_tmp_submitFunction = 'formSubmit( $(this) ); return false;'; - } -?><form name="<?php echo $a3_name ?>" - target="<?php echo $a3_target ?>" - action="<?php echo Html::url( $a3_action,$a3_subaction,$a3_id ) ?>" - method="<?php echo $a3_method ?>" - enctype="<?php echo $a3_enctype ?>" style="margin:0px;padding:0px;" - class="<?php echo $a3_action ?>" - onSubmit="<?php echo $a3_tmp_submitFunction ?>"><input type="submit" class="invisible" /> -<?php if ($this->isEditable() && !$this->isEditMode()) { ?> -<input type="hidden" name="mode" value="edit" /> -<?php } ?> -<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $this->actionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $this->subActionName ?>" /> -<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $this->getRequestId() ?>" /><?php - if ( $conf['interface']['url_sessionid'] ) - echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; -?><?php unset($a3_name,$a3_target,$a3_method,$a3_enctype,$a3_type) ?><?php $a4_widths='5%,40%,55%';$a4_width='70%';$a4_rowclasses='odd,even';$a4_columnclasses='1,2,3'; ?><?php if (false) { ?> -<div class="window"> -<div class="title"> - <?php $icon=$actionName; ?> - <img src="<?php echo $image_dir.'icon_'.$icon.IMG_ICON_EXT ?>" align="left" /> - <?php if ($this->isEditable()) { ?> - <?php if ($this->isEditMode()) { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId() ) ?>" accesskey="1" title="<?php echo langHtml('MODE_EDIT_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>mode-edit.png" style="vertical-align:top; " border="0" /></a> <?php } - elseif (readonly()) { - ?><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /> <?php } else { - ?><a href="<?php echo Html::url($actionName,$subActionName,$this->getRequestId(),array('mode'=>'edit') ) ?>" accesskey="1" title="<?php echo langHtml('MODE_SHOW_DESC') ?>" class="path" style="text-align:right;font-weight:bold;font-weight:bold;"><img src="<?php echo $image_dir ?>readonly.png" style="vertical-align:top; " border="0" /></a> <?php } - ?><?php } ?> - <span class="path"><?php echo langHtml($actionName) ?></span>&nbsp;<strong>&rarr;</strong>&nbsp; - <?php - if ( !isset($path) || !is_array($path) ) - $path = array(); - foreach( $path as $pathElement) - { - extract($pathElement); ?> - <a javascript:void(0);" onclick="javascript:loadViewByName('<?php echo $view ?>','<?php echo $url ?>'); return false; " title="<?php echo $title ?>" class="path"><?php echo (!empty($key)?langHtml($key):$name) ?></a> - &nbsp;&rarr;&nbsp; - <?php } ?> - <span class="title"><?php echo langHtml(@$windowTitle) ?></span> - <?php - if ( isset($notice_status)) - { - ?><img src="<?php echo $image_dir.'notice_'.$notice_status.IMG_ICON_EXT ?>" align="right" /><?php - } - ?> - <?php ?> - <?php if (isset($windowIcons)) foreach( $windowIcons as $icon ) - { - ?><a href="<?php echo $icon['url'] ?>" title="<?php echo 'ICON_'.langHtml($menu['type'].'_DESC') ?>"><image border="0" src="<?php echo $image_dir.$icon['type'].IMG_ICON_EXT ?>"></a>&nbsp;<?php - } - ?> -</div> -<ul class="menu"> -<?php - if ( !isset($windowMenu) || !is_array($windowMenu) ) $windowMenu = array(); - foreach( $windowMenu as $menu ) - { - $tmp_text = langHtml($menu['text']); - $tmp_key = strtoupper(langHtml($menu['key' ])); - $tmp_pos = strpos(strtolower($tmp_text),strtolower($tmp_key)); - if ( $tmp_pos !== false ) - $tmp_text = substr($tmp_text,0,max($tmp_pos,0)).'<span class="accesskey">'. substr($tmp_text,$tmp_pos,1).'</span>'.substr($tmp_text,$tmp_pos+1); - $liClass = (isset($menu['url'])?'':'no').'action'.($this->subActionName==$menu['subaction']?' active':''); - $icon_url = $image_dir.'icon/'.$menu['subaction'].'.png'; - ?><li class="<?php echo $liClass?>"><?php - if ( isset($menu['url']) ) - { - $link_url = Html::url($actionName,$menu['subaction'],$this->getRequestId() ); - ?><a href="javascript:void(0);" onclick="javascript:loadSubaction(this,'<?php echo $actionName ?>','<?php echo $menu['subaction'] ?>','<?php echo $this->getRequestId() ?>'); return false; " accesskey="<?php echo $tmp_key ?>" title="<?php echo langHtml($menu['text'].'_DESC') ?>"><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></a><?php - } - else - { - ?><span><img src="<?php echo $icon_url ?>" /><?php echo $tmp_text ?></span><?php - } - } - ?></li><?php - if ( /* Deaktiviert */ false && @$conf['help']['enabled'] ) - { - ?><a class="help" href="<?php echo $conf['help']['url'].$actionName.'/'.$subActionName.@$conf['help']['suffix'] ?> " target="_new" title="<?php echo langHtml('MENU_HELP_DESC') ?>"><img src="<?php echo $image_dir.'icon/help.png' ?>" /><?php echo @$conf['help']['only_question_mark']?'?':langHtml('MENU_HELP') ?></a><?php - } - ?><?php - ?> -</ul> -<?php global $image_dir; - if (isset($notices) && count($notices)>0 ) - { ?> - <dl class="notice"> - <?php foreach( $notices as $notice_idx=>$notice ) { ?> - <?php if ($notice['name']!='') { ?> - <dt><img src="<?php echo $image_dir.'icon_'.$notice['type'].IMG_ICON_EXT ?>" align="left" /><?php echo $notice['name'] ?></dt> -<?php } ?> - <dd class="<?php echo $notice['status'] ?>"> - <td style="padding:10px;" width="30px"><img src="<?php echo $image_dir.'notice_'.$notice['status'].IMG_ICON_EXT ?>" style="padding:10px" /></td> - <td style="padding:10px;padding-right:10px;padding-bottom:10px;"><?php if ($notice['status']=='error') { ?><strong><?php } ?><?php echo langHtml($notice['key'],$notice['vars']) ?><?php if ($notice['status']=='error') { ?></strong><?php } ?> - <?php if (!empty($notice['log'])) { ?><pre><?php echo htmlentities(implode("\n",$notice['log'])) ?></pre><?php } ?> - </td> - </dd> - <?php } ?> - </dl> -<?php } ?> -<div class="content"><div class="filler"> -<?php } ?><?php unset($a4_widths,$a4_width,$a4_rowclasses,$a4_columnclasses) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a6_colspan='2';$a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a6_colspan,$a6_header) ?><?php $a7_class='text';$a7_text='IMAGE_OLD_SIZE';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = $langF($a7_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_text,$a7_escape,$a7_cut) ?></td><?php $a6_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a6_header) ?><?php $a7_class='text';$a7_var='width';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = isset($$a7_var)?$$a7_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_var,$a7_escape,$a7_cut) ?><?php $a7_class='text';$a7_raw='_*_';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a7_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_raw,$a7_escape,$a7_cut) ?><?php $a7_class='text';$a7_var='height';$a7_escape=true;$a7_cut='both'; ?><?php - $a7_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php - $langF = $a7_escape?'langHtml':'lang'; - $tmp_text = isset($$a7_var)?$$a7_var:$langF('UNKNOWN'); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_var,$a7_escape,$a7_cut) ?></td></tr><?php $a5_not='';$a5_empty='formats'; ?><?php - if ( !isset($$a5_empty) ) - $a5_tmp_exec = empty($a5_empty); - elseif ( is_array($$a5_empty) ) - $a5_tmp_exec = (count($$a5_empty)==0); - elseif ( is_bool($$a5_empty) ) - $a5_tmp_exec = true; - else - $a5_tmp_exec = empty( $$a5_empty ); - $a5_tmp_exec = !$a5_tmp_exec; - $a5_tmp_last_exec = $a5_tmp_exec; - if ( $a5_tmp_exec ) - { -?> -<?php unset($a5_not,$a5_empty) ?><?php $a6_true=$mode=="edit"; ?><?php - if (gettype($a6_true) === '' && gettype($a6_true) === '1') - $a6_tmp_exec = $$a6_true == true; - else - $a6_tmp_exec = $a6_true == true; - $a6_tmp_last_exec = $a6_tmp_exec; - if ( $a6_tmp_exec ) - { -?> -<?php unset($a6_true) ?><?php - $column_idx = 0; -?> -<tr -> -<?php $a8_colspan='3';$a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="3" -><?php unset($a8_colspan,$a8_header) ?><?php $a9_title=lang('IMAGE_NEW_SIZE'); ?><fieldset><?php if(isset($a9_title)) { ?><legend><?php if(isset($a9_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a9_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a9_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a9_title) ?></fieldset></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_readonly=false;$a9_name='type';$a9_value='factor';$a9_default=false;$a9_prefix='';$a9_suffix='';$a9_class='';$a9_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a9_readonly=true; - if ( isset($$a9_name) ) - $a9_tmp_default = $$a9_name; - elseif ( isset($a9_default) ) - $a9_tmp_default = $a9_default; - else - $a9_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a9_name.'_'.$a9_value ?>" name="<?php echo $a9_prefix.$a9_name ?>"<?php if ( $a9_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a9_value ?>" <?php if($a9_value==$a9_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a9_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a9_readonly,$a9_name,$a9_value,$a9_default,$a9_prefix,$a9_suffix,$a9_class,$a9_onchange) ?></td><?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_for='type_factor'; ?><label<?php if (isset($a9_for)) { ?> for="id_<?php echo $a9_for ?><?php if (!empty($a9_value)) echo '_'.$a9_value ?>" class="label"<?php } ?>> -<?php if (isset($a9_key)) { echo lang($a9_key); if(hasLang($a9_key.'_desc')) { ?><div class="description"><?php echo lang($a9_key.'_desc')?></div> <?php } } ?><?php unset($a9_for) ?><?php $a10_class='text';$a10_text='FILE_IMAGE_SIZE_FACTOR';$a10_escape=true;$a10_cut='both'; ?><?php - $a10_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a10_class ?>" title="<?php echo $a10_title ?>"><?php - $langF = $a10_escape?'langHtml':'lang'; - $tmp_text = $langF($a10_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a10_class,$a10_text,$a10_escape,$a10_cut) ?></label></td><?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_list='factors';$a9_name='factor';$a9_onchange='';$a9_title='';$a9_class='';$a9_addempty=false;$a9_multiple=false;$a9_size='1';$a9_lang=false; ?><?php -$a9_readonly=false; -$a9_tmp_list = $$a9_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a9_name)?'- '.lang('EMPTY').' -':$a9_tmp_list[$$a9_name]; -} -else -{ -if ( $a9_addempty!==FALSE ) -{ - if ($a9_addempty===TRUE) - $a9_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a9_tmp_list; - else - $a9_tmp_list = array(''=>'- '.lang($a9_addempty).' -')+$a9_tmp_list; -} -?><select<?php if ($a9_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a9_name ?>" name="<?php echo $a9_name; if ($a9_multiple) echo '[]'; ?>" onchange="<?php echo $a9_onchange ?>" title="<?php echo $a9_title ?>" class="<?php echo $a9_class ?>"<?php -if (count($$a9_list)<=1) echo ' disabled="disabled"'; -if ($a9_multiple) echo ' multiple="multiple"'; -if (in_array($a9_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a9_size).'"'; -?>><?php - if ( isset($$a9_name) && isset($a9_tmp_list[$$a9_name]) ) - $a9_tmp_default = $$a9_name; - elseif ( isset($a9_default) ) - $a9_tmp_default = $a9_default; - else - $a9_tmp_default = ''; - foreach( $a9_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a9_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a9_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a9_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a9_list)==0) echo '<input type="hidden" name="'.$a9_name.'" value="" />'; -if (count($$a9_list)==1) echo '<input type="hidden" name="'.$a9_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a9_list,$a9_name,$a9_onchange,$a9_title,$a9_class,$a9_addempty,$a9_multiple,$a9_size,$a9_lang) ?><?php $a9_var='factor';$a9_value='1'; ?><?php - if (isset($a9_key)) - $$a9_var = $a9_value[$a9_key]; - else - $$a9_var = $a9_value; -?><?php unset($a9_var,$a9_value) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_readonly=false;$a9_name='type';$a9_value='input';$a9_default=false;$a9_prefix='';$a9_suffix='';$a9_class='';$a9_onchange=''; ?><?php - if ($this->isEditable() && !$this->isEditMode()) $a9_readonly=true; - if ( isset($$a9_name) ) - $a9_tmp_default = $$a9_name; - elseif ( isset($a9_default) ) - $a9_tmp_default = $a9_default; - else - $a9_tmp_default = ''; - ?><input onclick="" class="radio" type="radio" id="id_<?php echo $a9_name.'_'.$a9_value ?>" name="<?php echo $a9_prefix.$a9_name ?>"<?php if ( $a9_readonly ) echo ' disabled="disabled"' ?> value="<?php echo $a9_value ?>" <?php if($a9_value==$a9_tmp_default) echo 'checked="checked"' ?><?php if (in_array($a9_name,$errors)) echo ' style="borderx:2px dashed red; background-color:red;"' ?> /> -<?php /* #END-IF# */ ?><?php unset($a9_readonly,$a9_name,$a9_value,$a9_default,$a9_prefix,$a9_suffix,$a9_class,$a9_onchange) ?></td><?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_for='type_input'; ?><label<?php if (isset($a9_for)) { ?> for="id_<?php echo $a9_for ?><?php if (!empty($a9_value)) echo '_'.$a9_value ?>" class="label"<?php } ?>> -<?php if (isset($a9_key)) { echo lang($a9_key); if(hasLang($a9_key.'_desc')) { ?><div class="description"><?php echo lang($a9_key.'_desc')?></div> <?php } } ?><?php unset($a9_for) ?><?php $a10_class='text';$a10_text='FILE_IMAGE_NEW_WIDTH_HEIGHT';$a10_escape=true;$a10_cut='both'; ?><?php - $a10_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a10_class ?>" title="<?php echo $a10_title ?>"><?php - $langF = $a10_escape?'langHtml':'lang'; - $tmp_text = $langF($a10_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a10_class,$a10_text,$a10_escape,$a10_cut) ?></label></td><?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_class='text';$a9_default='';$a9_type='text';$a9_name='width';$a9_size='10';$a9_maxlength='256';$a9_onchange='';$a9_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a9_readonly=true; - if ($a9_readonly && empty($$a9_name)) $$a9_name = '- '.lang('EMPTY').' -'; - if(!isset($a9_default)) $a9_default=''; - $tmp_value = Text::encodeHtml(isset($$a9_name)?$$a9_name:$a9_default); -?><?php if (!$a9_readonly || $a9_type=='hidden') { -?><input<?php if ($a9_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a9_name ?><?php if ($a9_readonly) echo '_disabled' ?>" name="<?php echo $a9_name ?><?php if ($a9_readonly) echo '_disabled' ?>" type="<?php echo $a9_type ?>" maxlength="<?php echo $a9_maxlength ?>" class="<?php echo str_replace(',',' ',$a9_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a9_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a9_readonly) { -?><input type="hidden" id="id_<?php echo $a9_name ?>" name="<?php echo $a9_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a9_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a9_class,$a9_default,$a9_type,$a9_name,$a9_size,$a9_maxlength,$a9_onchange,$a9_readonly) ?><?php $a9_class='text';$a9_raw='_*_';$a9_escape=true;$a9_cut='both'; ?><?php - $a9_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a9_class ?>" title="<?php echo $a9_title ?>"><?php - $langF = $a9_escape?'langHtml':'lang'; - $tmp_text = str_replace('_','&nbsp;',$a9_raw); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a9_class,$a9_raw,$a9_escape,$a9_cut) ?><?php $a9_class='text';$a9_default='';$a9_type='text';$a9_name='height';$a9_size='10';$a9_maxlength='256';$a9_onchange='';$a9_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a9_readonly=true; - if ($a9_readonly && empty($$a9_name)) $$a9_name = '- '.lang('EMPTY').' -'; - if(!isset($a9_default)) $a9_default=''; - $tmp_value = Text::encodeHtml(isset($$a9_name)?$$a9_name:$a9_default); -?><?php if (!$a9_readonly || $a9_type=='hidden') { -?><input<?php if ($a9_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a9_name ?><?php if ($a9_readonly) echo '_disabled' ?>" name="<?php echo $a9_name ?><?php if ($a9_readonly) echo '_disabled' ?>" type="<?php echo $a9_type ?>" maxlength="<?php echo $a9_maxlength ?>" class="<?php echo str_replace(',',' ',$a9_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($a9_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php -if ($a9_readonly) { -?><input type="hidden" id="id_<?php echo $a9_name ?>" name="<?php echo $a9_name ?>" value="<?php echo $tmp_value ?>" /><?php - } } else { ?><a title="<?php echo langHtml('EDIT') ?>" href="<?php echo Html::url($actionName,$subactionName,0,array('mode'=>'edit')) ?>"><span class="<?php echo $a9_class ?>"><?php echo $tmp_value ?></span></a><?php } ?><?php unset($a9_class,$a9_default,$a9_type,$a9_name,$a9_size,$a9_maxlength,$a9_onchange,$a9_readonly) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a8_colspan='3';$a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="3" -><?php unset($a8_colspan,$a8_header) ?><?php $a9_title=lang('options'); ?><fieldset><?php if(isset($a9_title)) { ?><legend><?php if(isset($a9_icon)) { ?><img src="<?php echo $image_dir.'icon_'.$a9_icon.IMG_ICON_EXT ?>" align="left" border="0" /><?php } ?>&nbsp;&nbsp;<?php echo encodeHtml($a9_title) ?>&nbsp;&nbsp;</legend><?php } ?><?php unset($a9_title) ?></fieldset></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a8_colspan='2';$a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a8_colspan,$a8_header) ?><?php $a9_for='format'; ?><label<?php if (isset($a9_for)) { ?> for="id_<?php echo $a9_for ?><?php if (!empty($a9_value)) echo '_'.$a9_value ?>" class="label"<?php } ?>> -<?php if (isset($a9_key)) { echo lang($a9_key); if(hasLang($a9_key.'_desc')) { ?><div class="description"><?php echo lang($a9_key.'_desc')?></div> <?php } } ?><?php unset($a9_for) ?><?php $a10_class='text';$a10_text='FILE_IMAGE_FORMAT';$a10_escape=true;$a10_cut='both'; ?><?php - $a10_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a10_class ?>" title="<?php echo $a10_title ?>"><?php - $langF = $a10_escape?'langHtml':'lang'; - $tmp_text = $langF($a10_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a10_class,$a10_text,$a10_escape,$a10_cut) ?></label></td><?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_list='formats';$a9_name='format';$a9_onchange='';$a9_title='';$a9_class='';$a9_addempty=false;$a9_multiple=false;$a9_size='1';$a9_lang=false; ?><?php -$a9_readonly=false; -$a9_tmp_list = $$a9_list; -if ($this->isEditable() && !$this->isEditMode()) -{ - echo empty($$a9_name)?'- '.lang('EMPTY').' -':$a9_tmp_list[$$a9_name]; -} -else -{ -if ( $a9_addempty!==FALSE ) -{ - if ($a9_addempty===TRUE) - $a9_tmp_list = array(''=>lang('LIST_ENTRY_EMPTY'))+$a9_tmp_list; - else - $a9_tmp_list = array(''=>'- '.lang($a9_addempty).' -')+$a9_tmp_list; -} -?><select<?php if ($a9_readonly) echo ' disabled="disabled"' ?> id="id_<?php echo $a9_name ?>" name="<?php echo $a9_name; if ($a9_multiple) echo '[]'; ?>" onchange="<?php echo $a9_onchange ?>" title="<?php echo $a9_title ?>" class="<?php echo $a9_class ?>"<?php -if (count($$a9_list)<=1) echo ' disabled="disabled"'; -if ($a9_multiple) echo ' multiple="multiple"'; -if (in_array($a9_name,$errors)) echo ' style="background-color:red; border:2px dashed red;"'; -echo ' size="'.intval($a9_size).'"'; -?>><?php - if ( isset($$a9_name) && isset($a9_tmp_list[$$a9_name]) ) - $a9_tmp_default = $$a9_name; - elseif ( isset($a9_default) ) - $a9_tmp_default = $a9_default; - else - $a9_tmp_default = ''; - foreach( $a9_tmp_list as $box_key=>$box_value ) - { - if ( is_array($box_value) ) - { - $box_key = $box_value['key' ]; - $box_title = $box_value['title']; - $box_value = $box_value['value']; - } - elseif( $a9_lang ) - { - $box_title = lang( $box_value.'_DESC'); - $box_value = lang( $box_value ); - } - else - { - $box_title = ''; - } - echo '<option class="'.$a9_class.'" value="'.$box_key.'" title="'.$box_title.'"'; - if ((string)$box_key==$a9_tmp_default) - echo ' selected="selected"'; - echo '>'.$box_value.'</option>'; - } -?></select><?php -if (count($$a9_list)==0) echo '<input type="hidden" name="'.$a9_name.'" value="" />'; -if (count($$a9_list)==1) echo '<input type="hidden" name="'.$a9_name.'" value="'.$box_key.'" />'; -} -?><?php unset($a9_list,$a9_name,$a9_onchange,$a9_title,$a9_class,$a9_addempty,$a9_multiple,$a9_size,$a9_lang) ?></td></tr><?php - $column_idx = 0; -?> -<tr -> -<?php $a8_colspan='2';$a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> - colspan="2" -><?php unset($a8_colspan,$a8_header) ?><?php $a9_for='jpeglist_compression'; ?><label<?php if (isset($a9_for)) { ?> for="id_<?php echo $a9_for ?><?php if (!empty($a9_value)) echo '_'.$a9_value ?>" class="label"<?php } ?>> -<?php if (isset($a9_key)) { echo lang($a9_key); if(hasLang($a9_key.'_desc')) { ?><div class="description"><?php echo lang($a9_key.'_desc')?></div> <?php } } ?><?php unset($a9_for) ?><?php $a10_class='text';$a10_text='FILE_IMAGE_JPEG_COMPRESSION';$a10_escape=true;$a10_cut='both'; ?><?php - $a10_title = ''; - $tmp_tag = 'span'; -?><<?php echo $tmp_tag ?> class="<?php echo $a10_class ?>" title="<?php echo $a10_title ?>"><?php - $langF = $a10_escape?'langHtml':'lang'; - $tmp_text = $langF($a10_text); - $tmp_text = nl2br($tmp_text); - echo $tmp_text; - unset($tmp_text); -?></<?php echo $tmp_tag ?>><?php unset($a10_class,$a10_text,$a10_escape,$a10_cut) ?></label></td><?php $a8_header=false; ?><?php $column_idx++; ?><td -<?php if (!empty($column_widths)) { ?> - width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" -<?php } ?> -<?php if (!empty($column_classes)) { ?> - class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" -<?php } ?> -><?php unset($a8_header) ?><?php $a9_var='jpeg_compression';$a9_value='70'; ?><?php - if (isset($a9_key)) - $$a9_var = $a9_value[$a9_key]; - else - $$a9_var = $a9_value; -?><?php unset($a9_var,$a9_value) ?><?php $a9_list='jpeglist';$a9_name='jpeg_compression'