Exemplo n.º 1
0
                    <?php 
if (isset($account_levels) && is_array($account_levels)) {
    \Arr::insert_assoc($account_levels, array('' => '-'), 0);
} else {
    $account_levels = array('' => '-');
}
echo \Form::select('filter_level_group_id', isset($filter_level_group_id) ? $filter_level_group_id : null, $account_levels, array('id' => 'filter_level_group_id', 'class' => 'form-control chosen-select'));
?>
 
                    </th>
                    <th><?php 
echo \Extension\Form::date('filter_account_create', isset($filter_account_create) ? $filter_account_create : null, array('id' => 'filter_account_create', 'class' => 'form-control input-date', 'onkeypress' => 'return noEnter(event);', 'placeholder' => __('admin_since')));
?>
</th>
                    <th><?php 
echo \Extension\Form::date('filter_account_last_login', isset($filter_account_last_login) ? $filter_account_last_login : null, array('id' => 'filter_account_last_login', 'class' => 'form-control input-date', 'onkeypress' => 'return noEnter(event);', 'placeholder' => __('admin_since')));
?>
</th>
                    <th>
                    <?php 
echo \Form::select('filter_account_status', isset($filter_account_status) ? $filter_account_status : null, array('' => '-', '0' => __('admin_disable'), '1' => __('admin_enable')), array('id' => 'filter_account_status', 'class' => 'form-control chosen-select'));
?>
 
                    </th>
                    <th><button class="btn btn-default btn-xs btn-filter" onclick="addFilterSearch();" type="button"><span class="glyphicon glyphicon-filter"></span> <?php 
echo __('admin_filter');
?>
</button></th>
                </tr>
            </thead>
            <tfoot>
Exemplo n.º 2
0
                <?php 
    echo \Extension\Form::input('account_lastname', isset($account_lastname) ? $account_lastname : '', array('id' => 'account_lastname', 'maxlength' => '255', 'class' => 'form-control'));
    ?>
 
            </div>
        </div>
        <div class="form-group">
            <label for="account_birthdate" class="col-sm-2 control-label"><?php 
    echo __('account_birthdate');
    ?>
: </label>
            <div class="col-sm-10">
                <div class="row">
                    <div class="col-sm-6">
                        <?php 
    echo \Extension\Form::date('account_birthdate', isset($account_birthdate) ? $account_birthdate : '', array('id' => 'account_birthdate', 'maxlength' => '10', 'class' => 'form-control'));
    ?>
 
                    </div>
                </div>
                <div class="help-block"><?php 
    echo __('account_birthdate_format_should_be');
    ?>
</div>
            </div>
        </div>
    </fieldset>

    <fieldset>
        <legend><?php 
    echo __('account_role_and_status');