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