source: trunk/forum/styles/WoWMoonclaw/template/overall_header.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 6.5 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
3<head>
4
5<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
6<meta http-equiv="content-language" content="{S_USER_LANG}" />
7<meta http-equiv="content-style-type" content="text/css" />
8<meta http-equiv="imagetoolbar" content="no" />
9<meta name="resource-type" content="document" />
10<meta name="distribution" content="global" />
11<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
12<meta name="keywords" content="" />
13<meta name="description" content="" />
14{META}
15<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
16
17<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
18
19<script type="text/javascript">
20// <![CDATA[
21<!-- IF S_USER_PM_POPUP -->
22 if ({S_NEW_PM})
23 {
24 popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
25 }
26<!-- ENDIF -->
27
28function popup(url, width, height, name)
29{
30 if (!name)
31 {
32 name = '_popup';
33 }
34
35 window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
36 return false;
37}
38
39function jumpto()
40{
41 var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
42 var perpage = '{PER_PAGE}';
43 var base_url = '{A_BASE_URL}';
44
45 if (page !== null && !isNaN(page) && page > 0)
46 {
47 document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * perpage);
48 }
49}
50
51/**
52* Find a member
53*/
54function find_username(url)
55{
56 popup(url, 760, 570, '_usersearch');
57 return false;
58}
59
60/**
61* Mark/unmark checklist
62* id = ID of parent container, name = name prefix, state = state [true/false]
63*/
64function marklist(id, name, state)
65{
66 var parent = document.getElementById(id);
67 if (!parent)
68 {
69 eval('parent = document.' + id);
70 }
71
72 if (!parent)
73 {
74 return;
75 }
76
77 var rb = parent.getElementsByTagName('input');
78
79 for (var r = 0; r < rb.length; r++)
80 {
81 if (rb[r].name.substr(0, name.length) == name)
82 {
83 rb[r].checked = state;
84 }
85 }
86}
87
88<!-- IF ._file -->
89
90 /**
91 * Play quicktime file by determining it's width/height
92 * from the displayed rectangle area
93 *
94 * Only defined if there is a file block present.
95 */
96 function play_qt_file(obj)
97 {
98 var rectangle = obj.GetRectangle();
99
100 if (rectangle)
101 {
102 rectangle = rectangle.split(',')
103 var x1 = parseInt(rectangle[0]);
104 var x2 = parseInt(rectangle[2]);
105 var y1 = parseInt(rectangle[1]);
106 var y2 = parseInt(rectangle[3]);
107
108 var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
109 var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
110 }
111 else
112 {
113 var width = 200;
114 var height = 0;
115 }
116
117 obj.width = width;
118 obj.height = height + 16;
119
120 obj.SetControllerVisible(true);
121
122 obj.Play();
123 }
124<!-- ENDIF -->
125
126// ]]>
127</script>
128</head>
129<body class="{S_CONTENT_DIRECTION}">
130
131<a name="top"></a>
132
133<div id="wrapheader">
134
135 <div id="logodesc">
136 <table width="100%" cellspacing="0">
137 <tr>
138 <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
139 <td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
140 </tr>
141 </table>
142 </div>
143
144 <div id="menubar">
145 <table width="100%" cellspacing="0">
146 <tr>
147 <td class="genmed">
148 <!-- IF not S_IS_BOT --><a class="link02" href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="{L_LOGIN_LOGOUT}" /> </a><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
149 <!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a class="link02" href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="{L_RESTORE_PERMISSIONS}" /> </a><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
150 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
151 <!-- IF not S_IS_BOT -->
152 <!-- IF S_USER_LOGGED_IN -->
153 <!-- IF S_DISPLAY_PM --> &nbsp;<a class="link02" href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="{L_MESSAGES}" /> </a><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
154 <!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;<a class="link02" href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="{L_REGISTER}" /> </a><a href="{U_REGISTER}">{L_REGISTER}</a>
155 <!-- ENDIF -->
156 <!-- ENDIF -->
157 </td>
158 <td class="genmed" align="{S_CONTENT_FLOW_END}">
159 <a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /></a> <a href="{U_FAQ}">{L_FAQ}</a>
160 <!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> </a><a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
161 <!-- IF not S_IS_BOT -->
162 <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> </a><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
163 <!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> </a><a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
164 <!-- ENDIF -->
165 </td>
166 </tr>
167 </table>
168 </div>
169
170 <div id="datebar">
171 <table width="100%" cellspacing="0">
172 <tr>
173 <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
174 <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
175 </tr>
176 </table>
177 </div>
178
179</div>
180
181<div id="wrapcentre">
182
183 <table class="tablebg" width="100%" cellspacing="1" cellpadding="0" style="margin-top: 5px;">
184 <tr>
185 <td class="row1">
186 <div class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> &#187; <a
187
188href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></div>
189 <div class="searchbar">
190 <!-- IF S_DISPLAY_SEARCH -->
191 <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> &nbsp; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a> &nbsp;
192 <!-- IF S_USER_LOGGED_IN -->
193 <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> &nbsp; <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
194 <!-- ENDIF -->
195 <!-- ENDIF -->
196 </div>
197 </td>
198 </tr>
199 </table>
200 <br />
Note: See TracBrowser for help on using the repository browser.