kinda stubb'ed the old config out for now and tacked it onto the new
[glcas.git] / plugins / admin.php
index c10ce86..e7dcd14 100644 (file)
@@ -442,7 +442,7 @@ class GLCASAdmin {
                // repo storage location
                echo "<h3>Storage</h3><br>";
                echo "<form method=\"post\" action=\"?action=setstorage\">";
-               $storloc = $this->config->getConfigVar("storagelocation");
+               $storloc = $this->config->getConfig("storagelocation");
                echo "<input class=\"storage\" type=\"text\" name=\"storageloc\" value=\"$storloc\" size=\"100\">";
                echo "<input type=\"submit\" name=\"Set\" value=\"Set\">";
                echo "</form>";
@@ -450,9 +450,9 @@ class GLCASAdmin {
                echo "<hr>";
                echo "<h3>Proxy Config</h3><br>";
                echo "<form method=\"post\" action=\"?action=setproxy\">";
-               $proxyaddress = $this->config->getConfigVar("proxyaddress");
-               $proxylogin = $this->config->getConfigVar("proxylogin");
-               $proxypass = $this->config->getConfigVar("proxypass");
+               $proxyaddress = $this->config->getConfig("proxyaddress");
+               $proxylogin = $this->config->getConfig("proxylogin");
+               $proxypass = $this->config->getConfig("proxypass");
                echo "Proxy Address <input type=\"text\" name=\"proxyaddress\" value=\"$proxyaddress\" size=\"100\"><br>";
                echo "Proxy Login <input type=\"text\" name=\"proxylogin\" value=\"$proxylogin\" size=\"100\"><br>";
                echo "Proxy Password <input type=\"text\" name=\"proxypassword\" value=\"$proxypass\" size=\"100\"><br>";