1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
# --
# AdminSelectBoxForm.dtl - provides HTML form for SelectBox
# Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id: AdminSelectBoxForm.dtl,v 1.18 2006/12/30 01:38:50 mh Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
<!-- start form -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
<td class="mainhead">
$Env{"Box0"}$Text{"Select Box"}$Env{"Box1"}
</td>
</tr>
<tr>
<td align="center" class="mainbody">
<br>
<form action="$Env{"CGIHandle"}" method="post">
<input type="hidden" name="Action" value="$Env{"Action"}">
<input type="hidden" name="Subaction" value="Select">
<table cellspacing="0" cellpadding="4" border="0" width="700">
<tr class="contenthead">
<td colspan="2">$Text{"Options"}</td>
</tr>
<tr class="contentbody">
<td width="15%" class="contentkey">$Text{"SQL"}:</td>
<td width="85%" class="contentvalue"><textarea name="SQL" rows="3" cols="75">$QData{"SQL"}</textarea></td>
</tr>
<tr class="contentbody">
<td class="contentkey">$Text{"Limit"}:</td>
<td class="contentvalue"><input type="text" name="Max" value="$QData{"Max"}" size="2"></td>
</tr>
<tr class="contentfooter">
<td colspan="2" class="contentkey"><input class="button" type="submit" value="$Text{"Go"}"></td>
</tr>
</table>
</form>
<br>
</td>
</tr>
</table>
<!-- end form -->
<!-- dtl::block::Result -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr>
<td class="mainhead">
$Env{"Box0"}$Text{"Select Box Result"}$Env{"Box1"}
</td>
</tr>
<tr>
<td class="mainbody">
<table width="100%" cellspacing="0" cellpadding="3" border="0">
<!-- dtl:block:Row -->
<dtl if ($Env{"Color"} eq "") { $Env{"Color"} = "active"; }>
<tr class="search$Env{"Color"}">$Data{"Result"}</tr>
<dtl if ($Env{"Color"} eq "passive") { $Env{"Color"} = ""; }>
<dtl if ($Env{"Color"} eq "active") { $Env{"Color"} = "passive"; }>
<!-- dtl:block:Row -->
</table>
</td>
</tr>
</table>
<!-- dtl::block::Result -->
|