Interchange

CVS log for interchange/code/UserTag/button.tag

[BACK] Up to [Local Repository] / interchange / code / UserTag

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 15 19:11:16 2008 UTC (6 months, 3 weeks ago) by jure
Branches: MAIN
CVS tags: REL_5_7_1, HEAD
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +18 -13 lines
*  srcliteral attribute added to [button] tag. Setting srcliteral avoids the image existence check for the src attribute.
*  Image tag is not called internally anymore, except in case of file existence check (since it isn't actually used otherwise).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Mar 25 15:23:10 2008 UTC (9 months, 2 weeks ago) by racke
Branches: MAIN
CVS tags: STABLE_5_6-root, STABLE_5_6-branch, REL_5_6_1, REL_5_5_3, REL_5_5_2, DEB_5_6_1_2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -6 lines
Fixed invalid JavaScript generated by the button tag (#135)

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 4 00:32:41 2007 UTC (17 months ago) by kwalsh
Branches: MAIN
CVS tags: REL_5_5_1, DEB_5_5_1_1_1, DEB_5_5_1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
    * Small correction to the "src" parameter to make it look for
      "http://" or "https://", at the start of the string, instead
      of the following previous behaviour:

	-- The [button] tag was just looking for "http:" or "https:"
	   at the start of the string.

	-- The [image] tag was worse, and just looking for "http" at
	   the start of the string.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 31 00:20:18 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +9 -4 lines
Fix incorrect license in headers GPL v2 -> GPL v2 "or later".  Update copyrights.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Mar 30 23:40:56 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -4 lines
Fix incorrect license in headers GPL v2 -> GPL v2 "or later".  Update copyrights.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Dec 29 05:17:59 2006 UTC (2 years ago) by jon
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +26 -4 lines
Fix custom onClick handling for image buttons (for custom confirmation
routines in particular).

Add support for custom onMouseOver and onMouseOut events in [javascript]
blocks, coexisting with [button]'s own events.

By Jeff Boes <jeff@endpoint.com>.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Dec 29 00:57:01 2006 UTC (2 years ago) by jon
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Add spec-required content type.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Dec 29 00:50:55 2006 UTC (2 years ago) by jon
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
Fix indenting.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 7 23:10:08 2006 UTC (2 years, 1 month ago) by jon
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
Minor XHTML compatibility changes.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Sep 21 16:59:07 2006 UTC (2 years, 3 months ago) by jon
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -7 lines
Add XHTML self-closing slash if wanted.
Remove spurious </b> tag that doesn't seem to apply to an image button.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Sep 21 16:35:01 2006 UTC (2 years, 3 months ago) by jon
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
Use XHTML-compatible <b> tags.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Nov 8 18:14:42 2005 UTC (3 years, 2 months ago) by jon
Branches: MAIN
CVS tags: STABLE_5_4-root, REL_5_4_1, REL_5_4_0, REL_5_3_3, REL_5_3_2
Branch point for: STABLE_5_4-branch
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Big copyright and version number update to prepare for 5.3.2 release.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 10 14:38:39 2005 UTC (3 years, 10 months ago) by docelic
Branches: MAIN
CVS tags: DEB_5_3_0_20051028_1, DEB_5_3_0_20051004_1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
Header/license fix or Version update+minor formatting fix, or both

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Sep 24 15:30:23 2004 UTC (4 years, 3 months ago) by docelic
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -5 lines
- *: Fixed headers
- button.tag: proper quoting in html generated from 2 loops

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Sep 24 12:20:55 2004 UTC (4 years, 3 months ago) by docelic
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -107 lines
Header and quoting fix

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jun 22 17:21:05 2004 UTC (4 years, 6 months ago) by mheins
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
* Ensure wait-text JavaScript chunk returns true -- Opera was not returning
  true on "this.onclick=alert(msg)" and therefore the user couldn't order.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Mar 12 01:21:44 2004 UTC (4 years, 9 months ago) by jon
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, MANIFEST, DEB_5_2_1_1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -5 lines
Fix bug preventing custom JavaScript from functioning: The the /g regex
substition option was causing all the captured matches to be swallowed up
before the while loop could process them.

Make sure onClick doesn't stick to HTML attribute to its left.

Add a wee bit of documentation on how to use this feature.

Patch supplied by Spencer Christensen <schristensen@backcountrystore.com>.
Thanks, Spencer!

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Apr 29 20:08:26 2003 UTC (5 years, 8 months 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, REL_4_9_9, REL_4_9_8, DEB_5_0_0_2, DEB_4_9_8_20031014_1, DEB_4_9_8_20031010_1, DEB_4_9_8_20030911_1, DEB_4_9_8_20030706_1, DEB_4_9_8_2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -1 lines

( Complete comments and docs from last commit)

* Add [button wait-text="-- Please Wait --" text="Place Order" ...] so
  button has indication of press beyond normal browser indication.

* Allow direct setting of id, class, and style HTML characteristics without
  having to shoehorn them in extra=" style='...'" etc.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 29 20:03:09 2003 UTC (5 years, 8 months ago) by mheins
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +42 -2 lines
* Add [button wait-text="-- wait --" text="Place Order" ...] to do JS
  change-

  WARNING: Do not use if JavaScript not required for catalog.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Mar 31 20:40:23 2003 UTC (5 years, 9 months ago) by ramoore
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -1 lines
Add hint about disappearing image when SSL is used.

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

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 13 23:11:00 2003 UTC (5 years, 11 months ago) by mheins
Branches: MAIN
Branch point for: LINUXIA
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2 lines

* Make link_href settable instead of constraining to javascript: URL. No
  change in behavior by default.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Nov 4 15:46:52 2002 UTC (6 years, 2 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_6, REL_4_9_5, REL_4_9_4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
* Allow this to work with an unnamed form.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Oct 30 20:43:05 2002 UTC (6 years, 2 months ago) by racke
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +55 -28 lines
improved inline documentation in order to be able to view
it with pod2... tools and allow automatic processing
fixed some errors

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 27 04:54:29 2002 UTC (6 years, 2 months ago) by mheins
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
* Prevent problems with &auml; and like translations -- the Scratch
  variable for the click action was not working.

  Closes Bugzilla #453.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 25 21:50:10 2002 UTC (6 years, 2 months ago) by jon
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -2 lines
Make sure that the current button being pressed is the only one whose
mv_click_map_* variable gets set.

This works around the problem of a user clicking one button, using the
browser's Back button, then clicking on a different button, and both
mv_clicks execute instead of just the most recent one.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jul 28 15:13:51 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -1 lines
* Add link-text-too=1 option to [button] which will cause the text to
  be part of the link. (It was annoying to me to have to move to the
  image.)

* Add "Check all" and "Uncheck all" to order page.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jan 29 05:52:42 2002 UTC (6 years, 11 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_1
	* The great tag breakout!

	* Almost all tags are now UserTag definitions. The only exceptions
	  are:

		and bounce goto if label or unless

    * New TagDir directive (default is VENDROOT/code) sets the
	  directory (or directories) which are searched for code definitions
	  set by UserTag and CodeDef.

	* New TagGroup directive establishes groups of ITL tags which can
	  be included.

	  	TagGroup :crufty "banner default ecml html_table onfly sql"

	  The default groups include :core, which contains all of the
	  ITL tags defined in 4.8/early 4.9. The groups are defined
	  in $Vend::Cfg::StdTags and can be undefined if desired
	  with "TagGroup :group".

	* New TagInclude directive allows inclusion of tags (or groups
	  of tags). If a tag is defined as a core tag (with a .coretag
	  or .tag or .ct extension) and is not included, it will not
	  be compiled and placed in the tag map. This is for all catalogs,
	  so if *any* catalog uses a tag it must be included.

	  Examples:

		# Include the base tags
	  	TagInclude :core

		# Not the commerce tags
		TagInclude !:commerce

		# But make sure item-list is included even though
		# it is in :commerce
		TagInclude item-list

		## Double negatives are honored
		TagGroup    :foo "bar !baz buz"
		## With the group above, the below is equivalent
		## to TagInclude !bar baz !buz
		TagInclude !:foo

    * New CodeDef directive allows the setting of filters,
	  order checks, FormAction, ActionMap, ItemAction,
	  and LocaleChange.

			## filters
			CodeDef  mixedcase Filter
			CodeDef  mixedcase Routine <<EOR
			sub {
				my $val = shift;
				## [filter mixedcase]mixed case[/filter]
				## outputs "MiXeD CaSe"
				$val =~ s/(.)(.)/\u$1\l$2/g;
				return $val;
			}
			EOR

			## order checks
			CodeDef  mixedcase OrderCheck
			CodeDef  foo  Routine <<EOR
			sub {
				my ($ref, $var, $val) = @_;
				return (1,$var) if $val eq 'bar';
				return (0,$var, "foo must be bar");
			}
			EOR

	   All work in catalog.cfg; LocaleChange and ItemAction are not
	   global. FormAction, ActionMap, and ItemAction directives
	   are equivalent to their CodeDef equivalents.

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>