Changeset 5382 for trunk/admin/themes


Ignore:
Timestamp:
Mar 26, 2010, 3:16:54 PM (14 years ago)
Author:
plg
Message:

feature 1514: make the "deactivate" action inactive if there is no active
theme left.

bug fixed: when setting the default theme, make sure at least one user will
be updated.

File:
1 edited

Legend:

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

    r5284 r5382  
    1414    <div class="themeShot"><img src="{$theme.screenshot}"></div>
    1515    <div class="themeActions">
     16
     17{if $theme.deactivable}
    1618      <a href="{$deactivate_baseurl}{$theme.id}" title="{'Forbid this theme to users'|@translate}">{'Deactivate'|@translate}</a>
     19{else}
     20      <span title="{$theme.deactivate_tooltip}">{'Deactivate'|@translate}</span>
     21{/if}
     22     
    1723{if not $theme.is_default}
    1824      | <a href="{$set_default_baseurl}{$theme.id}" title="{'Set as default theme for unregistered and new users'|@translate}">{'Default'|@translate}</a>
Note: See TracChangeset for help on using the changeset viewer.