From 55cb32248953c6e63a2da478f0eb3895875f93d8 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 13 Aug 2013 01:24:02 -0700 Subject: a bit more work on menus --- include/menu.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/menu.php') 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) { -- cgit v1.2.3