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, $Url; $html = '
'; // Print the label if not empty. $label = $this->getDbField('label'); if( !empty($label) ) { $html .= '

'.$label.'

'; } $html .= '
'; $html .= ''; $html .= '
'; $html .= '
'; return $html; } }