~ubuntu-branches/ubuntu/hardy/gallery2/hardy-security

« back to all changes in this revision

Viewing changes to modules/rearrange/templates/RearrangeItemsCell.tpl

  • Committer: Bazaar Package Importer
  • Author(s): Michael C. Schultheiss
  • Date: 2006-04-16 16:42:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060416164235-8uy0u4bfjdxpge2o
Tags: 2.1.1-1
* New upstream release (Closes: #362936)
  + Bugfixes for Postgres7 (Closes: #359000, #362152)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{*
2
 
 * $Revision: 1.1 $
 
2
 * $Revision: 1.2 $
3
3
 * If you want to customize this file, do not edit it directly since future upgrades
4
4
 * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
5
5
 * version.  Gallery will look for that file first and use it if it exists.
10
10
{else}
11
11
  {assign var="riClass" value=riItem}
12
12
{/if}
 
13
{capture name="riTitle"}{$child.title|default:$child.pathComponent|markup} ({g->date
 
14
                                              timestamp=$child.originationTimestamp}){/capture}
13
15
{if isset($child.thumbnail)}
14
 
  {g->image item=$child image=$child.thumbnail maxSize=100 class=$riClass}
 
16
  {g->image item=$child image=$child.thumbnail maxSize=100
 
17
            class=$riClass title=$smarty.capture.riTitle}
15
18
{else}
16
 
  <div class="{$riClass}">{$child.title|default:$child.pathComponent|markup}</div>
 
19
  <div class="{$riClass}">{$smarty.capture.riTitle}</div>
17
20
{/if}
18
21
{/strip}