openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

commit d57d16a29aaf1c49582209fb50b279f13d09e42e
parent 6fcc3e87a532ffca90af65ce682ba48967e272c5
Author: Jan Dankert <develop@jandankert.de>
Date:   Sat, 29 Aug 2020 03:23:06 +0200

Refactoring: Improved Exception-Handling; New: Generating pages using a page context which considers page aliases.

Diffstat:
modules/cms/Dispatcher.class.php | 8++++----
modules/cms/action/FileAction.class.php | 6+++---
modules/cms/action/LoginAction.class.php | 4++--
modules/cms/action/PageAction.class.php | 28++++++++++++++++++----------
modules/cms/api/API.class.php | 4++--
modules/cms/macros/MacroRunner.class.php | 10+++++-----
modules/cms/model/BaseObject.class.php | 17++++++++++++++++-
modules/cms/model/Page.class.php | 76+++++++++++++++++++++++++++-------------------------------------------------
modules/cms/model/Value.class.php | 30++++++++++++++----------------
modules/cms/publish/Ftp.class.php | 20++++++++++----------
modules/cms/publish/PageContext.class.php | 36++++++++++++++++++++++++++++++++++++
modules/cms/publish/Publish.class.php | 8+++++---
modules/cms/publish/PublishEdit.class.php | 2+-
modules/cms/publish/PublishPreview.class.php | 28++++++++++++++++++++++++++--
modules/cms/publish/PublishPublic.class.php | 34++++++++++++++++++----------------
modules/cms/publish/PublishShow.class.php | 2+-
modules/cms/ui/UI.class.php | 4++--
modules/cms/ui/themes/default/html/views/configuration/show.php | 56+++++++++++++++++++++++++++-----------------------------
modules/cms/ui/themes/default/html/views/configuration/src.php | 8+++-----
modules/cms/ui/themes/default/html/views/element/advanced.php | 626+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/element/info.php | 88+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/element/name.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/element/prop.php | 122+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/element/properties.php | 616+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/element/remove.php | 126+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/file/advanced.php | 60+++++++++++++++++++++++++++++-------------------------------
modules/cms/ui/themes/default/html/views/file/compress.php | 102+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/file/edit.php | 56+++++++++++++++++++++++++++-----------------------------
modules/cms/ui/themes/default/html/views/file/extract.php | 40+++++++++++++++++++---------------------
modules/cms/ui/themes/default/html/views/file/info.php | 400+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/file/preview.php | 18++++++++----------
modules/cms/ui/themes/default/html/views/file/pub.php | 62++++++++++++++++++++++++++++++--------------------------------
modules/cms/ui/themes/default/html/views/file/remove.php | 52+++++++++++++++++++++++++---------------------------
modules/cms/ui/themes/default/html/views/file/show.php | 6++----
modules/cms/ui/themes/default/html/views/file/uncompress.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/file/value.php | 60+++++++++++++++++++++++++++++-------------------------------
modules/cms/ui/themes/default/html/views/folder/advanced.php | 230+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/content.php | 170+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/create.php | 122+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/createfile.php | 148+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/createfolder.php | 64+++++++++++++++++++++++++++++++---------------------------------
modules/cms/ui/themes/default/html/views/folder/createimage.php | 148+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/createlink.php | 72+++++++++++++++++++++++++++++++++++-------------------------------------
modules/cms/ui/themes/default/html/views/folder/createpage.php | 88+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/createtext.php | 146+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/createurl.php | 90+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/edit.php | 146+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/inherit.php | 78++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/order.php | 122+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/pub.php | 172+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/folder/remove.php | 62++++++++++++++++++++++++++++++--------------------------------
modules/cms/ui/themes/default/html/views/folder/show.php | 136+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/group/add.php | 46++++++++++++++++++++++------------------------
modules/cms/ui/themes/default/html/views/group/info.php | 100+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/group/memberships.php | 92+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/group/prop.php | 50++++++++++++++++++++++++--------------------------
modules/cms/ui/themes/default/html/views/group/remove.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/group/rights.php | 192+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/grouplist/add.php | 46++++++++++++++++++++++------------------------
modules/cms/ui/themes/default/html/views/grouplist/show.php | 66++++++++++++++++++++++++++++++++----------------------------------
modules/cms/ui/themes/default/html/views/image/compress.php | 102+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/image/edit.php | 54++++++++++++++++++++++++++----------------------------
modules/cms/ui/themes/default/html/views/image/extract.php | 40+++++++++++++++++++---------------------
modules/cms/ui/themes/default/html/views/image/preview.php | 10++++------
modules/cms/ui/themes/default/html/views/image/pub.php | 60+++++++++++++++++++++++++++++-------------------------------
modules/cms/ui/themes/default/html/views/image/remove.php | 78++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/image/show.php | 38++++++++++++++++++--------------------
modules/cms/ui/themes/default/html/views/image/size.php | 250+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/image/uncompress.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/image/value.php | 60+++++++++++++++++++++++++++++-------------------------------
modules/cms/ui/themes/default/html/views/language/add.php | 54++++++++++++++++++++++++++----------------------------
modules/cms/ui/themes/default/html/views/language/info.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/language/listing.php | 108+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/language/prop.php | 78++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/language/remove.php | 92+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/languagelist/add.php | 54++++++++++++++++++++++++++----------------------------
modules/cms/ui/themes/default/html/views/languagelist/show.php | 126+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/link/edit.php | 52+++++++++++++++++++++++++---------------------------
modules/cms/ui/themes/default/html/views/link/remove.php | 52+++++++++++++++++++++++++---------------------------
modules/cms/ui/themes/default/html/views/login/license.php | 316+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/login/login.php | 268+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/login/openid.php | 156+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/login/password.php | 104+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/login/passwordcode.php | 84+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/login/register.php | 92+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/login/registercode.php | 126+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/model/info.php | 52+++++++++++++++++++++++++---------------------------
modules/cms/ui/themes/default/html/views/model/listing.php | 104+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/model/prop.php | 60+++++++++++++++++++++++++++++-------------------------------
modules/cms/ui/themes/default/html/views/model/remove.php | 92+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/modellist/add.php | 46++++++++++++++++++++++------------------------
modules/cms/ui/themes/default/html/views/modellist/show.php | 122+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/object/aclform.php | 224+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/object/copy.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/object/info.php | 548+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/object/inherit.php | 76+++++++++++++++++++++++++++++++++++++---------------------------------------
modules/cms/ui/themes/default/html/views/object/name.php | 74++++++++++++++++++++++++++++++++++++--------------------------------------
modules/cms/ui/themes/default/html/views/object/prop.php | 90+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/object/rights.php | 154+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/object/settings.php | 140+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/changetemplate.php | 78++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/changetemplateselectelements.php | 62++++++++++++++++++++++++++++++--------------------------------
modules/cms/ui/themes/default/html/views/page/edit.php | 102+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/form.php | 216+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/info.php | 376+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/name.php | 134+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/preview.php | 88+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/pub.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/page/remove.php | 52+++++++++++++++++++++++++---------------------------
modules/cms/ui/themes/default/html/views/page/show.php | 6++----
modules/cms/ui/themes/default/html/views/page/src.php | 74++++++++++++++++++++++++++++++++++++--------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/advanced.php | 94+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/diff.php | 150+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/edit.php | 66++++++++++++++++++++++++++++++++----------------------------------
modules/cms/ui/themes/default/html/views/pageelement/export.php | 60+++++++++++++++++++++++++++++-------------------------------
modules/cms/ui/themes/default/html/views/pageelement/history.php | 238+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/import.php | 70++++++++++++++++++++++++++++++++++------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/info.php | 214+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/link.php | 144+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/preview.php | 34++++++++++++++++------------------
modules/cms/ui/themes/default/html/views/pageelement/prop.php | 286+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/pub.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/pageelement/value.php | 614+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/profile/confirmmail.php | 66++++++++++++++++++++++++++++++++----------------------------------
modules/cms/ui/themes/default/html/views/profile/edit.php | 354+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/profile/history.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/profile/mail.php | 96+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/profile/memberships.php | 58++++++++++++++++++++++++++++------------------------------
modules/cms/ui/themes/default/html/views/profile/pw.php | 164+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/project/add.php | 130+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/project/edit.php | 78++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/project/export.php | 54++++++++++++++++++++++++++----------------------------
modules/cms/ui/themes/default/html/views/project/history.php | 122+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/project/info.php | 44+++++++++++++++++++++-----------------------
modules/cms/ui/themes/default/html/views/project/maintenance.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/project/prop.php | 256+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/project/prop.tpl.src.xml | 4++--
modules/cms/ui/themes/default/html/views/project/remove.php | 86+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/projectlist/add.php | 110+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/projectlist/edit.php | 64+++++++++++++++++++++++++++++++---------------------------------
modules/cms/ui/themes/default/html/views/projectlist/history.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/projectlist/info.php | 6++----
modules/cms/ui/themes/default/html/views/search/edit.php | 128+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/search/result.php | 66++++++++++++++++++++++++++++++++----------------------------------
modules/cms/ui/themes/default/html/views/start/applications.php | 56+++++++++++++++++++++++++++-----------------------------
modules/cms/ui/themes/default/html/views/start/projectmenu.php | 184+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/start/userprojecttimeline.php | 104+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/addel.php | 112+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/edit.php | 138+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/extension.php | 68+++++++++++++++++++++++++++++++++-----------------------------------
modules/cms/ui/themes/default/html/views/template/info.php | 66++++++++++++++++++++++++++++++++----------------------------------
modules/cms/ui/themes/default/html/views/template/listing.php | 58++++++++++++++++++++++++++++------------------------------
modules/cms/ui/themes/default/html/views/template/preview.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/prop.php | 112+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/pub.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/remove.php | 92+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/template/src.php | 58++++++++++++++++++++++++++++------------------------------
modules/cms/ui/themes/default/html/views/template/srcelement.php | 150+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/templatelist/add.php | 148+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/templatelist/show.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/text/compress.php | 102+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/text/edit.php | 54++++++++++++++++++++++++++----------------------------
modules/cms/ui/themes/default/html/views/text/extract.php | 40+++++++++++++++++++---------------------
modules/cms/ui/themes/default/html/views/text/preview.php | 10++++------
modules/cms/ui/themes/default/html/views/text/pub.php | 62++++++++++++++++++++++++++++++--------------------------------
modules/cms/ui/themes/default/html/views/text/remove.php | 78++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/text/show.php | 6++----
modules/cms/ui/themes/default/html/views/text/size.php | 250+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/text/uncompress.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/text/value.php | 62++++++++++++++++++++++++++++++--------------------------------
modules/cms/ui/themes/default/html/views/title/ping.php | 10++++------
modules/cms/ui/themes/default/html/views/title/show.php | 838+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/tree/tree.php | 6++----
modules/cms/ui/themes/default/html/views/url/edit.php | 54++++++++++++++++++++++++++----------------------------
modules/cms/ui/themes/default/html/views/url/preview.php | 18++++++++----------
modules/cms/ui/themes/default/html/views/url/remove.php | 52+++++++++++++++++++++++++---------------------------
modules/cms/ui/themes/default/html/views/user/add.php | 46++++++++++++++++++++++------------------------
modules/cms/ui/themes/default/html/views/user/history.php | 80+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/info.php | 386+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/listing.php | 86+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/memberships.php | 82+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/prop.php | 336+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/pw.php | 172+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/remove.php | 98+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/user/rights.php | 182+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/cms/ui/themes/default/html/views/usergroup/show.php | 72+++++++++++++++++++++++++++++++++++-------------------------------------
modules/cms/ui/themes/default/html/views/userlist/add.php | 46++++++++++++++++++++++------------------------
modules/cms/ui/themes/default/html/views/userlist/show.php | 118+++++++++++++++++++++++++++++++++++++++----------------------------------------
modules/database/Database.class.php | 6+++---
modules/database/Sql.class.php | 3++-
modules/database/Statement.class.php | 5++---
modules/database/driver/PDODriver.class.php | 14+++++++-------
modules/template_engine/components/html/output/Output.class.php | 1+
modules/template_engine/engine/TemplateEngine.class.php | 20++++++++++----------
modules/util/exception/DatabaseException.class.php | 13+++++++++++++
modules/util/exception/GeneratorException.class.php | 13+++++++++++++
modules/util/exception/OpenRatException.class.php | 31-------------------------------
modules/util/exception/PublisherException.class.php | 13+++++++++++++
modules/util/exception/UIException.class.php | 31+++++++++++++++++++++++++++++++
modules/wikiparser/renderer/HtmlRenderer.class.php | 10++++------
200 files changed, 10254 insertions(+), 10493 deletions(-)

diff --git a/modules/cms/Dispatcher.class.php b/modules/cms/Dispatcher.class.php @@ -14,7 +14,7 @@ use cms\update\Update; use util\Http; use logger\Logger; use LogicException; -use util\exception\OpenRatException; +use util\exception\UIException; use util\exception\SecurityException; use util\Session; @@ -407,7 +407,7 @@ class Dispatcher Session::setDatabase( $db ); }catch(\Exception $e) { - throw new OpenRatException('DATABASE_ERROR_CONNECTION',$e->getMessage() ); + throw new UIException('DATABASE_ERROR_CONNECTION', $e->getMessage(),$e); } @@ -422,7 +422,7 @@ class Dispatcher * Updating the database. * * @param $dbid integer - * @throws OpenRatException + * @throws UIException */ private function updateDatabase($dbid) { @@ -446,7 +446,7 @@ class Dispatcher $adminDb->id = $dbid; } catch (\Exception $e) { - throw new OpenRatException('DATABASE_ERROR_CONNECTION', $e->getMessage()); + throw new UIException('DATABASE_ERROR_CONNECTION', $e->getMessage(),$e); } $updater->update($adminDb); diff --git a/modules/cms/action/FileAction.class.php b/modules/cms/action/FileAction.class.php @@ -364,7 +364,7 @@ class FileAction extends ObjectAction break; default: - throw new \util\exception\OpenRatException( 'cannot uncompress file with extension: '.$this->file->extension ); + throw new \util\exception\UIException('','cannot uncompress file with extension: ' . $this->file->extension ); } $this->addNotice('file',$this->file->name,'DONE',OR_NOTICE_OK); @@ -443,7 +443,7 @@ class FileAction extends ObjectAction break; default: - throw new \util\exception\OpenRatException( 'cannot extract file with extension: '.$this->file->extension ); + throw new \util\exception\UIException('cannot extract file with extension: ' . $this->file->extension ); } $this->callSubAction('edit'); } @@ -515,7 +515,7 @@ class FileAction extends ObjectAction break; default: - throw new \util\exception\OpenRatException( 'unknown compress type: '.$format ); + throw new \util\exception\UIException('unknown compress type: ' . $format ); } $this->addNotice('file',$this->file->name,'DONE',OR_NOTICE_OK); diff --git a/modules/cms/action/LoginAction.class.php b/modules/cms/action/LoginAction.class.php @@ -23,7 +23,7 @@ use util\Http; use cms\auth\InternalAuth; use logger\Logger; use \ObjectNotFoundException; -use util\exception\OpenRatException; +use util\exception\UIException; use \security\Password; use util\Session; use util\Html; @@ -172,7 +172,7 @@ class LoginAction extends BaseAction * Anzeigen der Loginmaske. * * Es wird nur die Loginmaske angezeigt. - * @throws OpenRatException + * @throws UIException */ function loginView() { diff --git a/modules/cms/action/PageAction.class.php b/modules/cms/action/PageAction.class.php @@ -12,8 +12,10 @@ use cms\model\Folder; use cms\model\BaseObject; use cms\model\Language; use cms\model\Model; +use cms\publish\PageContext; use cms\publish\PublishPreview; use cms\publish\PublishPublic; +use configuration\Config; use util\Html; use util\Http; use logger\Logger; @@ -47,20 +49,26 @@ class PageAction extends ObjectAction public function init() { $page = new Page( $this->getRequestId() ); + $context = new PageContext(); + $context->sourceObjectId = $page->objectid; if ( $this->request->hasLanguageId()) - $page->languageid = $this->request->getLanguageId(); + $context->languageId = $this->request->getLanguageId(); if ( $this->request->hasModelId()) - $page->modelid = $this->request->getModelId(); + $context->modelId = $this->request->getModelId(); $page->load(); - if ( !$page->languageid ) - $page->languageid = $page->getProject()->getDefaultLanguageId(); + if ( !$context->languageId ) + $context->languageId = $page->getProject()->getDefaultLanguageId(); - if ( !$page->modelid ) - $page->modelid = $page->getProject()->getDefaultModelId(); + if ( !$context->modelId ) + $context->modelId = $page->getProject()->getDefaultModelId(); + + $page->languageid = $context->languageId; + $page->modelid = $context->modelId; + $page->context = $context; // Hier kann leider nicht das Datum der letzten Änderung verwendet werden, // da sich die Seite auch danach ändern kann, z.B. durch Includes anderer @@ -644,16 +652,16 @@ class PageAction extends ObjectAction - /** + /** * Seite anzeigen */ function showView() { - // Do NOT use CSP here. + // We must overwrite the CSP here. // The output is only shown in an iframe, so there is no security impact to the CMS. // But if the template is using inline JS or CSS, we would break this with a CSP-header. - header('Content-Security-Policy:'); - // TODO: Read CSP from root folder settings. + $pageSettingsConfig = new Config( $this->page->getTotalSettings() ); + header('Content-Security-Policy: '.$pageSettingsConfig->get('content-security-policy','') ); // Seite definieren if ( $this->hasRequestVar('withIcons') ) diff --git a/modules/cms/api/API.class.php b/modules/cms/api/API.class.php @@ -10,7 +10,7 @@ use util\Http; use JSON; use logger\Logger; use ObjectNotFoundException; -use util\exception\OpenRatException; +use util\exception\UIException; use util\exception\SecurityException; use util\XML; @@ -50,7 +50,7 @@ class API API::sendHTTPStatus(204, 'Object not found'); $data = array('status' => 204)+ API::exceptionToArray( $e ); - } catch (OpenRatException $e) { + } catch (UIException $e) { Logger::warn($e); API::sendHTTPStatus(500, 'Internal CMS Error'); diff --git a/modules/cms/macros/MacroRunner.class.php b/modules/cms/macros/MacroRunner.class.php @@ -8,7 +8,8 @@ use cms\model\Template; use cms\model\Value; use logger\Logger; use util\ArrayUtils; -use util\exception\OpenRatException; +use util\exception\GeneratorException; +use util\exception\UIException; use util\text\variables\VariableResolver; class MacroRunner @@ -23,13 +24,13 @@ class MacroRunner $output = ''; if (!class_exists($className)) - throw new OpenRatException('ERROR_IN_ELEMENT', 'class not found:' . $className); + throw new GeneratorException('class not found:' . $className); /** @var \util\Macro $macro */ $macro = new $className; if (!method_exists($macro, 'execute')) - throw new OpenRatException('ERROR_IN_ELEMENT', ' (missing method: execute())'); + throw new GeneratorException(' (missing method: execute())'); $macro->setContextPage($page); @@ -63,8 +64,7 @@ class MacroRunner if (!property_exists($macro, $param_name)) { - if (!$this->page->publisher->isPublic()) - $output .= "*WARNING*: Unknown parameter $param_name in macro $className\n"; + Logger::warn( "Unknown parameter $param_name in macro $className" ); continue; } diff --git a/modules/cms/model/BaseObject.class.php b/modules/cms/model/BaseObject.class.php @@ -225,7 +225,6 @@ class BaseObject extends ModelBase /** * Strategy for publishing objects. - * * @var Publish */ public $publisher; @@ -1720,6 +1719,22 @@ SQL } + /** + * Returns the effective alias. If no alias exists, the actual object is returned. + * + * @return BaseObject + */ + public function getEffectiveAlias() { + + $alias = $this->getAlias(); + if ( $alias ) + return $alias; + else + return $this; + } + + + /** * The Alias for this Object or <code>null</code>. * diff --git a/modules/cms/model/Page.class.php b/modules/cms/model/Page.class.php @@ -16,6 +16,9 @@ namespace cms\model; // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +use cms\publish\PageContext; +use Exception; +use util\exception\GeneratorException; use util\Mustache; use cms\publish\PublishPreview;use cms\publish\PublishPublic; use http\Exception\RuntimeException; @@ -88,7 +91,14 @@ class Page extends BaseObject */ public $value; - function __construct( $objectid='' ) + /** + * Page context. + * + * @var PageContext + */ + public $context; + + function __construct( $objectid='' ) { parent::__construct( $objectid ); $this->isPage = true; @@ -189,10 +199,17 @@ class Page extends BaseObject { if ( ! BaseObject::available( $objectid) ) return 'about:blank'; - - $to = new BaseObject($objectid); - $to->load(); - $inhalt = $this->publisher->linkToObject( $this, $to ); + + $from = new Page($this->context->sourceObjectId); + $from->load(); + + $to = new BaseObject($objectid); + $toAlias = $to->getAlias(); + if ( $toAlias ) + $to = $toAlias; // Alias exists. + $to->load(); + + $inhalt = $this->publisher->linkToObject( $from, $to ); return $inhalt; } @@ -451,40 +468,12 @@ SQL -// function language_filename() -// { -// global $SESS; -// -// $db = db_connection(); -// -// $sql = $db->sql( 'SELECT COUNT(*) FROM {{language}}'. -// ' WHERE projectid={projectid}' ); -// $sql->setInt('projectid',$SESS['projectid']); -// -// if ( $sql->getOne( $sql ) == 1 ) -// { -// // Wenn es nur eine Sprache gibt, keine Sprachangabe im Dateinamen -// return ''; -// } -// else -// { -// $sql = $db->sql( 'SELECT isocode FROM {{language}}'. -// ' WHERE id={languageid}' ); -// $sql->setInt('languageid',$this->languageid); -// $isocode = $sql->getOne( $sql ); -// -// return strtolower( $isocode ); -// } -// } - /** * Erzeugen der Inhalte zu allen Elementen dieser Seite * wird von generate() aufgerufen - * - * @access private */ - function getElementIds() + public function getElementIds() { $t = new Template( $this->templateid ); @@ -496,10 +485,8 @@ SQL /** * Erzeugen der Inhalte zu allen Elementen dieser Seite * wird von generate() aufgerufen - * - * @access private */ - function getElements() + public function getElements() { if ( !isset($this->template) ) $this->template = new Template( $this->templateid ); @@ -554,13 +541,7 @@ SQL $val->generate(); } catch( \Exception $e ) { // Unrecoverable Error while generating the content. - - Logger::warn('Could not generate Value '.$val->__toString() . ': '.$e->getMessage() ); - - if ( $this->publisher->isPublic() ) - $val->value = ''; - else - $val->value = '[Warning: '.$e->getMessage().']'; + throw new GeneratorException('Could not generate Value '.$val->__toString(),$e ); } $this->values[$elementid] = $val; @@ -656,10 +637,10 @@ SQL $templateid = array_search($name,$project->getTemplates() ); if ( ! $templateid ) - return $this->publisher->isPublic()?'':"template '$name' not found"; + throw new \InvalidArgumentException('template '.Logger::sanitizeInput($name).' not found'); if ( $templateid == $this->template->templateid ) - return $this->publisher->isPublic()?'':'Template recursion is not supported'; + throw new \InvalidArgumentException('Template recursion detected on template-id '.$templateid); $templatemodel = new TemplateModel( $templateid, $this->modelid ); @@ -808,6 +789,3 @@ SQL return 'Id '.$this->pageid.' (filename='.$this->filename.',language='.$this->languageid.', modelid='.$this->modelid.', templateid='.$this->templateid.')'; } } - - -?> diff --git a/modules/cms/model/Value.class.php b/modules/cms/model/Value.class.php @@ -5,6 +5,7 @@ use cms\publish\Publish; use cms\macros\MacroRunner; use \ObjectNotFoundException; use logger\Logger; +use util\exception\GeneratorException; use util\Text; use util\Html; use util\Http; @@ -567,29 +568,27 @@ SQL */ private function generateValue() { - global $conf; - if ( intval($this->valueid)==0 ) $this->load(); $inhalt = ''; - $raw = false; - + global $conf; // Inhalt ist mit anderer Seite verkn�pft. if ( in_array($this->element->typeid,[Element::ELEMENT_TYPE_TEXT,Element::ELEMENT_TYPE_LONGTEXT,Element::ELEMENT_TYPE_DATE,Element::ELEMENT_TYPE_NUMBER]) && intval($this->linkToObjectId) != 0 && !$this->isLink ) { $linkedPage = new Page( $this->linkToObjectId ); + $linkedPage->context = $this->page->context; $linkedPage->load(); $linkedValue = new Value(); $linkedValue->isLink = true; $linkedValue->pageid = $linkedPage->pageid; $linkedValue->page = $linkedPage; + $linkedValue->page->context = $this->page->context; $linkedValue->element = $this->element; $linkedValue->languageid = $this->languageid; - $linkedValue->publisher = $this->publisher; //$v->modelid = $this->modelid; $linkedValue->load(); $linkedValue->generate(); @@ -645,6 +644,7 @@ SQL $p->modelid = $this->page->modelid; $p->languageid = $this->languageid; $p->mime_type = $this->page->mimeType(); + $p->context = $this->page->context; $p->load(); $p->generate(); $inhalt .= $p->value; @@ -664,6 +664,7 @@ SQL $p->public = $this->page->publisher->isPublic(); $p->modelid = $this->page->modelid; $p->languageid = $this->languageid; + $p->context = $this->page->context; $p->load(); $p->generate(); $inhalt .= $p->value; @@ -693,6 +694,7 @@ SQL if ( $this->publisher->isSimplePreview() ) { $p = new Page( $objectid ); + $p->context = $this->page->context; $p->load(); $inhalt = $p->filename; unset( $p ); @@ -711,6 +713,7 @@ SQL $p->modelid = $this->page->modelid; $p->languageid = $this->languageid; $p->mime_type = $this->page->mimeType(); + $p->context = $this->page->context; $p->load(); $p->generate(); $inhalt = $p->value; @@ -801,6 +804,7 @@ SQL break; $linkedPage = new Page( $linkValue->linkToObjectId ); + $linkedPage->context = $this->page->context; $linkedPage->load(); $linkedPageTemplate = new Template( $linkedPage->templateid ); @@ -1280,11 +1284,8 @@ SQL try { $inhalt .= $runner->executeMacro($macroName, $macroSettings,$this->page); } - catch( \util\exception\OpenRatException $e ) { - if ( !$this->publisher->isPublic() ) - $inhalt = lang($e->key).' ('.$e->getMessage().')'; // Inform the viewer - else - ; // Keep empty value in public mode. + catch( \Exception $e ) { + throw new GeneratorException("Macro ".$macroName.' in value '.$this->__toString().' could not executed',$e); } // Wenn HTML-Ausgabe, dann Sonderzeichen in HTML �bersetzen @@ -1497,13 +1498,10 @@ SQL default: // this should never happen in production. - if ( ! $this->publisher->isPublic() ) - // inform the user. - throw new \LogicException( 'Error in element '.$this->element->name.': '. + // inform the user. + throw new GeneratorException( 'Error in element '.$this->element->name.': '. 'unknown type: '.$this->element->typeid.''); - else - ; // do not crash the public publishing process. - + } diff --git a/modules/cms/publish/Ftp.class.php b/modules/cms/publish/Ftp.class.php @@ -18,7 +18,8 @@ namespace cms\publish; use logger\Logger; -use util\exception\OpenRatException; +use util\exception\PublisherException; +use util\exception\UIException; /** @@ -65,7 +66,7 @@ class Ftp // Nur FTP und FTPS (seit PHP 4.3) erlaubt if (!in_array(@$ftp['scheme'], array('ftp', 'ftps'))) { - throw new OpenRatException('ERROR_PUBLISH', 'Unknown scheme in FTP Url: ' . @$ftp['scheme'] . + throw new PublisherException('Unknown scheme in FTP Url: ' . @$ftp['scheme'] . '. Only FTP (and FTPS, if compiled in) are supported'); } @@ -76,7 +77,7 @@ class Ftp if (!$this->verb) { Logger::error('Cannot connect to ' . $ftp['host'] . ':' . $ftp['port']); - throw new OpenRatException('ERROR_PUBLISH', 'Cannot connect to ' . $ftp['scheme'] . '-server: ' . $ftp['host'] . ':' . $ftp['port']); + throw new PublisherException('Cannot connect to ' . $ftp['scheme'] . '-server: ' . $ftp['host'] . ':' . $ftp['port']); } $this->log[] = 'Connected to FTP server ' . $ftp['host'] . ':' . $ftp['port']; @@ -87,7 +88,7 @@ class Ftp } if (!ftp_login($this->verb, $ftp['user'], $ftp['pass'])) - throw new OpenRatException('ERROR_PUBLISH', 'Unable to login as user ' . $ftp['user']); + throw new PublisherException('Unable to login as user ' . $ftp['user']); $this->log[] = 'Logged in as user ' . $ftp['user']; @@ -95,7 +96,7 @@ class Ftp $this->log[] = 'entering passive mode ' . ($pasv ? 'on' : 'off'); if (!ftp_pasv($this->verb, true)) - throw new OpenRatException('ERROR_PUBLISH', 'Cannot switch to FTP PASV mode'); + throw new PublisherException('Cannot switch to FTP PASV mode'); if (!empty($ftp['query'])) { parse_str($ftp['query'], $ftp_var); @@ -104,7 +105,7 @@ class Ftp $site_commands = explode(',', $ftp_var['site']); foreach ($site_commands as $cmd) { if (!@ftp_site($this->verb, $cmd)) - throw new OpenRatException('ERROR_PUBLISH', 'unable to do SITE command: ' . $cmd); + throw new PublisherException('unable to do SITE command: ' . $cmd); } } } @@ -114,7 +115,7 @@ class Ftp $this->log[] = 'Changing directory to ' . $this->path; if (!@ftp_chdir($this->verb, $this->path)) - throw new OpenRatException('ERROR_PUBLISH', 'unable CHDIR to directory: ' . $this->path); + throw new PublisherException('unable CHDIR to directory: ' . $this->path); } @@ -151,8 +152,7 @@ class Ftp ftp_chdir($this->verb, $this->path); if (!@ftp_put($this->verb, $dest, $source, $mode)) - throw new OpenRatException('ERROR_PUBLISH', - "FTP PUT failed.\n" . + throw new PublisherException("FTP PUT failed.\n" . "source : $source\n" . "destination: $dest"); @@ -177,7 +177,7 @@ class Ftp return false; if (!@ftp_mkdir($this->verb, $strPath)) - throw new OpenRatException('ERROR_PUBLISH', "failed to create remote directory: $strPath"); + throw new PublisherException("failed to create remote directory: $strPath"); return true; } diff --git a/modules/cms/publish/PageContext.class.php b/modules/cms/publish/PageContext.class.php @@ -0,0 +1,35 @@ +<?php + + +namespace cms\publish; + + +/** + * The page context, necessary for generating and publishing a page. + */ +class PageContext +{ + + /** + * The source page, links are generated from the view of this page. + * @var int + */ + public $sourceObjectId; + + /** + * Language. + * @var int + */ + public $languageId; + + /** + * Model. + * @var int + */ + public $modelId; + + public function __construct( $sourceObjectId = null ) + { + $this->sourceObjectId = $sourceObjectId; + } +}+ \ No newline at end of file diff --git a/modules/cms/publish/Publish.class.php b/modules/cms/publish/Publish.class.php @@ -17,6 +17,8 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. namespace cms\publish; +use cms\model\BaseObject; + /** * Strategy-baseclass for generating and publishing content. * @@ -24,11 +26,11 @@ namespace cms\publish; */ abstract class Publish { - abstract public function linkToObject( $from, $to ); + abstract public function isPublic(); - abstract public function isPublic(); + abstract public function linkToObject( BaseObject $from, BaseObject $to ); - abstract public function isSimplePreview(); + abstract public function isSimplePreview(); abstract public function copy($tmp_filename,$dest_filename,$lastChangeDate=null); diff --git a/modules/cms/publish/PublishEdit.class.php b/modules/cms/publish/PublishEdit.class.php @@ -16,7 +16,7 @@ class PublishEdit extends Publish * @param $from \cms\model\BaseObject * @param $to \cms\model\BaseObject */ - public function linkToObject( $from, $to ) + public function linkToObject( BaseObject $from, BaseObject $to ) { return '->'.$to; } diff --git a/modules/cms/publish/PublishPreview.class.php b/modules/cms/publish/PublishPreview.class.php @@ -2,9 +2,11 @@ namespace cms\publish; +use cms\model\Alias; use cms\model\BaseObject; use cms\model\Link; use cms\model\Url; +use util\exception\GeneratorException; /** * Created by PhpStorm. @@ -19,7 +21,7 @@ class PublishPreview extends Publish * @param $from \cms\model\BaseObject * @param $to \cms\model\BaseObject */ - public function linkToObject( $from, $to ) + public function linkToObject( BaseObject $from, BaseObject $to ) { $param = array( @@ -67,6 +69,28 @@ class PublishPreview extends Publish } break; + case BaseObject::TYPEID_ALIAS: + $alias = new Alias( $to->objectid ); + $alias->load(); + $alias->linkedObjectId; + + $linkedObject = new BaseObject( $alias->linkedObjectId ); + $linkedObject->objectLoad(); + + switch( $linkedObject->typeid ) + { + case BaseObject::TYPEID_FILE: + $inhalt = \util\Html::url('file','show',$alias->linkedObjectId,$param); + break; + + case BaseObject::TYPEID_PAGE: + $inhalt = \util\Html::url('page','show',$alias->linkedObjectId,$param); + break; + default: + $inhalt = 'Unknown link type: '.$linkedObject->typeid; + } + break; + case BaseObject::TYPEID_URL: $url = new Url( $to->objectid ); $url->load(); @@ -74,7 +98,7 @@ class PublishPreview extends Publish break; default: - $inhalt = 'Unknown type: '.$to->typeid; + throw new GeneratorException('Unknown type '.$to->typeid.' in target '.$to->__toString() ); } diff --git a/modules/cms/publish/PublishPublic.class.php b/modules/cms/publish/PublishPublic.class.php @@ -9,10 +9,11 @@ use cms\model\Link; use cms\model\Page; use cms\model\Project; use cms\model\Url; +use util\exception\PublisherException; use util\FileUtils; use cms\publish\Ftp; use logger\Logger; -use util\exception\OpenRatException; +use util\exception\UIException; use util\Session; @@ -28,8 +29,10 @@ class PublishPublic extends Publish const SCHEMA_ABSOLUTE = 1; const SCHEMA_RELATIVE = 2; + const MAX_RECURSIVE_COUNT = 10; - /** + + /** * Enthaelt bei Bedarf das FTP-Objekt. N�mlich dann, wenn * zu einem FTP-Server veroeffentlicht werden soll. * @var Object @@ -154,17 +157,17 @@ class PublishPublic extends Publish private $linkSchema; /** - * @param $from \cms\model\Page + * @param $from \cms\model\BaseObject * @param $to \cms\model\BaseObject */ - public function linkToObject( $from, $to ) { + public function linkToObject( BaseObject $from, BaseObject $to ) { $schema = $this->linkSchema; $counter = 0; while( $to->typeid == BaseObject::TYPEID_LINK ) { - if ( $counter++ > 10 ) + if ( $counter++ > self::MAX_RECURSIVE_COUNT) throw new \LogicException("Too much redirects while following a link. Stopped at #".$to->objectid ); $link = new Link( $to->objectid ); @@ -239,7 +242,6 @@ class PublishPublic extends Publish $folder->load(); $fromPathFolders = $folder->parentObjectFileNames(false,true); - $folder = new Folder($to->getParentFolderId() ); $toPathFolders = $folder->parentObjectFileNames(false, true); @@ -309,13 +311,13 @@ class PublishPublic extends Publish { // Is the output directory writable? if ( !is_writeable( $this->localDestinationDirectory ) ) - throw new OpenRatException('ERROR_PUBLISH','directory not writable: '.$this->localDestinationDirectory ); + throw new PublisherException('directory not writable: ' . $this->localDestinationDirectory); $dest = $this->localDestinationDirectory.'/'.$dest_filename; // Is the destination writable? if ( is_file($dest) && !is_writeable( $dest ) ) - throw new OpenRatException('ERROR_PUBLISH','file not writable: '.$this->dest ); + throw new PublisherException('file not writable: ' . $this->dest); // Copy file to destination if (!@copy( $source,$dest )); @@ -324,9 +326,9 @@ class PublishPublic extends Publish $this->mkdirs( dirname($dest) ); if (!@copy( $source,$dest )) - throw new OpenRatException('ERROR_PUBLISH','failed copying local file:'."\n". - 'source : '.$source."\n". - 'destination: '.$dest); + throw new PublisherException( 'failed copying local file:' . "\n" . + 'source : ' . $source . "\n" . + 'destination: ' . $dest); // Das Änderungsdatum der Datei auch in der Zieldatei setzen. if ( $conf['publish']['set_modification_date'] ) @@ -340,7 +342,7 @@ class PublishPublic extends Publish { // CHMOD auf der Datei ausfuehren. if ( ! @chmod($dest,octdec($conf['security']['chmod'])) ) - throw new OpenRatException('ERROR_PUBLISH','Unable to CHMOD file '.$dest); + throw new PublisherException('Unable to CHMOD file ' . $dest); } } @@ -375,13 +377,13 @@ class PublishPublic extends Publish // if ( ! @mkdir($path) ) - throw new OpenRatException('ERROR_PUBLISH','Cannot create directory: '.$path); + throw new PublisherException( 'Cannot create directory: ' . $path); // CHMOD auf dem Verzeichnis ausgef�hren. if (!empty($conf['security']['chmod_dir'])) { if ( ! @chmod($path,octdec($conf['security']['chmod_dir'])) ) - throw new OpenRatException('ERROR_PUBLISH','Unable to CHMOD directory: '.$path); + throw new PublisherException('Unable to CHMOD directory: ' . $path); } } @@ -413,8 +415,8 @@ class PublishPublic extends Publish exec( $this->commandAfterPublish,$ausgabe,$rc ); if ( $rc != 0 ) // Wenn Returncode ungleich 0, dann Fehler melden. - throw new OpenRatException('ERROR_PUBLISH','System command failed - returncode is '.$rc."\n". - $ausgabe); + throw new PublisherException('System command failed - returncode is ' . $rc . "\n" . + $ausgabe); else Logger::debug('System command successful' ); diff --git a/modules/cms/publish/PublishShow.class.php b/modules/cms/publish/PublishShow.class.php @@ -19,7 +19,7 @@ class PublishShow extends Publish * @param $from \cms\model\BaseObject * @param $to \cms\model\BaseObject */ - public function linkToObject( $from, $to ) + public function linkToObject( BaseObject $from, BaseObject $to ) { return "..."; } diff --git a/modules/cms/ui/UI.class.php b/modules/cms/ui/UI.class.php @@ -12,7 +12,7 @@ use \Less_Parser; use logger\Logger; use LogicException; use ObjectNotFoundException; -use util\exception\OpenRatException; +use util\exception\UIException; use util\exception\SecurityException; use template_engine\engine\TemplateEngine; use template_engine\TemplateEngineInfo; @@ -52,7 +52,7 @@ class UI } catch (ObjectNotFoundException $e) { Logger::debug("Object not found: " . $e->__toString()); // Nur Debug, da dies bei gelöschten Objekten vorkommen kann. Http::noContent(); - } catch (OpenRatException $e) { + } catch (UIException $e) { Logger::warn( $e->__toString() ); throw new LogicException(lang($e->key),0, $e); } catch (SecurityException $e) { diff --git a/modules/cms/ui/themes/default/html/views/configuration/show.php b/modules/cms/ui/themes/default/html/views/configuration/show.php @@ -1,34 +1,32 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('VALUE').'') ?> + </span> + </td> + </tr> + <?php foreach((array)$config as $list_key=>$list_value) { extract($list_value); ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$key.'') ?> </span> </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('VALUE').'') ?> + <td class="<?php echo escapeHtml(''.@$class.'') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml(''.@$class.'') ?>"><?php echo escapeHtml(''.@$value.'') ?> </span> </td> </tr> - <?php foreach((array)$config as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$key.'') ?> - </span> - </td> - <td class="<?php echo escapeHtml(''.@$class.'') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml(''.@$class.'') ?>"><?php echo escapeHtml(''.@$value.'') ?> - </span> - </td> - </tr> - <?php } ?> - </table> - </div> + <?php } ?> + </table> </div> - <?php } ?>- \ No newline at end of file + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/configuration/src.php b/modules/cms/ui/themes/default/html/views/configuration/src.php @@ -1,4 +1,2 @@ -<?php if (defined('OR_TITLE')) { ?> - <textarea name="<?php echo escapeHtml('source') ?>" data-extension="<?php echo escapeHtml('') ?>" data-mimetype="<?php echo escapeHtml('') ?>" data-mode="<?php echo escapeHtml('yaml') ?>" class="<?php echo escapeHtml('editor code-editor') ?>"><?php echo escapeHtml(''.@$source.'') ?> - </textarea> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?><textarea name="<?php echo escapeHtml('source') ?>" data-extension="<?php echo escapeHtml('') ?>" data-mimetype="<?php echo escapeHtml('') ?>" data-mode="<?php echo escapeHtml('yaml') ?>" class="<?php echo escapeHtml('editor code-editor') ?>"><?php echo escapeHtml(''.@$source.'') ?> +</textarea>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/element/advanced.php b/modules/cms/ui/themes/default/html/views/element/advanced.php @@ -1,349 +1,347 @@ -<?php if (defined('OR_TITLE')) { ?> - - <?php $if1=(config('security','disable_dynamic_code')); if($if1) { ?> - <?php $if1=(!1); if($if1) { ?> - <div class="<?php echo escapeHtml('message warn') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NOTICE_CODE_DISABLED').'') ?> - </span> - </div> - <?php } ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <?php $if1=(config('security','disable_dynamic_code')); if($if1) { ?> + <?php $if1=(!1); if($if1) { ?> + <div class="<?php echo escapeHtml('message warn') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NOTICE_CODE_DISABLED').'') ?> + </span> + </div> <?php } ?> - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('advanced') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('advanced') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <?php $if1=(isset($subtype)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_SUBTYPE').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php $if1=(isset($subtypes)); if($if1) { ?> - <select name="<?php echo escapeHtml('subtype') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> - </option> - <?php foreach($subtypes as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$subtype){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - <?php } ?> - <?php $if1=!(isset($subtypes)); if($if1) { ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('subtype') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$subtype.'') ?>" /><?php echo escapeHtml('') ?> - </div> - <?php } ?> - </div> + <?php } ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('advanced') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('advanced') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <?php $if1=(isset($subtype)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_SUBTYPE').'') ?> + </span> </div> - <?php } ?> - <?php $if1=(isset($with_icon)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('with_icon') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$with_icon){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_WITH_ICON').'') ?> - </span> - </label> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php $if1=(isset($subtypes)); if($if1) { ?> + <select name="<?php echo escapeHtml('subtype') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> + </option> + <?php foreach($subtypes as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$subtype){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> + <?php } ?> + <?php $if1=!(isset($subtypes)); if($if1) { ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('subtype') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$subtype.'') ?>" /><?php echo escapeHtml('') ?> + </div> + <?php } ?> </div> - <?php } ?> - <?php $if1=(isset($inherit)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('inherit') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$inherit){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_INHERIT').'') ?> - </span> - </label> - </div> + </div> + <?php } ?> + <?php $if1=(isset($with_icon)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <?php } ?> - <?php $if1=(isset($all_languages)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('all_languages') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$all_languages){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_ALL_LANGUAGES').'') ?> - </span> - </label> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('with_icon') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$with_icon){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_WITH_ICON').'') ?> + </span> + </label> </div> - <?php } ?> - <?php $if1=(isset($writable)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('writable') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$writable){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_writable').'') ?> - </span> - </label> - </div> + </div> + <?php } ?> + <?php $if1=(isset($inherit)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <?php } ?> - <?php $if1=(isset($width)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('width').'') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('inherit') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$inherit){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_INHERIT').'') ?> </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('width') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$width.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + </label> </div> - <?php } ?> - <?php $if1=(isset($height)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('height').'') ?> + </div> + <?php } ?> + <?php $if1=(isset($all_languages)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('all_languages') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$all_languages){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_ALL_LANGUAGES').'') ?> </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('height') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$height.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + </label> </div> - <?php } ?> - <?php $if1=(isset($dateformat)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DATEFORMAT').'') ?> + </div> + <?php } ?> + <?php $if1=(isset($writable)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('writable') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$writable){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_writable').'') ?> </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('dateformat') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($dateformats as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$dateformat){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> + </label> + </div> + </div> + <?php } ?> + <?php $if1=(isset($width)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('width').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('width') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$width.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> - <?php } ?> - <?php $if1=(isset($format)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_FORMAT').'') ?> - </span> + </div> + <?php } ?> + <?php $if1=(isset($height)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('height').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('height') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$height.'') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php foreach( $formatlist as $_key=>$_value) { ?> - <label><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('format') ?>" value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$format){ ?>checked="<?php echo escapeHtml('checked') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$_value.'') ?> - </span> - </label> - <br /><?php echo escapeHtml('') ?> + </div> + </div> + <?php } ?> + <?php $if1=(isset($dateformat)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DATEFORMAT').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('dateformat') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($dateformats as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$dateformat){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> <?php } ?> - </div> + </select> </div> - <?php } ?> - <?php $if1=(isset($decimals)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DECIMALS').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('decimals') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('2') ?>" value="<?php echo escapeHtml(''.@$decimals.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + </div> + <?php } ?> + <?php $if1=(isset($format)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_FORMAT').'') ?> + </span> </div> - <?php } ?> - <?php $if1=(isset($dec_point)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DEC_POINT').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('dec_point') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('5') ?>" value="<?php echo escapeHtml(''.@$dec_point.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php foreach( $formatlist as $_key=>$_value) { ?> + <label><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('format') ?>" value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$format){ ?>checked="<?php echo escapeHtml('checked') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$_value.'') ?> + </span> + </label> + <br /><?php echo escapeHtml('') ?> + <?php } ?> </div> - <?php } ?> - <?php $if1=(isset($thousand_sep)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_thousand_sep').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('thousand_sep') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('1') ?>" value="<?php echo escapeHtml(''.@$thousand_sep.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + </div> + <?php } ?> + <?php $if1=(isset($decimals)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DECIMALS').'') ?> + </span> </div> - <?php } ?> - <?php $if1=(isset($default_text)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_default_text').'') ?> - </span> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('decimals') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('2') ?>" value="<?php echo escapeHtml(''.@$decimals.'') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('default_text') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('255') ?>" value="<?php echo escapeHtml(''.@$default_text.'') ?>" /><?php echo escapeHtml('') ?> - </div> + </div> + </div> + <?php } ?> + <?php $if1=(isset($dec_point)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DEC_POINT').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('dec_point') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('5') ?>" value="<?php echo escapeHtml(''.@$dec_point.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> - <?php } ?> - <?php $if1=(isset($default_longtext)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_default_longtext').'') ?> - </span> + </div> + <?php } ?> + <?php $if1=(isset($thousand_sep)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_thousand_sep').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('thousand_sep') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('1') ?>" value="<?php echo escapeHtml(''.@$thousand_sep.'') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('default_longtext') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$default_longtext.'') ?> - </textarea> + </div> + </div> + <?php } ?> + <?php $if1=(isset($default_text)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_default_text').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('default_text') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('255') ?>" value="<?php echo escapeHtml(''.@$default_text.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> - <?php } ?> - <?php $if1=(isset($parameters)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DYNAMIC_PARAMETERS').'') ?> + </div> + <?php } ?> + <?php $if1=(isset($default_longtext)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_default_longtext').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('default_longtext') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$default_longtext.'') ?> + </textarea> + </div> + </div> + <?php } ?> + <?php $if1=(isset($parameters)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DYNAMIC_PARAMETERS').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('parameters') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$parameters.'') ?> + </textarea> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php foreach((array)$dynamic_class_parameters as $paramName=>$defaultValue) { ?> + <span><?php echo escapeHtml(''.@$paramName.'') ?> </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('parameters') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$parameters.'') ?> - </textarea> - </div> + <span><?php echo escapeHtml(' (') ?> + </span> + <span><?php echo escapeHtml(''.@lang('DEFAULT').'') ?> + </span> + <span><?php echo escapeHtml(') = ') ?> + </span> + <span><?php echo escapeHtml(''.@$defaultValue.'') ?> + </span> + <br /><?php echo escapeHtml('') ?> + <?php } ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php foreach((array)$dynamic_class_parameters as $paramName=>$defaultValue) { ?> - <span><?php echo escapeHtml(''.@$paramName.'') ?> - </span> - <span><?php echo escapeHtml(' (') ?> - </span> - <span><?php echo escapeHtml(''.@lang('DEFAULT').'') ?> - </span> - <span><?php echo escapeHtml(') = ') ?> - </span> - <span><?php echo escapeHtml(''.@$defaultValue.'') ?> - </span> - <br /><?php echo escapeHtml('') ?> + </div> + <?php } ?> + <?php $if1=(isset($select_items)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_select_items').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('select_items') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$select_items.'') ?> + </textarea> + </div> + </div> + <?php } ?> + <?php $if1=(isset($linkelement)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_LINK').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('linkelement') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($linkelements as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$linkelement){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> <?php } ?> - </div> + </select> </div> - <?php } ?> - <?php $if1=(isset($select_items)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_select_items').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('select_items') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$select_items.'') ?> - </textarea> - </div> + </div> + <?php } ?> + <?php $if1=(isset($name)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> + </span> </div> - <?php } ?> - <?php $if1=(isset($linkelement)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_LINK').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('linkelement') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($linkelements as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$linkelement){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('name') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($names as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$name){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> </div> - <?php } ?> - <?php $if1=(isset($name)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('name') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($names as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$name){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </div> + </div> + <?php } ?> + <?php $if1=(isset($folderobjectid)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_FOLDEROBJECT').'') ?> + </span> </div> - <?php } ?> - <?php $if1=(isset($folderobjectid)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_FOLDEROBJECT').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('folderobjectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($folders as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$folderobjectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('folderobjectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($folders as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$folderobjectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> </div> - <?php } ?> - <?php $if1=(isset($default_objectid)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_OBJECT').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('default_objectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> + </div> + <?php } ?> + <?php $if1=(isset($default_objectid)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_OBJECT').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('default_objectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> + </option> + <?php foreach($objects as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$default_objectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> </option> - <?php foreach($objects as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$default_objectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </div> + <?php } ?> + </select> </div> - <?php } ?> - <?php $if1=(isset($code)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_code').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('code') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$code.'') ?> - </textarea> - </div> + </div> + <?php } ?> + <?php $if1=(isset($code)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_code').'') ?> + </span> </div> - <?php } ?> - </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('code') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$code.'') ?> + </textarea> + </div> + </div> + <?php } ?> + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/element/info.php b/modules/cms/ui/themes/default/html/views/element/info.php @@ -1,46 +1,44 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('type').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-el_'.@$type.'') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@lang('el_'.@$type.'').'') ?> - </span> - </td> - </tr> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('name').'') ?> - </span> - </td> - <td class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('element') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/element/'.@$id.'') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </a> - </td> - </tr> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('id').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$id.'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('type').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-el_'.@$type.'') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@lang('el_'.@$type.'').'') ?> + </span> + </td> + </tr> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('name').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('element') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/element/'.@$id.'') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> </span> - </td> - </tr> - </table> - </div> + </a> + </td> + </tr> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('id').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$id.'') ?> + </span> + </td> + </tr> + </table> </div> - <?php } ?>- \ No newline at end of file + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/element/name.php b/modules/cms/ui/themes/default/html/views/element/name.php @@ -1,41 +1,39 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('name') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('name') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </td> - </tr> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$description.'') ?> - </textarea> - </td> - </tr> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - - </td> - </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('name') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('name') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$description.'') ?> + </textarea> + </td> + </tr> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/element/prop.php b/modules/cms/ui/themes/default/html/views/element/prop.php @@ -1,69 +1,67 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('prop') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LABEL').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('label') ?>" required="<?php echo escapeHtml('required') ?>" autofocus="<?php echo escapeHtml('autofocus') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('100') ?>" value="<?php echo escapeHtml(''.@$label.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('prop') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LABEL').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" required="<?php echo escapeHtml('required') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('50') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('label') ?>" required="<?php echo escapeHtml('required') ?>" autofocus="<?php echo escapeHtml('autofocus') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('100') ?>" value="<?php echo escapeHtml(''.@$label.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" maxlength="<?php echo escapeHtml('255') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$description.'') ?> - </textarea> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" required="<?php echo escapeHtml('required') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('50') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - </fieldset> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_TYPE').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('typeid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($types as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$typeid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" maxlength="<?php echo escapeHtml('255') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$description.'') ?> + </textarea> + </div> + </div> + </div> + </fieldset> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_TYPE').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('typeid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($types as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$typeid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> </div> </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/element/properties.php b/modules/cms/ui/themes/default/html/views/element/properties.php @@ -1,323 +1,321 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('properties') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('properties') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <?php $if1=(isset($subtype)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_SUBTYPE').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <?php $if1=(isset($subtypes)); if($if1) { ?> - <select name="<?php echo escapeHtml('subtype') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> - </option> - <?php foreach($subtypes as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$subtype){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - <?php } ?> - <?php $if1=!(isset($subtypes)); if($if1) { ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('subtype') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$subtype.'') ?>" /><?php echo escapeHtml('') ?> - </div> - <?php } ?> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($with_icon)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_WITH_ICON').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('with_icon') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$with_icon){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($all_languages)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_ALL_LANGUAGES').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('all_languages') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$all_languages){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($writable)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_writable').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('writable') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$writable){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($width)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('width').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('width') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$width.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($height)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('height').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('height') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$height.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($dateformat)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DATEFORMAT').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('dateformat') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($dateformats as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$dateformat){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('properties') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('properties') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <?php $if1=(isset($subtype)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_SUBTYPE').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <?php $if1=(isset($subtypes)); if($if1) { ?> + <select name="<?php echo escapeHtml('subtype') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> + </option> + <?php foreach($subtypes as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$subtype){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> </option> <?php } ?> </select> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($format)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_FORMAT').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <?php foreach( $formatlist as $_key=>$_value) { ?> - <label><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('format') ?>" value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$format){ ?>checked="<?php echo escapeHtml('checked') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$_value.'') ?> - </span> - </label> - <br /><?php echo escapeHtml('') ?> - <?php } ?> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($decimals)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DECIMALS').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('decimals') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('2') ?>" value="<?php echo escapeHtml(''.@$decimals.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($dec_point)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DEC_POINT').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('dec_point') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('5') ?>" value="<?php echo escapeHtml(''.@$dec_point.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($thousand_sep)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_thousand_sep').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> + <?php } ?> + <?php $if1=!(isset($subtypes)); if($if1) { ?> <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('thousand_sep') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('1') ?>" value="<?php echo escapeHtml(''.@$thousand_sep.'') ?>" /><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('subtype') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$subtype.'') ?>" /><?php echo escapeHtml('') ?> </div> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($default_text)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_default_text').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('default_text') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('255') ?>" value="<?php echo escapeHtml(''.@$default_text.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($default_longtext)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_default_longtext').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('default_longtext') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$default_longtext.'') ?> - </textarea> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($parameters)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DYNAMIC_PARAMETERS').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('parameters') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$parameters.'') ?> - </textarea> - </td> - </tr> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - </td> - <td><?php echo escapeHtml('') ?> - <?php foreach((array)$dynamic_class_parameters as $paramName=>$defaultValue) { ?> - <span><?php echo escapeHtml(''.@$paramName.'') ?> - </span> - <span><?php echo escapeHtml(' (') ?> - </span> - <span><?php echo escapeHtml(''.@lang('DEFAULT').'') ?> - </span> - <span><?php echo escapeHtml(') = ') ?> - </span> - <span><?php echo escapeHtml(''.@$defaultValue.'') ?> - </span> - <br /><?php echo escapeHtml('') ?> + <?php } ?> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($with_icon)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_WITH_ICON').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('with_icon') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$with_icon){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($all_languages)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_ALL_LANGUAGES').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('all_languages') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$all_languages){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($writable)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_writable').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('writable') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$writable){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($width)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('width').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('width') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$width.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($height)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('height').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('height') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$height.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($dateformat)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DATEFORMAT').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('dateformat') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($dateformats as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$dateformat){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> <?php } ?> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($select_items)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_select_items').'') ?> + </select> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($format)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_FORMAT').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <?php foreach( $formatlist as $_key=>$_value) { ?> + <label><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('format') ?>" value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$format){ ?>checked="<?php echo escapeHtml('checked') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$_value.'') ?> + </span> + </label> + <br /><?php echo escapeHtml('') ?> + <?php } ?> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($decimals)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DECIMALS').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('decimals') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('2') ?>" value="<?php echo escapeHtml(''.@$decimals.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($dec_point)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DEC_POINT').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('dec_point') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('5') ?>" value="<?php echo escapeHtml(''.@$dec_point.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($thousand_sep)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_thousand_sep').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('thousand_sep') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('1') ?>" value="<?php echo escapeHtml(''.@$thousand_sep.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($default_text)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_default_text').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('default_text') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('255') ?>" value="<?php echo escapeHtml(''.@$default_text.'') ?>" /><?php echo escapeHtml('') ?> + </div> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($default_longtext)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_default_longtext').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('default_longtext') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$default_longtext.'') ?> + </textarea> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($parameters)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DYNAMIC_PARAMETERS').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('parameters') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$parameters.'') ?> + </textarea> + </td> + </tr> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + </td> + <td><?php echo escapeHtml('') ?> + <?php foreach((array)$dynamic_class_parameters as $paramName=>$defaultValue) { ?> + <span><?php echo escapeHtml(''.@$paramName.'') ?> </span> - </td> - <td><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('select_items') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$select_items.'') ?> - </textarea> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($linkelement)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_LINK').'') ?> + <span><?php echo escapeHtml(' (') ?> </span> - </td> - <td><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('linkelement') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($linkelements as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$linkelement){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($name)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> + <span><?php echo escapeHtml(''.@lang('DEFAULT').'') ?> </span> - </td> - <td><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('name') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($names as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$name){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($folderobjectid)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_FOLDEROBJECT').'') ?> + <span><?php echo escapeHtml(') = ') ?> </span> - </td> - <td><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('folderobjectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($folders as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$folderobjectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($default_objectid)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_OBJECT').'') ?> + <span><?php echo escapeHtml(''.@$defaultValue.'') ?> </span> - </td> - <td><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('default_objectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> + <br /><?php echo escapeHtml('') ?> + <?php } ?> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($select_items)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_select_items').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('select_items') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$select_items.'') ?> + </textarea> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($linkelement)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_LINK').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('linkelement') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($linkelements as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$linkelement){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> </option> - <?php foreach($objects as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$default_objectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </td> - </tr> - <?php } ?> - <?php $if1=(isset($code)); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('EL_PROP_code').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('code') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$code.'') ?> - </textarea> - </td> - </tr> - <?php } ?> + <?php } ?> + </select> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($name)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('name') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($names as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$name){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($folderobjectid)); if($if1) { ?> <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_FOLDEROBJECT').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('folderobjectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($folders as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$folderobjectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($default_objectid)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_DEFAULT_OBJECT').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('default_objectid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <option value="<?php echo escapeHtml('') ?>"><?php echo escapeHtml(''.@lang('LIST_ENTRY_EMPTY').'') ?> + </option> + <?php foreach($objects as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$default_objectid){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> + </td> + </tr> + <?php } ?> + <?php $if1=(isset($code)); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('EL_PROP_code').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('code') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml(''.@$code.'') ?> + </textarea> </td> </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + <?php } ?> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/element/remove.php b/modules/cms/ui/themes/default/html/views/element/remove.php @@ -1,72 +1,70 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('name') ?>"><?php echo escapeHtml(''.@$name.'') ?> - </span> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('element') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form element') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('element') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_NAME').'') ?> + </span> </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('name') ?>"><?php echo escapeHtml(''.@$name.'') ?> + </span> + </div> + </div> + </div> + </fieldset> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> </div> - </fieldset> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('confirm') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$confirm){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> required="<?php echo escapeHtml('required') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('CONFIRM_DELETE').'') ?> + </span> + </label> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('confirm') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$confirm){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> required="<?php echo escapeHtml('required') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('CONFIRM_DELETE').'') ?> - </span> - </label> - </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('value') ?>" checked="<?php echo escapeHtml(''.@$type.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('ELEMENT_DELETE_VALUES').'') ?> </span> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('value') ?>" checked="<?php echo escapeHtml(''.@$type.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('ELEMENT_DELETE_VALUES').'') ?> - </span> - </label> - <br /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> + </label> + <br /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('all') ?>" checked="<?php echo escapeHtml(''.@$type.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DELETE').'') ?> </span> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('all') ?>" checked="<?php echo escapeHtml(''.@$type.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DELETE').'') ?> - </span> - </label> - </div> + </label> </div> </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/advanced.php b/modules/cms/ui/themes/default/html/views/file/advanced.php @@ -1,30 +1,28 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('advanced') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('advanced') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('or-form-row or-form-input') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml('file_extension') ?> - </span> - <input name="<?php echo escapeHtml('extension') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$extension.'') ?>" class="<?php echo escapeHtml('extension') ?>" /><?php echo escapeHtml('') ?> - </label> - <label class="<?php echo escapeHtml('or-form-row or-form-input') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml('type') ?> - </span> - <select name="<?php echo escapeHtml('type') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($types as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$type){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </label> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('advanced') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('advanced') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('or-form-row or-form-input') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml('file_extension') ?> + </span> + <input name="<?php echo escapeHtml('extension') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$extension.'') ?>" class="<?php echo escapeHtml('extension') ?>" /><?php echo escapeHtml('') ?> + </label> + <label class="<?php echo escapeHtml('or-form-row or-form-input') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml('type') ?> + </span> + <select name="<?php echo escapeHtml('type') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($types as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==$type){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> + </label> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/compress.php b/modules/cms/ui/themes/default/html/views/file/compress.php @@ -1,55 +1,53 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('compress') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('compress') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('OPTIONS').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('compress') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('compress') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('OPTIONS').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('type').'') ?> + </span> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('type').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php { $gz= gz; ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php { $gz= gz; ?> + <?php } ?> + <select name="<?php echo escapeHtml('format') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($formats as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==gz){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> <?php } ?> - <select name="<?php echo escapeHtml('format') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($formats as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==gz){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - <?php { $replace= 1; ?> - <?php } ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('1') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('replace').'') ?> - </span> - </label> - <br /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('new').'') ?> - </span> - </label> - </div> + </select> + <?php { $replace= 1; ?> + <?php } ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('1') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('replace').'') ?> + </span> + </label> + <br /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('new').'') ?> + </span> + </label> </div> </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/edit.php b/modules/cms/ui/themes/default/html/views/file/edit.php @@ -1,32 +1,30 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('languageid') ?>" value="<?php echo escapeHtml(''.@$languageid.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('edit') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - <input id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('languageid') ?>" value="<?php echo escapeHtml(''.@$languageid.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('edit') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> + <input id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/extract.php b/modules/cms/ui/themes/default/html/views/file/extract.php @@ -1,20 +1,18 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('extract') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('extract') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - - </td> - </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('extract') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('extract') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/info.php b/modules/cms/ui/themes/default/html/views/file/info.php @@ -1,236 +1,234 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('info') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('info') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('name').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('name') ?>"><?php echo escapeHtml(''.@$name.'') ?> - </span> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('info') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('info') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('name').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('filename').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('filename') ?>"><?php echo escapeHtml(''.@$filename.'') ?> - </span> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('name') ?>"><?php echo escapeHtml(''.@$name.'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('file_extension').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('extension') ?>"><?php echo escapeHtml(''.@$extension.'') ?> - </span> - </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('filename').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('description').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$description.'') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('filename') ?>"><?php echo escapeHtml(''.@$filename.'') ?> + </span> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('file_extension').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('extension') ?>"><?php echo escapeHtml(''.@$extension.'') ?> + </span> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('description').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$description.'') ?> + </span> + </div> + </div> + </div> + </fieldset> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('additional_info').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('full_filename').'') ?> </span> - </div> + </label> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$full_filename.'') ?> + </span> </div> </div> - </fieldset> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('additional_info').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILE_SIZE').'') ?> + </span> + </label> </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('full_filename').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$full_filename.'') ?> + <span><?php echo escapeHtml(''.@$size.'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILE_mimetype').'') ?> </span> - </div> + </label> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILE_SIZE').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> - <span><?php echo escapeHtml(''.@$size.'') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$mimetype.'') ?> + </span> + <br /><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-action="<?php echo escapeHtml('file') ?>" data-method="<?php echo escapeHtml('size') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/file/') ?>" class="<?php echo escapeHtml('action') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_file_size').'') ?> + </span> + </a> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang(''.@lang('id').'').'') ?> </span> </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$objectid.'') ?> + </span> + </div> + </div> + <?php $if1=(isset($cache_filename)); if($if1) { ?> <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILE_mimetype').'') ?> + <span><?php echo escapeHtml(''.@lang('CACHE_FILENAME').'') ?> </span> </label> </div> <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$mimetype.'') ?> + <span><?php echo escapeHtml(''.@$cache_filename.'') ?> </span> <br /><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-action="<?php echo escapeHtml('file') ?>" data-method="<?php echo escapeHtml('size') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/file/') ?>" class="<?php echo escapeHtml('action') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_file_size').'') ?> - </span> - </a> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/el_date.png') ?>" /><?php echo escapeHtml('') ?> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($cache_filemtime); ?> + <?php } ?> </div> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang(''.@lang('id').'').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$objectid.'') ?> + <?php } ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILE_PAGES').'') ?> </span> - </div> + </label> </div> - <?php $if1=(isset($cache_filename)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('CACHE_FILENAME').'') ?> - </span> - </label> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$cache_filename.'') ?> - </span> - <br /><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/el_date.png') ?>" /><?php echo escapeHtml('') ?> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($cache_filemtime); ?> - <?php } ?> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <?php foreach((array)$pages as $list_key=>$list_value) { extract($list_value); ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-url="<?php echo escapeHtml(''.@$url.'') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_page.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> + </a> + </td> + </tr> + <?php } ?> + </table> </div> </div> - <?php } ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILE_PAGES').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <?php foreach((array)$pages as $list_key=>$list_value) { extract($list_value); ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-url="<?php echo escapeHtml(''.@$url.'') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_page.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </a> - </td> - </tr> - <?php } ?> - </table> - </div> - </div> - <?php $if1=(($pages)==FALSE); if($if1) { ?> - <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> - </span> - <?php } ?> - </div> + <?php $if1=(($pages)==FALSE); if($if1) { ?> + <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> + </span> + <?php } ?> </div> </div> - </fieldset> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('prop_userinfo').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + </fieldset> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('prop_userinfo').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('created').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-el_date') ?>"><?php echo escapeHtml('') ?> + </i> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($create_date); ?> + <?php } ?> + <br /><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> + </i> + <?php include_once( 'modules/template_engine/components/html/user/component-user.php'); { component_user($create_user); ?> + <?php } ?> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('created').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-el_date') ?>"><?php echo escapeHtml('') ?> - </i> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($create_date); ?> - <?php } ?> - <br /><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> - </i> - <?php include_once( 'modules/template_engine/components/html/user/component-user.php'); { component_user($create_user); ?> - <?php } ?> - </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('lastchange').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('lastchange').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-el_date') ?>"><?php echo escapeHtml('') ?> - </i> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($lastchange_date); ?> - <?php } ?> - <br /><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> - </i> - <?php include_once( 'modules/template_engine/components/html/user/component-user.php'); { component_user($lastchange_user); ?> - <?php } ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-el_date') ?>"><?php echo escapeHtml('') ?> + </i> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($lastchange_date); ?> + <?php } ?> + <br /><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> + </i> + <?php include_once( 'modules/template_engine/components/html/user/component-user.php'); { component_user($lastchange_user); ?> + <?php } ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('published').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-el_date') ?>"><?php echo escapeHtml('') ?> - </i> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($published_date); ?> - <?php } ?> - <br /><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> - </i> - <?php include_once( 'modules/template_engine/components/html/user/component-user.php'); { component_user($published_user); ?> - <?php } ?> - </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('published').'') ?> + </span> + </label> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-el_date') ?>"><?php echo escapeHtml('') ?> + </i> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($published_date); ?> + <?php } ?> + <br /><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> + </i> + <?php include_once( 'modules/template_engine/components/html/user/component-user.php'); { component_user($published_user); ?> + <?php } ?> </div> </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/preview.php b/modules/cms/ui/themes/default/html/views/file/preview.php @@ -1,9 +1,7 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-url="<?php echo escapeHtml(''.@$preview_url.'') ?>" data-type="<?php echo escapeHtml('popup') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#//') ?>" class="<?php echo escapeHtml('action') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LINK_OPEN_IN_NEW_WINDOW').'') ?> - </span> - </a> - </div> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-url="<?php echo escapeHtml(''.@$preview_url.'') ?>" data-type="<?php echo escapeHtml('popup') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#//') ?>" class="<?php echo escapeHtml('action') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LINK_OPEN_IN_NEW_WINDOW').'') ?> + </span> + </a> + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/pub.php b/modules/cms/ui/themes/default/html/views/file/pub.php @@ -1,31 +1,29 @@ -<?php if (defined('OR_TITLE')) { ?> - - <?php $if1=(config('security','nopublish')); if($if1) { ?> - <div class="<?php echo escapeHtml('message warn') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('NOPUBLISH_DESC').'') ?> - </span> - </div> - <?php } ?> - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('pub') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('1') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('pub') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - </td> - </tr> - <tr><?php echo escapeHtml('') ?> - <td class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - - </td> - </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('publish').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <?php $if1=(config('security','nopublish')); if($if1) { ?> + <div class="<?php echo escapeHtml('message warn') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('NOPUBLISH_DESC').'') ?> + </span> + </div> + <?php } ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('pub') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('1') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('pub') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> + </td> + </tr> + <tr><?php echo escapeHtml('') ?> + <td class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('publish').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/remove.php b/modules/cms/ui/themes/default/html/views/file/remove.php @@ -1,26 +1,24 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('or-form-row') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-input') ?>"><?php echo escapeHtml('') ?> - </span> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </label> - <label class="<?php echo escapeHtml('or-form-row or-form-checkbox') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('DELETE').'') ?> - </span> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('delete') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$delete){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </label> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('or-form-row') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-input') ?>"><?php echo escapeHtml('') ?> + </span> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </label> + <label class="<?php echo escapeHtml('or-form-row or-form-checkbox') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('DELETE').'') ?> + </span> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('delete') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$delete){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </label> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/show.php b/modules/cms/ui/themes/default/html/views/file/show.php @@ -1,3 +1 @@ -<?php if (defined('OR_TITLE')) { ?> - <?php echo ''.@$value.'' ?> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?><?php echo ''.@$value.'' ?>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/uncompress.php b/modules/cms/ui/themes/default/html/views/file/uncompress.php @@ -1,45 +1,43 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('uncompress') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('uncompress') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('uncompress') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('uncompress') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> </div> - </fieldset> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php { $replace= 1; ?> - <?php } ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('1') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('replace').'') ?> - </span> - </label> - <br /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('new').'') ?> - </span> - </label> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + </div> + </fieldset> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php { $replace= 1; ?> + <?php } ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('1') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('replace').'') ?> + </span> + </label> + <br /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('new').'') ?> + </span> + </label> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/file/value.php b/modules/cms/ui/themes/default/html/views/file/value.php @@ -1,30 +1,28 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('value') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('value') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('VALUE').'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('value') ?>" data-extension="<?php echo escapeHtml('') ?>" data-mimetype="<?php echo escapeHtml('') ?>" data-mode="<?php echo escapeHtml('htmlmixed') ?>" class="<?php echo escapeHtml('editor code-editor') ?>"><?php echo escapeHtml(''.@$value.'') ?> - </textarea> - </td> - </tr> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - - </td> - </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('value') ?>" data-action="<?php echo escapeHtml('file') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form file') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('value') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('VALUE').'') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('value') ?>" data-extension="<?php echo escapeHtml('') ?>" data-mimetype="<?php echo escapeHtml('') ?>" data-mode="<?php echo escapeHtml('htmlmixed') ?>" class="<?php echo escapeHtml('editor code-editor') ?>"><?php echo escapeHtml(''.@$value.'') ?> + </textarea> + </td> + </tr> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/advanced.php b/modules/cms/ui/themes/default/html/views/folder/advanced.php @@ -1,134 +1,132 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('edit') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('checkall') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$checkall){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> - </span> - <span><?php echo escapeHtml(' / ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('edit') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('checkall') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$checkall){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> + </span> + <span><?php echo escapeHtml(' / ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </td> + </tr> + <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td width="<?php echo escapeHtml('1%') ?>"><?php echo escapeHtml('') ?> + <?php $if1=($writable); if($if1) { ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml(''.@$id.'') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$$id){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <?php } ?> + <?php $if1=(!writable); if($if1) { ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <?php } ?> </td> - </tr> - <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td width="<?php echo escapeHtml('1%') ?>"><?php echo escapeHtml('') ?> - <?php $if1=($writable); if($if1) { ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml(''.@$id.'') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$$id){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <?php } ?> - <?php $if1=(!writable); if($if1) { ?> + <td class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@$name.'') ?>" name="<?php echo escapeHtml(''.@$name.'') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$objectid.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/'.@$type.'/'.@$objectid.'') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$icon.'') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> <span><?php echo escapeHtml(' ') ?> </span> - <?php } ?> - </td> - <td class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@$name.'') ?>" name="<?php echo escapeHtml(''.@$name.'') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$objectid.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/'.@$type.'/'.@$objectid.'') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$icon.'') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - <span><?php echo escapeHtml(' ') ?> - </span> - </a> - </label> - </td> - </tr> - <?php } ?> - <?php $if1=(($object)==FALSE); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> - </span> - </td> - </tr> - <?php } ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - </td> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('create') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':\'folder\',\'dialogMethod\':\'create\'}') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--method-add') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@lang('menu_folder_create').'') ?> - </span> - </a> + </a> + </label> </td> </tr> - </table> - </div> - </div> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <?php { $type= $defaulttype; ?> <?php } ?> - <?php foreach((array)$actionlist as $list_key=>$actiontype) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml(''.@$actiontype.'') ?>" checked="<?php echo escapeHtml(''.@$type.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('FOLDER_SELECT_'.@$actiontype.'').'') ?> - </span> - </label> - </div> - </div> + <?php $if1=(($object)==FALSE); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> + </span> + </td> + </tr> <?php } ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + </td> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('create') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':\'folder\',\'dialogMethod\':\'create\'}') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--method-add') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@lang('menu_folder_create').'') ?> + </span> + </a> + </td> + </tr> + </table> + </div> + </div> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <?php { $type= $defaulttype; ?> + <?php } ?> + <?php foreach((array)$actionlist as $list_key=>$actiontype) { ?> <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('confirm') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$confirm){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> required="<?php echo escapeHtml('required') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml(''.@$actiontype.'') ?>" checked="<?php echo escapeHtml(''.@$type.'') ?>" /><?php echo escapeHtml('') ?> <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('CONFIRM_DELETE').'') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('FOLDER_SELECT_'.@$actiontype.'').'') ?> </span> </label> </div> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FOLDER_SELECT_TARGET_FOLDER').'') ?> + <?php } ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('confirm') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$confirm){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> required="<?php echo escapeHtml('required') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('CONFIRM_DELETE').'') ?> </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php echo escapeHtml('') ?> - </div> + </label> </div> </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FOLDER_SELECT_TARGET_FOLDER').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php echo escapeHtml('') ?> + </div> + </div> + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/content.php b/modules/cms/ui/themes/default/html/views/folder/content.php @@ -1,98 +1,96 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> - </span> - <span><?php echo escapeHtml(' / ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> + </span> + <span><?php echo escapeHtml(' / ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> + </span> + </td> + </tr> + <?php $if1=(isset($up_url)); if($if1) { ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_folder.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml('..') ?> </span> </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml('') ?> </span> </td> </tr> - <?php $if1=(isset($up_url)); if($if1) { ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_folder.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml('..') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml('') ?> - </span> - </td> - </tr> - <?php } ?> - <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td title="<?php echo escapeHtml(''.@$desc.'') ?>" data-name="<?php echo escapeHtml(''.@$name.'') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('clickable '.@$class.'') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_'.@$icon.'.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - <span><?php echo escapeHtml(' ') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> - <?php } ?> - </td> - </tr> - <?php } ?> - <?php $if1=(($object)==FALSE); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> - </span> - </td> - </tr> - <?php } ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createfolder') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_folder_createfolder').'') ?> - </span> - </a> - </td> - </tr> + <?php } ?> + <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createpage') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_folder_createpage').'') ?> - </span> - </a> + <td title="<?php echo escapeHtml(''.@$desc.'') ?>" data-name="<?php echo escapeHtml(''.@$name.'') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('clickable '.@$class.'') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_'.@$icon.'.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> + <span><?php echo escapeHtml(' ') ?> + </span> </td> - </tr> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createfile') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_folder_createfile').'') ?> - </span> - </a> + <td><?php echo escapeHtml('') ?> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> + <?php } ?> </td> </tr> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <?php } ?> + <?php $if1=(($object)==FALSE); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('modal') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createlink') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_folder_createlink').'') ?> - </span> - </a> + <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> + </span> </td> </tr> - </table> - </div> + <?php } ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createfolder') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_folder_createfolder').'') ?> + </span> + </a> + </td> + </tr> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createpage') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_folder_createpage').'') ?> + </span> + </a> + </td> + </tr> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createfile') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_folder_createfile').'') ?> + </span> + </a> + </td> + </tr> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('modal') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('createlink') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon/icon/create.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_folder_createlink').'') ?> + </span> + </a> + </td> + </tr> + </table> </div> - <?php } ?>- \ No newline at end of file + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/create.php b/modules/cms/ui/themes/default/html/views/folder/create.php @@ -1,61 +1,59 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-linklist') ?>"><?php echo escapeHtml('') ?> - <?php $if1=($mayCreateFolder); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createfolder') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createfolder\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createfolder').'') ?> - </span> - </a> - </div> - <?php } ?> - <?php $if1=($mayCreatePage); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createpage') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createpage\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createpage').'') ?> - </span> - </a> - </div> - <?php } ?> - <?php $if1=($mayCreateFile); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createfile') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createfile\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createfile').'') ?> - </span> - </a> - </div> - <?php } ?> - <?php $if1=($mayCreateImage); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createimage') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createimage\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createimage').'') ?> - </span> - </a> - </div> - <?php } ?> - <?php $if1=($mayCreateText); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createtext') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createtext\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createtext').'') ?> - </span> - </a> - </div> - <?php } ?> - <?php $if1=($mayCreateUrl); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createurl') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createurl\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createurl').'') ?> - </span> - </a> - </div> - <?php } ?> - <?php $if1=($mayCreateLink); if($if1) { ?> - <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createlink') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createlink\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('menu_createlink').'') ?> - </span> - </a> - </div> - <?php } ?> - </div> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-linklist') ?>"><?php echo escapeHtml('') ?> + <?php $if1=($mayCreateFolder); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createfolder') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createfolder\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createfolder').'') ?> + </span> + </a> + </div> + <?php } ?> + <?php $if1=($mayCreatePage); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createpage') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createpage\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createpage').'') ?> + </span> + </a> + </div> + <?php } ?> + <?php $if1=($mayCreateFile); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createfile') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createfile\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createfile').'') ?> + </span> + </a> + </div> + <?php } ?> + <?php $if1=($mayCreateImage); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createimage') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createimage\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createimage').'') ?> + </span> + </a> + </div> + <?php } ?> + <?php $if1=($mayCreateText); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createtext') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createtext\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createtext').'') ?> + </span> + </a> + </div> + <?php } ?> + <?php $if1=($mayCreateUrl); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createurl') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createurl\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createurl').'') ?> + </span> + </a> + </div> + <?php } ?> + <?php $if1=($mayCreateLink); if($if1) { ?> + <div class="<?php echo escapeHtml('clickable or-linklist-line or-round-corners or-hover-effect') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('createlink') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'createlink\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('menu_createlink').'') ?> + </span> + </a> + </div> + <?php } ?> + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createfile.php b/modules/cms/ui/themes/default/html/views/folder/createfile.php @@ -1,86 +1,84 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('upload') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createfile') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('multipart/form-data') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createfile') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILE').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input multiple="<?php echo escapeHtml('multiple') ?>" id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" maxlength="<?php echo escapeHtml(''.@$maxlength.'') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('upload') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createfile') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('multipart/form-data') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createfile') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILE').'') ?> + </span> + </label> </div> - <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input multiple="<?php echo escapeHtml('multiple') ?>" id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" maxlength="<?php echo escapeHtml(''.@$maxlength.'') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('file_max_size').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$max_size.'') ?> - </span> - </div> + </div> + <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('HTTP_URL').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$url.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> </div> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('description').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('file_max_size').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$max_size.'') ?> + </span> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('HTTP_URL').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$url.'') ?>" /><?php echo escapeHtml('') ?> </div> - </fieldset> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> + </div> + </div> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('description').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> + </fieldset> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createfolder.php b/modules/cms/ui/themes/default/html/views/folder/createfolder.php @@ -1,37 +1,35 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createfolder') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createfolder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('languageid') ?>" value="<?php echo escapeHtml(''.@$languageid.'') ?>" /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FOLDER').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createfolder') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createfolder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('languageid') ?>" value="<?php echo escapeHtml(''.@$languageid.'') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FOLDER').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('add').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('add').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createimage.php b/modules/cms/ui/themes/default/html/views/folder/createimage.php @@ -1,86 +1,84 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('upload') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createimage') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('multipart/form-data') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createimage') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILE').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input multiple="<?php echo escapeHtml('multiple') ?>" id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" maxlength="<?php echo escapeHtml(''.@$maxlength.'') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('upload') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createimage') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('multipart/form-data') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createimage') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('type') ?>" value="<?php echo escapeHtml('file') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILE').'') ?> + </span> + </label> </div> - <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input multiple="<?php echo escapeHtml('multiple') ?>" id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" maxlength="<?php echo escapeHtml(''.@$maxlength.'') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('file_max_size').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$max_size.'') ?> - </span> - </div> + </div> + <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('HTTP_URL').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$url.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> </div> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('description').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('file_max_size').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$max_size.'') ?> + </span> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('HTTP_URL').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$url.'') ?>" /><?php echo escapeHtml('') ?> </div> - </fieldset> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> + </div> + </div> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('description').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> + </fieldset> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createlink.php b/modules/cms/ui/themes/default/html/views/folder/createlink.php @@ -1,42 +1,40 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createlink') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createlink') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createlink') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createlink') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> </div> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> - </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createpage.php b/modules/cms/ui/themes/default/html/views/folder/createpage.php @@ -1,50 +1,48 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createpage') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createpage') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('TEMPLATE').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <select name="<?php echo escapeHtml('templateid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($templates as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==''){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createpage') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createpage') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('TEMPLATE').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('focus,name') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <select name="<?php echo escapeHtml('templateid') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($templates as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==''){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> + <?php } ?> + </select> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('focus,name') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createtext.php b/modules/cms/ui/themes/default/html/views/folder/createtext.php @@ -1,85 +1,83 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createtext') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createtext') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILE').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input multiple="<?php echo escapeHtml('multiple') ?>" id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" maxlength="<?php echo escapeHtml(''.@$maxlength.'') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createtext') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createtext') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILE').'') ?> + </span> + </label> </div> - <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input multiple="<?php echo escapeHtml('multiple') ?>" id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" maxlength="<?php echo escapeHtml(''.@$maxlength.'') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('file_max_size').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$max_size.'') ?> - </span> - </div> + </div> + <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('HTTP_URL').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$url.'') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> </div> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('description').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('file_max_size').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$max_size.'') ?> + </span> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('HTTP_URL').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$url.'') ?>" /><?php echo escapeHtml('') ?> </div> - </fieldset> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> + </div> + </div> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('description').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> + </fieldset> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/createurl.php b/modules/cms/ui/themes/default/html/views/folder/createurl.php @@ -1,53 +1,51 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createurl') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createurl') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('URL').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> - </div> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('createurl') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('createurl') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('URL').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('url') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> </div> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> - </textarea> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml('') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('DESCRIPTION').'') ?> + </span> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <textarea name="<?php echo escapeHtml('description') ?>" class="<?php echo escapeHtml('inputarea') ?>"><?php echo escapeHtml('') ?> + </textarea> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/edit.php b/modules/cms/ui/themes/default/html/views/folder/edit.php @@ -1,78 +1,76 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <th><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> - </span> - </th> - <th><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </th> - <th><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <th><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> + </span> + </th> + <th><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </th> + <th><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> + </span> + </th> + </tr> + <?php $if1=(isset($up_url)); if($if1) { ?> + <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$parentid.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/'.@$parentid.'') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-folder') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml('..') ?> + </span> + </a> + </td> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml('') ?> </span> - </th> + </td> </tr> - <?php $if1=(isset($up_url)); if($if1) { ?> - <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$parentid.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/'.@$parentid.'') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-folder') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml('..') ?> - </span> - </a> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml('') ?> + <?php } ?> + <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> + <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$icon.'') ?>"><?php echo escapeHtml('') ?> + </i> + </td> + <td><?php echo escapeHtml('') ?> + <a title="<?php echo escapeHtml(''.@$desc.'') ?>" target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@$name.'') ?>" name="<?php echo escapeHtml(''.@$name.'') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/'.@$type.'/'.@$id.'') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> </span> - </td> - </tr> - <?php } ?> - <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$icon.'') ?>"><?php echo escapeHtml('') ?> - </i> - </td> - <td><?php echo escapeHtml('') ?> - <a title="<?php echo escapeHtml(''.@$desc.'') ?>" target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@$name.'') ?>" name="<?php echo escapeHtml(''.@$name.'') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/'.@$type.'/'.@$id.'') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - <span><?php echo escapeHtml(' ') ?> - </span> - </a> - </td> - <td><?php echo escapeHtml('') ?> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> - <?php } ?> - </td> - </tr> - <?php } ?> - <?php $if1=(($object)==FALSE); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> + <span><?php echo escapeHtml(' ') ?> </span> - </td> - </tr> - <?php } ?> - </table> - </div> - </div> - <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('create') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':\'folder\',\'dialogMethod\':\'create\'}') ?>" href="<?php echo escapeHtml('/#/folder/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-new') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@lang('new').'') ?> - </span> - </a> + </a> + </td> + <td><?php echo escapeHtml('') ?> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> + <?php } ?> + </td> + </tr> + <?php } ?> + <?php $if1=(($object)==FALSE); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> + </span> + </td> + </tr> + <?php } ?> + </table> </div> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('create') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':\'folder\',\'dialogMethod\':\'create\'}') ?>" href="<?php echo escapeHtml('/#/folder/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-new') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@lang('new').'') ?> + </span> + </a> + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/inherit.php b/modules/cms/ui/themes/default/html/views/folder/inherit.php @@ -1,43 +1,41 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('inherit') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('inherit') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <?php $if1=($type=='folder'); if($if1) { ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('inherit') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('inherit') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <?php $if1=($type=='folder'); if($if1) { ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php { $inherit= 1; ?> - <?php } ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('inherit') ?>" type="<?php echo escapeHtml('checkbox') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$inherit.'') ?>" /><?php echo escapeHtml('') ?> - </div> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('inherit_rights').'') ?> - </span> - </label> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php { $inherit= 1; ?> + <?php } ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('inherit') ?>" type="<?php echo escapeHtml('checkbox') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$inherit.'') ?>" /><?php echo escapeHtml('') ?> </div> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('inherit_rights').'') ?> + </span> + </label> </div> </div> - </fieldset> - <?php } ?> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + </fieldset> + <?php } ?> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/order.php b/modules/cms/ui/themes/default/html/views/folder/order.php @@ -1,73 +1,71 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('order') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('order') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>" class="<?php echo escapeHtml('or-table--sortable') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FOLDER_ORDER').'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('order') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('order') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>" class="<?php echo escapeHtml('or-table--sortable') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FOLDER_ORDER').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('FILENAME').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> + </span> + </td> + </tr> + <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> + <tr data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> </span> </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> + <td><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('sort-value') ?>"><?php echo escapeHtml(''.@$icon.'') ?> </span> + <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$icon.'') ?>"><?php echo escapeHtml('') ?> + </i> </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> </span> </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('FILENAME').'') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$filename.'') ?> </span> </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> - </span> + <td><?php echo escapeHtml('') ?> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> + <?php } ?> </td> </tr> - <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> - <tr data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('sort-value') ?>"><?php echo escapeHtml(''.@$icon.'') ?> - </span> - <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$icon.'') ?>"><?php echo escapeHtml('') ?> - </i> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$filename.'') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> - <?php } ?> - </td> - </tr> - <?php } ?> - </table> - </div> + <?php } ?> + </table> </div> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('order') ?>" value="<?php echo escapeHtml(''.@$order.'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> </div> - </form> - <?php } ?>- \ No newline at end of file + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('order') ?>" value="<?php echo escapeHtml(''.@$order.'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/pub.php b/modules/cms/ui/themes/default/html/views/folder/pub.php @@ -1,91 +1,89 @@ -<?php if (defined('OR_TITLE')) { ?> - - <?php $if1=(config('security','nopublish')); if($if1) { ?> - <div class="<?php echo escapeHtml('message warn') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('NOPUBLISH_DESC').'') ?> - </span> - </div> - <?php } ?> - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('pub') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('1') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('pub') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <?php $if1=($pages); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('pages') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$pages){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('pages').'') ?> - </span> - </label> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <?php $if1=(config('security','nopublish')); if($if1) { ?> + <div class="<?php echo escapeHtml('message warn') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml(''.@lang('NOPUBLISH_DESC').'') ?> + </span> + </div> + <?php } ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('pub') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('1') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('pub') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <?php $if1=($pages); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <?php } ?> - <?php $if1=($files); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('files') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$files){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('files').'') ?> - </span> - </label> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('pages') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$pages){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('pages').'') ?> + </span> + </label> </div> - <?php } ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + <?php } ?> + <?php $if1=($files); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('files') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$files){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('files').'') ?> + </span> + </label> + </div> + </div> + <?php } ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <?php $if1=(isset($subdirs)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('subdirs') ?>" disabled="<?php echo escapeHtml('disabled') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$subdirs){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('PUBLISH_WITH_SUBDIRS').'') ?> + </span> + </label> + </div> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <?php $if1=(isset($subdirs)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('subdirs') ?>" disabled="<?php echo escapeHtml('disabled') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$subdirs){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('PUBLISH_WITH_SUBDIRS').'') ?> - </span> - </label> - </div> + <?php } ?> + <?php $if1=(isset($clean)); if($if1) { ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <?php } ?> - <?php $if1=(isset($clean)); if($if1) { ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('clean') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$clean){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(' ') ?> - </span> - <span><?php echo escapeHtml(''.@lang('CLEAN_AFTER_PUBLISH').'') ?> - </span> - </label> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('clean') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$clean){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(' ') ?> + </span> + <span><?php echo escapeHtml(''.@lang('CLEAN_AFTER_PUBLISH').'') ?> + </span> + </label> </div> - <?php } ?> - </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('publish').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <?php } ?> + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('publish').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/remove.php b/modules/cms/ui/themes/default/html/views/folder/remove.php @@ -1,31 +1,29 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('or-form-row') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-input') ?>"><?php echo escapeHtml('') ?> - </span> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </label> - <label class="<?php echo escapeHtml('or-form-row or-form-checkbox') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('DELETE').'') ?> - </span> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('delete') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$delete){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </label> - <label class="<?php echo escapeHtml('or-form-row or-form-checkbox') ?>"><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('DELETE_WITH_CHILDREN').'') ?> - </span> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('withChildren') ?>" disabled="<?php echo escapeHtml('disabled') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$withChildren){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </label> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form folder') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('folder') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('or-form-row') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-input') ?>"><?php echo escapeHtml('') ?> + </span> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </label> + <label class="<?php echo escapeHtml('or-form-row or-form-checkbox') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('DELETE').'') ?> + </span> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('delete') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$delete){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </label> + <label class="<?php echo escapeHtml('or-form-row or-form-checkbox') ?>"><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('or-form-label') ?>"><?php echo escapeHtml(''.@lang('DELETE_WITH_CHILDREN').'') ?> + </span> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('withChildren') ?>" disabled="<?php echo escapeHtml('disabled') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$withChildren){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> + </label> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/folder/show.php b/modules/cms/ui/themes/default/html/views/folder/show.php @@ -1,73 +1,71 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <th><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <th><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('TYPE').'') ?> + </span> + </th> + <th><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </th> + <th><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> + </span> + </th> + </tr> + <?php $if1=(isset($up_url)); if($if1) { ?> + <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-folder') ?>"><?php echo escapeHtml('') ?> + </i> + </td> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml('..') ?> + </span> + </td> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml('') ?> + </span> + </td> + </tr> + <?php } ?> + <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td title="<?php echo escapeHtml(''.@$desc.'') ?>" data-name="<?php echo escapeHtml(''.@$name.'') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('clickable '.@$class.'') ?>"><?php echo escapeHtml('') ?> + <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_'.@$icon.'.png') ?>" /><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> </span> - </th> - <th><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + <span><?php echo escapeHtml(' ') ?> </span> - </th> - <th><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LASTCHANGE').'') ?> + </td> + <td><?php echo escapeHtml('') ?> + <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> + <?php } ?> + </td> + </tr> + <?php } ?> + <?php $if1=(($object)==FALSE); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> </span> - </th> + </td> </tr> - <?php $if1=(isset($up_url)); if($if1) { ?> - <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-folder') ?>"><?php echo escapeHtml('') ?> - </i> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml('..') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml('') ?> - </span> - </td> - </tr> - <?php } ?> - <?php foreach((array)$object as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td title="<?php echo escapeHtml(''.@$desc.'') ?>" data-name="<?php echo escapeHtml(''.@$name.'') ?>" data-action="<?php echo escapeHtml(''.@$type.'') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('clickable '.@$class.'') ?>"><?php echo escapeHtml('') ?> - <img src="<?php echo escapeHtml('./modules/cms/ui/themes/default/images/icon_'.@$icon.'.png') ?>" /><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - <span><?php echo escapeHtml(' ') ?> - </span> - </td> - <td><?php echo escapeHtml('') ?> - <?php include_once( 'modules/template_engine/components/html/date/component-date.php'); { component_date($date); ?> - <?php } ?> - </td> - </tr> - <?php } ?> - <?php $if1=(($object)==FALSE); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> - </span> - </td> - </tr> - <?php } ?> - </table> - </div> - </div> - <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('create') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-new') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@lang('new').'') ?> - </span> - </a> + <?php } ?> + </table> </div> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('view') ?>" data-action="<?php echo escapeHtml('folder') ?>" data-method="<?php echo escapeHtml('create') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/folder/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-new') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@lang('new').'') ?> + </span> + </a> + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/group/add.php b/modules/cms/ui/themes/default/html/views/group/add.php @@ -1,26 +1,24 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('add') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('add') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('name').'') ?> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('focus') ?>" /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('add') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('add') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('name').'') ?> + </label> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('focus') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/group/info.php b/modules/cms/ui/themes/default/html/views/group/info.php @@ -1,56 +1,54 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('info') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('info') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <span class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml(''.@$name.'') ?> - </span> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input clickable') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('group') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/group/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('edit').'') ?> - </span> - </a> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('info') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('info') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <span class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml(''.@$name.'') ?> + </span> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('USERS').'') ?> + <div class="<?php echo escapeHtml('input clickable') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('group') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/group/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('edit').'') ?> </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php foreach((array)$users as $id=>$name) { ?> - <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml('user') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/user/'.@$id.'') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </a> - <br /><?php echo escapeHtml('') ?> - </div> - <?php } ?> - </div> + </a> + </div> + </div> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('USERS').'') ?> + </span> </div> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('group') ?>" data-method="<?php echo escapeHtml('memberships') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/group/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('edit').'') ?> - </span> - </a> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php foreach((array)$users as $id=>$name) { ?> + <div class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml('user') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/user/'.@$id.'') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> + </a> + <br /><?php echo escapeHtml('') ?> + </div> + <?php } ?> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('group') ?>" data-method="<?php echo escapeHtml('memberships') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/group/') ?>" class="<?php echo escapeHtml('or-link-btn') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('edit').'') ?> + </span> + </a> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/group/memberships.php b/modules/cms/ui/themes/default/html/views/group/memberships.php @@ -1,52 +1,50 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('memberships') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('1') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('memberships') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td width="<?php echo escapeHtml('10%') ?>"><?php echo escapeHtml('') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('memberships') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('1') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('memberships') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td width="<?php echo escapeHtml('10%') ?>"><?php echo escapeHtml('') ?> + </td> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('name').'') ?> + </span> + </td> + </tr> + <?php foreach((array)$memberships as $list_key=>$list_value) { extract($list_value); ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml(''.@$var.'') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$$var){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> </td> <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('name').'') ?> - </span> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> + </label> </td> </tr> - <?php foreach((array)$memberships as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml(''.@$var.'') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$$var){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </td> - <td><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-user') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </label> - </td> - </tr> - <?php } ?> - </table> - </div> + <?php } ?> + </table> </div> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - - </td> - </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> </div> - </form> - <?php } ?>- \ No newline at end of file + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/group/prop.php b/modules/cms/ui/themes/default/html/views/group/prop.php @@ -1,28 +1,26 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('post') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('prop') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('100') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('name focus') ?>" /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('prop') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('post') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('prop') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </label> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('100') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('name focus') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/group/remove.php b/modules/cms/ui/themes/default/html/views/group/remove.php @@ -1,45 +1,43 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('NAME').'') ?> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('remove') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form group') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('group') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('remove') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('NAME').'') ?> + </label> </div> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - </div> - </fieldset> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> + </span> + </div> + </div> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('options').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('confirm') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$confirm){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> required="<?php echo escapeHtml('required') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('GROUP_DELETE').'') ?> - </label> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + </div> + </fieldset> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml('confirm') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$confirm){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> required="<?php echo escapeHtml('required') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('GROUP_DELETE').'') ?> + </label> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/group/rights.php b/modules/cms/ui/themes/default/html/views/group/rights.php @@ -1,108 +1,106 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <?php foreach((array)$projects as $list_key=>$list_value) { extract($list_value); ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@$projectname.'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> - </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <?php $if1=(($rights)==FALSE); if($if1) { ?> - <tr><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> - </span> - </td> - </tr> - <?php } ?> - <?php $if1=!(($rights)==FALSE); if($if1) { ?> - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('USER').'') ?> - </span> - </td> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('NAME').'') ?> - </span> - </td> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <?php foreach((array)$projects as $list_key=>$list_value) { extract($list_value); ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@$projectname.'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <?php $if1=(($rights)==FALSE); if($if1) { ?> + <tr><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NOT_FOUND').'') ?> + </span> + </td> + </tr> + <?php } ?> + <?php $if1=!(($rights)==FALSE); if($if1) { ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('USER').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('NAME').'') ?> + </span> + </td> + <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('LANGUAGE').'') ?> + </span> + </td> + <?php foreach((array)$show as $list_key=>$t) { ?> <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('LANGUAGE').'') ?> + <span title="<?php echo escapeHtml(''.@lang('acl_'.@$t.'').'') ?>"><?php echo escapeHtml(''.@lang('acl_'.@$t.'_abbrev').'') ?> </span> </td> - <?php foreach((array)$show as $list_key=>$t) { ?> - <td class="<?php echo escapeHtml('help') ?>"><?php echo escapeHtml('') ?> - <span title="<?php echo escapeHtml(''.@lang('acl_'.@$t.'').'') ?>"><?php echo escapeHtml(''.@lang('acl_'.@$t.'_abbrev').'') ?> + <?php } ?> + </tr> + <?php foreach((array)$rights as $aclid=>$acl) { extract($acl); ?> + <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <?php $if1=(isset($groupname)); if($if1) { ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-group') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@$groupname.'') ?> </span> - </td> - <?php } ?> - </tr> - <?php foreach((array)$rights as $aclid=>$acl) { extract($acl); ?> - <tr class="<?php echo escapeHtml('data clickable') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <?php $if1=(isset($groupname)); if($if1) { ?> + <?php } ?> + <?php $if1=!(isset($username)); if($if1) { ?> + <?php $if1=!(isset($groupname)); if($if1) { ?> <i class="<?php echo escapeHtml('image-icon image-icon--action-group') ?>"><?php echo escapeHtml('') ?> </i> - <span><?php echo escapeHtml(''.@$groupname.'') ?> + <span><?php echo escapeHtml(''.@lang('all').'') ?> </span> <?php } ?> - <?php $if1=!(isset($username)); if($if1) { ?> - <?php $if1=!(isset($groupname)); if($if1) { ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-group') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@lang('all').'') ?> - </span> - <?php } ?> - <?php } ?> - <?php { unset($username) ?> - <?php } ?> - <?php { unset($groupname) ?> - <?php } ?> - </td> - <td title="<?php echo escapeHtml(''.@$objectname.'') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$objecttype.'') ?>"><?php echo escapeHtml('') ?> - </i> - <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml(''.@$objecttype.'') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$objectid.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/'.@$objecttype.'/'.@$objectid.'') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$objectname.'') ?> - </span> - </a> - </td> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@$languagename.'') ?> + <?php } ?> + <?php { unset($username) ?> + <?php } ?> + <?php { unset($groupname) ?> + <?php } ?> + </td> + <td title="<?php echo escapeHtml(''.@$objectname.'') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-'.@$objecttype.'') ?>"><?php echo escapeHtml('') ?> + </i> + <a target="<?php echo escapeHtml('_self') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml(''.@$objecttype.'') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$objectid.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/'.@$objecttype.'/'.@$objectid.'') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$objectname.'') ?> </span> + </a> + </td> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@$languagename.'') ?> + </span> + </td> + <?php foreach((array)$show as $list_key=>$list_value) { ?> + <td><?php echo escapeHtml('') ?> + <?php { $$list_value= $bits[$list_value]; ?> + <?php } ?> + <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml(''.@$list_value.'') ?>" disabled="<?php echo escapeHtml('disabled') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$$list_value){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> </td> - <?php foreach((array)$show as $list_key=>$list_value) { ?> - <td><?php echo escapeHtml('') ?> - <?php { $$list_value= $bits[$list_value]; ?> - <?php } ?> - <input type="<?php echo escapeHtml('checkbox') ?>" name="<?php echo escapeHtml(''.@$list_value.'') ?>" disabled="<?php echo escapeHtml('disabled') ?>" value="<?php echo escapeHtml('1') ?>" <?php if(@$$list_value){ ?>checked="<?php echo escapeHtml('1') ?>"<?php } ?> /><?php echo escapeHtml('') ?> - </td> - <?php } ?> - </tr> - <?php } ?> - </table> - </div> + <?php } ?> + </tr> + <?php } ?> + </table> </div> - <?php } ?> - </div> - </fieldset> - </td> - </tr> - <?php } ?> - </table> - </div> + </div> + <?php } ?> + </div> + </fieldset> + </td> + </tr> + <?php } ?> + </table> </div> - <?php } ?>- \ No newline at end of file + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/grouplist/add.php b/modules/cms/ui/themes/default/html/views/grouplist/add.php @@ -1,26 +1,24 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('add') ?>" data-action="<?php echo escapeHtml('grouplist') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form grouplist') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('grouplist') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('add') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('name').'') ?> - </label> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> - <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('focus') ?>" /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('add') ?>" data-action="<?php echo escapeHtml('grouplist') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form grouplist') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('grouplist') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('add') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml(''.@lang('name').'') ?> + </label> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('inputholder') ?>"><?php echo escapeHtml('') ?> + <input name="<?php echo escapeHtml('name') ?>" type="<?php echo escapeHtml('text') ?>" maxlength="<?php echo escapeHtml('256') ?>" value="<?php echo escapeHtml(''.@$name.'') ?>" class="<?php echo escapeHtml('focus') ?>" /><?php echo escapeHtml('') ?> </div> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/grouplist/show.php b/modules/cms/ui/themes/default/html/views/grouplist/show.php @@ -1,40 +1,38 @@ -<?php if (defined('OR_TITLE')) { ?> - - <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> - <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> - <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> - <td><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('name').'') ?> - </span> - </td> - </tr> - <?php foreach((array)$el as $list_key=>$list_value) { extract($list_value); ?> - <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td data-name="<?php echo escapeHtml(''.@$name.'') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('clickable clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@$name.'') ?>" name="<?php echo escapeHtml(''.@$name.'') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml('group') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/group/'.@$id.'') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--action-group') ?>"><?php echo escapeHtml('') ?> - </i> - <span><?php echo escapeHtml(''.@$name.'') ?> - </span> - </a> - </td> - </tr> - <?php } ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <div class="<?php echo escapeHtml('or-table-wrapper') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('or-table-filter') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('search') ?>" name="<?php echo escapeHtml('filter') ?>" placeholder="<?php echo escapeHtml(''.@lang('SEARCH_FILTER').'') ?>" /><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('or-table-area') ?>"><?php echo escapeHtml('') ?> + <table width="<?php echo escapeHtml('100%') ?>"><?php echo escapeHtml('') ?> + <tr class="<?php echo escapeHtml('headline') ?>"><?php echo escapeHtml('') ?> + <td><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('name').'') ?> + </span> + </td> + </tr> + <?php foreach((array)$el as $list_key=>$list_value) { extract($list_value); ?> <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> - <a target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@lang('menu_add').'') ?>" name="<?php echo escapeHtml(''.@lang('menu_add').'') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('add') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'add\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> - <i class="<?php echo escapeHtml('image-icon image-icon--method-add') ?>"><?php echo escapeHtml('') ?> + <td data-name="<?php echo escapeHtml(''.@$name.'') ?>" data-action="<?php echo escapeHtml('group') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" class="<?php echo escapeHtml('clickable clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@$name.'') ?>" name="<?php echo escapeHtml(''.@$name.'') ?>" data-type="<?php echo escapeHtml('open') ?>" data-action="<?php echo escapeHtml('group') ?>" data-method="<?php echo escapeHtml('') ?>" data-id="<?php echo escapeHtml(''.@$id.'') ?>" data-extra="<?php echo escapeHtml('[]') ?>" href="<?php echo escapeHtml('/#/group/'.@$id.'') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--action-group') ?>"><?php echo escapeHtml('') ?> </i> - <span><?php echo escapeHtml(''.@lang('new').'') ?> + <span><?php echo escapeHtml(''.@$name.'') ?> </span> </a> </td> </tr> - </table> - </div> + <?php } ?> + <tr class="<?php echo escapeHtml('data') ?>"><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('clickable') ?>"><?php echo escapeHtml('') ?> + <a target="<?php echo escapeHtml('_self') ?>" date-name="<?php echo escapeHtml(''.@lang('menu_add').'') ?>" name="<?php echo escapeHtml(''.@lang('menu_add').'') ?>" data-type="<?php echo escapeHtml('dialog') ?>" data-action="<?php echo escapeHtml('') ?>" data-method="<?php echo escapeHtml('add') ?>" data-id="<?php echo escapeHtml('') ?>" data-extra="<?php echo escapeHtml('{\'dialogAction\':null,\'dialogMethod\':\'add\'}') ?>" href="<?php echo escapeHtml('/#//') ?>"><?php echo escapeHtml('') ?> + <i class="<?php echo escapeHtml('image-icon image-icon--method-add') ?>"><?php echo escapeHtml('') ?> + </i> + <span><?php echo escapeHtml(''.@lang('new').'') ?> + </span> + </a> + </td> + </tr> + </table> </div> - <?php } ?>- \ No newline at end of file + </div>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/image/compress.php b/modules/cms/ui/themes/default/html/views/image/compress.php @@ -1,55 +1,53 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('compress') ?>" data-action="<?php echo escapeHtml('image') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form image') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('image') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('compress') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> - <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('OPTIONS').'') ?> - <img /><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('compress') ?>" data-action="<?php echo escapeHtml('image') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form image') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('image') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('compress') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <fieldset class="<?php echo escapeHtml('or-group toggle-open-close open show') ?>"><?php echo escapeHtml('') ?> + <legend class="<?php echo escapeHtml('on-click-open-close') ?>"><?php echo escapeHtml(''.@lang('OPTIONS').'') ?> + <img /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('arrow arrow-right on-closed') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('arrow arrow-down on-open') ?>"><?php echo escapeHtml('') ?> + </div> + </legend> + <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('type').'') ?> + </span> </div> - </legend> - <div class="<?php echo escapeHtml('closable') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('type').'') ?> - </span> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <?php { $gz= gz; ?> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <?php { $gz= gz; ?> + <?php } ?> + <select name="<?php echo escapeHtml('format') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> + <?php foreach($formats as $_key=>$_value) { ?> + <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==gz){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> + </option> <?php } ?> - <select name="<?php echo escapeHtml('format') ?>" size="<?php echo escapeHtml('1') ?>"><?php echo escapeHtml('') ?> - <?php foreach($formats as $_key=>$_value) { ?> - <option value="<?php echo escapeHtml(''.@$_key.'') ?>" <?php if($_key==gz){ ?>selected="<?php echo escapeHtml('selected') ?>"<?php } ?>><?php echo escapeHtml(''.@$_value.'') ?> - </option> - <?php } ?> - </select> - <?php { $replace= 1; ?> - <?php } ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('1') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('replace').'') ?> - </span> - </label> - <br /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> - <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - <span><?php echo escapeHtml(''.@lang('new').'') ?> - </span> - </label> - </div> + </select> + <?php { $replace= 1; ?> + <?php } ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('1') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('replace').'') ?> + </span> + </label> + <br /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('radio') ?>" name="<?php echo escapeHtml('replace') ?>" value="<?php echo escapeHtml('') ?>" checked="<?php echo escapeHtml(''.@$replace.'') ?>" /><?php echo escapeHtml('') ?> + <label class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + <span><?php echo escapeHtml(''.@lang('new').'') ?> + </span> + </label> </div> </div> - </fieldset> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + </fieldset> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/image/edit.php b/modules/cms/ui/themes/default/html/views/image/edit.php @@ -1,31 +1,29 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('image') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form image') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('image') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('edit') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - <input id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - <br /><?php echo escapeHtml('') ?> - </div> +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('edit') ?>" data-action="<?php echo escapeHtml('image') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form image') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('image') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('edit') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> </div> - <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> - <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> - </div> - <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> - </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> + <input id="<?php echo escapeHtml('req0_file') ?>" name="<?php echo escapeHtml('file') ?>" size="<?php echo escapeHtml('40') ?>" class="<?php echo escapeHtml('upload') ?>" /><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> + <br /><?php echo escapeHtml('') ?> </div> </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('line or-dropzone-upload') ?>"><?php echo escapeHtml('') ?> + <div class="<?php echo escapeHtml('label') ?>"><?php echo escapeHtml('') ?> + </div> + <div class="<?php echo escapeHtml('input') ?>"><?php echo escapeHtml('') ?> + </div> </div> - </form> - <?php } ?>- \ No newline at end of file + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>+ \ No newline at end of file diff --git a/modules/cms/ui/themes/default/html/views/image/extract.php b/modules/cms/ui/themes/default/html/views/image/extract.php @@ -1,20 +1,18 @@ -<?php if (defined('OR_TITLE')) { ?> - - <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('extract') ?>" data-action="<?php echo escapeHtml('image') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form image') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('image') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('extract') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> - <div><?php echo escapeHtml('') ?> - <tr><?php echo escapeHtml('') ?> - <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> - - </td> - </tr> - </div> - <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> - <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> - </div> - </form> - <?php } ?>- \ No newline at end of file +<?php if (!defined('OR_TITLE')) exit(); ?> + <form name="<?php echo escapeHtml('') ?>" target="<?php echo escapeHtml('_self') ?>" data-target="<?php echo escapeHtml('view') ?>" action="<?php echo escapeHtml('./') ?>" data-method="<?php echo escapeHtml('extract') ?>" data-action="<?php echo escapeHtml('image') ?>" data-id="<?php echo escapeHtml(''.@$_id.'') ?>" method="<?php echo escapeHtml('POST') ?>" enctype="<?php echo escapeHtml('application/x-www-form-urlencoded') ?>" data-async="<?php echo escapeHtml('') ?>" data-autosave="<?php echo escapeHtml('') ?>" class="<?php echo escapeHtml('or-form image') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('token') ?>" value="<?php echo escapeHtml(''.@$_token.'') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('action') ?>" value="<?php echo escapeHtml('image') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('subaction') ?>" value="<?php echo escapeHtml('extract') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('hidden') ?>" name="<?php echo escapeHtml('id') ?>" value="<?php echo escapeHtml(''.@$_id.'') ?>" /><?php echo escapeHtml('') ?> + <div><?php echo escapeHtml('') ?> + <tr><?php echo escapeHtml('') ?> + <td colspan="<?php echo escapeHtml('2') ?>" class="<?php echo escapeHtml('act') ?>"><?php echo escapeHtml('') ?> + + </td> + </tr> + </div> + <div class="<?php echo escapeHtml('or-form-actionbar') ?>"><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('button') ?>" value="<?php echo escapeHtml(''.@lang('CANCEL').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--secondary or-form-btn--cancel') ?>" /><?php echo escapeHtml('') ?> + <input type="<?php echo escapeHtml('submit') ?>" value="<?php echo escapeHtml(''.@lang('button_ok').'') ?>" class="<?php echo escapeHtml('or-form-btn or-form-btn--primary or-form-btn--save') ?>" /><?php echo escapeHtml('') ?> + </div> + </form>