diff options
author | cvs2git <cvs2git> | 2002-08-12 06:17:10 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2002-08-12 06:17:10 +0000 |
commit | 160be29a0dc62e79a4fb95d2ab8c0c7e5996760e (patch) | |
tree | 94ebadb17321b138fd7bfd9a5c379eec97c5d328 /rt/webrt/Elements/yearMenu | |
parent | 3ef62a0570055da710328937e7f65dbb2c027c62 (diff) |
This commit was manufactured by cvs2svn to create branch 'BESTPRACTICAL'.
Diffstat (limited to 'rt/webrt/Elements/yearMenu')
-rwxr-xr-x | rt/webrt/Elements/yearMenu | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/rt/webrt/Elements/yearMenu b/rt/webrt/Elements/yearMenu deleted file mode 100755 index 4a0e7a772..000000000 --- a/rt/webrt/Elements/yearMenu +++ /dev/null @@ -1,24 +0,0 @@ -<%doc>------------------------------------------------------------------- -yearMenu: Display a pulldown menu of years. - -Optional arguments: -$menu_name - Name of menu, defaults to 'year' -$current - Selected year value -$min - Minimum year appearing in menu; defaults to current year -$max - Maximum year appearing in menus; defaults to $min plus 10. --------------------------------------------------------------------</%doc> - -<select name="<% $menu_name %>"> -<option value="-1">- -% foreach my $year ($min..$max) { -<option value="<% $year %>" <% $year==$current ? "selected" : "" %>> -<% $year %> -% } -</select> - -<%args> -$menu_name=>'year' -$current=>(localtime)[5]+1900 -$min=>(localtime)[5]+1900-1 -$max=>$min+10 -</%args> |