*/ class admin_plugin_googleanalytics extends DokuWiki_Admin_Plugin { /** @inheritdoc */ public function handle() { global $INPUT; if ($INPUT->post->has('pref') && checkSecurityToken()) { $this->savePreferences($INPUT->post->arr('pref')); } } /** * output appropriate html */ public function html() { global $INPUT; echo '
'; echo $this->locale_xhtml('intro'); echo '
'; } }