This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
/
minisite.php
158 lines (154 loc) · 6.28 KB
/
minisite.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html xmlns:ajxp>
<head>
<title>AJXP_APPLICATION_TITLE</title>
<base href="AJXP_PATH_TO_ROOT"/>
<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="plugins/gui.ajax/res/themes/AJXP_THEME/images/html-folder.png">
<link rel="stylesheet" type="text/css" href="plugins/gui.ajax/res/themes/AJXP_THEME/css/allz.css">
<link rel="stylesheet" href="plugins/gui.ajax/res/themes/AJXP_THEME/css/font-awesome.css"/>
<link rel="stylesheet" href="plugins/gui.ajax/res/themes/AJXP_THEME/css/media.css"/>
<link rel="stylesheet" href="plugins/gui.ajax/res/themes/AJXP_THEME/css/animate-custom.css"/>
<style type="text/css">
#widget_title{
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 30px;
font-weight: normal;
padding: 10px 0 0 5px;
margin-right: 5px;
color: rgb(111,123,136);
line-height: 25px;
}
#widget_title div.repository_title{
font-size: 30px;
}
#widget_title div.repository_description{
font-size: 12px;
}
.widget_logo {
background-image: url('AJXP_MINISITE_LOGO');
background-repeat: no-repeat;
background-position: right 5px;
background-size: 170px;
margin-right: 5px;
position: absolute;
top: 0;
right: 0;
height: 90px;
width: 180px;
z-index: 50;
}
#ajxp_shared_folder{
width:100%;
text-align:left;
/* THESE ONE ARE IMPORTANT */
overflow:hidden;
position:relative;
}
.action_bar{
background-color: #ffffff;
height: 41px !important;
}
.action_bar > .toolbarGroup{
height: auto;
}
div.separator{
border-left-width: 0;
}
#display_toolbar{
margin-top: 3px;
margin-right: 3px;
}
div.detailed div.FL-inlineToolbar{
margin-top: -2px;
}
div.detailed div.FL-inlineToolbar div.toolbarGroup {
margin-left: -8px;
min-width: 0;
}
/*
div#inline_toolbar a {
font-size: 11px;
border: 1px solid rgba(111, 123, 136, 0.42);
font-size: 11px;
display: inline-block;
color: rgb(111, 123, 136);
border-radius: 3px;
padding: 0 7px;
margin-top: 4px;
margin-bottom: 4px;
background-color: rgba(111, 123, 136, 0.09);
box-shadow: inset 1px 1px 1px white;
}
*/
.ajxpNodeProvider span.actionbar_button_label {
display: none;
}
.ajxpNodeProvider.detailed span.actionbar_button_label {
display: inline-block;
}
tr div.FL-inlineToolbar {
margin-left: 15px;
}
span.list_selectable_span div#inline_toolbar a
{
margin-top: 0;
padding: 3px 5px;
position: relative;
top: -2px;
}
div.ajxpNodeProvider:not(.detailed) div#inline_toolbar a
{
padding: 3px 5px;
}
div.ajxpNodeProvider:not(.detailed) .toolbarGroup {
position: absolute;
top: 1px;
right: 1px;
}
#element_overlay{
top:0 !important; left:0 !important;
}
body.ajxp_preloged_user a#logout_button{
display: none;
}
</style>
<script language="javascript" type="text/javascript" src="plugins/gui.ajax/res/js/ajaxplorer_boot.js"></script>
<script type="text/javascript">
var ajaxplorer, MessageHash={};
var startParameters = {
"BOOTER_URL":"index_shared.php?get_action=get_boot_conf&goto=AJXP_START_REPOSITORY&minisite_session=AJXP_LINK_HASH",
"EXT_REP":"\/",
"MAIN_ELEMENT":"AJXP_TEMPLATE_NAME",
"SERVER_PREFIX_URI": "",
"PRESET_LOGIN":"AJXP_PRELOGED_USER",
"PASSWORD_AUTH_ONLY":true,
"SERVER_PERMANENT_PARAMS":"minisite_session=AJXP_LINK_HASH"
};
document.observe("ajaxplorer:before_gui_load", function(e){
ajaxplorer.currentThemeUsesIconFonts = true;
document.documentElement.className += " ajxp_theme_AJXP_THEME";
});
window.ajxpBootstrap = new AjxpBootstrap(startParameters);
window.ajxpMinisite = true;
window.onunload = function(){
if(ajaxplorer && !Prototype.Browser.Gecko) ajaxplorer.actionBar.fireAction("logout");
}
document.observe("dom:loaded", function(){
var cookieEnabled=(navigator.cookieEnabled)? true : false
if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled) {
document.cookie="testcookie";
cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false;
}
if (!cookieEnabled) {
alert("AJXP_MESSAGE[share_center.76]");
}
});
</script>
<noscript><h2>AJXP_MESSAGE[share_center.77]</h2></noscript>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" style="overflow: hidden;" class="AJXP_PRELOGED_USER">
<div id="AJXP_TEMPLATE_NAME" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"window"}'></div>
</body>
</html>