Index: openacs-4/packages/acs-tcl/tcl/navigation-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/navigation-callback-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-tcl/tcl/navigation-callback-procs.tcl 22 Dec 2017 14:14:20 -0000 1.4 +++ openacs-4/packages/acs-tcl/tcl/navigation-callback-procs.tcl 17 Nov 2018 11:15:51 -0000 1.5 @@ -21,29 +21,28 @@ { {LINK url_stub text title_text long_text} {SECTION title long_text} - } - -

Where LINK and SECTION are the literal strings.

+ } + + Where LINK and SECTION are the literal strings. -

For LINK the url and text are required, text and title should be plain text - but long_text should be html (and renderers should present it noquote).

+ For LINK the url and text are required, text and title should be plain text + but long_text should be html (and renderers should present it noquote). -

For SECTION both title and long_text can be blank which for the + For SECTION both title and long_text can be blank which for the rendering agent would imply a section break with something like blank space or an <hr> tag. Also keep in mind the rendering agent may be creating dropdown menus which would only display the link text and title or might be rendering in a page in which case all things might be rendered so try to make sure the short "title" - and "text" fields are not abiguous. heading should be plain text - but long_text is treated as html. -

+ and "text" fields are not ambiguous. "title" should be plain text + but "long_text" is treated as HTML. -

url_stub should be relative to the package mountpoint + url_stub should be relative to the package mountpoint and without a leading / since the link may be prefixed by the - full path or by the vhost url depending on context.

+ full path or by the vhost URL depending on context. -

The /packages/acs-tcl/lib/actions.adp file is an include which - will render admin actions returned by this callback.

+ The /packages/acs-tcl/lib/actions.adp file is an include which + will render admin actions returned by this callback. @param package_id - the package for which to generate the admin links @param user_id - the user_id for whom the list should be generated