From 13fb62454cbe569e73f95efab93e9279af08ef5d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 12 Apr 2001 20:30:04 +0000 Subject: - a few changes/addition to the old section code to make developing the new section code easier: preparations as we often call it. ;) --- includes/section.inc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'includes') diff --git a/includes/section.inc b/includes/section.inc index ad25b179c..b5e825b05 100644 --- a/includes/section.inc +++ b/includes/section.inc @@ -1,5 +1,37 @@ sid] = ($name ? "$name - $section->name" : $section->name); + $tree = section_tree($section->sid, $tree[$section->sid], $tree); + } + return $tree; +} + +///// old ///// + function section_get() { $array = array(); $result = db_query("SELECT name FROM sections"); -- cgit v1.2.3