subversion://[realtgroup-www]/head/WWW/lib/templating.php Log in
ViewVC logotype

Diff of /head/WWW/lib/templating.php

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

Revision 2 by vitalif, Mon Jun 11 02:28:39 2007 MSK Revision 3 by vitalif, Mon Jun 11 02:59:39 2007 MSK
# Line 46  Line 46 
46      }      }
47  }  }
48    
49    if ($rows = mysql_get_rows ("SELECT DISTINCT `type` FROM `$t_objects`"))
50        if (count($rows) > 1)
51            foreach ($rows as $row)
52                $template->assign_block_vars('retype', array('NAME' => $ListerConfig['objects']['fields']['type'][1][$row[0]], 'LINK' => getURL('list',array('t' => 'objects', 'type' => $row[0]))));
53    
54  ?>  ?>


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters