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