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"] = "$GLOBAL_BASE_URL/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";