function onShow() { global $app, $conf; $app->uses('getconf'); $global_config = $app->getconf->get_global_config('sites'); if ($global_config['dblist_phpmyadmin_link'] == 'y') { $app->tpl->setVar('dblist_phpmyadmin_link', 1); } else { $app->tpl->setVar('dblist_phpmyadmin_link', 0); } parent::onShow(); }
function onShow() { global $app, $conf; $app->uses('getconf'); $global_config = $app->getconf->get_global_config('mail'); if ($global_config['mailmailinglist_link'] == 'y') { $app->tpl->setVar('mailmailinglist_link', 1); } else { $app->tpl->setVar('mailmailinglist_link', 0); } parent::onShow(); }
function onShow() { global $app, $conf; $app->uses('getconf'); $global_config = $app->getconf->get_global_config('sites'); if ($global_config['webftp_url'] != '') { $app->tpl->setVar('webftp_link', 1); $app->tpl->setVar('webftp_url', $global_config['webftp_url']); } else { $app->tpl->setVar('webftp_link', 0); } parent::onShow(); }
function onShow() { global $app, $conf; $app->uses('getconf'); $global_config = $app->getconf->get_global_config('mail'); if ($global_config['mailboxlist_webmail_link'] == 'y') { $app->tpl->setVar('mailboxlist_webmail_link', 1); } else { $app->tpl->setVar('mailboxlist_webmail_link', 0); } if ($global_config["enable_custom_login"] == "y") { $app->tpl->setVar("enable_custom_login", 1); } else { $app->tpl->setVar("enable_custom_login", 0); } parent::onShow(); }
function onShow() { global $app, $conf; parent::onShow(); }