$wgAllowAnonymousMinor = false;
+# Enable experimental smarty skins (put Smart/libs in your include_path!)
+$wgUseSmarty = false;
+
if( !isset( $wgCommandLineMode ) ) {
$wgCommandLineMode = false;
}
# Language class has internationalized names
#
/* private */ $wgValidSkinNames = array(
- "Standard", "Nostalgia", "CologneBlue" #, "Smarty", "Montparnasse"
+ "Standard", "Nostalgia", "CologneBlue"
);
+if( $wgUseSmarty ) {
+ $wgValidSkinNames[] = "Smarty";
+ $wgValidSkinNames[] = "Montparnasse";
+}
include_once( "RecentChange.php" );
include_once( "SkinNostalgia.php" );
include_once( "SkinCologneBlue.php" );
-#include_once( "SkinSmarty.php" );
+if( $wgUseSmarty ) {
+ include_once( "SkinSmarty.php" );
+}
?>
<?php
+# And turn on $wgUseSmarty so this file gets included
+
+# Set your include_path so Smarty/libs is available
include_once( "Smarty.class.php" );
class SkinSmarty extends Skin {
var $template;
- function SkinSmarty() {
- }
-
function initPage() {
$this->template = "paddington";
}