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.
11 <span
class="left_col colhead req" data
-fld
="fld_value"><?php
echo out( xl( 'Age' ) );?
> <?php
echo out( xl( $criteria->getType() ) ); ?
></span
>
12 <span
class="end_col"><input id
="fld_value" type
="text" name
="fld_value" class="field short" value
="<?php echo out( $criteria->getRequirements() ); ?>"></span
>
17 <span
class="left_col colhead req" data
-fld
="fld_timeunit"><?php
echo out( xl('Unit') );?
></span
>
18 <span
class="end_col">
19 <?php
echo timeunit_select( array( "context" => "rule_age_intervals", "target"=>"fld_target_interval_type", "name" => "fld_target_interval_type", "value" => $criteria->timeUnit
) ); ?
>
23 <input type
="hidden" name
="fld_type" value
="<?php echo out( $criteria->type ); ?>"/>
27 <!-- optional
/required
and inclusion
/exclusion fields
-->
28 <?php
echo common_fields( array( "criteria" => $criteria) ); ?
>