Add the fullscreen templates; forgot to do so earlier.
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 31 Jul 2006 15:06:23 +0000 (17:06 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Mon, 31 Jul 2006 15:06:23 +0000 (17:06 +0200)
templates/default/fullscreen-footer [new file with mode: 0644]
templates/default/fullscreen-header [new file with mode: 0644]

diff --git a/templates/default/fullscreen-footer b/templates/default/fullscreen-footer
new file mode 100644 (file)
index 0000000..d954c5f
--- /dev/null
@@ -0,0 +1,15 @@
+];
+var global_vhost = "%VHOST%";
+var global_evt = "%EVENT%";
+var global_image_num = %START%;
+//-->
+    </script>
+    <script type="text/JavaScript" src="/pr0n-fullscreen.js"></script>
+  </head>
+  <body onresize="relayout();" onload="relayout();" onkeydown="key_down(event.which);" onkeyup="key_up(event.which);">
+    <div class="container" id="main"></div>
+    <img id="previous" src="/previous.png" alt="<-" onmousedown="if (can_go_previous()) set_opacity('previous', 1.0)" onmouseup="if (can_go_previous()) { set_opacity('previous', 0.7); go_previous(); }" onmouseout="if (can_go_previous()) { set_opacity('previous', 0.7); }" />
+    <img id="next" src="/next.png" alt="->" onmousedown="if (can_go_next()) set_opacity('next', 1.0)" onmouseup="if (can_go_next()) { set_opacity('next', 0.7); go_next(); }" onmouseout="if (can_go_next()) { set_opacity('next', 0.7); }" />
+  </body>
+</html>
+
diff --git a/templates/default/fullscreen-header b/templates/default/fullscreen-header
new file mode 100644 (file)
index 0000000..c8862ec
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE
+  html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+  <head>
+    <title>%TITLE%</title>
+    <link rel="stylesheet" href="/pr0n-fullscreen.css" type="text/css" />
+    <script type="text/JavaScript">
+<!--
+var global_image_list = [