* @version 0.1.7
* @license All Rights Reserved
*/
/**
* Modul zentral registrieren
*/
$installed_modules[] = 'basecontent';
/**
* Allgemeines zum Modul
*/
class basecontent_modul extends fl_modul {
function get_options($modules) {
echo '
allgemeine Optionen
Seitentitel
Startbereich '."\n";
$modules = array('pages', 'basecontent');
foreach ( $modules as $module ) {
echo ' _get_option('basecontent', 'defaultsection', 'value') == $module )? ' selected="selected"' :'' ).'>'. ucwords($module) .' '."\n";
}
echo '
Hilfe anzeigen '.$this->get_dropdown('adminhelp', 'sichtbar=anzeigen,unsichtbar=verstecken').'
'."\n";
}
function get_dropdown($field, $options) {
$options = explode(',', $options);
$aktuell = $this->_get_option('basecontent', $field);
$html = '';
$html .= "\n\t\t\t".''."\n";
foreach( $options as $option ) {
$option = explode('=', $option);
$option[1] = ( isset($option[1]) )? $option[1]: $option[0];
$selected = ( $aktuell == $option[0] )? ' selected="selected"': '';
$html .= "\t\t\t\t".''.$option[1].' '."\n";
}
$html .= "\t\t\t".' ';
return $html;
}
function get_name() {
return FALSE;
}
function get_starttext() {
echo '';
}
function prepare() {
$this->factory->get_helper('minixml');
}
}
?>