Changeset 6015


Ignore:
Timestamp:
Apr 29, 2010, 11:34:37 PM (14 years ago)
Author:
patdenice
Message:
  • Fix tab display on IE
  • Display missing screenshot on themes_new if screenshot is missing.
Location:
trunk/admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/clear/theme.css

    r5980 r6015  
    120120background-color:#f9f9f9; border:1px solid #f9f9f9; border-bottom:1px solid #aaa; display:table;
    121121font-family:verdana,arial,helvetica,sans-serif; font-size:8px;
    122 list-style-image:none; padding: 0; position:relative; text-decoration:none;
     122list-style-type:none; list-style-image:none; padding: 0; position:relative; text-decoration:none;
    123123top:-2px; white-space:nowrap; margin: 0 0 0 -6px; padding-left:10px;
    124124width:100%; }
  • trunk/admin/themes/default/template/themes_new.tpl

    r5570 r6015  
    88  <div class="themeBox">
    99    <div class="themeName">{$theme.name}</div>
    10     <div class="themeShot"><img src="{$theme.screenshot}"></div>
     10    <div class="themeShot"><img src="{$theme.screenshot}" onerror="this.src='{$default_screenshot}'"></div>
    1111    <div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
    1212  </div>
  • trunk/admin/themes/roma/theme.css

    r5980 r6015  
    129129background-color:#111111; border:0px none; border-bottom:1px solid #ff3363; display:table;
    130130font-family:verdana,arial,helvetica,sans-serif; font-size:8px;
    131 list-style-image:none; padding: 0; position:relative; text-decoration:none;
     131list-style-type:none; list-style-image:none; padding: 0; position:relative; text-decoration:none;
    132132top:-2px; white-space:nowrap; margin: 0 0 0 -5px; padding-left:10px;
    133133width:100%; }
  • trunk/admin/themes_new.php

    r5406 r6015  
    140140}
    141141
     142$template->assign('default_screenshot',
     143  get_root_url().'admin/themes/'.$conf['admin_theme'].'/images/missing_screenshot.png'
     144);
     145
    142146$template->assign_var_from_handle('ADMIN_CONTENT', 'themes');
    143147?>
Note: See TracChangeset for help on using the changeset viewer.