* @version $Revision: 17580 $ */ class ActivationWarningView extends GalleryView { /** * @see GalleryView::loadTemplate */ function loadTemplate(&$template, &$form) { $ret = GalleryCoreApi::assertUserIsSiteAdministrator(); if ($ret) { return array($ret, null); } $template->setVariable('controller', 'permalinks.PermalinksSiteAdmin'); return array(null, array('body' => 'modules/permalinks/templates/ActivationWarning.tpl')); } } ?>