[pLog-svn] r913 - in plog/trunk/templates: blueish grey standard

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Feb 1 22:13:44 GMT 2005


Author: oscar
Date: 2005-02-01 22:13:44 +0000 (Tue, 01 Feb 2005)
New Revision: 913

Modified:
   plog/trunk/templates/blueish/error.template
   plog/trunk/templates/grey/error.template
   plog/trunk/templates/standard/error.template
Log:
fixed issue 54 by adding a simple "back" functionality via javascript

Modified: plog/trunk/templates/blueish/error.template
===================================================================
--- plog/trunk/templates/blueish/error.template	2005-02-01 22:10:48 UTC (rev 912)
+++ plog/trunk/templates/blueish/error.template	2005-02-01 22:13:44 UTC (rev 913)
@@ -13,6 +13,8 @@
      </td>
      <td>
       {$locale->tr($message)}
+	  <br/><br/>
+	  <a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
      </td>
     </tr>
    </table>   

Modified: plog/trunk/templates/grey/error.template
===================================================================
--- plog/trunk/templates/grey/error.template	2005-02-01 22:10:48 UTC (rev 912)
+++ plog/trunk/templates/grey/error.template	2005-02-01 22:13:44 UTC (rev 913)
@@ -1,4 +1,5 @@
 {include file="$blogtemplate/header.template"}
  <h1>{$locale->tr("error")}</h1>
- {$locale->tr($message)}
+ <p>{$locale->tr($message)}</p>
+ <p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
 {include file="$blogtemplate/footer.template"}

Modified: plog/trunk/templates/standard/error.template
===================================================================
--- plog/trunk/templates/standard/error.template	2005-02-01 22:10:48 UTC (rev 912)
+++ plog/trunk/templates/standard/error.template	2005-02-01 22:13:44 UTC (rev 913)
@@ -1,4 +1,5 @@
 		{include file="$blogtemplate/header.template"} 
  	<h2>{$locale->tr("error")}</h2>
- 		{$locale->tr($message)}
+ 		<p>{$locale->tr($message)}</p>
+		<p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
 		{include file="$blogtemplate/footer.template"} 




More information about the pLog-svn mailing list