Created based on some context-based textpattern plugins, this plugin goes recursively based on your current section and look for category names and leaf articles. Attributes incude:
section * lists categories under one section, or the current section
label * text label before the list
wraptag * wraptag enclosing the whole trunk of code
break * text break after each line
class * css class, default as category_menu
category * lists all categories and articles with this parent. Default as current category (root if empty).
list * Non-zero values : include link to articles, default is false
Please be warned that this plugin is for my personal use only so there may be bugs that might not be a problem under my textpattern setting. When in doubt, debug.
Comments are welcome, please send to sanford dot poon @ gmail dot com.
* Edited code and SQL queries for performance
* Corrected typos and general styling