+ // {{{ function getCoreTpl()
+
+ public static function getCoreTpl($tpl)
+ {
+ global $globals;
+ return $globals->spoolroot . '/core/templates/' . $tpl;
+ }
+
+ // }}}
+ // {{{ function coreTpl()
+
+ /** Use a template from the core.
+ */
+ public function coreTpl($tpl, $type = SKINNED)
+ {
+ global $globals;
+ $this->changeTpl(self::getCoreTpl($tpl), $type);
+ }
+
+ // }}}