Parent Directory | Revision Log
Modularized some pages. Some pages are now printable. Added a JavaScript date-checking module. Minor bugfixes.
1 | <?php |
2 | function GetPrint($vars) { |
3 | $tp = new Smarty(); |
4 | if (!is_array($vars)) $vars = array($vars); |
5 | $vars2 = array(); |
6 | for ($i = 0; $i < count($vars); $i++) { |
7 | $var = $vars[$i]; |
8 | global $$var; |
9 | array_push($vars2, array("name" => $var, |
10 | "value" => $$var)); |
11 | } |
12 | $tp->assign("vars", $vars2); |
13 | global $section, $section_menu; |
14 | $tp->assign("section", $section); |
15 | $tp->assign("section_menu", $section_menu); |
16 | return $tp->fetch("print.tpl"); |
17 | } |
18 | ?> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |