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

« back to all changes in this revision

Viewing changes to themes/classic/templates/photo.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.5 $
 
2
 * $Revision: 1.7 $
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.
50
50
        <div id="gsImageView" class="gbBlock">
51
51
          {if !empty($theme.imageViews)}
52
52
            {capture name="fallback"}
53
 
            <a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$theme.item.id`"}">
 
53
            <a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$theme.item.id`"
 
54
                             forceFullUrl=true forceSessionId=true}">
54
55
              {g->text text="Download %s" arg1=$theme.sourceImage.itemTypeName.1}
55
56
            </a>
56
57
            {/capture}
58
59
            {if ($image.viewInline)}
59
60
              {if isset($theme.photoFrame)}
60
61
                {g->container type="imageframe.ImageFrame" frame=$theme.photoFrame
61
 
                              uniqueId=$theme.item.id}
62
 
                  {g->image id="%ID%" item=$theme.item image=$image fallback=$smarty.capture.fallback class="%CLASS%"}
 
62
                              width=$image.width height=$image.height}
 
63
                  {g->image id="%ID%" item=$theme.item image=$image
 
64
                            fallback=$smarty.capture.fallback class="%CLASS%"}
63
65
                {/g->container}
64
66
              {else}
65
67
                {g->image item=$theme.item image=$image fallback=$smarty.capture.fallback}