<div class="row">
	<div class="<?php 
echo $icwp_fShowAds ? 'span9' : 'span12';
?>
">

		<form action="<?php 
echo $icwp_form_action;
?>
" method="post" class="form-horizontal">
			<?php 
wp_nonce_field($icwp_nonce_field);
printAllPluginOptionsForm($icwp_aAllOptions, $icwp_var_prefix, $icwp_nOptionsPerRow);
?>
			<div class="form-actions">
				<input type="hidden" name="<?php 
echo $icwp_var_prefix;
?>
all_options_input" value="<?php 
echo $icwp_all_options_input;
?>
" />
				<input type="hidden" name="<?php 
echo $icwp_var_prefix;
?>
plugin_form_submit" value="Y" />
				<button type="submit" class="btn btn-primary btn-large" name="submit"><?php 
_wptb_e('Save All Settings');
?>
</button>
			</div>
Example #2
0
}
?>
			</div>
		</div>
		<div class="row">
			<div class="span9 <?php 
echo $worpit_compiler_enabled ? 'enabled_section' : 'disabled_section';
?>
">
				<form action="<?php 
echo $worpit_compiler_enabled ? $worpit_form_action : '';
?>
" method="post" class="form-horizontal">
				<?php 
wp_nonce_field($worpit_nonce_field);
printAllPluginOptionsForm($worpit_aAllOptions, $worpit_var_prefix, 2);
?>
				<div class="form-actions">
					<input type="hidden" name="worpit_plugin_form_submit" value="Y" />
					<button type="submit" class="btn btn-primary" name="submit" <?php 
echo $worpit_compiler_enabled ? '' : ' disabled';
?>
><?php 
_hlt_e('Compile CSS');
?>
</button>
					<button type="submit" class="btn btn-danger" name="submit_reset" <?php 
echo $worpit_compiler_enabled ? '' : ' disabled';
?>
><?php 
_hlt_e('Reset Defaults');