Add tweaks for Skøyen. I don't like having this part of bzr, though...
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 6 Aug 2006 22:22:25 +0000 (00:22 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 6 Aug 2006 22:22:25 +0000 (00:22 +0200)
24 files changed:
perl/Sesse/pr0n/Index.pm
perl/Sesse/pr0n/Listing.pm
templates/skoyen.bildereks.knatten.com/date [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/event-listing [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/footer [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/fullscreen [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/header [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/imgsperpage [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/imgsperpage-unlimited [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/infobox [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/infobox-off [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/infobox-on [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/nextpage [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/overloadmode [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/prevpage [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/show [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/show-all [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/show-selected [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/submittedby [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/thispage [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/thumbsize [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/viewres [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/viewres-original [new file with mode: 0644]
templates/skoyen.bildereks.knatten.com/viewres-unlimited [new file with mode: 0644]

index b21a39a9adc69dede8a514ca9dd156d5560fd9ca..bf201acab472241574e7d3427bcb5b530a16a44d 100644 (file)
@@ -23,7 +23,7 @@ sub handler {
        }
 
        # Internal? (Ugly?) 
-       if ($r->get_server_name =~ /internal/) {
+       if ($r->get_server_name =~ /internal/ || $r->get_server_name =~ /skoyen\.bilder\.knatten\.com/) {
                my $user = Sesse::pr0n::Common::check_access($r);
                if (!defined($user)) {
                        return Apache2::Const::OK;
index 041e9568046e3625f7820d695a9515b9b418326f..f478bb892b36319169ab39a1df5d34a669a897b5 100644 (file)
@@ -9,7 +9,7 @@ sub handler {
        my $dbh = Sesse::pr0n::Common::get_dbh();
 
         # Internal? (Ugly?)
-       if ($r->get_server_name =~ /internal/) {
+       if ($r->get_server_name =~ /internal/ || $r->get_server_name =~ /skoyen\.bilder\.knatten\.com/) {
                my $user = Sesse::pr0n::Common::check_access($r);
                if (!defined($user)) {
                        return Apache2::Const::OK;
diff --git a/templates/skoyen.bildereks.knatten.com/date b/templates/skoyen.bildereks.knatten.com/date
new file mode 100644 (file)
index 0000000..1de41ba
--- /dev/null
@@ -0,0 +1,3 @@
+    <h2 class="date">Dato: %DATE%</h2>
+
+
diff --git a/templates/skoyen.bildereks.knatten.com/event-listing b/templates/skoyen.bildereks.knatten.com/event-listing
new file mode 100644 (file)
index 0000000..7ab4369
--- /dev/null
@@ -0,0 +1 @@
+Bildegalleri
diff --git a/templates/skoyen.bildereks.knatten.com/footer b/templates/skoyen.bildereks.knatten.com/footer
new file mode 100644 (file)
index 0000000..71655f5
--- /dev/null
@@ -0,0 +1,8 @@
+    <hr />
+    <p class="footer">pr0n %VERSION%,
+      &copy; 2004-2006 <a href="http://www.sesse.net/">Steinar H. Gunderson</a>. All images
+      are copyright their respective owners; please see the
+      <a href="/faq.html">FAQ</a> for more information.</p>
+  </body>
+</html>
+
diff --git a/templates/skoyen.bildereks.knatten.com/fullscreen b/templates/skoyen.bildereks.knatten.com/fullscreen
new file mode 100644 (file)
index 0000000..dd067c2
--- /dev/null
@@ -0,0 +1 @@
+Vis bilder i fullskjerm
diff --git a/templates/skoyen.bildereks.knatten.com/header b/templates/skoyen.bildereks.knatten.com/header
new file mode 100644 (file)
index 0000000..0c3ac83
--- /dev/null
@@ -0,0 +1,13 @@
+<?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="no">
+  <head>
+    <title>%TITLE%</title>
+    <link rel="stylesheet" href="/skoyen.css" type="text/css" />
+  </head>
+
+  <body>
+    <h1>%TITLE%</h1>
+
diff --git a/templates/skoyen.bildereks.knatten.com/imgsperpage b/templates/skoyen.bildereks.knatten.com/imgsperpage
new file mode 100644 (file)
index 0000000..39b55ff
--- /dev/null
@@ -0,0 +1 @@
+Antall bilder per side
diff --git a/templates/skoyen.bildereks.knatten.com/imgsperpage-unlimited b/templates/skoyen.bildereks.knatten.com/imgsperpage-unlimited
new file mode 100644 (file)
index 0000000..d6b2e92
--- /dev/null
@@ -0,0 +1 @@
+Ubegrenset
diff --git a/templates/skoyen.bildereks.knatten.com/infobox b/templates/skoyen.bildereks.knatten.com/infobox
new file mode 100644 (file)
index 0000000..a1dccd7
--- /dev/null
@@ -0,0 +1 @@
+Informasjonsboks
diff --git a/templates/skoyen.bildereks.knatten.com/infobox-off b/templates/skoyen.bildereks.knatten.com/infobox-off
new file mode 100644 (file)
index 0000000..8987383
--- /dev/null
@@ -0,0 +1 @@
+Av
diff --git a/templates/skoyen.bildereks.knatten.com/infobox-on b/templates/skoyen.bildereks.knatten.com/infobox-on
new file mode 100644 (file)
index 0000000..cac1758
--- /dev/null
@@ -0,0 +1 @@
+På
diff --git a/templates/skoyen.bildereks.knatten.com/nextpage b/templates/skoyen.bildereks.knatten.com/nextpage
new file mode 100644 (file)
index 0000000..771ec7b
--- /dev/null
@@ -0,0 +1 @@
+Neste side
diff --git a/templates/skoyen.bildereks.knatten.com/overloadmode b/templates/skoyen.bildereks.knatten.com/overloadmode
new file mode 100644 (file)
index 0000000..e68cf7c
--- /dev/null
@@ -0,0 +1,4 @@
+    <p><strong>Note:</strong> <em>System is currently in overload mode due to high traffic.
+      No server-side scaling (whether of thumbnails or of full-sized images) will be done, so
+      only those already cached will work. We apologize for the inconvenience; please come back
+      when the load has settled. :-)</em></p>
diff --git a/templates/skoyen.bildereks.knatten.com/prevpage b/templates/skoyen.bildereks.knatten.com/prevpage
new file mode 100644 (file)
index 0000000..71bde9d
--- /dev/null
@@ -0,0 +1 @@
+Forrige side
diff --git a/templates/skoyen.bildereks.knatten.com/show b/templates/skoyen.bildereks.knatten.com/show
new file mode 100644 (file)
index 0000000..1c2ce55
--- /dev/null
@@ -0,0 +1 @@
+Vis
diff --git a/templates/skoyen.bildereks.knatten.com/show-all b/templates/skoyen.bildereks.knatten.com/show-all
new file mode 100644 (file)
index 0000000..d1479fa
--- /dev/null
@@ -0,0 +1 @@
+Alle bilder
diff --git a/templates/skoyen.bildereks.knatten.com/show-selected b/templates/skoyen.bildereks.knatten.com/show-selected
new file mode 100644 (file)
index 0000000..cf82511
--- /dev/null
@@ -0,0 +1 @@
+Kun utvalgte bilder
diff --git a/templates/skoyen.bildereks.knatten.com/submittedby b/templates/skoyen.bildereks.knatten.com/submittedby
new file mode 100644 (file)
index 0000000..6d6c8aa
--- /dev/null
@@ -0,0 +1 @@
+    <h2>Tatt av: %AUTHOR%</h2>
diff --git a/templates/skoyen.bildereks.knatten.com/thispage b/templates/skoyen.bildereks.knatten.com/thispage
new file mode 100644 (file)
index 0000000..e3a9ee9
--- /dev/null
@@ -0,0 +1 @@
+Denne siden
diff --git a/templates/skoyen.bildereks.knatten.com/thumbsize b/templates/skoyen.bildereks.knatten.com/thumbsize
new file mode 100644 (file)
index 0000000..d579ae0
--- /dev/null
@@ -0,0 +1 @@
+Størrelse på småbilder
diff --git a/templates/skoyen.bildereks.knatten.com/viewres b/templates/skoyen.bildereks.knatten.com/viewres
new file mode 100644 (file)
index 0000000..9259f61
--- /dev/null
@@ -0,0 +1 @@
+Skalér ned alle bilder (når man klikker på dem) til
diff --git a/templates/skoyen.bildereks.knatten.com/viewres-original b/templates/skoyen.bildereks.knatten.com/viewres-original
new file mode 100644 (file)
index 0000000..d7d77af
--- /dev/null
@@ -0,0 +1 @@
+Alltid originalfil
diff --git a/templates/skoyen.bildereks.knatten.com/viewres-unlimited b/templates/skoyen.bildereks.knatten.com/viewres-unlimited
new file mode 100644 (file)
index 0000000..0999f6a
--- /dev/null
@@ -0,0 +1 @@
+Ingen skalering