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

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 7.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 http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
15{META}
16<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
17
18<!-- IF S_ENABLE_FEEDS -->
19 <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
20 <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
21 <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
22 <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
23 <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
24 <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
25 <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
26<!-- ENDIF -->
27
28<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
29
30<script type="text/javascript">
31// <![CDATA[
32<!-- IF S_USER_PM_POPUP -->
33 if ({S_NEW_PM})
34 {
35 popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
36 }
37<!-- ENDIF -->
38
39function popup(url, width, height, name)
40{
41 if (!name)
42 {
43 name = '_popup';
44 }
45
46 window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
47 return false;
48}
49
50function jumpto()
51{
52 var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
53 var per_page = '{PER_PAGE}';
54 var base_url = '{A_BASE_URL}';
55
56 if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
57 {
58 if (base_url.indexOf('?') == -1)
59 {
60 document.location.href = base_url + '?start=' + ((page - 1) * per_page);
61 }
62 else
63 {
64 document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);
65 }
66 }
67}
68
69/**
70* Find a member
71*/
72function find_username(url)
73{
74 popup(url, 760, 570, '_usersearch');
75 return false;
76}
77
78/**
79* Mark/unmark checklist
80* id = ID of parent container, name = name prefix, state = state [true/false]
81*/
82function marklist(id, name, state)
83{
84 var parent = document.getElementById(id);
85 if (!parent)
86 {
87 eval('parent = document.' + id);
88 }
89
90 if (!parent)
91 {
92 return;
93 }
94
95 var rb = parent.getElementsByTagName('input');
96
97 for (var r = 0; r < rb.length; r++)
98 {
99 if (rb[r].name.substr(0, name.length) == name)
100 {
101 rb[r].checked = state;
102 }
103 }
104}
105
106<!-- IF ._file -->
107
108 /**
109 * Play quicktime file by determining it's width/height
110 * from the displayed rectangle area
111 *
112 * Only defined if there is a file block present.
113 */
114 function play_qt_file(obj)
115 {
116 var rectangle = obj.GetRectangle();
117
118 if (rectangle)
119 {
120 rectangle = rectangle.split(',')
121 var x1 = parseInt(rectangle[0]);
122 var x2 = parseInt(rectangle[2]);
123 var y1 = parseInt(rectangle[1]);
124 var y2 = parseInt(rectangle[3]);
125
126 var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
127 var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
128 }
129 else
130 {
131 var width = 200;
132 var height = 0;
133 }
134
135 obj.width = width;
136 obj.height = height + 16;
137
138 obj.SetControllerVisible(true);
139
140 obj.Play();
141 }
142<!-- ENDIF -->
143
144// ]]>
145</script>
146</head>
147<body class="{S_CONTENT_DIRECTION}">
148
149<a name="top"></a>
150
151<div id="wrapheader">
152
153 <div id="logodesc">
154 <table width="100%" cellspacing="0">
155 <tr>
156 <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
157 <td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
158 </tr>
159 </table>
160 </div>
161
162 <div id="menubar">
163 <table width="100%" cellspacing="0">
164 <tr>
165 <td class="genmed">
166 <!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
167 <!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
168 <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
169 <!-- IF not S_IS_BOT -->
170 <!-- IF S_USER_LOGGED_IN -->
171 <!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
172 <!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> &nbsp;<a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
173 <!-- ENDIF -->
174 <!-- ENDIF -->
175 </td>
176 <td class="genmed" align="{S_CONTENT_FLOW_END}">
177 <a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
178 <!-- 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="*" /> {L_SEARCH}</a><!-- ENDIF -->
179 <!-- IF not S_IS_BOT -->
180 <!-- 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="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
181 <!-- 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="*" /> {L_PROFILE}</a><!-- ENDIF -->
182 <!-- ENDIF -->
183 </td>
184 </tr>
185 </table>
186 </div>
187
188 <div id="datebar">
189 <table width="100%" cellspacing="0">
190 <tr>
191 <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
192 <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
193 </tr>
194 </table>
195 </div>
196
197</div>
198
199<div id="wrapcentre">
200
201 <!-- IF S_DISPLAY_SEARCH -->
202 <p class="searchbar">
203 <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
204 <!-- IF S_USER_LOGGED_IN -->
205 <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
206 <!-- ENDIF -->
207 </p>
208 <!-- ENDIF -->
209
210 <br style="clear: both;" />
211
212 <!-- INCLUDE breadcrumbs.html -->
213
214 <br />
Note: See TracBrowser for help on using the repository browser.