aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/menu.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/menu.php b/include/menu.php
index ad9d3eb1c..951a2b1fe 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -80,6 +80,14 @@ function menu_create($arr) {
}
+function menu_list($channel_id) {
+ $r = q("select * from menu where menu_channel_id = %d order by menu_name",
+ intval($channel_id)
+ );
+ return $r;
+}
+
+
function menu_edit($arr) {