author | Dan |
Sun, 09 Aug 2009 01:27:45 -0400 | |
changeset 1078 | 67a4c839c7e1 |
parent 1051 | 78b41fb98140 |
child 1100 | aead4e1ce5df |
permissions | -rw-r--r-- |
921 | 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"> |
|
3 |
<head> |
|
4 |
<title>{PAGE_NAME} • {SITE_NAME}</title> |
|
5 |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
|
6 |
{JS_DYNAMIC_VARS} |
|
7 |
<link rel="stylesheet" type="text/css" href="{CDNPATH}/includes/clientside/css/enano-shared.css" /> |
|
8 |
<link id="mdgCss" rel="stylesheet" type="text/css" href="{CDNPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" /> |
|
1051 | 9 |
<!--[if lte IE 6]> |
10 |
<link rel="stylesheet" type="text/css" href="{CDNPATH}/themes/{THEME_ID}/css-extra/ie6.css" /> |
|
11 |
<![endif]--> |
|
921 | 12 |
{JS_HEADER} |
13 |
{ADDITIONAL_HEADERS} |
|
955
de4f81abc5e3
Enanium: Set right sidebar as collapsible. Whether I will do the left one I do not know.
Dan
parents:
921
diff
changeset
|
14 |
<script type="text/javascript">//<![CDATA[ |
de4f81abc5e3
Enanium: Set right sidebar as collapsible. Whether I will do the left one I do not know.
Dan
parents:
921
diff
changeset
|
15 |
var auth_rename = <!-- BEGIN auth_rename -->true<!-- BEGINELSE auth_rename -->false<!-- END auth_rename -->; |
de4f81abc5e3
Enanium: Set right sidebar as collapsible. Whether I will do the left one I do not know.
Dan
parents:
921
diff
changeset
|
16 |
// ]]> |
de4f81abc5e3
Enanium: Set right sidebar as collapsible. Whether I will do the left one I do not know.
Dan
parents:
921
diff
changeset
|
17 |
</script> |
921 | 18 |
<script type="text/javascript" src="{CDNPATH}/themes/{THEME_ID}/js/inlinerename.js"></script> |
19 |
</head> |
|
20 |
<body> |
|
21 |
<div id="header"> |
|
22 |
<?php |
|
978
ed84b24b8e07
A few safety changes to tolerate no $session when it's not available
Dan
parents:
964
diff
changeset
|
23 |
global $session; |
ed84b24b8e07
A few safety changes to tolerate no $session when it's not available
Dan
parents:
964
diff
changeset
|
24 |
|
964 | 25 |
if ( is_object($paths) && $head = $paths->sysMsg('SiteHeader') ) |
921 | 26 |
{ |
27 |
echo $head; |
|
28 |
} |
|
29 |
else |
|
30 |
{ |
|
31 |
?> |
|
32 |
<div class="logo"></div> |
|
964 | 33 |
<h1><a href="<?php echo is_object($session) ? makeUrl(get_main_page(), false, true) : scriptPath . '/'; ?>">{SITE_NAME}</a></h1> |
921 | 34 |
<?php |
35 |
} |
|
36 |
?> |
|
37 |
</div> |
|
38 |
<!-- HOOK enanium_main_header --> |
|
39 |
<!-- BEGINNOT stupid_mode --> |
|
40 |
<form class="searchform" action="{SCRIPTPATH}/index.php" method="get"> |
|
41 |
<div> |
|
42 |
<input type="hidden" name="title" value="{NS_SPECIAL}Search" /> |
|
43 |
<input type="hidden" name="auth" value="{ADMIN_SID_RAW}" /> |
|
44 |
<input type="text" name="q" value="" /> |
|
45 |
<input type="submit" value="search" /> |
|
46 |
</div> |
|
47 |
<!-- HOOK enanium_search_form --> |
|
48 |
</form> |
|
49 |
<ul class="useropts"> |
|
50 |
<!-- BEGIN user_logged_in --> |
|
51 |
<li class="em"><a href="{url:User:{USERNAME}}">{USERNAME}</a></li> |
|
52 |
<li><a href="{url:Special:Preferences}">{lang:sidebar_btn_preferences_short}</a></li> |
|
53 |
<li class="logout"><a href="{url:Special:Logout/{CSRF_TOKEN}/{PAGE_URLNAME}}" onclick="mb_logout(); return false;">{lang:sidebar_btn_logout}</a></li> |
|
54 |
<!-- BEGINELSE user_logged_in --> |
|
55 |
<li class="em"><a href="{url:Special:Login}" onclick="ajaxStartLogin(); return false;">{lang:sidebar_btn_login}</a></li> |
|
56 |
<li><a href="{url:Special:Register}">{lang:sidebar_btn_register}</a></li> |
|
57 |
<!-- END user_logged_in --> |
|
58 |
</ul> |
|
59 |
<!-- END stupid_mode --> |
|
60 |
<!-- Yes this is table based. For reliability reasons. --> |
|
61 |
<table border="0" cellspacing="0" cellpadding="0" id="body-wrapper"> |
|
62 |
<tr> |
|
63 |
<td valign="top" id="cell-sbleft"> |
|
958 | 64 |
<div class="left sidebar" id="enanium_sidebar_left"> |
65 |
<a class="closebtn" onclick="enanium_toggle_sidebar_left(); return false;">«</a> |
|
921 | 66 |
{SIDEBAR_LEFT} |
67 |
</div> |
|
958 | 68 |
<div class="left-sidebar-hidden" id="enanium_sidebar_left_hidden"> |
69 |
<a class="openbtn" onclick="enanium_toggle_sidebar_left(); return false;">»</a> |
|
70 |
</div> |
|
921 | 71 |
<!-- HOOK sidebar_left_post --> |
72 |
</td> |
|
73 |
<td valign="top" id="cell-content"> |
|
74 |
<!-- BEGINNOT stupid_mode --> |
|
75 |
<div class="menu_nojs" style="float: right; margin-right: 10px;"> |
|
76 |
<a href="#" onclick="return false;">{lang:onpage_lbl_changes}</a> |
|
77 |
<ul class="jbox_right"> |
|
78 |
<li><a href="{url:Special:Log/user={USERNAME}|escape}">{lang:onpage_btn_changes_mine}</a></li> |
|
79 |
<li><a href="{url:Special:Log/within=1w|escape}">{lang:onpage_btn_changes_recent}</a></li> |
|
80 |
<li><a href="{url:Special:Log/page={PAGE_URLNAME}|escape}">{lang:onpage_btn_changes_history}</a></li> |
|
81 |
</ul> |
|
82 |
<a href="#" onclick="return false;">{lang:onpage_lbl_sitetools}</a> |
|
83 |
<ul class="jbox_right"> |
|
84 |
<li><a href="{url:Special:CreatePage|escape}">{lang:sidebar_btn_createpage}</a></li> |
|
85 |
<li><a href="{url:Special:UploadFile|escape}">{lang:sidebar_btn_uploadfile}</a></li> |
|
86 |
<li><a href="{url:Special:SpecialPages|escape}">{lang:sidebar_btn_specialpages}</a></li> |
|
962
ceeecb160aec
Enanium: move new memberlist above admin buttons + only show for logged-in
Dan
parents:
958
diff
changeset
|
87 |
<!-- BEGIN user_logged_in --> |
ceeecb160aec
Enanium: move new memberlist above admin buttons + only show for logged-in
Dan
parents:
958
diff
changeset
|
88 |
<li><a href="{url:Special:Memberlist|escape}">{lang:specialpage_member_list}</a></li> |
ceeecb160aec
Enanium: move new memberlist above admin buttons + only show for logged-in
Dan
parents:
958
diff
changeset
|
89 |
<!-- END user_logged_in --> |
921 | 90 |
<!-- BEGIN auth_admin --> |
91 |
{SIDEBAR_LINK} |
|
92 |
{ADMIN_LINK} |
|
93 |
<!-- END auth_admin --> |
|
94 |
</ul> |
|
95 |
<span class="menuclear"></span> |
|
96 |
</div> |
|
97 |
<!-- END stupid_mode --> |
|
98 |
<div class="menu_nojs" id="pagebar_main"> |
|
99 |
<div class="label"> |
|
100 |
<!-- BEGIN stupid_mode --> |
|
101 |
Page tools |
|
102 |
<!-- BEGINELSE stupid_mode --> |
|
103 |
{lang:onpage_lbl_pagetools} |
|
104 |
<!-- END stupid_mode --> |
|
105 |
</div> |
|
106 |
{TOOLBAR} |
|
107 |
<ul> |
|
108 |
{TOOLBAR_EXTRAS} |
|
109 |
</ul> |
|
110 |
<span class="menuclear"></span> |
|
111 |
</div> |
|
112 |
<div id="content-wrapper" class="content"> |
|
113 |
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%;"> |
|
114 |
<tr> |
|
115 |
<td valign="top" style="width: 100%;"> |
|
116 |
<div style="float: right;"> |
|
117 |
<img alt=" " src="{CDNPATH}/images/spacer.gif" id="ajaxloadicon" /> |
|
118 |
</div> |
|
119 |
<h1 <!-- BEGIN auth_rename -->title="{lang:onpage_btn_rename_inline}" <!-- END auth_rename -->id="h2PageName">{PAGE_NAME}</h1> |
|
120 |
<div id="ajaxEditContainer"> |