Mercurial > SimpleWebPresenter
view flag.php @ 76:fae4322d6c29
Refactored Flag into a separate class.
| author | Tom Fredrik "BFG" Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 12 Oct 2012 01:54:51 +0200 |
| parents | dd4ddedca4c5 |
| children | 9d766788f0bc 7c68015b211a |
line wrap: on
line source
<?php /** * @file * Displays a flag, in an active or disabled state, depending on parameters */ define(DEBUG,0); include_once 'CacheTimeCheck.inc'; $scriptCache = ScriptIncludeCache::instance(__FILE__); $scriptCache->includeOnce('Flag.inc'); $flag = new Flag($scriptCache); print $flag->getPage();
