[pLog-svn] r2897 - plugins/branches/lifetype-1.0/templateeditor/templates

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Feb 4 17:31:34 GMT 2006


Author: jondaley
Date: 2006-02-04 17:31:34 +0000 (Sat, 04 Feb 2006)
New Revision: 2897

Modified:
   plugins/branches/lifetype-1.0/templateeditor/templates/blogtemplatesetslist.template
Log:
put the user's blog specific templates on top, so they are easier to see

Modified: plugins/branches/lifetype-1.0/templateeditor/templates/blogtemplatesetslist.template
===================================================================
--- plugins/branches/lifetype-1.0/templateeditor/templates/blogtemplatesetslist.template	2006-02-04 17:31:01 UTC (rev 2896)
+++ plugins/branches/lifetype-1.0/templateeditor/templates/blogtemplatesetslist.template	2006-02-04 17:31:34 UTC (rev 2897)
@@ -31,36 +31,6 @@
   </thead>
   <tbody>
 
-  {foreach from=$globalTemplateSets item=sitetemplate}
-   <tr class="{cycle values="odd,even"}">
-    <td>
-     <div align="center"><span style="background-color: #CCCCCC">&nbsp;&nbsp;&nbsp;</span></div>
-    </td>
-    <td  class="col_highlighted">
-     <img src="imgs/admin/icon_folder-16.png" />
-     {$sitetemplate->getName()}
-    </td>
-    <td>
-     {$locale->tr("global")}
-    </td>
-    <td>
-     <div class="list_action_button">
-      <img src="imgs/admin/icon_empty-16.png" />
-      <img src="imgs/admin/icon_empty-16.png" />
-      <a href="?op=blogCopyTemplateSet&amp;type=1&amp;templateId={$sitetemplate->getName()}" id="{$sitetemplate->getName()}" onClick="copyTemplateSetTo(this.id)" >
-        <img src="imgs/admin/icon_copy-16.png" alt="{$locale->tr("copy")}" />
-      </a>
-      <img src="imgs/admin/icon_empty-16.png" />
-	  {if $sitetemplate->hasScreenshot()}
-	    <a href="javascript:openScreenshotWindow('{$sitetemplate->getScreenshotUrl()}');">
-		  <img src="imgs/admin/icon_image-16.png" alt="Screenshot" />
-		</a>
-	  {/if}	  
-     </div>
-    </td>
-   </tr>
-  {/foreach}  
-
   {foreach from=$blogTemplateSets item=blogtemplate}
    <tr class="{cycle values="odd,even"}">
     <td>
@@ -99,6 +69,36 @@
    </tr>
   {/foreach}
 
+  {foreach from=$globalTemplateSets item=sitetemplate}
+   <tr class="{cycle values="odd,even"}">
+    <td>
+     <div align="center"><span style="background-color: #CCCCCC">&nbsp;&nbsp;&nbsp;</span></div>
+    </td>
+    <td  class="col_highlighted">
+     <img src="imgs/admin/icon_folder-16.png" />
+     {$sitetemplate->getName()}
+    </td>
+    <td>
+     {$locale->tr("global")}
+    </td>
+    <td>
+     <div class="list_action_button">
+      <img src="imgs/admin/icon_empty-16.png" />
+      <img src="imgs/admin/icon_empty-16.png" />
+      <a href="?op=blogCopyTemplateSet&amp;type=1&amp;templateId={$sitetemplate->getName()}" id="{$sitetemplate->getName()}" onClick="copyTemplateSetTo(this.id)" >
+        <img src="imgs/admin/icon_copy-16.png" alt="{$locale->tr("copy")}" />
+      </a>
+      <img src="imgs/admin/icon_empty-16.png" />
+	  {if $sitetemplate->hasScreenshot()}
+	    <a href="javascript:openScreenshotWindow('{$sitetemplate->getScreenshotUrl()}');">
+		  <img src="imgs/admin/icon_image-16.png" alt="Screenshot" />
+		</a>
+	  {/if}	  
+     </div>
+    </td>
+   </tr>
+  {/foreach}  
+
   </tbody>
  </table>
  </div>
@@ -109,4 +109,4 @@
  </form>
  
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}



More information about the pLog-svn mailing list