function clock() { // Show the Eve time. if (config::get('show_clock')) { $clock = new Clock(); return $clock->generate(); } }
/** * * @return string HTML string for a clock */ function clock() { // Show the Eve time. if (config::get('show_evestatus')) { $sstatus = new ServerStatus(); return $sstatus->display(); } else { if (config::get('show_clock')) { $this->page->addOnLoad("setInterval('updateClock()', 60000 )"); $clock = new Clock(); return $clock->generate(); } } }