Changeset 702 for trunk/forum/adm/style/overall_header.html
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/adm/style/overall_header.html
r400 r702 29 29 var page = prompt(jump_page, on_page); 30 30 31 if (page !== null && !isNaN(page) && page > 0) 32 { 33 document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); 31 if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) 32 { 33 if (base_url.indexOf('?') == -1) 34 { 35 document.location.href = base_url + '?start=' + ((page - 1) * per_page); 36 } 37 else 38 { 39 document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); 40 } 34 41 } 35 42 } … … 188 195 <p>{L_LOGGED_IN_AS}<br /><strong>{USERNAME}</strong> [ <a href="{U_LOGOUT}">{L_LOGOUT}</a> ][ <a href="{U_ADM_LOGOUT}">{L_ADM_LOGOUT}</a> ] </p> 189 196 <ul> 197 <!-- DEFINE $LI_USED = 0 --> 190 198 <!-- BEGIN l_block1 --> 191 199 <!-- IF l_block1.S_SELECTED --> … … 194 202 <!-- IF .l_block1.l_block2.l_block3 --> 195 203 <li class="header">{l_block1.l_block2.L_TITLE}</li> 204 <!-- DEFINE $LI_USED = 1 --> 196 205 <!-- ENDIF --> 197 206 198 207 <!-- BEGIN l_block3 --> 199 208 <li<!-- IF l_block1.l_block2.l_block3.S_SELECTED --> id="activemenu"<!-- ENDIF -->><a href="{l_block1.l_block2.l_block3.U_TITLE}"><span>{l_block1.l_block2.l_block3.L_TITLE}</span></a></li> 209 <!-- DEFINE $LI_USED = 1 --> 200 210 <!-- END l_block3 --> 201 211 <!-- END l_block2 --> … … 203 213 <!-- ENDIF --> 204 214 <!-- END l_block1 --> 215 <!-- IF not $LI_USED --> 216 <li></li> 217 <!-- ENDIF --> 205 218 </ul> 206 219 </div>
Note:
See TracChangeset
for help on using the changeset viewer.