Ejemplo n.º 1
0
}
?>

				<?php 
if (isset($active_theme['info']->help)) {
    ?>
				<div id="themehelp" class="<?php 
    if (Controller::get_var('help') == $active_theme['dir']) {
        ?>
active<?php 
    }
    ?>
">
					<div class="help">
						<?php 
    echo Pluggable::get_xml_text($active_theme['info']['filename'], $active_theme['info']->help);
    ?>
					</div>
				</div>
				<?php 
}
?>
			</div>
		</div>
	</div>
</div>

	<?php 
// Capture the admin config output.  If nothing is there, don't output the section
ob_start();
Plugins::act('theme_ui', $active_theme);
Ejemplo n.º 2
0

	<div class="pluginhelp"<?php 
    if ($helpaction == '_help') {
        ?>
 class="active"<?php 
    }
    ?>
>
		<?php 
    if (Plugins::is_loaded((string) $plugin['info']->name)) {
        Plugins::act_id('plugin_ui', $plugin['plugin_id'], $plugin['plugin_id'], '_help');
    } elseif (isset($plugin['info']->help)) {
        foreach ($plugin['info']->help as $help) {
            if ((string) $help['name'] == '') {
                echo '<div class="help">' . Pluggable::get_xml_text($plugin['info']['filename'], $help) . '</div>';
            }
        }
    }
    ?>
	</div>

	<?php 
    if (isset($config) && $config == true) {
        ?>
	<div id="pluginconfigure">
		<?php 
        Plugins::plugin_ui($configure, $configaction);
        ?>
		<a class="link_as_button" href="<?php 
        URL::out('display_plugins');