[ 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/ -> sitelocales.template (source)

   1  {include file="$admintemplatepath/header.template"}
   2  {include file="$admintemplatepath/navigation.template" showOpt=siteLocales title=$locale->tr("siteLocales")}
   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="editLocales" method="post" action="admin.php">
  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("siteLocales")}">
  17      <thead>
  18       <tr>
  19        <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('editLocales');" /></th>
  20        <th style="width:10%;">{$locale->tr("locale")}</th>
  21        <th style="width:15%;">{$locale->tr("locale_encoding")}</th>
  22        <th style="width:60%;">{$locale->tr("description")}</th>
  23        <th style="width:10%;">{$locale->tr("actions")}</th>
  24       </tr>
  25      </thead>
  26      <tbody>
  27      {foreach from=$locales item=sitelocale}
  28       <tr>
  29        <td>
  30         <input class="checkbox" type="checkbox" name="localeIds[{counter}]" value="{$sitelocale->getLocaleCode()}"/>
  31        </td>
  32        <td>{$sitelocale->getLocaleCode()}</td>
  33        <td>{$sitelocale->getCharset()}</td>
  34        <td class="col_highlighted">{$sitelocale->getDescription()|truncate:80:"..."}</td>
  35        <td>
  36         <div class="list_action_button">
  37          {check_perms adminperm=update_locale}
  38          <a href="?op=deleteLocale&amp;localeId={$sitelocale->getLocaleCode()}" title="{$locale->tr("delete")}">
  39            <img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete")}" />
  40          </a>
  41         {/check_perms} 
  42         </div>
  43        </td>
  44       </tr>
  45       {/foreach}    
  46      </tbody>  
  47    </table>
  48   </div>
  49   <div id="list_action_bar">
  50     {check_perms adminperm=update_locale}
  51     <input type="submit" name="delete" value="{$locale->tr("delete")}" class="submit" />
  52     <input type="hidden" name="op" value="deleteLocales" />
  53     {/check_perms}
  54   </div>
  55  </form>
  56  
  57  {include file="$admintemplatepath/footernavigation.template"}
  58  {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