skinname = 'TW4MW';
$this->stylename = 'TW4MW';
$this->template = 'TW4MWTemplate';
}
}
class TW4MWTemplate extends QuickTemplate {
/* hijack and modify category functions to create a proper list -- DEBUG: properly implemented? */
function getCategories() {
$catlinks=$this->getCategoryLinks();
if(!empty($catlinks)) {
return "
data['catlinks']) { ?>
html('catlinks') // DEBUG: messy formatting ?>
data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>
html('subtitle') // DEBUG: conditional!? ?>
data['undelete']) { ?>
html('undelete') ?>
html('bodytext') ?>
html('bottomscripts'); // JavaScript call to runBodyOnloadHook ?>
html('reporttime') ?>
data['debug']): ?>