2 global $BASE_URLS, $MENU_ITEMS, $GLOBAL_BASE_URL;
4 $BASE_URLS["ypc"]["base"] = "ypc"; // ap for apt-proxy
5 $BASE_URLS["ypc"]["function"] = "yp_contentUrlsCtl"; // the page builder function for us
6 $BASE_URLS["ypr"]["base"] = "ypr"; // ap for apt-proxy
7 $BASE_URLS["ypr"]["function"] = "yp_contentUrlsPrx"; // the page builder function for us
8 $MENU_ITEMS["yp"]["title"] = "YUM Proxy";
9 $MENU_ITEMS["yp"]["link"] = "/ypc/proxycontrol";
12 function yp_contentPane()
14 echo "i am a yp content pane<br>";
17 function yp_leftMenu()
19 echo "i am a yp leftmenu";
22 function yp_contentUrlsCtl()
24 $calls["needs_base_page"] = true;
25 $calls["content_pane_function"] = "yp_contentPane";
26 $calls["left_menu_function"] = "yp_leftMenu";
31 function yp_contentUrlsPrx()
33 $calls["needs_base_page"] = false;
34 $calls["page_builder"] = "yp_proxyPageBuilder";
39 function yp_proxyPageBuilder()
41 echo "<html>I write the songs that make the whole world sing</html>";