Ignore:
Timestamp:
Mar 22, 2010, 4:03:43 PM (14 years ago)
Author:
plg
Message:

ture 1514: improvement, impossible to activate a theme is a parent is missing
(a parent includes grand father and his own father, and his own father, and so
on... until the root theme is "default" or has no parent declared)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/themes_installed.tpl

    r5258 r5259  
    3434    <div class="themeShot"><img src="{$theme.screenshot}"></div>
    3535    <div class="themeActions">
     36
     37  {if $theme.activable}
    3638      <a href="{$activate_baseurl}{$theme.id}" title="{'Make this theme available to users'|@translate}">{'Activate'|@translate}</a>
     39  {else}
     40      <span title="{$theme.activate_tooltip}">{'Activate'|@translate}</span>
     41  {/if}
     42
    3743      |
     44
    3845  {if $theme.deletable}
    3946      <a href="{$delete_baseurl}{$theme.id}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" title="{'Delete this theme'|@translate}">{'Delete'|@translate}</a>
     
    4148      <span title="{$theme.delete_tooltip}">{'Delete'|@translate}</span>
    4249  {/if}
     50
    4351    </div>
    4452   
Note: See TracChangeset for help on using the changeset viewer.