Interchange

CVS log for interchange/lib/Vend/Menu.pm

[BACK] Up to [Local Repository] / interchange / lib / Vend

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 2.51: download - view: text, markup, annotated - select for diffs
Fri Apr 11 09:04:16 2008 UTC (8 months, 4 weeks ago) by jon
Branches: MAIN
CVS tags: STABLE_5_6-root, STABLE_5_6-branch, REL_5_7_1, REL_5_6_1, REL_5_5_3, REL_5_5_2, HEAD, DEB_5_6_1_2
Diff to: previous 2.50: preferred, colored
Changes since revision 2.50: +2 -4 lines
Remove "Test." message that showed up to some users (RT #126).

Revision 2.46.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 12:15:28 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 2.46.2.1: preferred, colored; branchpoint 2.46: preferred, colored; next MAIN 2.47: preferred, colored
Changes since revision 2.46.2.1: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.50: download - view: text, markup, annotated - select for diffs
Fri Mar 30 11:39:45 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
CVS tags: REL_5_5_1, DEB_5_5_1_1_1, DEB_5_5_1
Diff to: previous 2.49: preferred, colored
Changes since revision 2.49: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.49: download - view: text, markup, annotated - select for diffs
Sun Dec 10 18:16:35 2006 UTC (2 years ago) by mheins
Branches: MAIN
Diff to: previous 2.48: preferred, colored
Changes since revision 2.48: +11 -5 lines
* Allow setting of link target from menu table

Revision 2.48: download - view: text, markup, annotated - select for diffs
Fri Aug 4 09:11:15 2006 UTC (2 years, 5 months ago) by racke
Branches: MAIN
Diff to: previous 2.47: preferred, colored
Changes since revision 2.47: +3 -6 lines
introduced joiner option for old_simple menus without iterator

Revision 2.46.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 14 19:17:37 2006 UTC (2 years, 9 months ago) by mheins
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_2, REL_5_4_1
Diff to: previous 2.46: preferred, colored
Changes since revision 2.46: +4 -3 lines

* Make timeout for menu blank settable (Greg Hanson change).

Revision 2.47: download - view: text, markup, annotated - select for diffs
Tue Mar 14 19:17:21 2006 UTC (2 years, 9 months ago) by mheins
Branches: MAIN
Diff to: previous 2.46: preferred, colored
Changes since revision 2.46: +4 -3 lines

* Make timeout for menu blank settable (Greg Hanson change).

Revision 2.46: download - view: text, markup, annotated - select for diffs
Fri Oct 21 12:02:29 2005 UTC (3 years, 2 months ago) by racke
Branches: MAIN
CVS tags: STABLE_5_4-root, REL_5_4_0, REL_5_3_3, REL_5_3_2, DEB_5_3_0_20051028_1
Branch point for: STABLE_5_4-branch
Diff to: previous 2.45: preferred, colored
Changes since revision 2.45: +3 -3 lines
fix typo

Revision 2.45: download - view: text, markup, annotated - select for diffs
Tue Jul 19 12:37:40 2005 UTC (3 years, 5 months ago) by jonc
Branches: MAIN
CVS tags: DEB_5_3_0_20051004_1
Diff to: previous 2.44: preferred, colored
Changes since revision 2.44: +3 -3 lines
Fix Javascript quoting error.

Revision 2.44: download - view: text, markup, annotated - select for diffs
Thu Jun 9 18:43:58 2005 UTC (3 years, 7 months ago) by docelic
Branches: MAIN
Diff to: previous 2.43: preferred, colored
Changes since revision 2.43: +36 -36 lines
- XHTML-compliance:

  - lowercased/quoted HTML tags (all containers, so no ">" vs. "/>" issues)

Revision 2.43: download - view: text, markup, annotated - select for diffs
Sat Apr 30 15:09:58 2005 UTC (3 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.42: preferred, colored
Changes since revision 2.42: +3 -2 lines
* We had been running without warnings so long, we had gotten a bit sloppy
  in our code in some places.

  Because we do lots of uninitialized hash member stuff with arrays
  of fields and $opt, it is basically unreasonable for us to run with
  the "use of uninitialized variable" warnings. Because we do a fair
  amount of numerical comparisons on empty string values, it seemed
  unreasonable to run with "string value in numeric gt" enabled.

  Also, because Safe, HTML::Entities, and some other modules have
  these checks enabled, page code is bound to have warnings issued
  no matter what you do.

  It seems better to run with some warnings enabled so that we can
  catch bad code practice.

  So I have made the code run without warnings prior to and after
  interpolate_html(), and turned off warnings by default in the
  page code.

  If it is desirable to turn on warnings for pages, you can use
  [pragma perl_warnings_in_page] and see warnings for that page
  (or by default if you put in catalog.cfg).

* In general these changes are:

	 no warnings qw(uninitialized numeric);

  in most pages.

* Add $::Pragma->{perl_warnings_in_page}.

* Remove defined checks when simple set tests will do.

* Streamline some code.

Revision 2.42: download - view: text, markup, annotated - select for diffs
Tue Apr 12 15:14:39 2005 UTC (3 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.41: preferred, colored
Changes since revision 2.41: +10 -10 lines
* Make the start of XHTML support for Interchange.

* Add global XHTML and catalog XHTML options. Global is false/off by
  default, and catalog option is defaulted from global option.

* The only effect is that Dispatch.pm sets $Vend::Xtrailer to the
  appropriate value of '/' or ''.

* Use $Vend::Xtrailer to set any <br/> or <br> we use.

* Change some generated HTML to:

	-- lowercase tags
	-- quote parms
	-- use $Vend::Xtrailer

* Supply [br] tag which returns the proper <br/> or <br>.

Revision 2.41: download - view: text, markup, annotated - select for diffs
Mon Feb 14 13:06:28 2005 UTC (3 years, 10 months ago) by racke
Branches: MAIN
Diff to: previous 2.40: preferred, colored
Changes since revision 2.40: +3 -3 lines
fix problem with unqualified call to interpolate_html

Revision 2.40: download - view: text, markup, annotated - select for diffs
Thu Jul 15 17:27:00 2004 UTC (4 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.39: preferred, colored
Changes since revision 2.39: +626 -3 lines
* Add new file-tree capability. This allows rendering of a tree
  based on a directory structure.

	[menu
		menu-type=tree
		file-tree=1
		link-prepend="do_view/"
		directory=foo
    /]

  Works just like a normal tree, except the tree is built from a
  directory structure. Directories are automatically treated as
  name-only placeholders, and the filename can be passed off to
  another page/URL by setting the link-prepend option.

Revision 2.39: download - view: text, markup, annotated - select for diffs
Mon Mar 1 19:04:23 2004 UTC (4 years, 10 months ago) by mheins
Branches: MAIN
CVS tags: STABLE_5_2-root, STABLE_5_2-branch, REL_5_2_1, REL_5_2_0, REL_5_1_1, REL_5_1_0, DEB_5_2_1_1
Diff to: previous 2.38: preferred, colored
Changes since revision 2.38: +5 -3 lines
* Add ability to specify id="$opt->{js_prefix}{CODE}" id so that multiple
  menus will work even in "use-file" mode.

Revision 2.38: download - view: text, markup, annotated - select for diffs
Fri Jan 9 17:20:31 2004 UTC (5 years ago) by mheins
Branches: MAIN
Diff to: previous 2.37: preferred, colored
Changes since revision 2.37: +52 -9 lines
* Enhance flyout menus to have a lined-up image indicating a submenu.
  The parameter is an image name (if not beginning with <) or
  arbitrary HTML (if first character is <).

  Use by passing the parameter:

  	  submenu_image_right="[var IMAGE_DIR]/right.gif"

  or

  	  submenu_image_left="[image src=asterisk.gif]"

  or to fake it out with some text:

	submenu_image_right=|
			<span style="font-size: smaller !important"> &nbsp; (more)</span>
						|

Revision 2.37: download - view: text, markup, annotated - select for diffs
Sat Dec 6 13:49:42 2003 UTC (5 years, 1 month ago) by mheins
Branches: MAIN
CVS tags: STABLE_5_0-root, STABLE_5_0-branch, REL_5_0_2, REL_5_0_1, REL_5_0_0_RC2, REL_5_0_0_RC1, REL_5_0_0, DEB_5_0_0_2
Diff to: previous 2.36: preferred, colored
Changes since revision 2.36: +10 -2 lines
* Add code which tells you which is the last row in the menu. Improves
  ability to add spacers and other HTML formatting.

Revision 2.36: download - view: text, markup, annotated - select for diffs
Sun Nov 23 16:42:36 2003 UTC (5 years, 1 month ago) by mheins
Branches: MAIN
Diff to: previous 2.35: preferred, colored
Changes since revision 2.35: +3 -3 lines

* Fix ordering so that indication of menu class will work.

Revision 2.35: download - view: text, markup, annotated - select for diffs
Fri Nov 14 14:32:58 2003 UTC (5 years, 1 month ago) by racke
Branches: MAIN
Diff to: previous 2.34: preferred, colored
Changes since revision 2.34: +11 -6 lines
allow translation of explode tree / collapse tree in menus

Revision 2.34: download - view: text, markup, annotated - select for diffs
Fri Nov 7 18:28:53 2003 UTC (5 years, 2 months ago) by mheins
Branches: MAIN
Diff to: previous 2.33: preferred, colored
Changes since revision 2.33: +4 -4 lines
* Fix typo and dangling quote in collapse/explode URL, found by
  Philip Hempel <pshempel@linuxhardcore.com>.

Revision 2.33: download - view: text, markup, annotated - select for diffs
Mon Aug 25 19:56:30 2003 UTC (5 years, 4 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_9, DEB_4_9_8_20031014_1, DEB_4_9_8_20031010_1, DEB_4_9_8_20030911_1
Diff to: previous 2.32: preferred, colored
Changes since revision 2.32: +3 -3 lines
* Fix bad variable reference.

Revision 2.32: download - view: text, markup, annotated - select for diffs
Wed Aug 20 16:22:31 2003 UTC (5 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.31: preferred, colored
Changes since revision 2.31: +20 -34 lines
* Remove IE-specific bounding box code in flyout menus. Turns out that
  caused absolute positioning problems when the page was scrolled, and
  that the DOM standard code I developed for Mozilla works just fine
  on MSIE 6.

Revision 2.31: download - view: text, markup, annotated - select for diffs
Mon Aug 4 05:01:37 2003 UTC (5 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.30: preferred, colored
Changes since revision 2.30: +6 -3 lines
* Add cheesy auto_format page/URL detection facility to try and
  tolerate user-built menus a bit better. In particular, this will
  recognize a non http: anchored absolute URL and will tolerate
  anchors in the page name.

  Called with auto-format=1 as a param.

Revision 2.30: download - view: text, markup, annotated - select for diffs
Sat May 10 22:06:14 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_8, DEB_4_9_8_20030706_1, DEB_4_9_8_2
Diff to: previous 2.29: preferred, colored
Changes since revision 2.29: +19 -4 lines

* Don't add .html if file already has extension...

Revision 2.29: download - view: text, markup, annotated - select for diffs
Sat May 10 20:44:18 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.28: preferred, colored
Changes since revision 2.28: +0 -1 lines

* Remove inexplicable setting for form.

Revision 2.28: download - view: text, markup, annotated - select for diffs
Mon May 5 15:39:24 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.27: preferred, colored
Changes since revision 2.27: +42 -10 lines
* Optimization for tree-based menus, allow reliable build with
  [timed-build]. Example:

	[timed-build file=tmp/the_tree minutes=10 force=1]
	[menu	name=the_tree
			menu-type=tree
			js-prefix=the_tree_
			timed=1
	][/menu]
	[/timed-build]
	[menu open-script=1 js-prefix="the_tree_"/]

  This allows the tree to retain its opened status without having to
  build a different timed-build file for every combination.

  Now tree and flyout menus should be easily usable in a catalog without
  worrying about processor power.

* Add configurability for the open/collapse/explode variable. Before this,
  you could only have one tree per page and have it keep the open status. Now:

  	[menu name=foo menu-type=tree js_prefix=foo open_variable=foo_open][/menu]

  	[menu name=bar menu-type=tree js_prefix=bar open_variable=bar_open][/menu]

   will work for the appropriate menu. (The other will collapse.)

   TODO: Allow passing of open status between different trees; should be
   quite possible.

Revision 2.27: download - view: text, markup, annotated - select for diffs
Mon May 5 14:54:29 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.26: preferred, colored
Changes since revision 2.26: +31 -7 lines
* Add ability for [tree ...] tag to use a file such as that generated
  by the UI's menu editor for its tree data. It uses the "code" field
  for the subordinate if not otherwise passed, and uses the "msort"
  field for the level determination.

  Basically scans the lines starting after the one in question and
  returns all until level is != the next highest level.

  A minimal tree file would be:

  msort	description
  0	    Level 0
  1		Level 1 subordinate of line=0
  2		Level 2 subordinate of line=1
  2		Level 2 subordinate of line=1
  1		Level 1 subordinate of line=0
  1		Level 1 subordinate of line=0
  0		Level 0, another entry
  1		Level 1 subordinate of line=6
  2		Level 2 subordinate of line=7
  1		Level 1 subordinate of line=6

* Add support in Menu.pm for file-based trees.

  -- If use-file=1 is passed, the file will be found if possible and
     used in preference to the database tree.

  -- If file=filename.ext is passed, will be used regardless.

* Remove spurious open= parameters from flyout menus.

Revision 2.26: download - view: text, markup, annotated - select for diffs
Tue Apr 29 15:49:22 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.25: preferred, colored
Changes since revision 2.25: +13 -2 lines
* Add "items" check to menu to allow showing an entry only if items are
  in the cart. Works for current cart ($Vend::Items) only.

Revision 2.25: download - view: text, markup, annotated - select for diffs
Sat Apr 19 18:26:10 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 2.24: preferred, colored
Changes since revision 2.24: +10 -10 lines
* Fix flyout menu in anchor-down mode so that second and higher levels
  flies out right. This prevents problems selection options below
  the selected one.

Revision 2.24: download - view: text, markup, annotated - select for diffs
Thu Apr 10 17:39:24 2003 UTC (5 years, 9 months ago) by mheins
Branches: MAIN
Diff to: previous 2.23: preferred, colored
Changes since revision 2.23: +3 -3 lines

* Prevent naming conflicts with automatically-generated menus.

Revision 2.23: download - view: text, markup, annotated - select for diffs
Wed Feb 12 15:35:54 2003 UTC (5 years, 10 months ago) by mheins
Branches: MAIN
Diff to: previous 2.22: preferred, colored
Changes since revision 2.22: +3 -3 lines
* Don't translate absolute path internal links without protocol. (No WHATSNEW)

Revision 2.22.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:21:28 2003 UTC (5 years, 11 months ago) by racke
Branches: LINUXIA
Diff to: previous 2.22: preferred, colored; next MAIN 2.23: preferred, colored
Changes since revision 2.22: +2 -2 lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again

Revision 2.22: download - view: text, markup, annotated - select for diffs
Mon Jan 20 16:50:28 2003 UTC (5 years, 11 months ago) by mheins
Branches: MAIN
Branch point for: LINUXIA
Diff to: previous 2.21: preferred, colored
Changes since revision 2.21: +107 -17 lines
* Add category-specific image links and toggles for the tree menu.

  To enable this for toggles, do:

  	  [menu
	  		menu-type=tree
			...
			specific-image-toggle=N
			]

  Where N is the level (1 == 0) to which you wish to do this.

  The image for a non-toggled category comes from the tree database field
  img_up, for a toggled category from img_dn.

  You can set the base URL for the images with:

  		specific-image-base="__IMAGE_DIR__";

  A trailing / is added if not already present.

  If you wish to allow image anchors for links as well, put the image
  name in the img_up field and add the parameter:

  	       specific-image-link=1

  If the image name is not present, the normal "name" field is used.

  To enable all of this for the example product_tree component, you would
  have a call of:

	[menu tree-selector="[control tree_selector Products]"
			link-class="[control link_class barlink]"
			link-style="[control link_style]"
			link-class-open="[control link_class_open]"
			link-style-open="[control link_style_open font-size: larger;]"
			link-class-closed="[control link_class_closed]"
			link-style-closed="[control link_style_closed font-size: larger;]"
			no-image="[control no_image]"
			menu-type=tree
			specific-image-toggle=1
			specific-image-base="__IMAGE_DIR__/tree"
			specific-image-link=1
			reparse=0]

Revision 2.21: download - view: text, markup, annotated - select for diffs
Tue Jan 14 00:24:27 2003 UTC (5 years, 11 months ago) by mheins
Branches: MAIN
Diff to: previous 2.20: preferred, colored
Changes since revision 2.20: +23 -3 lines
* Allow adding another value to the menu data from the option line, allows
  display of data that comes from the page.

Revision 2.20: download - view: text, markup, annotated - select for diffs
Sun Dec 8 06:12:59 2002 UTC (6 years, 1 month ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_6, REL_4_9_5
Diff to: previous 2.19: preferred, colored
Changes since revision 2.19: +124 -8 lines

A number of refinements to Menu module.

* Passing timed=1 to [menu ...] tag prevents putting session ID and
  count in URL, allowing timed-build to work well.

* first_line and last_line transforms allow you to specify a field
  to set to trigger the first line or the last line of the menu.
  This allows the current IC menu structures to work well with
  menus separated by space.

* logical_page feature allows a tab "up" indication in another
  menu, based on the page of the entry. This allows multi-level
  tabs to have an "up" indication on different menus.

* expand_values_form allows setting of ITL tag values even
  on multiple form values.  Honors [cgi ..], [value ..], and [var ..].

Revision 2.19: download - view: text, markup, annotated - select for diffs
Sun Dec 8 05:20:24 2002 UTC (6 years, 1 month ago) by mheins
Branches: MAIN
Diff to: previous 2.18: preferred, colored
Changes since revision 2.18: +6 -6 lines
* Fix ordering of open paramter for trees -- it was broken by the new
  Vend::Util::vendUrl routine.

Revision 2.18: download - view: text, markup, annotated - select for diffs
Sun Oct 27 04:20:32 2002 UTC (6 years, 2 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_4
Diff to: previous 2.17: preferred, colored
Changes since revision 2.17: +17 -3 lines
* Prevent JS errors for Netscape 4.

Revision 2.17: download - view: text, markup, annotated - select for diffs
Sun Oct 13 03:42:49 2002 UTC (6 years, 2 months ago) by mheins
Branches: MAIN
Diff to: previous 2.16: preferred, colored
Changes since revision 2.16: +30 -19 lines

* Regularize dhtml_tree to match dthml_flyout behavior.

* Allow dhtml_flyout and dhtml_tree to delete branches based on
  transforms.

* Adjust tree database types to hold proper "member" field, add
  metadata for member field.

Revision 2.16: download - view: text, markup, annotated - select for diffs
Thu Oct 3 17:26:28 2002 UTC (6 years, 3 months ago) by mheins
Branches: MAIN
Diff to: previous 2.15: preferred, colored
Changes since revision 2.15: +3 -3 lines
* Make possible to generate multiple tabbed displays per page by
  setting different panel_id options.

* Change full_interpolate to first in ordered transforms, so that
  menu entries that need to intepolate ITL do so before menu processing
  is done.

Revision 2.15: download - view: text, markup, annotated - select for diffs
Thu Sep 12 05:19:35 2002 UTC (6 years, 3 months ago) by mheins
Branches: MAIN
Diff to: previous 2.14: preferred, colored
Changes since revision 2.14: +258 -158 lines
* Make variable and function names remappable (prefixed with mv_ by default)
  to 1) avoid namespace collisions with other stuff and 2) allow multiple
  trees and flyouts on the same page.

* Add auto-menu feature. If no menu name is passed (basically, you
  put [menu] [/menu] in the page), it looks for a menu based on
  the page name and directory name. It keeps looking above until
  it finds one, then builds a menu out of the first it finds.

  This allows a single menu to automatically apply for all pages in
  a directory.

  Example:

	Menus in:
	  include/menus/about/whoweare.txt
	  include/menus/about.txt

    Pages in question:

  	  pages/about/index.html        Gets about.txt for menu
  	  pages/about/who/index.html    Gets about/who.txt for menu
  	  pages/about/why/index.html    Gets about.txt for menu

* Add logged_in transform, that has three states:

	empty    Displayed for both non-member and member
	1        Displayed for member only
	0        Displayed for non-member only

* Change open tree variable to only pass open leaves instead of a
  possibly-huge binary string.

Revision 2.14: download - view: text, markup, annotated - select for diffs
Tue Aug 20 02:43:56 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.13: preferred, colored
Changes since revision 2.13: +41 -15 lines
* More bug fixes.

* Introduced an MSIE positioning problem in my last run -- fixed.

* Now can surely limit indications to one when menu_class changes.

* dhtml_flyout() now does the two-pass transforms.

Revision 2.13: download - view: text, markup, annotated - select for diffs
Mon Aug 19 02:26:01 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.12: preferred, colored
Changes since revision 2.12: +89 -27 lines
* Get rid of chicken-before-egg problem on simple menus -- the indicator
  was difficult to set and read in one pass. Solved by doing a pass on
  the list to do transforms, then feed the results to the menu_link
  routine.

  Custom iterator routines will have to handle this themselves.

Revision 2.12: download - view: text, markup, annotated - select for diffs
Sun Aug 18 08:00:19 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.11: preferred, colored
Changes since revision 2.11: +33 -8 lines
* Add "flydown" menu, with anchor_down=1 parameter.

* Fix bug in menu_group transform.

Revision 2.11: download - view: text, markup, annotated - select for diffs
Thu Aug 15 06:42:56 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.10: preferred, colored
Changes since revision 2.10: +14 -2 lines
* Fix bug where transforms didn't happen to tree types.

Revision 2.10: download - view: text, markup, annotated - select for diffs
Thu Aug 15 06:18:23 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +3 -3 lines
* Fix problem with content-editor tag caused by presence of NoReparse bug
  when it was developed.

* Add product_flyout component to illustrate flyout menu type.

* Fix manifest to include the pieces of pages/ord/checkout that
  were missing.

Revision 2.9: download - view: text, markup, annotated - select for diffs
Thu Aug 15 05:41:26 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.8: preferred, colored
Changes since revision 2.8: +352 -13 lines
* Add multi-level flyout menu style. Uses the tree menu type.


	[menu
			name=Products
			link-class=barlink
			menu-type=flyout
			flyout-class="categorybar"
			flyout-style="
				padding: 3px;
				border: 3px solid #996633;
			"][/menu]


   Voila. Goes as many levels as you have.

Revision 2.8: download - view: text, markup, annotated - select for diffs
Wed Aug 14 15:40:22 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +41 -3 lines
* Certain things need to be done in order. For instance, we need
  to localize first, then do entities, and then and only then substitute
  &nbsp; for spaces. Originally this could happen in a random order,
  so if you had

  	[menu
			localize=name
			entities=name
			nbsp=name
			....]

  the results were unpredictable.

* Add indicator_profile transform, which allows indication if a certain
  profile is run and passed. Allows generation of the wizard-style
  menu with checkboxes for completion.

* Add entities transform which insures description and other things
  against breaking HTML.

Revision 2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 12 17:10:13 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_2
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +3 -2 lines
* Don't fail ui_security check if none requested.

Revision 2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 12 16:16:18 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.5: preferred, colored
Changes since revision 2.5: +4 -2 lines
Update menu system some more.

* Put bottom menu (tables, quicklinks, etc.) in menu system

* Update preferences page so always have option of turning off meta links

* Update translations where possible to reflect string addition

* Make [area ....] pass through links that have a protocol, allows
  javascript:, http:, etc. links in menuing system

* Place mv_ip and mv_increment pointers in rows for menus, so that
  increment-based conditionals can be done

Revision 2.5: download - view: text, markup, annotated - select for diffs
Sun Aug 11 15:56:24 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +48 -10 lines
* Change footer/header behavior so they are parsed for ITL by default.

Revision 2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 7 08:11:01 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +83 -18 lines
* Update the Admin menus to be editable via the new menu editor.

  TODO: remove _edit_ links when not superuser and/or show_meta
  on.

  Seems to work pretty transparently.

Revision 2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 6 22:08:04 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +7 -6 lines
* Remove dependencies on '&' as the UrlSepChar.

* Enhance form_link to accept pre-formatted strings.

Revision 2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 5 06:17:49 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
Diff to: previous 2.1: preferred, colored
Changes since revision 2.1: +120 -7 lines
* Add the menu transforms and gates.

  ui_security       if-mm advanced on contents of a field for permission
  superuser         if field is set, user must be super
  full_interpolate  These fields get ITL interpolation before substitution, slow
  expand_values     [var VARNAME] , [cgi var], [value var] work, fast
  menu_group        Entry shows if field empty or matches regex
  indicator         Sets {indicated} if variable name set or page matches
  depends_on        Needs this CGI var set to show
  exclude_on        Don't show if this CGI var set

  All take the form of:

  		gate_type=menu_field

  The contents of "gate_type" specify a menu field which is used to
  do the gating.

  These features implement the same capability as the current UI menus
  have with their custom code. So the typical entry for one of those will
  be:

  	[menu menu-type=simple
			superuser=super
			depends_on=depends_on
			exclude_on=exclude_on
			expand_values=page,form,name
			indicator=indicator
	]

  This should provide very fast menuing. It is still quite possible
  to write your own custom menus with [loop ...] and such, but the
  idea is to make these adaptable enough with enough examples to
  mostly get rid of the old.

Revision 2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 5 04:05:40 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
* More on new menu editor and menu system. It is based around Vend::Menu
  and the new tag [menu ...], which builds various types of DHTMl and
  standard HTML menus based on browser type. Two types, "tree" and
  "simple" are included -- will be adding at least two more, "checklist"
  and "ui". Also possible is "hover".

  The menu editor will be able to edit any of the menus. Eventually
  all UI menus will use this, and a simple menu component (i.e. a link list)
  can be placed in the public-facing catalog.

  There is a "product_tree" component to illustrate this, along with menus
  for the Quicklinks and Accounting menus. The major UI menus will be moved
  over next.

* Move [image] tag into core since it is used by Vend::Menu.

* Create variation of attr_list tag which is case-insensitive, allowing
  UPPERCASE attributes with lowercase rows (easier to read when combined with
  HTML in lower case).

* Allow iterator for list-based tags to be a passed subroutine reference.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>