2009-09-03 Sacnho Lerena <slerena@artica.es>

* extensions/plugin_registration.php: Added two new parameter
        (pre command and post command to ini parsing).

        * general/header.php: Page looks ugly at 1024x because header width,
        fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-09-03 17:40:27 +00:00
parent a807d395e9
commit 1e4f5296b7
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2009-09-03 Sacnho Lerena <slerena@artica.es>
* extensions/plugin_registration.php: Added two new parameter
(pre command and post command to ini parsing).
* general/header.php: Page looks ugly at 1024x because header width,
fixed.
2009-09-02 Sancho Lerena <slerena@artica.es>
* attachment/plugin: New directory to place console uploaded server

View File

@ -64,7 +64,18 @@ function pluginreg_extension_main () {
}
$exec_path = $config["plugin_store"] . "/" . $ini_array["plugin_definition"]["filename"];
if (!file_exists($exec_path)){
$file_exec_path = $exec_path;
if (isset($ini_array["plugin_definition"]["execution_command"]) && ($ini_array["plugin_definition"]["execution_command"] != "")){
$exec_path = $ini_array["plugin_definition"]["execution_command"] . " " . $config["plugin_store"] . "/" . $ini_array["plugin_definition"]["filename"];
}
if (isset($ini_array["plugin_definition"]["execution_postcommand"]) && ($ini_array["plugin_definition"]["execution_postcommand"] != "")){
$exec_path = $exec_path . " " .$ini_array["plugin_definition"]["execution_postcommand"];
}
if (!file_exists($file_exec_path)){
echo "<h2 class=error>".__("Plugin exec not found. Aborting!")."</h2>";
unlink ($config["attachment_store"] . "/plugin_definition.ini");
return;

View File

@ -91,7 +91,7 @@ require_once ("include/functions_messages.php");
echo '</span>';
}
echo "</td>";
echo "<td width='20%' rowspan=2>";
echo "<td width='25%' rowspan=2>";
echo "<a href='index.php?sec=main'>";
echo "<div id='head_r'><span id='logo_text1'>Pandora</span> <span id='logo_text2'>FMS</span></div>";
if (file_exists (ENTERPRISE_DIR."/load_enterprise.php"))