url manipulation
[glcas.git] / lib / plugins / yumproxy.php
index 15c5adc..cccb29d 100644 (file)
@@ -1,3 +1,20 @@
 <?php
+global $BASE_URLS;
 
+$BASE_URLS["yp"]["base"] = "yp"; // ap for apt-proxy
+$BASE_URLS["yp"]["function"] = "yp_contentUrls"; // the page builder function for us
+
+
+function yp_contentPane()
+{
+       echo "i am a yp content pane<br>";
+}
+
+function yp_contentUrls()
+{
+       $calls["needs_base_page"] = true;
+       $calls["content_pane_function"] = "yp_contentPane";
+       
+       return $calls;
+}
 ?>
\ No newline at end of file