[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/admin/ -> poststats.template (source)

   1  {include file="$admintemplatepath/header.template"}
   2  {include file="$admintemplatepath/navigation.template" showOpt=editPosts title=$locale->tr("editPosts")}
   3  <script type="text/javascript">
   4  {literal}
   5  YAHOO.util.Event.addListener( window, "load", function() {
   6          var t = new Lifetype.UI.TableEffects( "list" );
   7          t.stripe();
   8          t.highlightRows();
   9      });
  10  {/literal}
  11  </script>
  12          <form id="postStats" action="admin.php" method="post">
  13          <div id="list">
  14    {include file="$admintemplatepath/successmessage.template"}
  15    {include file="$admintemplatepath/errormessage.template"}
  16              <table id="list" class="info" summary="{$locale->tr("editPosts")}">
  17                  <thead>
  18                      <tr>
  19                          <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('postStats');" /></th>
  20                          <th style="width:500px;">{$locale->tr("referrer")}</th>
  21                          <th style="width:70px;">{$locale->tr("hits")}</th>                        
  22                          <th style="width:100px;">{$locale->tr("date")}</th>
  23                          <th style="width:95px;">{$locale->tr("actions")}</th>
  24                      </tr>
  25                  </thead>
  26                  <tbody>
  27                     {foreach from=$referrers item=referrer}
  28                      <tr>
  29                          <td>
  30                              <input class="checkbox" type="checkbox" name="referrerIds[{$referrer->getId()}]" id="checks_1" value="{$referrer->getId()}" />
  31                          </td>
  32                          <td class="col_highlighted">
  33                              <a href="{$referrer->getUrl()}">{$referrer->getUrl()|utf8_wordwrap:55:"<br/>",true}</a>
  34                          </td>
  35                          <td>
  36                             {$referrer->getHits()}
  37                          </td>                        
  38                          <td>
  39                              {assign var=date value=$referrer->getDateObject()}
  40                              {$locale->formatDate($date)}
  41                          </td>                        
  42                          <td>
  43                              <div class="list_action_button">
  44                               <a href="?op=deleteReferrer&amp;referrerId={$referrer->getId()}"><img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete_trackback")}" /></a>
  45                              </div>
  46                          </td>
  47                      </tr>
  48                      {/foreach}
  49                  </tbody>
  50              </table>
  51          </div>
  52          <div id="list_action_bar">
  53              {adminpager style="list"}
  54              <input type="submit" name="delete" value="{$locale->tr("delete")}" class="submit" />
  55              <input type="hidden" name="op" value="deleteReferrers" />
  56          </div>        
  57      </form>
  58  {include file="$admintemplatepath/footernavigation.template"}
  59  {include file="$admintemplatepath/footer.template"}


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics