Ejemplo n.º 1
0
<script type="text/javascript">
		var profile="<?php 
echo $profile;
?>
";
	</script>
<div class="container_12" id="profile_action">
	<div class="grid_12 subtitle">
		<span>Configure Current Profile (<?php 
echo $profilename;
?>
)</span>
<?php 
$eplconf = new EnabledPlugins_Config($profile);
$eplconf->load();
$conf_ok = $eplconf->hasSection("PLUGINS_DATASOURCES");
?>
<span class="saveinfo<?php 
if (!$conf_ok) {
    ?>
 log_warning<?php 
}
?>
"
			id="profileconf_msg">
<?php 
if ($conf_ok) {
    ?>
Saved:<?php 
    echo $eplconf->getLastSaved("%c");
} else {
Ejemplo n.º 2
0
$conf->load();
$conf_ok = 1;
$profile = "";
if (isset($_REQUEST["profile"])) {
    $profile = $_REQUEST["profile"];
} else {
    if (isset($_SESSION["last_runned_profile"])) {
        $profile = $_SESSION["last_runned_profile"];
    }
}
if ($profile == "") {
    $profile = "default";
}
$eplconf = new EnabledPlugins_Config($profile);
$eplconf->load();
if (!$eplconf->hasSection("PLUGINS_DATASOURCES")) {
    $conf_ok = 0;
}
?>
<!-- MAGMI UPLOADER -->
<?php 
$zipok = class_exists("ZipArchive");
?>
<div class="container_12">
	<div class="grid_12 subtitle">
		<span>Update Magmi</span>
	</div>
</div>
<div class="container_12">
<?php 
if ($zipok) {