[bknr-cvs] hans changed trunk/projects/quickhoney/website/

BKNR Commits bknr at bknr.net
Sat Nov 1 10:06:29 UTC 2008


Revision: 4024
Author: hans
URL: http://bknr.net/trac/changeset/4024

Revive full image display.

A   trunk/projects/quickhoney/website/static/image-full.html
U   trunk/projects/quickhoney/website/static/javascript.js
D   trunk/projects/quickhoney/website/templates/image-full.xml

Added: trunk/projects/quickhoney/website/static/image-full.html
===================================================================
--- trunk/projects/quickhoney/website/static/image-full.html	                        (rev 0)
+++ trunk/projects/quickhoney/website/static/image-full.html	2008-11-01 10:06:28 UTC (rev 4024)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+	  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <link rel="stylesheet" href="/static/yui/reset-fonts/reset-fonts.css,image-full.css" />
+    <script src="/static/image-full.js" type="text/javascript"> </script> 
+    <title>QuickHoney image</title>
+  </head>
+  <body id="imagedetail">
+    <div id="logo">
+      <a href="javascript:window.close()">
+	<img src="/image/quickhoney-black" id="the_logo" name="logo" border="0" />
+      </a>
+    </div>
+
+    <div id="image">
+      <a href="javascript:window.close()">
+	<img src="/image/trans" id="the_image" name="image" border="0" />
+      </a>
+    </div>
+  </body>
+  <script language="javascript">
+    load_image();
+  </script>
+</html>

Modified: trunk/projects/quickhoney/website/static/javascript.js
===================================================================
--- trunk/projects/quickhoney/website/static/javascript.js	2008-10-30 16:12:57 UTC (rev 4023)
+++ trunk/projects/quickhoney/website/static/javascript.js	2008-11-01 10:06:28 UTC (rev 4024)
@@ -1200,7 +1200,7 @@
 }
 
 function enlarge() {
-    var detail_window = open("image-full#" + encodeURI(current_image.name),
+    var detail_window = open("/static/image-full.html#" + encodeURI(current_image.name),
 			     "_new",
 			     "width=" + current_image.width + ",height=" + current_image.height + ",status=no,toolbar=no,menubar=no");
 

Deleted: trunk/projects/quickhoney/website/templates/image-full.xml
===================================================================
--- trunk/projects/quickhoney/website/templates/image-full.xml	2008-10-30 16:12:57 UTC (rev 4023)
+++ trunk/projects/quickhoney/website/templates/image-full.xml	2008-11-01 10:06:28 UTC (rev 4024)
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-	  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html
-   xmlns="http://www.w3.org/1999/xhtml"
-   xmlns:bknr="http://bknr.net"
-   >
-  <head>
-    <link rel="stylesheet" href="/static/yui/reset-fonts/reset-fonts.css,image-full.css" />
-    <script src="/static/image-full.js" type="text/javascript"> </script> 
-    <title>QuickHoney image</title>
-  </head>
-  <body id="imagedetail">
-    <div id="logo">
-      <a href="javascript:window.close()">
-	<img src="/image/quickhoney-black" id="the_logo" name="logo" border="0" />
-      </a>
-    </div>
-
-    <div id="image">
-      <a href="javascript:window.close()">
-	<img src="/image/trans" id="the_image" name="image" border="0" />
-      </a>
-    </div>
-  </body>
-  <script language="javascript">
-    load_image();
-  </script>
-</html>





More information about the Bknr-cvs mailing list