- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/styles/subsilver2/template/overall_header.html
r400 r702 12 12 <meta name="keywords" content="" /> 13 13 <meta name="description" content="" /> 14 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 14 15 {META} 15 16 <title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- 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}&t={S_TOPIC_ID}" /><!-- ENDIF --> 26 <!-- ENDIF --> 16 27 17 28 <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> … … 40 51 { 41 52 var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}'); 42 var per page = '{PER_PAGE}';53 var per_page = '{PER_PAGE}'; 43 54 var base_url = '{A_BASE_URL}'; 44 55 45 if (page !== null && !isNaN(page) && page > 0) 46 { 47 document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage); 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(/&/g, '&') + '&start=' + ((page - 1) * per_page); 65 } 48 66 } 49 67 } … … 152 170 <!-- IF S_USER_LOGGED_IN --> 153 171 <!-- IF S_DISPLAY_PM --> <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 --> 154 <!-- ELSEIF S_REGISTER_ENABLED --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>172 <!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a> 155 173 <!-- ENDIF --> 156 174 <!-- ENDIF --> … … 185 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> 186 204 <!-- IF S_USER_LOGGED_IN --> 187 <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_ NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>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> 188 206 <!-- ENDIF --> 189 207 </p>
Note:
See TracChangeset
for help on using the changeset viewer.