From 4c1398c6b152b6ca8ee16d90f622dd11273e58a9 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Wed, 25 Apr 2012 19:09:46 +0200 Subject: add cleanzero theme --- view/theme/cleanzero/config.php | 79 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 view/theme/cleanzero/config.php (limited to 'view/theme/cleanzero/config.php') diff --git a/view/theme/cleanzero/config.php b/view/theme/cleanzero/config.php new file mode 100644 index 000000000..7982a75c5 --- /dev/null +++ b/view/theme/cleanzero/config.php @@ -0,0 +1,79 @@ +"cleanzero", + "cleanzero-green"=>"green", + "cleanzero-purple"=>"purple" + ); + $font_sizes = array( + '12'=>'12', + "---"=>"---", + "16"=>"16", + "14"=>"14", + '10'=>'10', + ); + $resizes = array( + "0"=>"0 (no resizing)", + "600"=>"1 (600px)", + "300"=>"2 (300px)", + "250"=>"3 (250px)", + "150"=>"4 (150px)", + ); + + $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" ); + $o .= replace_macros($t, array( + '$submit' => t('Submit'), + '$baseurl' => $a->get_baseurl(), + '$title' => t("Theme settings"), + '$resize' => array('cleanzero_resize',t ('Set resize level for images in posts and comments (width and height)'),$resize,'',$resizes), + '$font_size' => array('cleanzero_font_size', t('Set font-size for posts and comments'), $font_size, '', $font_sizes), + '$color' => array('cleanzero_color', t('Color scheme'), $color, '', $colors), + )); + return $o; +} -- cgit v1.2.3