'CHOOSE A LAYOUT {separator}', 'layout' => 'Layout {radio|3colleftright|3 columns: sidebar on left & right
3 columns: sidebar on left & right|3colleft|3 columns: 2 sidebars on the left
3 columns: 2 sidebars on the left|3colright|3 columns: 2 sidebars on the right
3 columns: 2 sidebars on the right|2colleft|2 columns: sidebar on the left
2 columns: sidebar on the left|2colright|2 columns: sidebar on the right
2 columns: sidebar on the right|1colflu|1 column fluid: two sidebars stacked below
1 column fluid: two sidebars stacked below} ## All layouts have fixed width sidebars and fluid width content, except the single column layout, where sidebars are 50% of the content. Based on the markup and CSS at Layout Gala.', 'separ2' => 'SELECT TYPOGRAPHY {separator}', 'bodyfontsize' => 'Base Font Size ## The base font size globally affects all font sizes throughout your blog. This can be in any unit (e.g., px, pt, em), but I suggest using a percentage (%). Default is 80%.
Format: Xy where X = a number and y = its units.', 'bodyfontfamily' => 'Base Font Family {radio|arial, helvetica, sans-serif|Arial (Helvetica, sans serif)|"courier new", courier, monospace|Courier New (Courier, monospace)|georgia, times, serif|Georgia (Times, serif)|"lucida console", monaco, monospace|Lucida Console (Monaco, monospace)|"lucida sans unicode", lucida grande, sans-serif|Lucida Sans Unicode (Lucida Grande, sans serif)|tahoma, geneva, sans-serif|Tahoma (Geneva, sans serif)|"times new roman", times, serif|Times New Roman (Times, serif)|"trebuchet ms", helvetica, sans-serif|Trebuchet MS (Helvetica, sans serif)|verdana, geneva, sans-serif|Verdana (Geneva, sans serif)} ## The base font family sets the font the body text throughout the blog. A fall-back font and the font family are in parentheses. Default is Verdana.', 'headerfontfamily' => 'Header Font Family {radio|arial, helvetica, sans-serif|Arial (Helvetica, sans serif)|"courier new", courier, monospace|Courier New (Courier, monospace)|georgia, times, serif|Georgia (Times, serif)|"lucida console", monaco, monospace|Lucida Console (Monaco, monospace)|"lucida sans unicode", lucida grande, sans-serif|Lucida Sans Unicode (Lucida Grande, sans serif)|tahoma, geneva, sans-serif|Tahoma (Geneva, sans serif)|"times new roman", times, serif|Times New Roman (Times, serif)|"trebuchet ms", helvetica, sans-serif|Trebuchet MS (Helvetica, sans serif)|verdana, geneva, sans-serif|Verdana (Geneva, sans serif)} ## Sets the font family for headings (h1, h2, etc). A fall-back font and the font family are in parentheses. Default is Verdana.', ), __FILE__ ); /************************************************************************************ * FUNCTION CALLS ************************************************************************************/ function newmin_layout() { global $newmin; if ($newmin->option['layout'] == '3colleftright') { print '3colleftright.css'; } if ($newmin->option['layout'] == '3colleft') { print '3colleft.css'; } if ($newmin->option['layout'] == '3colright') { print '3colright.css'; } if ($newmin->option['layout'] == '2colleft') { print '2colleft.css'; } if ($newmin->option['layout'] == '2colright') { print '2colright.css'; } if ($newmin->option['layout'] == '1colflu') { print '1colflu.css'; } } function newmin_bodyfontsize() { global $newmin; if ( $newmin->option['bodyfontsize'] ) { print 'body { font: '; print $newmin->option['bodyfontsize']; print "/150% "; } } function newmin_bodyfontfamily() { global $newmin; if ( $newmin->option['bodyfontfamily'] ) { print $newmin->option['bodyfontfamily']; print "; }\n"; } } function newmin_headerfontfamily() { global $newmin; if ( $newmin->option['headerfontfamily'] ) { print 'h1, h2, h3, h4, h5, h6 { font-family: '; print $newmin->option['headerfontfamily']; print "; }\n"; } } /************************************************************************************ * FUNCTION DEFAULTS ************************************************************************************/ if ( !$newmin->is_installed() ) { $set_defaults['layout'] = '3colleftright'; $set_defaults['bodyfontsize'] = '75%'; $set_defaults['bodyfontfamily'] = 'verdana, geneva, sans-serif'; $set_defaults['headerfontfamily'] = 'verdana, geneva, sans-serif'; $result = $newmin->store_options($set_defaults) ; } /************************************************************************************ * CALL FOR WIDGETS PLUGIN, V.1 ************************************************************************************/ if(function_exists('register_sidebar')) { register_sidebar(array( 'name' => '"Blue" Sidebar', )); register_sidebar(array( 'name' => '"Orange" Sidebar', )); } function widget_newmin_search() { ?>