diff options
Diffstat (limited to 'rt/webrt/Elements/SelectBoolean')
-rwxr-xr-x | rt/webrt/Elements/SelectBoolean | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/rt/webrt/Elements/SelectBoolean b/rt/webrt/Elements/SelectBoolean deleted file mode 100755 index 93b78ce76..000000000 --- a/rt/webrt/Elements/SelectBoolean +++ /dev/null @@ -1,24 +0,0 @@ -%# $Header: /home/cvs/cvsroot/freeside/rt/webrt/Elements/Attic/SelectBoolean,v 1.1 2002-08-12 06:17:08 ivan Exp $ -<SELECT NAME ="<%$Name%>"> -<OPTION VALUE="<%$TrueVal%>" <%$TrueDefault%>><%$True%></OPTION> -<OPTION VALUE="<%$FalseVal%>" <%$FalseDefault%>><%$False%></OPTION> -</SELECT> - -<%ARGS> -$Name => undef -$True => "is" -$Default => 'true' -$TrueVal => 1 -$FalseVal => 0 -$False => "isn't" -</%ARGS> - -<%INIT> -my ($TrueDefault, $FalseDefault); -if ($Default && $Default !~ /true/i) { - $FalseDefault = "SELECTED"; -} -else { - $TrueDefault = "SELECTED"; -} -</%INIT> |