Changeset 13242 for trunk/admin


Ignore:
Timestamp:
02/18/12 22:18:34 (8 years ago)
Author:
patdenice
Message:

feature:2577
Automaticaly install smartpocket during install or upgrade.
hide mobile theme from themes list on user side.

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_install.inc.php

    r12922 r13242  
    135135  foreach ($themes->fs_themes as $theme_id => $fs_theme) 
    136136  { 
    137     if (in_array($theme_id, array('Sylvia', 'clear', 'dark'))) 
     137    if (in_array($theme_id, array('Sylvia', 'clear', 'dark', 'smartpocket'))) 
    138138    { 
    139139      $themes->perform_action('activate', $theme_id); 
  • trunk/admin/themes/default/template/themes_installed.tpl

    r13172 r13242  
    1818{foreach from=$active_themes item=theme} 
    1919  <div class="themeBox{if $theme.is_default} themeDefault{/if}"> 
    20     <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if} {if $theme.mobile} <em>({'mobile'|@translate})</em>{/if}</div> 
     20    <div class="themeName">{$theme.name}{if $theme.is_default} <em>({'default'|@translate})</em>{/if} {if $theme.mobile} <em>({'Mobile'|@translate})</em>{/if}</div> 
    2121    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.screenshot}" alt=""></a></div> 
    2222    <div class="themeActions"> 
     
    4848{foreach from=$inactive_themes item=theme} 
    4949  <div class="themeBox"> 
    50     <div class="themeName">{$theme.name}{if $theme.mobile} <em>({'mobile'|@translate})</em>{/if}</div> 
     50    <div class="themeName">{$theme.name}{if $theme.mobile} <em>({'Mobile'|@translate})</em>{/if}</div> 
    5151    <div class="themeShot"><a href="{$theme.screenshot}" class="preview-box" title="{$theme.name}"><img src="{$theme.screenshot}" alt=""></a></div> 
    5252    <div class="themeActions"> 
Note: See TracChangeset for help on using the changeset viewer.