/[health_html]/inc/print.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/print.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Fri Sep 7 15:07:17 2001 UTC revision 1.2 by ravilov, Tue Oct 16 13:07:03 2001 UTC
# Line 1  Line 1 
1  <?php  <?php
2          function GetPrint($vars) {          function GetPrint($vars, $button = true) {
3                  $tp = new Smarty();                  $tp = new Smarty();
4                  if (!is_array($vars)) $vars = array($vars);                  if (!is_array($vars)) $vars = array($vars);
5                  $vars2 = array();                  $vars2 = array();
# Line 13  Line 13 
13                  global $section, $section_menu;                  global $section, $section_menu;
14                  $tp->assign("section", $section);                  $tp->assign("section", $section);
15                  $tp->assign("section_menu", $section_menu);                  $tp->assign("section_menu", $section_menu);
16                    $tp->assign("button", $button);
17                  return $tp->fetch("print.tpl");                  return $tp->fetch("print.tpl");
18          }          }
19  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26