Ejemplo n.º 1
0
        	<input type="submit" class="btn btn-primary" value="Save Settings">
    </div>

	<div class="separator bottom"></div>

    <!-- 
      * this is where we loop through all the modules
      * and deal with their individual settings
	-->	


        <?php 
    $plugins = LoadPlugins::$_plugins;
    foreach ($plugins as $plugin => $pluginName) {
        //grab settings data for module
        $pluginSettings = LoadUtility::getSettings($plugin, 'plugins');
        //var_dump ( $pluginSettings );
        ?>

		<div class="well">

			<div class="separator bottom"></div>
			<div class="row-fluid">

			    <div class="span3">
			            <h4> <?php 
        echo $plugin;
        ?>
 Plugin</h4>
			    </div>
Ejemplo n.º 2
0


    <!-- 
      * this is where we loop through all the modules
      * and deal with their individual settings
	-->	


        <?php 
    $modules = LoadModules::$_modules;
    $interfaces = LoadUtility::getNetworkInterfaces();
    foreach ($modules as $module => $moduleName) {
        //with this we can now move over to AJAX settings
        //as settings are now loaded per moduel weather on or off
        $moduleSettings = LoadUtility::getSettings($module, 'modules');
        // if ( isset($settings['modules'][$module]) && $settings['modules'][$module] == "true" )
        if (isset($settings['modules'][$module])) {
            $moduleStatus = $settings['modules'][$module];
        } else {
            $moduleStatus = false;
        }
        ?>
			
			<div class="well">

				<!--
				module name is rendered here along with checkbox for status
				-->
		    	<div class="row-fluid">
		            <div class="span3">