From 6cb2858aab4f9c7a52da59f9a90ec9d5f753139a Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Mon, 23 Jul 2012 10:25:45 +0000 Subject: [PATCH] Minor interface fixes --- e107_admin/plugin.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index 46ddcb9a5..8e7e644f7 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -264,8 +264,13 @@ class pluginManager{ $e107 = e107::getInstance(); $xml = e107::getXml(); + $mes = e107::getMessage(); + + $mes->addWarning("Experimental: Release plugin must be installed and contain data in order to bug-test this mechanism"); // $file = "http://www.e107.org/releases.php"; //pluginfeed.php or similar. - $file = "http://localhost:8080/e107_0.8/e107_plugins/release/release.php"; // temporary testing + + $file = SITEURLBASE.e_PLUGIN_ABS."release/release.php"; // temporary testing + $xml->setOptArrayTags('plugin'); // make sure 'plugin' tag always returns an array $xdata = $xml->loadXMLfile($file,'advanced'); @@ -338,7 +343,8 @@ class pluginManager{ $d = http_build_query($data,false,'&'); $url = e_SELF."?src=".base64_encode($d); $id = 'plug_'.$data['plugin_folder']; - return "
"; + return "
+
"; }