diff options
author | friendica <info@friendica.com> | 2013-08-13 01:24:02 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-13 01:24:02 -0700 |
commit | 55cb32248953c6e63a2da478f0eb3895875f93d8 (patch) | |
tree | 255c936a39290e5e2e089334030791fb084ca1e8 /include/menu.php | |
parent | 04f8de184e8c925e38335eb18c102985ce421f95 (diff) | |
download | volse-hubzilla-55cb32248953c6e63a2da478f0eb3895875f93d8.tar.gz volse-hubzilla-55cb32248953c6e63a2da478f0eb3895875f93d8.tar.bz2 volse-hubzilla-55cb32248953c6e63a2da478f0eb3895875f93d8.zip |
a bit more work on menus
Diffstat (limited to 'include/menu.php')
-rw-r--r-- | include/menu.php | 8 |
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) { |