📄 panelmenu.tpl
字号:
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox"><a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='bans'}</a></td>
</tr>
<tr>
<td class="panelbox"><a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='mybuddies'}</a></td>
</tr>
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='hotprofiles'}</a>
</td>
</tr>
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick= "javascript:insufficientPrivileges();">{lang mkey='watchedprofiles'}</a>
</td>
</tr>
{/if}
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}listviewswinks.php?act=V">{lang mkey='views'}</a></td>
</tr>
{if $smarty.session.security.sendwinks == 1}
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}listviewswinks.php?act=W">{lang mkey='winks'}</a></td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='winks'}</a>
</td>
</tr>
{/if}
{* Tools *}
{if $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1' or ( $config.enable_php121 == 'Y' && $smarty.session.security.allow_php121 == 1) or ($smarty.session.security.event_mgt == 1 and $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') and $allcalendars|@count > 0 ) or ($smarty.session.expired != '1' and $smarty.session.active == '1') or ($smarty.session.security.chat == 1 and $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active')) or ($smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active')) }
<tr >
<td class="panellinkhdr" height="16" width="100%"> {lang mkey='tools'}</td>
</tr>
{/if}
{* php121 messenger, This is just a testing one *}
{if $config.enable_php121 == 'Y' && $smarty.session.security.allow_php121 == 1}
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}php121/php121im.php" target="new">php121 Messenger</a></td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">php121 Messenger</a>
</td>
</tr>
{/if}
{if $smarty.session.security.event_mgt == 1 and $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') and $allcalendars|@count > 0 }
<tr>
<td class="panelbox">
{if $config.use_popups == 'Y'}
<a class="panellink" href="javascript:popUpScrollWindow('{$docroot}calendar.php','center',950,600)">{lang mkey='calendar_title'}</a>
{else}
<a class="panellink" target="_blank" href="{$docroot}calendar.php">{lang mkey='calendar_title'}</a>
{/if}
</td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='calendar_title'}</a>
</td>
</tr>
{/if}
{if $smarty.session.security.event_mgt == 1 and $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') and $allcalendars|@count > 0 }
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}watchevents.php">{lang mkey='watched_events'}</a></td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='watched_events'}</a>
</td>
</tr>
{/if}
{if $smarty.session.expired != '1' and $smarty.session.active == '1' }
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}changempass.php">{lang mkey='change_password'}</a></td>
</tr>
{/if}
{if $smarty.session.security.chat == 1 and $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') }
<tr>
<td class="panelbox">
<form name='frmChat' id='frmChat' action="{$docroot}chat/flashchat_osdate.php" method='get' target="new">
<input type="hidden" name='username' value="{$smarty.session.UserName}" />
<input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" />
</form>
<a class="panellink" href="#" onclick="javascript:document.frmChat.submit(); return(false);">{lang mkey='chat'}</a>
</td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='chat'}</a>
</td>
</tr>
{/if}
{if $smarty.session.security.forum == 1 and $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') }
<tr>
<td class="panelbox">
<form name='frmForum' id='frmForum' action="{$docroot}forum/login_osdate.php" method='post' {if $config.forum_display_in_same_window != 'Y'} target="new"{/if}>
<input type="hidden" name='login' value="Log in" />
<input type="hidden" name='username' value="{$smarty.session.UserName}" />
<input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" />
</form>
<a href="#" class="panellink" onclick="javascript:document.frmForum.submit(); return(false);" >{lang mkey='forum'}</a></td>
</tr>
{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}
<tr>
<td class="panelbox">
<a class="panellink" href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='forum'}</a>
</td>
</tr>
{/if}
{if $smarty.session.expired != '1' and $smarty.session.active == '1' and ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') }
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}mailmessages.php?messages=inbox" >{lang mkey='mail_messages'} [ {$new_messages|default:0} {lang mkey='unread'} ]</a></td>
</tr>
{/if}
{* My Membership *}
<tr >
<td class="panellinkhdr" height="16" width="100%"> {lang mkey='membership'}</td>
</tr>
{ if $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active' }
<tr>
<td class="panelbox"><a class="panellink" href="payment.php">{lang mkey='upgrade_membership'}</a></td>
</tr>
{/if}
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}userstats.php">{lang mkey='user_stats'}</a></td>
</tr>
<tr>
<td class="panelbox"><a class="panellink" href="{$docroot}cancel.php">{lang mkey='cancel_hdr'}</a></td>
</tr>
{if $modosdate_umenu|@count > 0 && $smarty.session.active == '1'}
{* Plugins *}
<tr >
<td class="panellinkhdr" height="16" width="100%"> {lang mkey='plugin'}</td>
</tr>
{* The modosdate_umenu is defined when modOsDate is created in init.php *}
{foreach item=item key=key from=$modosdate_umenu}
<tr>
<td class="panelbox"><a class="panellink" href="{$item.href}">{$item.text}</a></td>
</tr>
{/foreach}
{/if}
</tbody>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -