'); // the expected argument is an (ordered) associative array // ( label => todo , ...) // label is expected to be the string to display in the menu // todo can be either // (*) a string : it is then taken to be a URL to move to // (*) or an associative array with the following keys // (*) 'method': 'POST' or 'GET' -- default is 'GET' // (*) 'url': where to go // (*) 'values': an associative array of (key,value) pairs to send to the URL; values are strings // (*) 'confirm': a question to display before actually triggering // (*) 'bubble': a longer message displayed when the mouse stays quite for a while on the label // (*) 'image' : the url of an image used instead of the full title // (*) 'height' : used for the image ////////// Notes: limited support for images // (*) for some reason, confirmation does not work with image tabs // (the form gets submitted whatever the confirmation....) // (*) you need to tune the image size, which is wrong, as the image should rather be bottom-aligned function plc_tabs ($array) { print '
'; print ''; print '
'; print "

\n"; } ?>