[pLog-svn] r700 - plog/trunk/templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sat Jan 8 23:28:36 GMT 2005


Author: oscar
Date: 2005-01-08 23:28:35 +0000 (Sat, 08 Jan 2005)
New Revision: 700

Modified:
   plog/trunk/templates/admin/blogtemplatechooser.template
Log:
updated the look of this page to make it look like all the other pages

Modified: plog/trunk/templates/admin/blogtemplatechooser.template
===================================================================
--- plog/trunk/templates/admin/blogtemplatechooser.template	2005-01-08 23:20:19 UTC (rev 699)
+++ plog/trunk/templates/admin/blogtemplatechooser.template	2005-01-08 23:28:35 UTC (rev 700)
@@ -1,3 +1,4 @@
+{assign var=htmlarea value=$blogsettings->getValue("htmlarea_enabled")}
 <html>
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}"/> 
@@ -2,21 +3,59 @@
   <link rel="stylesheet" href="styles/admin.css" type="text/css" />
-  <title>{$locale->tr("select_picture")}</title>
+  <title>{$locale->tr("admin_interface_title")}</title>
   <script type="text/javascript" src="js/htmlarea/popups/popup.js"></script>
   <script type="text/javascript" src="js/htmlarea/htmlarea-plog-resourcelist.js"></script>
   <script type="text/javascript" src="js/ui/common.js"></script>
+  <script type="text/javascript">
+   var plogBaseUrl = '{$baseurl}';
+  </script>
+  <style>{literal}
+   html,body {
+    margin           : 0px;
+    padding          : 0px;
+    background       : #FFFFFF;
+   }
+   #container
+   {
+    width            : 415px;
+    text-align       : left;
+    margin-left      : auto;
+    margin-right     : auto;
+   }
+.info
+{
+    margin-bottom    : 10px;
+    width            : 285px;
+}
+#list_action_bar
+{
+    width            : 350px;
+    padding          : 4px;
+}
+  {/literal}</style>
  </head>
- <body>
- <div id="container">
+<body onLoad="resourceListWindowInit();">
+<div id="container">
+<table class="info">
+ <thead>
+  <th style="width:410px";>{$locale->tr("template")}</th>
+ </thead>  
+ <tbody>
   {foreach from=$templates item=template}
-  <div id="templateSet">
-   {assign var=templateName value=$template->getName()}
-   <b>{$templateName}</b><br/>
-   <img src="{$template->getScreenshotUrl()}" alt="{$templateName}" height="300" width="400" />
-   <br/>
-   <a href="javascript:blogTemplateSelector('{$templateName}')">{$locale->tr("select")}</a>
-  </div>
+   <tr class="{cycle values="odd,even"}">
+    <td>
+     {assign var=templateName value=$template->getName()}
+     <b>{$templateName}</b><br/>
+     <img src="{$template->getScreenshotUrl()}" alt="{$templateName}" height="300" width="400" />
+     <br/>
+     <a href="javascript:blogTemplateSelector('{$templateName}')">{$locale->tr("select")}</a>
+    </td>
+   </tr> 
   {/foreach}
- </div>
- <a href="javascript:window.close()">{$locale->tr("close_window")}</a>
- </body>
+</tbody>
+</table>
+<div id="list_action_bar">
+  <a href="javascript:window.close()">{$locale->tr("close_window")}</a>
+</div>
+</div>
+</body>
 </html>
\ No newline at end of file




More information about the pLog-svn mailing list