Changeset 13560


Ignore:
Timestamp:
Mar 14, 2012, 2:55:11 PM (12 years ago)
Author:
plg
Message:

import theme Simple version 2.5.5

  • Fixed the adaptation of the main image with the resolution
Location:
extensions/simple_themes/simple
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/picture.tpl

    r13555 r13560  
    6565        {/if}
    6666        {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
    67         {if isset($favorite) }
    68         <li><a href="{$favorite.U_FAVORITE}" title="{$favorite.FAVORITE_HINT}">{$favorite.FAVORITE_HINT}</a></li>
     67        {if isset($favorite)}
     68        <li><a href="{$favorite.U_FAVORITE}">{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}</a></li>
    6969        {/if}
    7070        {if !empty($U_SET_AS_REPRESENTATIVE) }
  • extensions/simple_themes/simple/template/picture_content.tpl

    r13551 r13560  
    22<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
    33{/if}
    4         <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
     4        <img src="{$SRC_IMG}" alt="{$ALT_IMG}"
    55        {if isset($COMMENT_IMG)}
    66                title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
  • extensions/simple_themes/simple/theme.css

    r13559 r13560  
    130130#theImage img {
    131131  border: 8px #fff solid;
     132  margin: 0 20px;
     133  max-width: 90%;
    132134}
    133135#theImage p {
  • extensions/simple_themes/simple/themeconf.inc.php

    r13559 r13560  
    22/*
    33Theme Name: Simple Grey
    4 Version: 2.5.4
     4Version: 2.5.5
    55Description: Simple Grey
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=308
Note: See TracChangeset for help on using the changeset viewer.