1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <html> |
3 <head> |
3 <head> |
4 <title>{PAGE_NAME} • {SITE_NAME}</title> |
4 <title>{PAGE_NAME} • {SITE_NAME}</title> |
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
6 <link rel="stylesheet" type="text/css" href="{SCRIPTPATH}/includes/clientside/css/enano-shared.css" /> |
6 <link rel="stylesheet" type="text/css" href="{SCRIPTPATH}/includes/clientside/css/enano-shared.css" /> |
7 <link id="mdgCss" rel="stylesheet" href="{SCRIPTPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" type="text/css" /> |
7 <link id="mdgCss" rel="stylesheet" href="{SCRIPTPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" type="text/css" /> |
9 <!-- This script automatically loads the other 15 JS files --> |
9 <!-- This script automatically loads the other 15 JS files --> |
10 <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/static/enano-lib-basic.js"></script> |
10 <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/static/enano-lib-basic.js"></script> |
11 {ADDITIONAL_HEADERS} |
11 {ADDITIONAL_HEADERS} |
12 |
12 |
13 <script type="text/javascript"> |
13 <script type="text/javascript"> |
14 // <![CDATA[ |
|
15 |
14 |
16 function collapseSidebar(side) |
15 function collapseSidebar(side) |
17 { |
16 { |
18 elem = document.getElementById(side+'-sidebar'); |
17 elem = document.getElementById(side+'-sidebar'); |
19 if(!elem) return; |
18 if(!elem) return; |
20 counter = document.getElementById(side+'-sidebar-showbutton'); |
19 counter = document.getElementById(side+'-sidebar-showbutton'); |
21 if(elem.style.display=='none') |
20 if(elem.style.display=='none') |
22 { |
21 { |
23 elem.style.display = 'block'; |
22 elem.style.display = 'block'; |
24 counter.style.display = 'none'; |
23 counter.style.display = 'none'; |
25 elem.parentNode.style.width = ''; |
24 elem.parentNode.style.width = '156px'; |
26 if ( !KILL_SWITCH ) |
25 if ( !KILL_SWITCH ) |
27 { |
26 { |
28 createCookie(side+'_sidebar', 'open', 365); |
27 createCookie(side+'_sidebar', 'open', 365); |
29 } |
28 } |
30 } else { |
29 } else { |
88 elem1 = document.getElementById('h2PageName'); |
87 elem1 = document.getElementById('h2PageName'); |
89 elem2 = document.getElementById('pageheading'); |
88 elem2 = document.getElementById('pageheading'); |
90 if(!elem1 || !elem2) return; |
89 if(!elem1 || !elem2) return; |
91 value = elem2.value; |
90 value = elem2.value; |
92 elem2.parentNode.removeChild(elem2); // just destroy the thing |
91 elem2.parentNode.removeChild(elem2); // just destroy the thing |
93 elem1.removeChild(elem1.firstChild); |
92 elem1.innerHTML = value; |
94 elem1.appendChild(document.createTextNode(value)); |
|
95 elem1.style.display = 'block'; |
93 elem1.style.display = 'block'; |
96 if(!value || value=='') return; |
94 if(!value || value=='') return; |
97 ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+escape(value), function() { |
95 ajaxPost(stdAjaxPrefix+'&_mode=rename', 'newtitle='+escape(value), function() { |
98 if(ajax.readyState == 4) { |
96 if(ajax.readyState == 4) { |
99 alert(ajax.responseText); |
97 alert(ajax.responseText); |
100 } |
98 } |
101 }); |
99 }); |
102 } |
100 } |
103 function ajaxRenameInlineCancel(e) |
101 function ajaxRenameInlineCancel(e) |
104 { |
102 { |
105 if ( typeof(e) != 'object' && IE ) |
|
106 e = window.event; |
|
107 elem1 = document.getElementById('h2PageName'); |
103 elem1 = document.getElementById('h2PageName'); |
108 elem2 = document.getElementById('pageheading'); |
104 elem2 = document.getElementById('pageheading'); |
109 if(!elem1 || !elem2) return; |
105 if(!elem1 || !elem2) return; |
110 if ( typeof(e) == 'object' && e.target ) |
106 if ( e.target ) |
111 { |
107 { |
112 if(e.target == elem2) |
108 if(e.target == elem2) |
113 return; |
109 return; |
114 } |
110 } |
115 //value = elem2.value; |
111 //value = elem2.value; |
116 elem2.parentNode.removeChild(elem2); // just destroy the thing |
112 elem2.parentNode.removeChild(elem2); // just destroy the thing |
117 //elem1.innerHTML = value; |
113 //elem1.innerHTML = value; |
118 elem1.style.display = 'block'; |
114 elem1.style.display = 'block'; |
119 document.onclick = null; |
115 document.onclick = null; |
120 } |
116 } |
121 // ]]> |
|
122 </script> |
117 </script> |
123 |
118 |
124 </head> |
119 </head> |
125 <body> |
120 <body> |
126 <table border="0" cellspacing="0" cellpadding="3" id="enano-master" width="100%"> |
121 <table border="0" cellspacing="0" cellpadding="3" id="enano-master" width="100%"> |
163 </div> |
158 </div> |
164 </td><td id="mdg-br"></td></tr> |
159 </td><td id="mdg-br"></td></tr> |
165 <tr><td id="mdg-ml"></td><td style="background-color: #FFFFFF;"> |
160 <tr><td id="mdg-ml"></td><td style="background-color: #FFFFFF;"> |
166 <div class="pad"><div class="contentDiv"> |
161 <div class="pad"><div class="contentDiv"> |
167 <div style="float: right;"> |
162 <div style="float: right;"> |
168 <img alt=" " src="{SCRIPTPATH}/images/spacer.gif" id="ajaxloadicon" /> |
163 <image alt=" " src="{SCRIPTPATH}/images/spacer.gif" id="ajaxloadicon" /> |
169 </div> |
164 </div> |
170 <h2 <!-- BEGIN auth_rename --> ondblclick="ajaxRenameInline();" title="Double-click to rename this page" <!-- END auth_rename --> id="h2PageName">{PAGE_NAME}</h2> |
165 <h2 <!-- BEGIN auth_rename --> ondblclick="ajaxRenameInline();" title="Double-click to rename this page" <!-- END auth_rename --> id="h2PageName">{PAGE_NAME}</h2> |
171 <div id="ajaxEditContainer"> |
166 <div id="ajaxEditContainer"> |