Example #1
0
><?php 
_hlt_e('Reset Defaults');
?>
</button>
					<button type="submit" class="btn btn-warning" name="submit_preserve" <?php 
echo $worpit_compiler_enabled ? '' : ' disabled';
?>
><?php 
_hlt_e('Compile CSS (preserve customizations)');
?>
</button>
					<a class="btn btn-inverse" name="download_less_css" <?php 
echo file_exists($worpit_less_file_location[0]) ? 'href="' . $worpit_less_file_location[1] . '"' : ' disabled';
?>
><?php 
_hlt_e('Download');
?>
</a>
					<p style="margin-top: 20px;"><strong>Note: </strong>If in doubt or having compile issues, use the 'Compile CSS' or 'Reset' buttons. If you've made any customizations to 'Variable.less', compile with preserve customizations.</p>
				</div>
				</form>
			</div><!-- / span9 -->
			<div class="span3" id="side_widgets">
	  			<?php 
echo getWidgetIframeHtml('side-widgets');
?>
			</div>
		</div>
	</div><!-- / bootstrap-wpadmin -->
</div><!-- / wrap -->
			
Example #2
0
" method="post" class="form-horizontal">
				<?php 
wp_nonce_field($worpit_nonce_field);
printAllPluginOptionsForm($worpit_aAllOptions, $worpit_var_prefix, 1);
?>
				<div class="form-actions">
					<input type="hidden" name="<?php 
echo $worpit_var_prefix;
?>
all_options_input" value="<?php 
echo $worpit_all_options_input;
?>
" />
					<input type="hidden" name="worpit_plugin_form_submit" value="Y" />
					<button type="submit" class="btn btn-primary" name="submit"><?php 
_hlt_e('Save All Settings');
?>
</button>
					</div>
				</form>
				
			</div><!-- / span9 -->
		
			<div class="span3" id="side_widgets">
		  		<?php 
echo getWidgetIframeHtml('side-widgets');
?>
			</div>
		</div><!-- / row -->
	
	</div><!-- / bootstrap-wpadmin -->
_hlt_e('Include Google Prettify/Pretty Links Javascript');
?>
										</label>
										<p class="help-block">
											<?php 
_hlt_e('If you display code snippets or similar on your site, enabling this option will include the
											Google Prettify Javascript library for use with these code blocks.');
?>
										</p>
									</div>
								</div>
							</div>
	
							<div class="form-actions">
								<button type="submit" class="btn btn-primary" name="submit"><?php 
_hlt_e('Save all changes');
?>
</button>
								<?php 
echo class_exists('W3_Plugin_TotalCacheAdmin') ? '<span> and flush W3 Total Cache</span>' : '';
?>
							</div>
						</fieldset>
					</div><!-- / span<?php 
echo $iWidthColumnOne;
?>
 -->
				</div><!-- / row -->
		
			</form>
	
Example #4
0
<?php

include_once dirname(__FILE__) . '/widgets/bootstrapcss_widgets.php';
?>

<div class="wrap">
	<div class="bootstrap-wpadmin">

		<div class="page-header">
			<a href="http://worpit.com/"><div class="icon32" id="worpit-icon"><br /></div></a>
			<h2><?php 
_hlt_e('Dashboard :: Twitter Bootstrap Plugin from Worpit');
?>
</h2><?php 
_hlt_e('');
?>
		</div>

		<?php 
include_once dirname(__FILE__) . '/widgets/bootstrapcss_common_widgets.php';
?>

		<div class="row" id="worpit_promo">
		  <div class="span12">
		  	<?php 
echo getWidgetIframeHtml('dashboard-widget-worpit');
?>
		  </div>
		</div><!-- / row -->

		<div class="row" id="developer_channel_promo">