root/components/README @ 35

Revision 35, 447 bytes (checked in by dez, 7 years ago)

Adds static component

Line 
1All components should set the following values
2
3$smarty->assign("title", "Page Title String");
4$smarty->assign("body", "output of module");
5
6optionally you can set a right hand side panel
7$smarty->assign("secondary", "side boxes");
8
9
10The master script supplies the following php variables:-
11
12$path           The path of the current selected page
13$pathlist       Broken out version of path in array
14
15$smarty         The smarty object
16$DB             The ADODB database object
17
Note: See TracBrowser for help on using the browser.