'For front page, archives, search... {radio|full|Show full text|summary|Show summary} ##', 'post' => 'For single posts... {checkbox|post|1|Show summary at the top} ##', 'scheme' => 'Choose a color scheme {radio|015|Choose me|030|Choose me|045|Choose me|060|Choose me|075|Choose me|090|Choose me|105|Choose me|120|Choose me|135|Choose me|150|Choose me|165|Choose me|180|Choose me|195|Choose me|210|Choose me|225|Choose me|240|Choose me|255|Choose me} ##', 'trackbacks' => 'Choose a background color for trackbacks {radio|015|Choose me|030|Choose me|045|Choose me|060|Choose me|075|Choose me|090|Choose me|105|Choose me|120|Choose me|135|Choose me|150|Choose me|165|Choose me|180|Choose me|195|Choose me|210|Choose me|225|Choose me|240|Choose me|255|Choose me} ##', ), __FILE__ ); /************************************************************************************ * THEME AUTHOR : Congratulations ! The hard work is all done now :) * * From now on, you can create functions for your theme that will use the array * of variables $mytheme->option. For example there will be now a variable * $mytheme->option['your_age'] with value as set by theme end-user in the admin menu. ************************************************************************************/ /*************************************** * Additionnal Features and Functions * * Create your own functions using the array * of user defined variables $mytheme->option. * **************************************/ function posts_mode() { global $mw; return $mw->option['posts']; } function post_excerpt() { global $mw; return $mw->option['post']; } function color_scheme() { global $mw; return $mw->option['scheme']; } function trackbacks_color() { global $mw; return $mw->option['trackbacks']; } ?>