2 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
10 <span
class="left_col colhead req" data
-fld
="fld_lifestyle"><?php
echo out($criteria->getTitle()); ?
></span
>
11 <span
class="end_col">
12 <?php
echo render_select(array( "target" => "fld_lifestyle",
13 "name" => "fld_lifestyle",
14 "value" => $criteria->type
,
15 "options" => $criteria->getOptions() )); ?
>
22 <span
class="left_col colhead req"><?php
echo out(xl('Value')); ?
></span
>
23 <span
class="end_col">
24 <input type
="radio" name
="fld_value_type" class="field" value
="match"
25 <?php
echo !is_null($criteria->matchValue
) ?
"CHECKED" : ""?
>> <?php
echo out(xl('Match')); ?
>
26 <input type
="text" name
="fld_value" class="field short" value
="<?php echo out($criteria->matchValue); ?>" />
30 <p
class="row lifestyle">
31 <span
class="left_col colhead"> 
;</span
>
32 <span
class="end_col">
33 <input type
="radio" name
="fld_value_type" class="field" value
="any"
34 <?php
echo is_null($criteria->matchValue
) ?
"CHECKED" : ""?
>> <?php
echo out(xl('Any')); ?
>
40 <!-- optional
/required
and inclusion
/exclusion fields
-->
41 <?php
echo common_fields(array( "criteria" => $criteria)); ?
>