From 37fc6da7480a095194c5b71808d21e405da7bf0b Mon Sep 17 00:00:00 2001 From: John Regan Date: Wed, 2 Apr 2014 17:26:55 +0200 Subject: [PATCH] Readapt share UIs for orbit theme --- .../action.share/class.ShareCenter.php | 2 + .../src/plugins/action.share/res/minisite.php | 12 +- core/src/plugins/gui.ajax/manifest.xml | 176 ++++++++++++++++-- .../src/plugins/gui.ajax/res/js/ajaxplorer.js | 2 +- .../res/js/ajaxplorer/class.FilesList.js | 11 +- .../res/themes/orbit/css/ajaxplorer.css | 2 +- .../gui.ajax/res/themes/orbit/css/allz.css | 2 +- 7 files changed, 175 insertions(+), 32 deletions(-) diff --git a/core/src/plugins/action.share/class.ShareCenter.php b/core/src/plugins/action.share/class.ShareCenter.php index 2a0cd06063..70b82b9c0d 100644 --- a/core/src/plugins/action.share/class.ShareCenter.php +++ b/core/src/plugins/action.share/class.ShareCenter.php @@ -956,6 +956,8 @@ public static function loadMinisite($data, $hash = '') $html = str_replace("AJXP_REPOSITORY_LABEL", ConfService::getRepositoryById($repository)->getDisplay(), $html); $html = str_replace("AJXP_TEMPLATE_NAME", $templateName, $html); $html = str_replace("AJXP_LINK_HASH", $hash, $html); + $guiConfigs = AJXP_PluginsService::findPluginById("gui.ajax")->getConfigs(); + $html = str_replace("AJXP_THEME", $guiConfigs["GUI_THEME"] , $html); session_name("AjaXplorer_Shared".$hash); session_start(); diff --git a/core/src/plugins/action.share/res/minisite.php b/core/src/plugins/action.share/res/minisite.php index 23af6e8346..bbd82b05ff 100644 --- a/core/src/plugins/action.share/res/minisite.php +++ b/core/src/plugins/action.share/res/minisite.php @@ -5,11 +5,11 @@ - - - - - + + + + + +
+ +
+ +
+
+
+
+
+
+ + ]]> +