dbFields = array( 'homeLink'=>true, 'label'=>'Pages' ); } public function form() { global $Language; $html = '
'; $html .= ''; $html .= ''; $html .= '
'; $html .= '
'; $html .= 'getDbField('homeLink')?'checked':'').'>'; $html .= ''; $html .= '
'; return $html; } public function siteSidebar() { global $Language; global $pagesParents; global $Site; $html = '
'; // If the label is not empty, print it. $label = $this->getDbField('label'); if( !empty($label) ) { $html .= '

'.$label.'

'; } $html .= '
'; $parents = $pagesParents[NO_PARENT_CHAR]; $html .= ''; $html .= '
'; $html .= '
'; return $html; } }