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
|
<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>
<script>
var helptext = " <?php echo "Recherche de jetons<br><br>Choisissez au moins un critère pour effectuer une recherche.<br><br>Dans le cas où vous renseignez le hash, vous devrez renseigner l'algorithme de calcule du hash recherché.<br><br><a href=" ?> " + "<?php echo url_for('@homepage')?>" + ">"+"<?php echo __("Retour à l\'accueil") ?>" +"</a>";
</script>
<table>
<tr>
<td id="title1"><?php echo str_replace(" "," ", __('Recherche/Récupération de jetons', array(), 'messages') )?></td>
<td id="hrdiv"><hr></td>
<td id="helpico"><?php echo image_tag("info.png")?></td>
</tr>
</table>
<div class="sf_admin_filter">
<?php if ($form->hasGlobalErrors()): ?>
<?php echo $form->renderGlobalErrors() ?>
<?php endif; ?>
<form action="<?php echo url_for('transactions_collection', array('action' => 'filter')) ?>" id="filtrer" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<table cellspacing="0">
<tfoot>
<tr>
<td colspan="2">
<?php echo $form->renderHiddenFields() ?>
<a href="#" onclick="filtrer.submit()" ><?php echo __("Rechercher", array(), 'sf_admin') ?></a>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach ($configuration->getFormFilterFields($form) as $name => $field): ?>
<?php if ((isset($form[$name]) && $form[$name]->isHidden()) || (!isset($form[$name]) && $field->isReal())) continue ?>
<?php include_partial('transactions/filters_field', array(
'name' => $name,
'attributes' => $field->getConfig('attributes', array()),
'label' => $field->getConfig('label'),
'help' => $field->getConfig('help'),
'form' => $form,
'field' => $field,
'class' => 'sf_admin_form_row sf_admin_'.strtolower($field->getType()).' sf_admin_filter_field_'.$name,
)) ?>
<?php endforeach; ?>
</tbody>
</table>
</form>
</div> |
Partager