Author: blues                        Date: Tue Aug  1 09:30:02 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- always show image, not bogus thumbnail (which does not say anything) for
  folders/galeries.

---- Files affected:
SOURCES:
   gallery-theme-carbon-agfolder.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gallery-theme-carbon-agfolder.patch
diff -u SOURCES/gallery-theme-carbon-agfolder.patch:1.1 
SOURCES/gallery-theme-carbon-agfolder.patch:1.2
--- SOURCES/gallery-theme-carbon-agfolder.patch:1.1     Fri Jul 28 13:42:04 2006
+++ SOURCES/gallery-theme-carbon-agfolder.patch Tue Aug  1 11:29:57 2006
@@ -1,10 +1,34 @@
---- ./carbon/templates/album.tpl.org   2006-04-06 22:23:12.000000000 +0200
-+++ ./carbon/templates/album.tpl       2006-07-28 13:40:27.988210500 +0200
-@@ -135,6 +135,7 @@
+--- ./carbon/templates/album.tpl.org   2006-08-01 11:25:02.056126000 +0200
++++ ./carbon/templates/album.tpl       2006-08-01 11:25:07.556469750 +0200
+@@ -126,7 +126,12 @@
+                         {g->container type="imageframe.ImageFrame" 
frame=$theme.params.$frameType
+                                       width=$child.thumbnail.width 
height=$child.thumbnail.height}
+                           <a href="{g->url arg1="view=core.ShowItem" 
arg2="itemId=`$child.id`"}">
++                         {if ($child.entityType == 'GalleryAlbumItem')}
++                          <img  src="themes/carbon/images/agfolder.png" 
border="0"><br>
++                          <p class="giTitle">{g->text text="%s" 
arg1=$child.title|markup}</p>
++                         {else}
+                             {g->image id="%ID%" item=$child 
image=$child.thumbnail class="%CLASS% giThumbnail"}
++                         {/if}
+                           </a>
+                         {/g->container}
+                         {elseif isset($child.thumbnail)}
+@@ -135,6 +140,7 @@
                            </a>
                          {else}
                            <a href="{g->url arg1="view=core.ShowItem" 
arg2="itemId=`$child.id`"}" class="giMissingThumbnail">
-+                              <img src="themes/carbon/images/agfolder.png" 
border="0"> <br>
++                              <img src="themes/carbon/images/agfolder.png" 
border="0"><br>
                              {g->text text="no thumbnail"}
                            </a>
                          {/if}
+@@ -176,8 +182,8 @@
+                                 showDate=true
+                                 showOwner=$showOwner
+                                 showSize=true
+-                                showViewCount=true
+-                                showSummaries=true
++                                showViewCount=false
++                                showSummaries=false
+                                 class="giInfo"}
+                     </td>
+                     {/foreach}
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/SOURCES/gallery-theme-carbon-agfolder.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to