commit e758b5444bcd4345e645b2d09ec644dc57b2ea23
parent 46c57f170932e71018b68f5f641686e4ac068cd2
Author: Jan Dankert <devnull@localhost>
Date: Tue, 10 Jul 2018 01:11:35 +0200
Headerleiste auf Stand gebracht, LESS-Regeln verschönert und aufgeräumt.
Diffstat:
6 files changed, 662 insertions(+), 748 deletions(-)
diff --git a/modules/cms-ui/themes/default/html/views/title/show.php b/modules/cms-ui/themes/default/html/views/title/show.php
@@ -26,7 +26,7 @@
</div>
<div class="dropdown">
<div class="entry clickable filtered on-action-folder on-action-page on-action-file">
- <a title="<?php echo lang('menu_new_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="new" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_new_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="new" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','new','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_new'.'')))); ?></span>
@@ -37,7 +37,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createfolder_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createfolder" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createfolder_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createfolder" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createfolder','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createfolder'.'')))); ?></span>
@@ -46,7 +46,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createpage_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createpage" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createpage_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createpage" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createpage','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createpage'.'')))); ?></span>
@@ -55,7 +55,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createfile_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createfile" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createfile_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createfile" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createfile','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createfile'.'')))); ?></span>
@@ -64,7 +64,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createimage_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createimage" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createimage_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createimage" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createimage','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createimage'.'')))); ?></span>
@@ -73,7 +73,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createtext_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createtext" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createtext_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createtext" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createtext','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createtext'.'')))); ?></span>
@@ -82,7 +82,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createlink_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createlink" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createlink_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createlink" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createlink','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createlink'.'')))); ?></span>
@@ -91,7 +91,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_createurl_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createurl" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_createurl_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="createurl" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','createurl','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/add.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_createurl'.'')))); ?></span>
@@ -120,7 +120,7 @@
</div>
<div class="entry clickable filtered on-action-page on-action-file on-action-template on-action-pageelement">
- <a title="<?php echo lang('menu_preview_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="preview" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_preview_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="preview" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','preview','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/preview.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_preview'.'')))); ?></span>
@@ -152,7 +152,7 @@
</div>
<div class="dropdown">
<div class="entry clickable filtered on-action-link on-action-folder on-action-page on-action-template on-action-element on-action-file">
- <a title="<?php echo lang('menu_prop_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_prop_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','prop','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/prop.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_prop'.'')))); ?></span>
@@ -161,7 +161,7 @@
</div>
<div class="entry clickable filtered on-action-page on-action-file on-action-folder on-action-pageelement on-action-template">
- <a title="<?php echo lang('menu_pub_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pub" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_pub_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pub" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','pub','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/publish.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_pub'.'')))); ?></span>
@@ -170,7 +170,7 @@
</div>
<div class="entry clickable filtered on-action-pageelement">
- <a class="entry" title="<?php echo lang('menu_archive_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="archive" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a class="entry" title="<?php echo lang('menu_archive_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="archive" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','archive','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/archive.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_archive'.'')))); ?></span>
@@ -179,7 +179,7 @@
</div>
<div class="entry clickable filtered on-action-project on-action-folder on-action-link on-action-user on-action-group on-action-page on-action-file">
- <a title="<?php echo lang('menu_rights_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="rights" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_rights_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="rights" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','rights','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/rights.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_rights'.'')))); ?></span>
@@ -188,7 +188,7 @@
</div>
<div class="entry clickable filtered on-action-pageelement on-action-user on-action-group on-action-page on-action-project on-action-projectlist">
- <a title="<?php echo lang('menu_history_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="history" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_history_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="history" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','history','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/history.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_history'.'')))); ?></span>
@@ -199,7 +199,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-page">
- <a title="<?php echo lang('menu_changetemplate_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="changetemplate" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_changetemplate_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="changetemplate" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','changetemplate','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/changetemplate.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_changetemplate'.'')))); ?></span>
@@ -210,7 +210,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-user">
- <a title="<?php echo lang('menu_password_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pw" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_password_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pw" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','pw','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/password.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_password'.'')))); ?></span>
@@ -219,7 +219,7 @@
</div>
<div class="entry clickable filtered on-action-language on-action-element">
- <a title="<?php echo lang('menu_advanced_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="advanced" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_advanced_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="advanced" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','advanced','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/advanced.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_advanced'.'')))); ?></span>
@@ -230,7 +230,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-project on-action-template on-action-page on-action-element on-action-image on-action-file on-action-folder on-action-link on-action-language on-action-model">
- <a title="<?php echo lang('menu_delete_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="remove" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_delete_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="remove" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','remove','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/delete.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_delete'.'')))); ?></span>
@@ -239,7 +239,7 @@
</div>
<div class="entry clickable filtered on-action-template">
- <a title="<?php echo lang('menu_src_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="src" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_src_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="src" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','src','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/code.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_src'.'')))); ?></span>
@@ -248,7 +248,7 @@
</div>
<div class="entry clickable filtered on-action-template">
- <a title="<?php echo lang('menu_extension_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="extension" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_extension_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="extension" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','extension','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/extension.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_extension'.'')))); ?></span>
@@ -259,7 +259,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-text">
- <a title="<?php echo lang('menu_value_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="value" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_value_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="value" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','value','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/value.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_value'.'')))); ?></span>
@@ -268,7 +268,7 @@
</div>
<div class="entry clickable filtered on-action-folder">
- <a title="<?php echo lang('menu_order_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="order" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_order_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="order" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','order','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/order.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_order'.'')))); ?></span>
@@ -279,7 +279,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-file">
- <a title="<?php echo lang('menu_compress_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="compress" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_compress_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="compress" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','compress','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/compress.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_compress'.'')))); ?></span>
@@ -288,7 +288,7 @@
</div>
<div class="entry clickable filtered on-action-file">
- <a title="<?php echo lang('menu_decompress_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="decompress" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_decompress_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="decompress" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','decompress','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/decompress.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_decompress'.'')))); ?></span>
@@ -297,7 +297,7 @@
</div>
<div class="entry clickable filtered on-action-file">
- <a title="<?php echo lang('menu_extract_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="extract" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_extract_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="extract" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','extract','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/extract.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_extract'.'')))); ?></span>
@@ -306,7 +306,7 @@
</div>
<div class="entry clickable filtered on-action-image">
- <a title="<?php echo lang('menu_size_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="size" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_size_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="size" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','size','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/size.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_size'.'')))); ?></span>
@@ -317,7 +317,7 @@
<div class="divide">
</div>
<div class="entry clickable filtered on-action-project">
- <a title="<?php echo lang('menu_maintenance_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="maintenance" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_maintenance_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="maintenance" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','maintenance','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/maintenance.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_maintenance'.'')))); ?></span>
@@ -326,7 +326,7 @@
</div>
<div class="entry clickable filtered on-action-project">
- <a title="<?php echo lang('menu_export_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="export" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_export_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="export" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','export','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/export.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_export'.'')))); ?></span>
@@ -335,7 +335,7 @@
</div>
<div class="entry clickable filtered on-action-user on-action-group">
- <a title="<?php echo lang('menu_memberships_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="memberships" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_memberships_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="memberships" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','memberships','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/membership.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_memberships'.'')))); ?></span>
@@ -347,74 +347,8 @@
</div>
<?php } ?>
<?php $if2=($isLoggedIn); if($if2){?>
- <div class="toolbar-icon projects menu">
- <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/project.svg" />
-
- <span class="titletext"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'GLOBAL_PROJECT'.'')))); ?></span>
-
- <div class="dropdown">
- <?php $if5=($isAdmin); if($if5){?>
- <div class="entry clickable">
- <a class="entry" target="_self" data-type="post" data-action="start" data-method="administration" data-id="-1" data-data="{"action":"start","subaction":"administration","id":"-1","token":"<?php echo token() ?>","none":"0"}">
- <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/settings.svg" />
-
- <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'administration'.'')))); ?></span>
-
- </a>
-
- </div>
- <div class="divide">
- </div>
- <?php } ?>
- <?php $if5=(intval('00')<intval(@count($languages))); if($if5){?>
- <?php foreach($languages as $id=>$name){ ?>
- <div class="entry clickable">
- <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/language.svg" />
-
- <a title="<?php echo lang('select_language') ?>" target="_self" data-type="post" data-action="tree" data-method="language" data-id="<?php echo $id ?>" data-data="{"action":"tree","subaction":"language","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}">
- <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
-
- </a>
-
- </div>
- <?php } ?>
- <div class="divide">
- </div>
- <?php } ?>
- <?php $if5=(intval('0')<intval(@count($models))); if($if5){?>
- <?php foreach($models as $id=>$name){ ?>
- <div class="entry clickable">
- <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/model.svg" />
-
- <a title="<?php echo lang('select_model') ?>" target="_self" data-type="post" data-action="tree" data-method="model" data-id="<?php echo $id ?>" data-data="{"action":"tree","subaction":"model","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}">
- <span class="text"><?php echo nl2br(encodeHtml(htmlentities($name))); ?></span>
-
- </a>
-
- </div>
- <?php } ?>
- <div class="divide">
- </div>
- <?php } ?>
- <?php foreach($projects as $id=>$name){ ?>
- <div class="entry clickable">
- <img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/project.svg" />
-
- <a title="<?php echo lang('select_project') ?>" target="_self" data-type="post" data-action="start" data-method="projectmenu" data-id="<?php echo $id ?>" data-data="{"action":"start","subaction":"projectmenu","id":"<?php echo $id ?>","token":"<?php echo token() ?>","none":"0"}">
- <span class="text"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $name,45,'..',constant('STR_PAD_BOTH') )))); ?></span>
-
- </a>
-
- </div>
- <?php } ?>
- </div>
- <div class="arrow-down">
- </div>
- </div>
- <?php } ?>
- <?php $if2=($isLoggedIn); if($if2){?>
<div class="toolbar-icon clickable filtered on-action-folder on-action-file on-action-page on-action-link on-action-template on-action-element">
- <a title="<?php echo lang('menu_prop_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_prop_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="prop" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','prop','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/prop.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_prop'.'')))); ?></span>
@@ -423,7 +357,7 @@
</div>
<div class="toolbar-icon clickable filtered on-action-folder on-action-page on-action-file on-action-pageelement on-action-template">
- <a title="<?php echo lang('menu_pub_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pub" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_pub_desc') ?>" target="_self" data-type="dialog" data-action="" data-method="pub" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('','pub','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/publish.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_pub'.'')))); ?></span>
@@ -433,7 +367,7 @@
</div>
<?php } ?>
<?php $if2=!(empty(config('login','motd'))); if($if2){?>
- <div class="toolbar-icon">
+ <div class="toolbar-icon menu">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/motd.svg" />
<span class="text"><?php echo nl2br(' '); ?></span>
@@ -442,15 +376,15 @@
</div>
<div class="dropdown">
<div class="entry">
- <span class="text"><?php echo nl2br('config:login/motd'); ?></span>
+ <span class="text"><?php echo nl2br(encodeHtml(htmlentities(config('login','motd')))); ?></span>
</div>
</div>
</div>
<?php } ?>
<?php $if2=($isLoggedIn); if($if2){?>
- <div class="search">
- <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> data-hint="<?php echo lang('search') ?>" id="<?php echo REQUEST_ID ?>_text" name="text<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$text) ?>" /><?php if ('') { ?><input type="hidden" name="text" value="<?php $text ?>"/><?php } ?><img src="/themes/default/images/icon_search<?php echo IMG_ICON_EXT ?>" width="16" height="16" /></div>
+ <div class="toolbar-icon search">
+ <div class="inputholder"><input<?php if ('') echo ' disabled="true"' ?> data-hint="<?php echo lang('search') ?>" id="<?php echo REQUEST_ID ?>_text" name="text<?php if ('') echo '_disabled' ?>" type="text" maxlength="256" class="text" value="<?php echo Text::encodeHtml(@$text) ?>" /><?php if ('') { ?><input type="hidden" name="text" value="<?php $text ?>"/><?php } ?><img src="./modules/cms-ui/themes/default/images/icon_search.png" width="16" height="16" /></div>
<div class="dropdown">
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(''))); ?></span>
@@ -463,11 +397,11 @@
<span class="titletext"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_help'.'')))); ?></span>
- <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/arrow_down.svg" />
-
+ <div class="arrow-down">
+ </div>
<div class="dropdown">
<div class="entry clickable">
- <a title="<?php echo lang('menu_license_DESC') ?>" target="_self" data-type="dialog" data-action="login" data-method="license" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_license_DESC') ?>" target="_self" data-type="dialog" data-action="login" data-method="license" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('login','license','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/license.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_license'.'')))); ?></span>
@@ -482,14 +416,12 @@
<span class="titletext"><?php echo nl2br(encodeHtml(htmlentities(Text::maxLength( $userfullname,25,'..',constant('STR_PAD_BOTH') )))); ?></span>
- <?php $if3=($isLoggedIn); if($if3){?>
- <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/arrow_down.svg" />
-
- <?php } ?>
- <?php $if3=($isLoggedIn); if($if3){?>
- <div class="dropdown">
+ <div class="arrow-down">
+ </div>
+ <div class="dropdown">
+ <?php $if4=($isLoggedIn); if($if4){?>
<div class="entry clickable">
- <a title="<?php echo lang('menu_PROFILE_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="edit" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_PROFILE_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="edit" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('profile','edit','') ?>">
<img class="image-icon image-icon--action" title="" src="./modules/cms-ui/themes/default/images/icon/action/user.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_profile'.'')))); ?></span>
@@ -498,7 +430,7 @@
</div>
<div class="entry clickable">
- <a title="<?php echo lang('menu_password_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="pw" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_password_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="pw" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('profile','pw','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/password.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_password'.'')))); ?></span>
@@ -507,7 +439,7 @@
</div>
<div class="entry clickable">
- <a title="<?php echo lang('menu_mail_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="mail" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_mail_DESC') ?>" target="_self" data-type="dialog" data-action="profile" data-method="mail" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('profile','mail','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/mail.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_mail'.'')))); ?></span>
@@ -527,7 +459,7 @@
<div class="divide">
</div>
<div class="entry clickable">
- <a title="<?php echo lang('menu_history_desc') ?>" target="_self" data-type="dialog" data-action="profile" data-method="history" data-id="<?php echo OR_ID ?>" href="javascript:void(0);">
+ <a title="<?php echo lang('menu_history_desc') ?>" target="_self" data-type="dialog" data-action="profile" data-method="history" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('profile','history','') ?>">
<img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/history.svg" />
<span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'menu_history'.'')))); ?></span>
@@ -546,7 +478,18 @@
</a>
</div>
- </div>
- <?php } ?>
+ <?php } ?>
+ <?php if(!$if4){?>
+ <div class="entry clickable">
+ <a title="<?php echo lang('USER_LOGIN_DESC') ?>" target="_self" data-type="dialog" data-action="login" data-method="login" data-id="<?php echo OR_ID ?>" href="<?php echo Html::url('login','login','') ?>">
+ <img class="image-icon image-icon--method" title="" src="./modules/cms-ui/themes/default/images/icon/method/user.svg" />
+
+ <span class="text"><?php echo nl2br(encodeHtml(htmlentities(lang(''.'USER_LOGIN'.'')))); ?></span>
+
+ </a>
+
+ </div>
+ <?php } ?>
+ </div>
</div>
\ No newline at end of file
diff --git a/modules/cms-ui/themes/default/html/views/title/show.tpl.src.xml b/modules/cms-ui/themes/default/html/views/title/show.tpl.src.xml
@@ -1,492 +1,493 @@
<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
-
- <!-- Info-Meldung anzeigen (sofern vorhanden) -->
- <if present="var:dbname">
- <part class="toolbar-icon">
- <image action="database"></image>
- <text raw="_" />
- <part class="arrow-down" />
- <part class="dropdown">
- <part class="entry">
- <text title="var:dbid" var="dbname"
- maxlength="50"></text>
- </part>
- </part>
- </part>
- </if>
-
-
- <!-- Menü: Datei -->
- <if true="var:isLoggedIn">
- <part class="toolbar-icon menu">
- <image action="file"></image>
- <text key="file"></text>
- <part class="arrow-down" />
- <part class="dropdown">
- <part
- class="entry clickable filtered on-action-folder on-action-page on-action-file">
- <link type="dialog" title="message:menu_new_desc" subaction="new">
- <image method="add" align="left"></image>
- <text key="menu_new"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createfolder_desc" subaction="createfolder">
- <image method="add" align="left"></image>
- <text key="menu_createfolder"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createpage_desc" subaction="createpage">
- <image method="add" align="left"></image>
- <text key="menu_createpage"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createfile_desc" subaction="createfile">
- <image method="add" align="left"></image>
- <text key="menu_createfile"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createimage_desc" subaction="createimage">
- <image method="add" align="left"></image>
- <text key="menu_createimage"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createtext_desc" subaction="createtext">
- <image method="add" align="left"></image>
- <text key="menu_createtext"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createlink_desc" subaction="createlink">
- <image method="add" align="left"></image>
- <text key="menu_createlink"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_createurl_desc" subaction="createurl">
- <image method="add" align="left"></image>
- <text key="menu_createurl"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable">
- <link type="post" title="message:menu_save_desc" subaction="save">
- <image method="save" align="left"></image>
- <text key="menu_save"></text>
- </link>
- </part>
- <part class="entry clickable">
- <link type="post" title="message:menu_saveall_desc" subaction="saveall">
- <image method="save" align="left"></image>
- <text key="menu_saveall"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-page on-action-file on-action-template on-action-pageelement">
- <link type="dialog" title="message:menu_preview_desc"
- subaction="preview">
- <image method="preview" align="left"></image>
- <text key="menu_preview"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable">
- <link type="post" class="entry" title="message:USER_LOGOUT_DESC"
- action="login" subaction="logout">
- <image method="logout" align="left"></image>
- <text key="USER_LOGOUT"></text>
- </link>
- </part>
- </part>
- </part>
- </if>
-
- <!-- Menü: Bearbeiten -->
- <if true="var:isLoggedIn">
-
- <part class="toolbar-icon menu">
- <image method="edit" align="left"></image>
- <text key="edit"></text>
- <part class="arrow-down" />
- <part class="dropdown">
- <part
- class="entry clickable filtered on-action-link on-action-folder on-action-page on-action-template on-action-element on-action-file">
- <link type="dialog" title="message:menu_prop_desc" subaction="prop">
- <image method="prop" align="left"></image>
- <text key="menu_prop"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-page on-action-file on-action-folder on-action-pageelement on-action-template">
- <link type="dialog" title="message:menu_pub_desc" subaction="pub">
- <image method="publish" align="left"></image>
- <text key="menu_pub"></text>
- </link>
- </part>
- <part class="entry clickable filtered on-action-pageelement">
- <link type="dialog" class="entry" subaction="archive"
- title="message:menu_archive_desc">
- <image method="archive" align="left"></image>
- <text key="menu_archive"></text>
- </link>
- </part>
- <part
- class="entry clickable filtered on-action-project on-action-folder on-action-link on-action-user on-action-group on-action-page on-action-file">
- <link type="dialog" title="message:menu_rights_desc"
- subaction="rights">
- <image method="rights" align="left"></image>
- <text key="menu_rights"></text>
- </link>
- </part>
-
- <part
- class="entry clickable filtered on-action-pageelement on-action-user on-action-group on-action-page on-action-project on-action-projectlist">
- <link type="dialog" title="message:menu_history_desc"
- subaction="history">
- <image method="history" align="left"></image>
- <text key="menu_history"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable filtered on-action-page">
- <link type="dialog" title="message:menu_changetemplate_desc"
- subaction="changetemplate">
- <image method="changetemplate" align="left"></image>
- <text key="menu_changetemplate"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable filtered on-action-user">
- <link type="dialog" title="message:menu_password_desc"
- subaction="pw">
- <image method="password" align="left"></image>
- <text key="menu_password"></text>
- </link>
- </part>
-
- <part class="entry clickable filtered on-action-language on-action-element">
- <link type="dialog" title="message:menu_advanced_desc"
- subaction="advanced">
- <image method="advanced" align="left"></image>
- <text key="menu_advanced"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable filtered on-action-project on-action-template on-action-page on-action-element on-action-image on-action-file on-action-folder on-action-link on-action-language on-action-model">
- <link type="dialog" title="message:menu_delete_desc"
- subaction="remove">
- <image method="delete" align="left"></image>
- <text key="menu_delete"></text>
- </link>
- </part>
-
- <part class="entry clickable filtered on-action-template">
- <link type="dialog" title="message:menu_src_desc"
- subaction="src">
- <image method="code" align="left"></image>
- <text key="menu_src"></text>
- </link>
- </part>
-
- <part class="entry clickable filtered on-action-template">
- <link type="dialog" title="message:menu_extension_desc"
- subaction="extension">
- <image method="extension" align="left"></image>
- <text key="menu_extension"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable filtered on-action-text">
- <link type="dialog" title="message:menu_value_desc"
- subaction="value">
- <image method="value" align="left"></image>
- <text key="menu_value"></text>
- </link>
- </part>
-
- <part class="entry clickable filtered on-action-folder">
- <link type="dialog" title="message:menu_order_desc"
- subaction="order">
- <image method="order" align="left"></image>
- <text key="menu_order"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable filtered on-action-file">
- <link type="dialog" title="message:menu_compress_desc"
- subaction="compress">
- <image method="compress" align="left"></image>
- <text key="menu_compress"></text>
- </link>
- </part>
- <part class="entry clickable filtered on-action-file">
- <link type="dialog" title="message:menu_decompress_desc"
- subaction="decompress">
- <image method="decompress" align="left"></image>
- <text key="menu_decompress"></text>
- </link>
- </part>
- <part class="entry clickable filtered on-action-file">
- <link type="dialog" title="message:menu_extract_desc"
- subaction="extract">
- <image method="extract" align="left"></image>
- <text key="menu_extract"></text>
- </link>
- </part>
- <part class="entry clickable filtered on-action-image">
- <link type="dialog" title="message:menu_size_desc"
- subaction="size">
- <image method="size" align="left"></image>
- <text key="menu_size"></text>
- </link>
- </part>
-
-
- <part class="divide" />
-
- <part class="entry clickable filtered on-action-project">
- <link type="dialog" title="message:menu_maintenance_desc"
- subaction="maintenance">
- <image method="maintenance" align="left"></image>
- <text key="menu_maintenance"></text>
- </link>
- </part>
- <part class="entry clickable filtered on-action-project">
- <link type="dialog" title="message:menu_export_desc"
- subaction="export">
- <image method="export" align="left"></image>
- <text key="menu_export"></text>
- </link>
- </part>
- <part class="entry clickable filtered on-action-user on-action-group">
- <link type="dialog" title="message:menu_memberships_desc"
- subaction="memberships">
- <image method="membership" align="left"></image>
- <text key="menu_memberships"></text>
- </link>
- </part>
- </part>
- </part>
- </if>
-
- <!-- Menü: Projekt -->
- <if true="var:isLoggedIn">
-
- <part class="toolbar-icon projects menu">
- <image action="project" align="left"></image>
- <text class="titletext" key="GLOBAL_PROJECT"></text>
- <part class="dropdown">
-
- <if true="var:isAdmin">
- <part class="entry clickable">
- <link type="post" class="entry" action="start" subaction="administration"
- target="tree" id="-1">
- <image method="settings" align="left"></image>
- <text key="administration"></text>
- </link>
- </part>
- <part class="divide" />
- </if>
-
- <if value="size:languages" greaterthan="00">
- <list list="languages" key="id" value="name">
- <part class="entry clickable">
- <image action="language"></image>
- <link type="post" action="tree" subaction="language" id="var:id"
- title="message:select_language">
- <text var="name"></text>
- </link>
- </part>
- </list>
- <part class="divide" />
- </if>
-
- <if value="size:models" greaterthan="0">
- <list list="models" key="id" value="name">
- <part class="entry clickable">
- <image action="model"></image>
- <link type="post" action="tree" subaction="model" id="var:id"
- title="message:select_model">
- <text var="name"></text>
- </link>
- </part>
- </list>
- <part class="divide" />
- </if>
-
-
- <list list="projects" key="id" value="name">
- <part class="entry clickable">
- <image action="project"></image>
- <link type="post" action="start" subaction="projectmenu" id="var:id"
- title="message:select_project">
- <text var="name" maxlength="45"></text>
- </link>
- </part>
- </list>
- </part>
- <part class="arrow-down" />
- </part>
- </if>
-
-
-
- <!-- Falls eingeloggt: Weitere Aktionsbuttons -->
- <if true="var:isLoggedIn">
-
- <part
- class="toolbar-icon clickable filtered on-action-folder on-action-file on-action-page on-action-link on-action-template on-action-element">
- <link type="dialog" subaction="prop" title="message:menu_prop_desc">
- <image method="prop" align="left"></image>
- <text key="menu_prop"></text>
- </link>
- </part>
- <part
- class="toolbar-icon clickable filtered on-action-folder on-action-page on-action-file on-action-pageelement on-action-template">
- <link type="dialog" subaction="pub" title="message:menu_pub_desc">
- <image method="publish" align="left"></image>
- <text key="menu_pub"></text>
- </link>
- </part>
- </if>
-
-
- <!-- Info-Meldung anzeigen (sofern vorhanden) -->
- <if not="" empty="config:login/motd">
- <part class="toolbar-icon">
- <image method="motd" align="left"></image>
- <text raw="_" />
- <part class="arrow-down" />
- <part class="dropdown">
- <part class="entry">
- <text raw="config:login/motd"></text>
- </part>
- </part>
- </part>
- </if>
-
-
-
-
-
- <!-- Suche -->
- <if true="var:isLoggedIn">
- <part class="search">
- <input name="text" hint="message:search" icon="search"></input>
- <part class="dropdown">
- <text raw=""></text>
- </part>
- </part>
- </if>
-
- <!-- Hilfe -->
- <part class="toolbar-icon menu">
- <image action="user" align="left"></image>
- <text class="titletext" key="menu_help"></text>
- <image method="arrow_down" align="left"></image>
- <part class="dropdown">
-
- <part class="entry clickable">
- <link type="dialog" title="message:menu_license_DESC" action="login" subaction="license">
- <image method="license" align="left"></image>
- <text key="menu_license"></text>
- </link>
- </part>
-
- </part>
- </part>
-
-
- <!-- Benutzer -->
- <part class="toolbar-icon user menu">
- <image action="user" align="left"></image>
- <text class="titletext" var="userfullname" maxlength="25"></text>
-
- <if true="var:isLoggedIn">
- <image method="arrow_down" align="left"></image>
- </if>
- <!-- <part class="arrow-down" />-->
-
- <if true="var:isLoggedIn">
-
- <part class="dropdown">
-
- <part class="entry clickable">
- <link type="dialog" title="message:menu_PROFILE_DESC" action="profile" subaction="edit">
- <image action="user" align="left"></image>
- <text key="menu_profile"></text>
- </link>
- </part>
- <part class="entry clickable">
- <link type="dialog" title="message:menu_password_DESC" action="profile" subaction="pw">
- <image method="password" align="left"></image>
- <text key="menu_password"></text>
- </link>
- </part>
- <part class="entry clickable">
- <link type="dialog" title="message:menu_mail_DESC" action="profile" subaction="mail">
- <image method="mail" align="left"></image>
- <text key="menu_mail"></text>
- </link>
- </part>
- <part class="entry clickable">
- <link type="post" title="message:menu_start_desc" action="start"
- subaction="start">
- <image action="dashboard" align="left"></image>
- <text key="menu_start"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable">
- <link type="dialog" title="message:menu_history_desc" action="profile" subaction="history">
- <image method="history" align="left"></image>
- <text key="menu_history"></text>
- </link>
- </part>
-
- <part class="divide" />
-
- <part class="entry clickable">
- <link type="post" class="entry" title="message:USER_LOGOUT_DESC"
- action="login" subaction="logout">
- <image method="close" align="left"></image>
- <text key="USER_LOGOUT"></text>
- </link>
- </part>
- </part>
-
- </if>
- </part>
+ xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
+
+ <!-- Info-Meldung anzeigen (sofern vorhanden) -->
+ <if present="var:dbname">
+ <part class="toolbar-icon">
+ <image action="database"></image>
+ <text raw="_"/>
+ <part class="arrow-down"/>
+ <part class="dropdown">
+ <part class="entry">
+ <text title="var:dbid" var="dbname"
+ maxlength="50"></text>
+ </part>
+ </part>
+ </part>
+ </if>
+
+
+ <!-- Menü: Datei -->
+ <if true="var:isLoggedIn">
+ <part class="toolbar-icon menu">
+ <image action="file"></image>
+ <text key="file"></text>
+ <part class="arrow-down"/>
+ <part class="dropdown">
+ <part
+ class="entry clickable filtered on-action-folder on-action-page on-action-file">
+ <link type="dialog" title="message:menu_new_desc" subaction="new">
+ <image method="add" align="left"></image>
+ <text key="menu_new"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createfolder_desc" subaction="createfolder">
+ <image method="add" align="left"></image>
+ <text key="menu_createfolder"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createpage_desc" subaction="createpage">
+ <image method="add" align="left"></image>
+ <text key="menu_createpage"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createfile_desc" subaction="createfile">
+ <image method="add" align="left"></image>
+ <text key="menu_createfile"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createimage_desc" subaction="createimage">
+ <image method="add" align="left"></image>
+ <text key="menu_createimage"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createtext_desc" subaction="createtext">
+ <image method="add" align="left"></image>
+ <text key="menu_createtext"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createlink_desc" subaction="createlink">
+ <image method="add" align="left"></image>
+ <text key="menu_createlink"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_createurl_desc" subaction="createurl">
+ <image method="add" align="left"></image>
+ <text key="menu_createurl"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable">
+ <link type="post" title="message:menu_save_desc" subaction="save">
+ <image method="save" align="left"></image>
+ <text key="menu_save"></text>
+ </link>
+ </part>
+ <part class="entry clickable">
+ <link type="post" title="message:menu_saveall_desc" subaction="saveall">
+ <image method="save" align="left"></image>
+ <text key="menu_saveall"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-page on-action-file on-action-template on-action-pageelement">
+ <link type="dialog" title="message:menu_preview_desc"
+ subaction="preview">
+ <image method="preview" align="left"></image>
+ <text key="menu_preview"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable">
+ <link type="post" class="entry" title="message:USER_LOGOUT_DESC"
+ action="login" subaction="logout">
+ <image method="logout" align="left"></image>
+ <text key="USER_LOGOUT"></text>
+ </link>
+ </part>
+ </part>
+ </part>
+ </if>
+
+ <!-- Menü: Bearbeiten -->
+ <if true="var:isLoggedIn">
+
+ <part class="toolbar-icon menu">
+ <image method="edit" align="left"></image>
+ <text key="edit"></text>
+ <part class="arrow-down"/>
+ <part class="dropdown">
+ <part
+ class="entry clickable filtered on-action-link on-action-folder on-action-page on-action-template on-action-element on-action-file">
+ <link type="dialog" title="message:menu_prop_desc" subaction="prop">
+ <image method="prop" align="left"></image>
+ <text key="menu_prop"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-page on-action-file on-action-folder on-action-pageelement on-action-template">
+ <link type="dialog" title="message:menu_pub_desc" subaction="pub">
+ <image method="publish" align="left"></image>
+ <text key="menu_pub"></text>
+ </link>
+ </part>
+ <part class="entry clickable filtered on-action-pageelement">
+ <link type="dialog" class="entry" subaction="archive"
+ title="message:menu_archive_desc">
+ <image method="archive" align="left"></image>
+ <text key="menu_archive"></text>
+ </link>
+ </part>
+ <part
+ class="entry clickable filtered on-action-project on-action-folder on-action-link on-action-user on-action-group on-action-page on-action-file">
+ <link type="dialog" title="message:menu_rights_desc"
+ subaction="rights">
+ <image method="rights" align="left"></image>
+ <text key="menu_rights"></text>
+ </link>
+ </part>
+
+ <part
+ class="entry clickable filtered on-action-pageelement on-action-user on-action-group on-action-page on-action-project on-action-projectlist">
+ <link type="dialog" title="message:menu_history_desc"
+ subaction="history">
+ <image method="history" align="left"></image>
+ <text key="menu_history"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable filtered on-action-page">
+ <link type="dialog" title="message:menu_changetemplate_desc"
+ subaction="changetemplate">
+ <image method="changetemplate" align="left"></image>
+ <text key="menu_changetemplate"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable filtered on-action-user">
+ <link type="dialog" title="message:menu_password_desc"
+ subaction="pw">
+ <image method="password" align="left"></image>
+ <text key="menu_password"></text>
+ </link>
+ </part>
+
+ <part class="entry clickable filtered on-action-language on-action-element">
+ <link type="dialog" title="message:menu_advanced_desc"
+ subaction="advanced">
+ <image method="advanced" align="left"></image>
+ <text key="menu_advanced"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable filtered on-action-project on-action-template on-action-page on-action-element on-action-image on-action-file on-action-folder on-action-link on-action-language on-action-model">
+ <link type="dialog" title="message:menu_delete_desc"
+ subaction="remove">
+ <image method="delete" align="left"></image>
+ <text key="menu_delete"></text>
+ </link>
+ </part>
+
+ <part class="entry clickable filtered on-action-template">
+ <link type="dialog" title="message:menu_src_desc"
+ subaction="src">
+ <image method="code" align="left"></image>
+ <text key="menu_src"></text>
+ </link>
+ </part>
+
+ <part class="entry clickable filtered on-action-template">
+ <link type="dialog" title="message:menu_extension_desc"
+ subaction="extension">
+ <image method="extension" align="left"></image>
+ <text key="menu_extension"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable filtered on-action-text">
+ <link type="dialog" title="message:menu_value_desc"
+ subaction="value">
+ <image method="value" align="left"></image>
+ <text key="menu_value"></text>
+ </link>
+ </part>
+
+ <part class="entry clickable filtered on-action-folder">
+ <link type="dialog" title="message:menu_order_desc"
+ subaction="order">
+ <image method="order" align="left"></image>
+ <text key="menu_order"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable filtered on-action-file">
+ <link type="dialog" title="message:menu_compress_desc"
+ subaction="compress">
+ <image method="compress" align="left"></image>
+ <text key="menu_compress"></text>
+ </link>
+ </part>
+ <part class="entry clickable filtered on-action-file">
+ <link type="dialog" title="message:menu_decompress_desc"
+ subaction="decompress">
+ <image method="decompress" align="left"></image>
+ <text key="menu_decompress"></text>
+ </link>
+ </part>
+ <part class="entry clickable filtered on-action-file">
+ <link type="dialog" title="message:menu_extract_desc"
+ subaction="extract">
+ <image method="extract" align="left"></image>
+ <text key="menu_extract"></text>
+ </link>
+ </part>
+ <part class="entry clickable filtered on-action-image">
+ <link type="dialog" title="message:menu_size_desc"
+ subaction="size">
+ <image method="size" align="left"></image>
+ <text key="menu_size"></text>
+ </link>
+ </part>
+
+
+ <part class="divide"/>
+
+ <part class="entry clickable filtered on-action-project">
+ <link type="dialog" title="message:menu_maintenance_desc"
+ subaction="maintenance">
+ <image method="maintenance" align="left"></image>
+ <text key="menu_maintenance"></text>
+ </link>
+ </part>
+ <part class="entry clickable filtered on-action-project">
+ <link type="dialog" title="message:menu_export_desc"
+ subaction="export">
+ <image method="export" align="left"></image>
+ <text key="menu_export"></text>
+ </link>
+ </part>
+ <part class="entry clickable filtered on-action-user on-action-group">
+ <link type="dialog" title="message:menu_memberships_desc"
+ subaction="memberships">
+ <image method="membership" align="left"></image>
+ <text key="menu_memberships"></text>
+ </link>
+ </part>
+ </part>
+ </part>
+ </if>
+
+ <!-- Menü: Projekt -->
+ <!--
+ <if true="var:isLoggedIn">
+
+ <part class="toolbar-icon projects menu">
+ <image action="project" align="left"></image>
+ <text class="titletext" key="GLOBAL_PROJECT"></text>
+ <part class="dropdown">
+
+ <if true="var:isAdmin">
+ <part class="entry clickable">
+ <link type="post" class="entry" action="start" subaction="administration"
+ target="tree" id="-1">
+ <image method="settings" align="left"></image>
+ <text key="administration"></text>
+ </link>
+ </part>
+ <part class="divide" />
+ </if>
+
+ <if value="size:languages" greaterthan="00">
+ <list list="languages" key="id" value="name">
+ <part class="entry clickable">
+ <image action="language"></image>
+ <link type="post" action="tree" subaction="language" id="var:id"
+ title="message:select_language">
+ <text var="name"></text>
+ </link>
+ </part>
+ </list>
+ <part class="divide" />
+ </if>
+
+ <if value="size:models" greaterthan="0">
+ <list list="models" key="id" value="name">
+ <part class="entry clickable">
+ <image action="model"></image>
+ <link type="post" action="tree" subaction="model" id="var:id"
+ title="message:select_model">
+ <text var="name"></text>
+ </link>
+ </part>
+ </list>
+ <part class="divide" />
+ </if>
+
+
+ <list list="projects" key="id" value="name">
+ <part class="entry clickable">
+ <image action="project"></image>
+ <link type="post" action="start" subaction="projectmenu" id="var:id"
+ title="message:select_project">
+ <text var="name" maxlength="45"></text>
+ </link>
+ </part>
+ </list>
+ </part>
+ <part class="arrow-down" />
+ </part>
+ </if>
+ -->
+
+
+ <!-- Falls eingeloggt: Weitere Aktionsbuttons -->
+ <if true="var:isLoggedIn">
+
+ <part
+ class="toolbar-icon clickable filtered on-action-folder on-action-file on-action-page on-action-link on-action-template on-action-element">
+ <link type="dialog" subaction="prop" title="message:menu_prop_desc">
+ <image method="prop" align="left"></image>
+ <text key="menu_prop"></text>
+ </link>
+ </part>
+ <part
+ class="toolbar-icon clickable filtered on-action-folder on-action-page on-action-file on-action-pageelement on-action-template">
+ <link type="dialog" subaction="pub" title="message:menu_pub_desc">
+ <image method="publish" align="left"></image>
+ <text key="menu_pub"></text>
+ </link>
+ </part>
+ </if>
+
+
+ <!-- Info-Meldung anzeigen (sofern vorhanden) -->
+ <if not="" empty="config:login/motd">
+ <part class="toolbar-icon menu">
+ <image method="motd" align="left"></image>
+ <text raw="_"/>
+ <part class="arrow-down"/>
+ <part class="dropdown">
+ <part class="entry">
+ <text value="config:login/motd"></text>
+ </part>
+ </part>
+ </part>
+ </if>
+
+
+ <!-- Suche -->
+ <if true="var:isLoggedIn">
+ <part class="toolbar-icon search">
+ <input name="text" hint="message:search" icon="search"></input>
+ <part class="dropdown">
+ <text raw=""></text>
+ </part>
+ </part>
+ </if>
+
+ <!-- Hilfe -->
+ <!-- Benutzer -->
+ <part class="toolbar-icon menu">
+ <image action="user" align="left"></image>
+ <text class="titletext" key="menu_help"></text>
+ <part class="arrow-down"/>
+ <part class="dropdown">
+ <part class="entry clickable">
+ <link type="dialog" title="message:menu_license_DESC" action="login" subaction="license">
+ <image method="license" align="left"></image>
+ <text key="menu_license"></text>
+ </link>
+ </part>
+ </part>
+ </part>
+
+ <part class="toolbar-icon user menu">
+ <image action="user" align="left"></image>
+ <text class="titletext" var="userfullname" maxlength="25"></text>
+
+ <part class="arrow-down"/>
+ <!-- <part class="arrow-down" />-->
+
+ <part class="dropdown">
+
+ <if true="var:isLoggedIn">
+
+ <part class="entry clickable">
+ <link type="dialog" title="message:menu_PROFILE_DESC" action="profile" subaction="edit">
+ <image action="user" align="left"></image>
+ <text key="menu_profile"></text>
+ </link>
+ </part>
+ <part class="entry clickable">
+ <link type="dialog" title="message:menu_password_DESC" action="profile" subaction="pw">
+ <image method="password" align="left"></image>
+ <text key="menu_password"></text>
+ </link>
+ </part>
+ <part class="entry clickable">
+ <link type="dialog" title="message:menu_mail_DESC" action="profile" subaction="mail">
+ <image method="mail" align="left"></image>
+ <text key="menu_mail"></text>
+ </link>
+ </part>
+ <part class="entry clickable">
+ <link type="post" title="message:menu_start_desc" action="start"
+ subaction="start">
+ <image action="dashboard" align="left"></image>
+ <text key="menu_start"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable">
+ <link type="dialog" title="message:menu_history_desc" action="profile" subaction="history">
+ <image method="history" align="left"></image>
+ <text key="menu_history"></text>
+ </link>
+ </part>
+
+ <part class="divide"/>
+
+ <part class="entry clickable">
+ <link type="post" class="entry" title="message:USER_LOGOUT_DESC"
+ action="login" subaction="logout">
+ <image method="close" align="left"></image>
+ <text key="USER_LOGOUT"></text>
+ </link>
+ </part>
+ </if>
+ <else>
+ <part class="entry clickable">
+ <link type="dialog" title="message:USER_LOGIN_DESC" action="login" subaction="login">
+ <image method="user" align="left"></image>
+ <text key="USER_LOGIN"></text>
+ </link>
+ </part>
+ </else>
+ </part>
+ </part>
+
</output>
\ No newline at end of file
diff --git a/modules/cms-ui/themes/default/style/openrat-header.css b/modules/cms-ui/themes/default/style/openrat-header.css
@@ -1,41 +1,9 @@
/* H e a d e r */
#title {
- width: 100%;
- height: 27px;
overflow: hidden;
padding: 5px;
- margin: 0px;
- margin-bottom: 3px;
- float: left;
- /* Dropdown anzeigen */
/* Pfeile */
- /* D r o p d o w n - M e n u e s */
-}
-#title div.projects,
-#title div.menu,
-#title div.title {
- float: left;
- margin-right: 10px;
- margin-left: 0px;
-}
-#title div.user,
-#title div.search,
-#title div.history {
- float: right;
- margin-right: 10px;
- margin-left: 10px;
-}
-#title > div.menu {
- overflow: hidden;
-}
-#title.open div.menu.open div.dropdown,
-#title div.panel div:hover > div.dropdown,
-#title div.panel-icon:hover > div.dropdown {
- display: block;
-}
-#title div.search input {
- margin: 0px;
- padding: 0px;
+ /* Dropdown anzeigen, wenn Titel geöffnet und wenn mit Maus überstrichen */
}
#title > div > div.arrow-down {
display: inline;
@@ -46,11 +14,30 @@
margin-top: 10px;
font-size: 0;
}
-#title div.dropdownalignright {
- right: 0;
+#title div.toolbar-icon {
+ padding: 2px;
+ margin-left: 10px;
+ float: left;
+ /* Bestimmte Menüs sind nach rechts ausgerichet */
+ /* D r o p d o w n - M e n u e s */
+}
+#title div.toolbar-icon.user,
+#title div.toolbar-icon.search,
+#title div.toolbar-icon.history {
+ float: right;
+ margin-right: 10px;
+ margin-left: 10px;
+}
+#title div.toolbar-icon.menu {
+ cursor: default;
}
-#title div.dropdown {
+#title div.toolbar-icon.search input {
+ margin: 0px;
+ padding: 0px;
+}
+#title div.toolbar-icon div.dropdown {
z-index: 2;
+ min-width: 250px;
display: none;
position: absolute;
padding: 5px 0px;
@@ -58,31 +45,27 @@
font-weight: normal;
text-decoration: none;
}
-#title div.dropdown > a {
- display: block;
+#title div.toolbar-icon div.dropdown div.entry {
+ padding: 0;
+ /* Außenabstand Text */
}
-#title div.dropdown div.entry {
+#title div.toolbar-icon div.dropdown div.entry > a {
+ display: block;
+ width: 100%;
+ height: 100%;
padding: 2px 5px;
}
-#title div.dropdown div.divide {
+#title div.toolbar-icon div.dropdown div.entry > .text {
+ display: block;
+ margin: 10px;
+}
+#title div.toolbar-icon div.dropdown div.divide {
height: 1px;
width: 100%;
margin-top: 5px;
margin-bottom: 5px;
}
-#title div.toolbar-icon {
- padding: 2px;
- margin-left: 5px;
- float: left;
-}
-#title div.headermenu {
- margin: 5px;
- z-index: 1;
- position: relative;
- right: 0;
- top: 0;
-}
-#title div.headermenu > div.toolbar-icon {
- float: right;
+#title.open .toolbar-icon.open > div.dropdown {
+ display: block;
}
-/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22openrat-header.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3BAACA%3BCACE%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3B%3B%3B%3BAAPF%2CMASE%2CIAAG%3BAATL%2CMAUE%2CIAAG%3BAAVL%2CMAWE%2CIAAG%3BCACD%3BCACA%3BCACA%3B%3BAAdJ%2CMAiBE%2CIAAG%3BAAjBL%2CMAkBE%2CIAAG%3BAAlBL%2CMAmBE%2CIAAG%3BCACD%3BCACA%3BCACA%3B%3BAAtBJ%2CMAyBI%2CMAAG%3BCACH%3B%3BAAIF%2CMAAC%2CKAAM%2CIAAG%2CKAAK%2CKAAM%2CIAAG%3BAA9B1B%2CMA%2BBE%2CIAAG%2CMAAO%2CIAAG%2CMAAS%2CMAAG%3BAA%5C%2FB3B%2CMAgCE%2CIAAG%2CWAAW%2CMAAS%2CMAAG%3BCACxB%3B%3BAAjCJ%2CMAoCE%2CIAAG%2COAAQ%3BCACT%3BCACA%3B%3BAAtCJ%2CMA0CI%2CMAAM%2CMAAG%3BCACT%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAjDJ%2CMAqDE%2CIAAG%3BCACD%3B%3BAAtDJ%2CMAwDE%2CIAAG%3BCACD%3BCACA%3BCACA%3BCACA%2CgBAAA%3BCAEA%3BCACA%3BCACA%3B%3BAAhEJ%2CMAwDE%2CIAAG%2CSAUC%3BCACA%3B%3BAAnEN%2CMAwDE%2CIAAG%2CSAaD%2CIAAG%3BCACD%2CgBAAA%3B%3BAAtEN%2CMAwDE%2CIAAG%2CSAiBD%2CIAAG%3BCACD%3BCACA%3BCACA%3BCACA%3B%3BAA7EN%2CMAkFE%2CIAAG%3BCACD%3BCACA%3BCACA%3B%3BAArFJ%2CMAwFE%2CIAAG%3BCACD%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAA7FJ%2CMA%2BFE%2CIAAG%2CWAAc%2CMAAG%3BCAClB%22%7D */-
\ No newline at end of file
+/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22openrat-header.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3BAACA%3BCACI%3BCACA%3B%3B%3B%3BAAFJ%2CMAKM%2CMAAM%2CMAAG%3BCACP%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAZR%2CMAeI%2CIAAG%3BCACC%3BCAEA%3BCACA%3B%3B%3B%3BAAGA%2CMAPJ%2CIAAG%2CaAOE%3BAACD%2CMARJ%2CIAAG%2CaAQE%3BAACD%2CMATJ%2CIAAG%2CaASE%3BCACG%3BCACA%3BCACA%3B%3BAAGJ%2CMAfJ%2CIAAG%2CaAeE%3BCACG%3B%3BAAEJ%2CMAlBJ%2CIAAG%2CaAkBE%2COAAQ%3BCACL%3BCACA%3B%3BAAnCZ%2CMAeI%2CIAAG%2CaAwBC%2CIAAG%3BCACC%3BCACA%3BCACA%3BCACA%3BCACA%2CgBAAA%3BCAEA%3BCACA%3BCACA%3B%3BAAhDZ%2CMAeI%2CIAAG%2CaAwBC%2CIAAG%2CSAWC%2CIAAG%3BCACC%3B%3B%3BAAnDhB%2CMAeI%2CIAAG%2CaAwBC%2CIAAG%2CSAWC%2CIAAG%2CMAGG%3BCACE%3BCACA%3BCACA%3BCACA%2CgBAAA%3B%3BAAzDpB%2CMAeI%2CIAAG%2CaAwBC%2CIAAG%2CSAWC%2CIAAG%2CMAWG%3BCACE%3BCACA%3B%3BAA%5C%2FDpB%2CMAeI%2CIAAG%2CaAwBC%2CIAAG%2CSA4BC%2CIAAG%3BCACC%3BCACA%3BCACA%3BCACA%3B%3BAAOZ%2CMAAC%2CKACG%2CcAAa%2CKACP%2CMAAG%3BCACD%22%7D */+
\ No newline at end of file
diff --git a/modules/cms-ui/themes/default/style/openrat-header.less b/modules/cms-ui/themes/default/style/openrat-header.less
@@ -1,101 +1,88 @@
/* H e a d e r */
#title {
- width: 100%;
- height: 27px;
- overflow: hidden;
- padding: 5px;
- margin: 0px;
- margin-bottom: 3px;
- float: left;
+ overflow: hidden;
+ padding: 5px;
- div.projects,
- div.menu,
- div.title {
- float: left;
- margin-right: 10px;
- margin-left: 0px;
- }
+ /* Pfeile */
+ > div > div.arrow-down {
+ display: inline;
+ width: 0;
+ height: 0;
+ margin: 6;
+ padding: 0px;
+ margin-top: 10px;
+ font-size: 0;
+ }
- div.user,
- div.search,
- div.history {
- float: right;
- margin-right: 10px;
- margin-left: 10px;
- }
+ div.toolbar-icon {
+ padding: 2px;
- > div.menu {
- overflow: hidden;
- }
+ margin-left: 10px;
+ float: left;
- /* Dropdown anzeigen */
- &.open div.menu.open div.dropdown,
- div.panel div:hover > div.dropdown,
- div.panel-icon:hover > div.dropdown {
- display: block;
- }
+ /* Bestimmte Menüs sind nach rechts ausgerichet */
+ &.user,
+ &.search,
+ &.history {
+ float: right;
+ margin-right: 10px;
+ margin-left: 10px;
+ }
- div.search input {
- margin: 0px;
- padding: 0px;
- }
+ &.menu {
+ cursor: default;
+ }
+ &.search input {
+ margin: 0px;
+ padding: 0px;
+ }
- /* Pfeile */
- > div > div.arrow-down {
- display: inline;
- width: 0;
- height: 0;
- margin: 6;
- padding: 0px;
- margin-top: 10px;
- font-size: 0;
- }
+ /* D r o p d o w n - M e n u e s */
+ div.dropdown {
+ z-index: 2;
+ min-width: 250px;
+ display: none;
+ position: absolute;
+ padding: 5px 0px;
- /* D r o p d o w n - M e n u e s */
- div.dropdownalignright {
- right: 0;
- }
- div.dropdown {
- z-index: 2;
- display: none;
- position: absolute;
- padding: 5px 0px;
+ font-style: normal;
+ font-weight: normal;
+ text-decoration: none;
- font-style: normal;
- font-weight: normal;
- text-decoration: none;
+ div.entry {
+ padding: 0;
- > a {
- display: block;
- }
- div.entry {
- padding: 2px 5px;
- }
+ > a {
+ display: block;
+ width: 100%;
+ height: 100%;
+ padding: 2px 5px;
+ }
- div.divide {
- height: 1px;
- width: 100%;
- margin-top: 5px;
- margin-bottom: 5px;
- }
+ /* Außenabstand Text */
+ > .text {
+ display: block;
+ margin: 10px;
+ }
+ }
- }
+ div.divide {
+ height: 1px;
+ width: 100%;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ }
- div.toolbar-icon {
- padding: 2px;
- margin-left: 5px;
- float: left;
- }
+ }
+ }
- div.headermenu {
- margin: 5px;
- z-index: 1;
- position: relative;
- right: 0;
- top: 0;
- }
- div.headermenu > div.toolbar-icon {
- float: right;
- }
+ /* Dropdown anzeigen, wenn Titel geöffnet und wenn mit Maus überstrichen */
+ &.open {
+ .toolbar-icon.open {
+ > div.dropdown {
+ display: block;
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/modules/cms-ui/themes/default/style/openrat-header.min.css b/modules/cms-ui/themes/default/style/openrat-header.min.css
@@ -1 +1 @@
-#title{width: 100%;height: 27px;overflow: hidden;padding: 5px;margin: 0px;margin-bottom: 3px;float: left}#title div.projects,#title div.menu,#title div.title{float: left;margin-right: 10px;margin-left: 0px}#title div.user,#title div.search,#title div.history{float: right;margin-right: 10px;margin-left: 10px}#title > div.menu{overflow: hidden}#title.open div.menu.open div.dropdown,#title div.panel div:hover > div.dropdown,#title div.panel-icon:hover > div.dropdown{display: block}#title div.search input{margin: 0px;padding: 0px}#title > div > div.arrow-down{display: inline;width: 0;height: 0;margin: 6;padding: 0px;margin-top: 10px;font-size: 0}#title div.dropdownalignright{right: 0}#title div.dropdown{z-index: 2;display: none;position: absolute;padding: 5px 0px;font-style: normal;font-weight: normal;text-decoration: none}#title div.dropdown > a{display: block}#title div.dropdown div.entry{padding: 2px 5px}#title div.dropdown div.divide{height: 1px;width: 100%;margin-top: 5px;margin-bottom: 5px}#title div.toolbar-icon{padding: 2px;margin-left: 5px;float: left}#title div.headermenu{margin: 5px;z-index: 1;position: relative;right: 0;top: 0}#title div.headermenu > div.toolbar-icon{float: right}-
\ No newline at end of file
+#title{overflow: hidden;padding: 5px}#title > div > div.arrow-down{display: inline;width: 0;height: 0;margin: 6;padding: 0px;margin-top: 10px;font-size: 0}#title div.toolbar-icon{padding: 2px;margin-left: 10px;float: left}#title div.toolbar-icon.user,#title div.toolbar-icon.search,#title div.toolbar-icon.history{float: right;margin-right: 10px;margin-left: 10px}#title div.toolbar-icon.menu{cursor: default}#title div.toolbar-icon.search input{margin: 0px;padding: 0px}#title div.toolbar-icon div.dropdown{z-index: 2;min-width: 250px;display: none;position: absolute;padding: 5px 0px;font-style: normal;font-weight: normal;text-decoration: none}#title div.toolbar-icon div.dropdown div.entry{padding: 0}#title div.toolbar-icon div.dropdown div.entry > a{display: block;width: 100%;height: 100%;padding: 2px 5px}#title div.toolbar-icon div.dropdown div.entry > .text{display: block;margin: 10px}#title div.toolbar-icon div.dropdown div.divide{height: 1px;width: 100%;margin-top: 5px;margin-bottom: 5px}#title.open .toolbar-icon.open > div.dropdown{display: block}+
\ No newline at end of file
diff --git a/modules/template-engine/components/html/input/Input.class.php b/modules/template-engine/components/html/input/Input.class.php
@@ -79,7 +79,7 @@ class InputComponent extends Component
if(isset($this->icon))
- echo '<img src="/themes/default/images/icon_'.$this->htmlvalue($this->icon).'<?php echo IMG_ICON_EXT ?>" width="16" height="16" />';
+ echo '<img src="'.OR_THEMES_DIR.'default/images/icon_'.$this->htmlvalue($this->icon). IMG_ICON_EXT .'" width="16" height="16" />';
echo '</div>';