Moving the old code aside into the archive as i begin a new
[glcas.git] / archive / v1 / lib / plugins / aptproxy.php
1 <?php
2 global $BASE_URLS;
3
4 $BASE_URLS["apc"]["base"] = "apc"; // ap for apt-proxy
5 $BASE_URLS["apc"]["function"] = "ap_pageBuilderCtl"; // the page builder function for us
6 $BASE_URLS["apr"]["base"] = "apr"; // ap for apt-proxy
7 $BASE_URLS["apr"]["function"] = "ap_pageBuilderPrx"; // the page builder function for us
8
9 $MENU_ITEMS["ap"]["title"] = "APT Proxy";
10 $MENU_ITEMS["ap"]["link"] = "/apc/proxycontrol";
11
12 function ap_pageBuilderCtl()
13 {
14         $calls["needs_base_page"] = true;
15         $calls["content_pane_function"] = "ap_contentPane";
16         $calls["left_menu_function"] = "ap_leftMenu";
17         
18         return $calls;
19 }
20
21 function ap_contentPane()
22 {
23         echo "i am a ap content pane<br>";
24 }
25
26 function ap_leftMenu()
27 {
28         echo "i am a ap leftmenu";
29 }
30
31
32 ?>