public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
cmsmadesimple-2-0 / admin / templates / listmodules.tpl
100644 42 lines (37 sloc) 1.078 kb
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
<div class="pagecontainer">
  <div class="pageoverflow">
  <p class="pageheader">Debug-title: {$header_name}</p>
  </div><!-- pageoverflow -->
 
  
    <table class="pagetable">
      <thead>
        <tr>
          <th>{tr}name{/tr}</th>
          <th>{tr}version{/tr}</th>
          <th>{tr}status{/tr}</th>
          <th>{tr}active{/tr}</th>
          <th>{tr}action{/tr}</th>
          <th>{tr}help{/tr}</th>
          <th>{tr}about{/tr}</th>
        </tr>
      </thead>
      <tbody>
      {foreach from=$modules item=module}
             {cycle values='row1,row2' assign='currow'}
        <tr class="{$currow}">
          <td>{$module.name}</td>
          <td>{$module.version}</td>
          {if $module.use_span}
            <td colspan="3">{$module.status}</td>
          {else}
            <td>{$module.status}</td>
            <td class="pagepos">{$module.active}</td>
            <td>{$module.action}</td>
          {/if}
          <td>{$module.helplink}</td>
          <td>{$module.aboutlink}</td>
        </tr>
      {/foreach}
      </tbody>
    </table>
 
</div>
 
<p class="pageback"><a class="pageback" href="{$back_url}">&#171; {lang string='back'}</a></p>