Permalink
Browse files

Fix remaining references to vision theme.

Remove specific html files for orbit theme and put them as default ones.
  • Loading branch information...
1 parent 793188f commit 46b4fff9fb2dc6842f6eadaae7f596a9f80ac8b2 @cdujeu cdujeu committed Sep 14, 2016
@@ -201,7 +201,7 @@ Class.create("NotificationLoader", {
obje.title,
{
body: obje.body,
- icon: 'plugins/gui.ajax/res/themes/vision/images/mimes/64/mime_empty.png',
+ icon: 'plugins/gui.ajax/res/themes/orbit/images/mimes/64/mime_empty.png',
tag: 'ajaxplorer',
dir: 'auto',
lang: ajaxplorer.currentLanguage
@@ -41,7 +41,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/vision/images/white_logo.png"
+ defaultImage="AJXP_THEME_FOLDER/images/white_logo.png"
expose="true"
/>
<global_param name="CUSTOM_TOP_LOGO_H" group="CONF_MESSAGE[Top Toolbar]" type="integer" label="CONF_MESSAGE[Logo Height]" description="CONF_MESSAGE[Manually set a logo height]" mandatory="false" default="39" expose="true"/>
@@ -58,7 +58,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/01.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/01.jpg"
expose="true"
/>
<global_param name="WELCOME_PAGE_BACKGROUND_ATTRIBUTES_1" group="CONF_MESSAGE[Page Background Images]" type="select"
@@ -70,7 +70,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/02.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/02.jpg"
expose="true"
/>
<global_param name="WELCOME_PAGE_BACKGROUND_ATTRIBUTES_2" group="CONF_MESSAGE[Page Background Images]" type="select"
@@ -82,7 +82,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/03.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/03.jpg"
expose="true"
/>
<global_param name="WELCOME_PAGE_BACKGROUND_ATTRIBUTES_3" group="CONF_MESSAGE[Page Background Images]" type="select"
@@ -94,7 +94,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/04.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/04.jpg"
expose="true"
/>
<global_param name="WELCOME_PAGE_BACKGROUND_ATTRIBUTES_4" group="CONF_MESSAGE[Page Background Images]" type="select"
@@ -106,7 +106,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/05.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/05.jpg"
expose="true"
/>
<global_param name="WELCOME_PAGE_BACKGROUND_ATTRIBUTES_5" group="CONF_MESSAGE[Page Background Images]" type="select"
@@ -130,7 +130,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/03-mobile.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/03-mobile.jpg"
expose="true"
/>
@@ -143,7 +143,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/02.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/02.jpg"
expose="true"
/>
<global_param name="CUSTOM_SHAREPAGE_BACKGROUND_ATTRIBUTES_1" group="CONF_MESSAGE[Minisite]" type="select"
@@ -154,7 +154,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/03.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/03.jpg"
expose="true"
/>
<global_param name="CUSTOM_SHAREPAGE_BACKGROUND_ATTRIBUTES_2" group="CONF_MESSAGE[Minisite]" type="select"
@@ -164,7 +164,7 @@
editable="true"
uploadAction="store_binary_temp"
loadAction="get_global_binary_param"
- defaultImage="plugins/gui.ajax/res/themes/orbit/images/hires-photos/05.jpg"
+ defaultImage="AJXP_THEME_FOLDER/images/hires-photos/05.jpg"
expose="true"
/>
<global_param name="CUSTOM_SHAREPAGE_BACKGROUND_ATTRIBUTES_3" group="CONF_MESSAGE[Minisite]" type="select"
@@ -1,53 +1,67 @@
+<!DOCTYPE html>
<html xmlns:ajxp>
- <head>
- <title>AJXP_APPLICATION_TITLE</title>
- AJXP_REBASE
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <link rel="icon" type="image/x-png" href="AJXP_THEME_FOLDER/images/html-folder.png">
- <link rel="stylesheet" type="text/css" href="AJXP_THEME_FOLDER/css/allz.css?v=AJXP_CURRENT_VERSION">
- <!--[if IE 8]>
- <script src="AJXP_CLIENT_RESOURCES_FOLDER/js/vendor/es6/es5-shim.min.js"></script>
- <script src="AJXP_CLIENT_RESOURCES_FOLDER/js/vendor/es6/es5-sham.min.js"></script>
- <![endif]-->
- AJXP_ADDITIONAL_JS_FRAMEWORKS
- <script language="javascript" type="text/javascript" src="AJXP_CLIENT_RESOURCES_FOLDER/js/ajaxplorer_boot.js?v=AJXP_CURRENT_VERSION"></script>
- </head>
- <body style="overflow:hidden;">
- <script type="text/javascript">
- // Initialize booter. Do not remove the commented line AJXP_JSON_START_PARAMETERS, as it is
- // dynamically replaced by the application!
- var ajaxplorer, startParameters = {}, MessageHash={};
- //AJXP_JSON_START_PARAMETERS
- window.ajxpBootstrap = new AjxpBootstrap(startParameters);
- </script>
- <div id="ajxp_desktop" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height","fitParent":"window","fitMarginBottom":"$(\"optional_bottom_div\").getHeight()"}'></div>
- <div id="all_forms">
- <div id="generic_dialog_box" class="dialogBox"><div class="dialogTitle"></div><div class="dialogContent"></div></div>
- <div id="hidden_frames" style="display:none;"></div>
- <div id="hidden_forms" style="position:absolute;left:-1000px;"></div>
-
- <!-- LOGIN SCREEN MUST BE ALREADY IN PAGE TO ENABLE PASSWORD REMEMBERING -->
- <form id="login_form" action="login" style="display:none;" box_width="230">
- <input type="hidden" name="get_action" value="login">
- <input type="hidden" name="login_seed" id="login_seed" value="">
- <a style="float:right;" href="javascript:pydio.getController().fireAction('switch_language');" title="AJXP_MESSAGE[190]" alt="AJXP_MESSAGE[190]"><img src="AJXP_THEME_FOLDER/images/actions/16/flag.png" border="0" height="16" width="16"></a>
- <div class="dialogLegend" style="margin-bottom: 3px;margin-top: 4px;" ajxp_message_id="180">AJXP_MESSAGE[180]</div>
- <div style="width:100%;">
- <div class="SF_element">
- <div class="SF_label"><ajxp:message ajxp_message_id="181">AJXP_MESSAGE[181]</ajxp:message></div>
- <div class="SF_input"><input type="text" name="userid" style="width: 100px; padding:0px;" class="dialogFocus"></div>
- </div>
- <div class="SF_element">
- <div class="SF_label"><ajxp:message ajxp_message_id="182">AJXP_MESSAGE[182]</ajxp:message></div>
- <div class="SF_input"><input type="password" name="password" style="width: 100px; padding:0px;"></div>
- </div>
- <div class="SF_element">
- <input type="checkbox" class="radio" name="remember_me" style="border: none; width:20px !important;"/><ajxp:message ajxp_message_id="261">AJXP_MESSAGE[261]</ajxp:message>
- </div>
- </div>
- </form>
- </div>
- <link rel="stylesheet" href="plugins/gui.ajax/res/js/lib/chosen/chosen.css"/>
- </body>
+<head>
+ <title>AJXP_APPLICATION_TITLE</title>
+ AJXP_REBASE
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="stylesheet" type="text/css" href="AJXP_THEME_FOLDER/css/allz.css?v=AJXP_CURRENT_VERSION">
+ <!--[if IE 8]>
+ <script src="AJXP_CLIENT_RESOURCES_FOLDER/js/vendor/es6/es5-shim.min.js"></script>
+ <script src="AJXP_CLIENT_RESOURCES_FOLDER/js/vendor/es6/es5-sham.min.js"></script>
+ <![endif]-->
+ <!--[if IE 7]>
+ <script src="AJXP_CLIENT_RESOURCES_FOLDER/js/vendor/es6/json3.min.js"></script>
+ <![endif]-->
+ AJXP_ADDITIONAL_JS_FRAMEWORKS
+ <script language="javascript" type="text/javascript" src="AJXP_CLIENT_RESOURCES_FOLDER/js/ajaxplorer_boot.js?v=AJXP_CURRENT_VERSION"></script>
+ <link rel="icon" type="image/x-png" href="index.php?get_action=serve_favicon">
+</head>
+<body style="overflow: hidden;">
+<script type="text/javascript">
+ window.ajxpNoNotifLoader = true;
+ window.ajxpThemeSkipLoaderProgress = true;
+ // Initialize booter. Do not remove the commented line AJXP_JSON_START_PARAMETERS, as it is
+ // dynamically replaced by the application!
+ var ajaxplorer, startParameters = {}, MessageHash={};
+ //AJXP_JSON_START_PARAMETERS
+ document.observe("ajaxplorer:before_gui_load", function(e){
+ if(window.React){
+ React.initializeTouchEvents(true);
+ }
+ ajaxplorer.currentThemeUsesIconFonts = true;
+ pydio.Parameters.set('currentThemeUsesIconFonts', true);
+ document.documentElement.className += " ajxp_theme_orbit";
+ });
+ window.ajxpBootstrap = new AjxpBootstrap(startParameters);
+ //window.onbeforeunload = function(){return "Do you want to quit?";};
+</script>
+<div id="ajxp_desktop" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height","fitParent":"window","fitMarginBottom":"$(\"optional_bottom_div\").getHeight()"}'></div>
+<div id="all_forms">
+ <div id="generic_dialog_box" class="dialogBox form-login_form"><div class="dialogTitle"></div><div class="dialogContent"></div></div>
+ <div id="hidden_frames" style="display:none;"></div>
+ <div id="hidden_forms" style="position:absolute;left:-1000px;"></div>
+
+ <!-- LOGIN SCREEN MUST BE ALREADY IN PAGE TO ENABLE PASSWORD REMEMBERING -->
+ <form id="login_form" style="display:none;" box_width="320" box_padding="0">
+ <input type="hidden" name="get_action" value="login">
+ <input type="hidden" name="login_seed" id="login_seed" value="">
+ <a href="javascript:pydio.getController().fireAction('switch_language');" title="AJXP_MESSAGE[190]" alt="AJXP_MESSAGE[190]" class="icon-flag">&nbsp;</a>
+ <div class="dialogLegend" ajxp_message_id="180">AJXP_MESSAGE[180]</div>
+ <div style="width:100%;">
+ <div class="SF_element">
+ <div class="SF_label"><ajxp:message ajxp_message_id="181">AJXP_MESSAGE[181]</ajxp:message></div>
+ <div class="SF_input"><input type="text" name="userid" class="dialogFocus" placeholder="AJXP_MESSAGE[181]"></div>
+ </div>
+ <div class="SF_element">
+ <div class="SF_label"><ajxp:message ajxp_message_id="182">AJXP_MESSAGE[182]</ajxp:message></div>
+ <div class="SF_input"><input type="password" name="password" placeholder="AJXP_MESSAGE[182]"></div>
+ </div>
+ <div class="SF_element">
+ <input type="checkbox" class="radio" name="remember_me" id="remember_me"/><label for="remember_me" ajxp_message_id="261">AJXP_MESSAGE[261]</label>
+ </div>
+ </div>
+ </form>
+</div>
+</body>
</html>
Oops, something went wrong.

0 comments on commit 46b4fff

Please sign in to comment.