[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/templates/admin/user/ -> list.inc (source)

   1  <h1 class="header">
   2   <?php echo _("Users in the system:") ?>
   3   <?php if ($numitem): ?>
   4    <small>[<?php printf(_("%s to %s of %s"), $start, $end, $numitem) ?>]</small>
   5   <?php endif; ?>
   6  </h1>
   7  
   8  <div class="headerbox">
   9  
  10  <div class="control">
  11   <form method="post" name="search" action="<?php echo Horde::selfUrl() ?>">
  12   <?php echo Util::formInput() ?>
  13   <input type="hidden" name="page" value="0">
  14   <strong><?php echo _("Search") ?>:</strong>&nbsp;
  15   <input name="search_pattern" type="text" value="" size="50" maxlength="100" />
  16   <input type="submit" class="button" value="<?php echo _("Search") ?>" />
  17   </form>
  18  </div>
  19  
  20  <table class="striped" width="100%" cellspacing="0">
  21  <?php
  22  $remove = $auth->hasCapability('remove');
  23  $total = 0;
  24  foreach ($users as $user):
  25      if ($total++ < $min || $total > $max) {
  26          continue;
  27      }
  28  ?>
  29   <tr>
  30  <?php if ($remove): ?>
  31    <td width="1%"><?php echo Horde::link(Horde::applicationUrl('admin/user.php?form=remove_f&user_name=' . $user), _("Delete")) . Horde::img('delete.png', _("Delete")) ?></a></td>
  32  <?php endif; ?>
  33    <td width="1%"><?php echo Horde::link(Horde::applicationUrl('admin/user.php?form=update_f&user_name=' . $user), _("Update")) .  Horde::img('edit.png', _("Update")) ?></a></td>
  34    <td width="1%"><?php echo Horde::link(Horde::applicationUrl('admin/user.php?form=clear_f&user_name=' . $user), _("Clear user data")) .  Horde::img('reload.png', _("Clear user data")) ?></a></td>
  35    <td class="leftAlign"><?php echo $user ?></td>
  36   </tr>
  37  <?php endforeach; ?>
  38  </table>
  39  <?php
  40  if ($numitem) {
  41      $pager = &new Horde_UI_Pager('page', $vars, array('num' => $total, 'url' => $viewurl, 'page_count' => 10, 'perpage' => $perpage));
  42      echo $pager->render($page, $total, $viewurl);
  43  }
  44  ?>
  45  </div>


Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7