/[health_html]/inc/links.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/links.php

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

revision 1.1.1.1 by ravilov, Fri Aug 3 09:12:42 2001 UTC revision 1.4 by ravilov, Thu Aug 30 16:35:36 2001 UTC
# Line 1  Line 1 
1  <?php  <?php
2          include_once("inc/Smarty.class.php");          include_once("inc/Smarty.class.php");
3          include_once("inc/Smarty.local.php");          include_once("inc/Smarty.local.php");
4          function GetLinks($read, $more, $id, $cat, $name) {          function GetLinks($read, $more, $id, $cat, $name, $edit, $updown = false, $up = false, $down = false) {
5                  $t = new Smarty();                  $t = new Smarty();
6                  global $section;                  global $section, $section_menu;
7                  $t->assign("section", $section);                  $t->assign("section", $section);
8                    $t->assign("section_menu", $section_menu);
9                  $t->assign("id", $id);                  $t->assign("id", $id);
10                  $t->assign("cat", $cat);                  $t->assign("cat", $cat);
11                  $t->assign("name", $name);                  $t->assign("name", $name);
12                  $t->assign("read", $read);                  $t->assign("read", $read);
13                  $t->assign("more", $more);                  $t->assign("more", $more);
14                    $t->assign("edit", $edit);
15                    $t->assign("updown", $updown);
16                    $t->assign("up", $up);
17                    $t->assign("down", $down);
18                  return $t->fetch("links.tpl");                  return $t->fetch("links.tpl");
19          }          }
20  ?>  ?>

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26