Well I have enabled
Vb integration and removed the navbar (takes up too much space)
but I would like to add a login-logout function on the menubar (like it is when
VB integration is turned off)
how would I go about this?
here is my current menubar template:
Quote:
<?php
echo<<<PPPRINT
<!-- BEGIN TEMPLATE: menubar.tmpl -->
<form method="get" action="{$Globals['maindir']}/showgallery.php">
$ppopen
<tr>
<td colspan="5" align="left" class="menubar2">
<table width="100%" border="0" cellpadding="15" cellspacing="0">
<tr>
<td class="{$Style['menubarnb']}">
<span> $childnav</span>
</td>
<td align="right">
PPPRINT;
include( "{$Globals['PP_PATH']}/{$Globals['TMPL_PATH']}/searchbox.tmpl" );
echo<<<PPPRINT
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="menubarlinks" width="100%" colspan="2">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="{$Style['menubarnb']}" width="50%" align="left" valign="middle">
$menu2 <span class="medium"> · <a href="http://www.paint-sculpt.com/gallery/showmembers.php"> Member Galleries<a/></span>
</td>
<td class="{$Style['menubarnb']}" width="50%" align="right"valign="middle">
$menu
</td>
</tr>
</table>
</td>
</tr>
$ppclose
</form>
<br />
PPPRINT;
if ( !empty($posternav) ) {
echo<<<PPPRINT
$ppopen
$ppclose
<!-- END TEMPLATE: menubar.tmpl -->
PPPRINT;
}
?>
|
how would I adjust this template to have a login-logout function on my menubar?
Click here to see my photopost pages