diff options
Diffstat (limited to 'themes/mantra/admin/settings.php')
-rw-r--r-- | themes/mantra/admin/settings.php | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/themes/mantra/admin/settings.php b/themes/mantra/admin/settings.php index 7f21ab3c..553b2d6f 100644 --- a/themes/mantra/admin/settings.php +++ b/themes/mantra/admin/settings.php @@ -182,7 +182,7 @@ function cryout_setting_frontslider_fn() { echo "<input id='mantra_fpsliderheight' name='ma_options[mantra_fpsliderheight]' size='4' type='text' value='".esc_attr( $mantra_options['mantra_fpsliderheight'] )."' /> px (".__("height","mantra").")"; echo "<small>".__("The dimensions of your slider. Make sure your images are of the same size.","mantra")."</small></div>"; - echo "<div class='slmini'><b>".__("Animation:","mantra")."</b> "; + echo "<div id='sliderParameters'><div class='slmini'><b>".__("Animation:","mantra")."</b> "; $options = array ("random" , "fold", "fade", "slideInRight", "slideInLeft", "sliceDown", "sliceDownLeft", "sliceUp", "sliceUpLeft", "sliceUpDown" , "sliceUpDownLeft", "boxRandom", "boxRain", "boxRainReverse", "boxRainGrow" , "boxRainGrowReverse"); $labels = array( __("Random","mantra"), __("Fold","mantra"), __("Fade","mantra"), __("SlideInRight","mantra"), __("SlideInLeft","mantra"), __("SliceDown","mantra"), __("SliceDownLeft","mantra"), __("SliceUp","mantra"), __("SliceUpLeft","mantra"), __("SliceUpDown","mantra"), __("SliceUpDownLeft","mantra"), __("BoxRandom","mantra"), __("BoxRain","mantra"), __("BoxRainReverse","mantra"), __("BoxRainGrow","mantra"), __("BoxRainGrowReverse","mantra")); echo "<select id='mantra_fpslideranim' name='ma_options[mantra_fpslideranim]'>"; @@ -231,7 +231,7 @@ function cryout_setting_frontslider_fn() { echo ">$labels[$id]</option>"; } echo "</select>"; - echo "<small>".__("The Left and Right arrows on your slider","mantra")."</small></div>"; + echo "<small>".__("The Left and Right arrows on your slider","mantra")."</small></div><div><!--#sliderParameters-->"; ?> <script> @@ -1664,4 +1664,18 @@ function cryout_setting_customjs_fn() { echo "<div><small>".__("Insert your custom Javascript code here. (Google Analytics and any other forms of Analytic software).<br> The <script> tags are not needed.","mantra")."</small></div>"; } +function cryout_setting_editorstyle_fn() { + global $mantra_options; + $items = array (1, 0); + $itemsare = array( __("Enable","mantra"), __("Disable","mantra")); + echo "<select id='mantra_editorstyle' name='ma_options[mantra_editorstyle]'>"; + foreach($items as $id=>$item) { + echo "<option value='$item'"; + selected($mantra_options['mantra_editorstyle'],$item); + echo ">$itemsare[$id]</option>"; + } + echo "</select>"; + echo "<div><small>".__("Disable to turn off the theme's styling in the Visual Editor.","mantra")."</small></div>"; +} + // FIN
\ No newline at end of file |