Slightly less crappy stylesheet chooser

This commit is contained in:
Michael Save 2012-04-22 17:50:53 +10:00
parent 0183506993
commit 881fb0d315
7 changed files with 94 additions and 59 deletions

View file

@ -525,7 +525,7 @@
// $config['banner_height'] = 100;
// Custom stylesheets available. The prefix for each stylesheet URI is defined below.
$config['stylesheets']['Yotsuba B'] = 'default.css';
$config['stylesheets']['Yotsuba B'] = ''; // default
$config['stylesheets']['Yotsuba'] = 'yotsuba.css';
// $config['stylesheets']['Futaba'] = 'futaba.css';

View file

@ -21,7 +21,8 @@ class Twig_Extensions_Extension_Tinyboard extends Twig_Extension
'poster_id' => new Twig_Filter_Function('poster_id', array('needs_environment' => false)),
'remove_whitespace' => new Twig_Filter_Function('twig_remove_whitespace_filter', array('needs_environment' => false)),
'count' => new Twig_Filter_Function('count', array('needs_environment' => false)),
'until' => new Twig_Filter_Function('until', array('needs_environment' => false))
'until' => new Twig_Filter_Function('until', array('needs_environment' => false)),
'addslashes' => new Twig_Filter_Function('addslashes', array('needs_environment' => false)),
);
}