]> git.pld-linux.org Git - packages/gallery-theme-carbon.git/blob - gallery-theme-carbon-hoverbox.patch
- converted to UTF-8
[packages/gallery-theme-carbon.git] / gallery-theme-carbon-hoverbox.patch
1 --- ./carbon/templates/theme.tpl.org    2006-04-06 23:24:18.000000000 +0200
2 +++ ./carbon/templates/theme.tpl        2006-07-26 14:11:23.202664000 +0200
3 @@ -22,6 +22,10 @@
4  
5      {* Include this theme's style sheet *}
6      <link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>
7 +    <link rel="stylesheet" href='hoverbox/hoverbox.css' type="text/css" media="screen, projection" />
8 +    <!--[if IE]>
9 +    <link rel="stylesheet" href='hoverbox/ie_fixes.css' type="text/css" media="screen, projection" />
10 +    <![endif]-->
11      <script type="text/javascript" src="{g->url href='themes/carbon/theme.js'}"></script>
12    </head>
13    <body class="gallery">
14 --- ./carbon/templates/navigatorMicroThumbs.tpl.org     2006-03-24 21:04:38.000000000 +0100
15 +++ ./carbon/templates/navigatorMicroThumbs.tpl 2006-07-26 14:14:31.614439000 +0200
16 @@ -24,17 +24,20 @@
17          {assign var="columnIndex" value=0}
18        {/if}
19  
20 -      {if ($peer.peerIndex == $data.thisPeerIndex)}
21 -        <td align="center" width="44" height="40">
22 -          {g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"}
23 -        </td>
24 -      {else}
25 -        <td align="center" width="44" height="40">
26 -          <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$peer.id`"}">
27 -            {g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"}
28 -          </a>
29 -        </td>
30 -      {/if}
31 +       {if ($peer.peerIndex == $data.thisPeerIndex)}
32 +               <td width="44" height="40" align="center" style="background: url(hoverbox/display.gif) no-repeat;">
33 +                {g->image item=$peer image=$peer.thumbnail style="filter:alpha(opacity=33);-moz-opacity:.33;opacity:.33;" maxSize=40 title="Currently Displayed Image"}
34 +               </td>
35 +       {else}
36 +               <td align="center" width="44" height="40">
37 +                <div class="hoverbox">
38 +                 <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$peer.id`"}">
39 +                  {g->image item=$peer image=$peer.thumbnail style="padding-top: 1px;" maxSize=40 title="$title"}
40 +                  {g->image item=$peer image=$peer.thumbnail class="preview" maxSize=40 title="$title"}
41 +                 </a>
42 +                </div>
43 +               </td>
44 +       {/if}
45    
46        {assign var="lastIndex" value=$peer.peerIndex}
47        {assign var="columnIndex" value=$columnIndex+1}
This page took 0.0563 seconds and 3 git commands to generate.