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

   1  {include file="$admintemplatepath/header.template"}
   2  {include file="$admintemplatepath/navigation.template" showOpt=pluginCenter title=$locale->tr("pluginCenter")}
   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="pluginCenter" action="admin.php" method="post">
  13          <div id="list">
  14              <table id="list" class="info" summary="{$locale->tr("pluginCenter")}">
  15                  <thead>
  16                      <tr>
  17                          <th style="width:15%;"><a href="#">{$locale->tr("identifier")}</a></th>
  18                          <th style="width:10%;"><a href="#">{$locale->tr("version")}</a></th>
  19                          <th style="width:20%;"><a href="#">{$locale->tr("author")}</a></th>
  20                          <th style="width:60%;"><a href="#">{$locale->tr("description")}</a></th>
  21                          <th style="width:10%;"><a href="#">{$locale->tr("actions")}</a></th>
  22                      </tr>
  23                  </thead>
  24                  <tbody> 
  25                    {foreach from=$plugins item=plugin}
  26                    {assign var=pluginName value=$plugin->getId()}                
  27                      <tr>
  28                          <td class="col_highlighted">    
  29                              {$plugin->getId()}
  30                               {if $versionCheck && $plugin->getVersion() < $pluginData.$pluginName.version}                            
  31                                   <img src="imgs/admin/icon_warning-16.png" alt="{$locale->tr("error")}" />
  32                              {/if}                            
  33                          </td>
  34                          <td class="col_highlighted">
  35                              {$plugin->getVersion()}
  36                          </td>
  37                          <td class="col_highlighted">
  38                              {$plugin->getAuthor()}
  39                          </td>
  40                          <td>
  41                              {if $versionCheck && $plugin->getVersion() < $pluginData.$pluginName.version}
  42                                <span style="color:red">{$locale->tr("plugin_latest_version")} {$pluginData.$pluginName.version}</span>
  43                                (<a href="{$pluginData.$pluginName.downloadLink}">{$locale->tr("download")}</a>)
  44                                <br/>
  45                              {/if}
  46                              {$plugin->getDescription()}
  47                          </td>
  48                          <td>
  49                              <a href="http://wiki.lifetype.net/index.php/Plugin_{$plugin->getId()}">
  50                                <img src="imgs/admin/icon_info-16.png" alt="Info" />
  51                              </a>
  52                               {if $versionCheck && $plugin->getVersion() < $pluginData.$pluginName.version}
  53                                   <a href="{$pluginData.$pluginName.downloadLink}">
  54                                     <img src="imgs/admin/icon_goto-16.png" alt="{$locale->tr("download")}" />
  55                                   </a>
  56                              {/if}                                                        
  57                          </td>
  58                      </tr>
  59                      {/foreach}
  60                  </tbody>
  61              </table>
  62          </div>
  63       <div id="list_action_bar">
  64        {check_perms adminperm=view_plugins}
  65        <input type="hidden" name="op" value="pluginCenter"/>
  66        <input type="hidden" name="doVersionCheck" value="1"/>    
  67        <input type="submit" name="check" value="{$locale->tr("check_versions")}"/>
  68        {/check_perms}
  69       </div>
  70       </form>
  71  {include file="$admintemplatepath/footernavigation.template"}
  72  {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