phpBB

Code Changes

File: adm/style/overall_header.html

  Unmodified   Added   Modified   Removed
Line 28Line 28
{
var page = prompt(jump_page, on_page);


{
var page = prompt(jump_page, on_page);


	if (page !== null && !isNaN(page) && page > 0)	







	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else

	{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);

	{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);

 
		}

	}
}


	}
}


Line 187Line 194
					<div id="menu">
<p>{L_LOGGED_IN_AS}<br /><strong>{USERNAME}</strong> [&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a>&nbsp;][&nbsp;<a href="{U_ADM_LOGOUT}">{L_ADM_LOGOUT}</a>&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<ul>

					<div id="menu">
<p>{L_LOGGED_IN_AS}<br /><strong>{USERNAME}</strong> [&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a>&nbsp;][&nbsp;<a href="{U_ADM_LOGOUT}">{L_ADM_LOGOUT}</a>&nbsp;]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<ul>

 
						<!-- DEFINE $LI_USED = 0 -->

						<!-- BEGIN l_block1 -->
<!-- IF l_block1.S_SELECTED -->

<!-- BEGIN l_block2 -->
<!-- IF .l_block1.l_block2.l_block3 -->
<li class="header">{l_block1.l_block2.L_TITLE}</li>

						<!-- BEGIN l_block1 -->
<!-- IF l_block1.S_SELECTED -->

<!-- BEGIN l_block2 -->
<!-- IF .l_block1.l_block2.l_block3 -->
<li class="header">{l_block1.l_block2.L_TITLE}</li>

 
							<!-- DEFINE $LI_USED = 1 -->

							<!-- ENDIF -->

<!-- BEGIN l_block3 -->
<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>

							<!-- ENDIF -->

<!-- BEGIN l_block3 -->
<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>

 
								<!-- DEFINE $LI_USED = 1 -->

							<!-- END l_block3 -->
<!-- END l_block2 -->

<!-- ENDIF -->
<!-- END l_block1 -->

							<!-- END l_block3 -->
<!-- END l_block2 -->

<!-- ENDIF -->
<!-- END l_block1 -->

 
						<!-- IF not $LI_USED -->
<li></li>
<!-- ENDIF -->

						</ul>
</div>


						</ul>
</div>