D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
admin
/
html.6.2.2
/
config
/
Filename :
confHeader.php
back
Copy
<?php $buf = GUI::header("{$confCenter->_serv->_id}: $page->_title") . GUI::top_menu() . GUI::left_menu(); $buf .= '<form name="confform" method="post" action="confMgr.php">'; // to avoid warning, put in echo if(strlen($disp->_titleLabel)) { $buf .= '<div><h2>'.$disp->_titleLabel . '</h2></div>'."\n"; } $buf .= '<div> <!-- START TABS --> <div class="xtab" ><ul>'; $uri = $disp->_ctrlUrl . 'm=' . urlencode($disp->_mid) . '&p='; foreach ( $disp->_tabs as $pid => $tabName ) { $on = ''; if ( $page->_id == $pid ){ $on = 'class="on"'; } $buf .= "<li $on><a href='{$uri}{$pid}'>{$tabName}</a></li>"; } $buf .= '</ul></div> <!-- END TABS --> '; echo $buf;