file datastore work
[glcas.git] / lib / plugins / yumproxy.php
index 5db52a0..68c8768 100644 (file)
@@ -6,7 +6,7 @@ $BASE_URLS["ypc"]["function"] = "yp_contentUrlsCtl"; // the page builder functio
 $BASE_URLS["ypr"]["base"] = "ypr"; // ap for apt-proxy
 $BASE_URLS["ypr"]["function"] = "yp_contentUrlsPrx"; // the page builder function for us
 $MENU_ITEMS["yp"]["title"] = "YUM Proxy";
-$MENU_ITEMS["yp"]["link"] = "$GLOBAL_BASE_URL/ypc/proxycontrol";
+$MENU_ITEMS["yp"]["link"] = "/ypc/proxycontrol";
 
 
 function yp_contentPane()
@@ -27,4 +27,17 @@ function yp_contentUrlsCtl()
        
        return $calls;
 }
+
+function yp_contentUrlsPrx()
+{
+       $calls["needs_base_page"] = false;
+       $calls["page_builder"] = "yp_proxyPageBuilder";
+       
+       return $calls;
+}
+
+function yp_proxyPageBuilder()
+{
+       echo "<html>I write the songs that make the whole world sing</html>";
+}
 ?>
\ No newline at end of file