generated from coulomb/repo-seed
Added prior art yawex perl wiki
This commit is contained in:
15
history/priorart/yawex-0.7.4/README
Normal file
15
history/priorart/yawex-0.7.4/README
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Die CVS Variante von Yawex verdient ein sinniges README.
|
||||||
|
|
||||||
|
Verzeichnisse:
|
||||||
|
apache/
|
||||||
|
bin/
|
||||||
|
javascript/
|
||||||
|
lib/
|
||||||
|
pages/
|
||||||
|
templates/
|
||||||
|
tools/
|
||||||
|
|
||||||
|
Was fehlt:
|
||||||
|
- INSTALL Datei, die erklärt wie eine sinnige Installation funktioniert.
|
||||||
|
- TODO Datei mit den wesentlichsten Vorhaben nd vorgeschlagenen
|
||||||
|
Verbesserungen.
|
||||||
4
history/priorart/yawex-0.7.4/apache/README
Normal file
4
history/priorart/yawex-0.7.4/apache/README
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Beispiel für eine Erweiterung der Apache Konfiguration bei
|
||||||
|
der Installation von yawex mit seinen verschiedenen
|
||||||
|
Hilfsdokumenten.
|
||||||
|
|
||||||
3
history/priorart/yawex-0.7.4/apache/httpd.conf.add
Normal file
3
history/priorart/yawex-0.7.4/apache/httpd.conf.add
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
# yawex configuration
|
||||||
|
Include /etc/httpd/yawex.conf
|
||||||
10
history/priorart/yawex-0.7.4/apache/yawex.conf
Normal file
10
history/priorart/yawex-0.7.4/apache/yawex.conf
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<Directory /var/www/testwiki>
|
||||||
|
AllowOverride AuthConfig
|
||||||
|
Options FollowSymLinks
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
alias /testwiki/templates/ /var/www/testwiki/templates/
|
||||||
|
alias /testwiki/javascript/ /var/www/testwiki/javascript/
|
||||||
|
scriptalias /testwiki/member /var/www/testwiki/login/yawex.pl
|
||||||
|
scriptalias /testwiki/public /var/www/testwiki/cgi-bin/yawex.pl
|
||||||
|
scriptalias /testwiki/register /var/www/testwiki/cgi-bin/yawex.pl
|
||||||
138
history/priorart/yawex-0.7.4/bin/yawex.pl
Executable file
138
history/priorart/yawex-0.7.4/bin/yawex.pl
Executable file
@@ -0,0 +1,138 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
#
|
||||||
|
# main cgiscript for yawex
|
||||||
|
#
|
||||||
|
# $Header: /var/local/cvs/yawex/bin/yawex.pl,v 1.3 2004/10/03 14:24:08 bernd Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
use CGI qw/:standard/;
|
||||||
|
use CGI::Carp 'fatalsToBrowser';
|
||||||
|
$CGI::POST_MAX=1024 * 100; # max 100k POSTs
|
||||||
|
$CGI::DISABLE_UPLOADS = 1; # no uploads
|
||||||
|
|
||||||
|
use Yawex::PageLookUp;
|
||||||
|
use Yawex::PageActions;
|
||||||
|
use Yawex::Page;
|
||||||
|
use Yawex::Auth;
|
||||||
|
use Yawex::Errors;
|
||||||
|
use Yawex::Debug;
|
||||||
|
use Conf::TestWiki;
|
||||||
|
|
||||||
|
print header();
|
||||||
|
|
||||||
|
#die und warn sauber abhandeln
|
||||||
|
$SIG{__DIE__} = $SIG{__WARN__} =
|
||||||
|
sub {
|
||||||
|
Yawex::Errors::handler(@_);
|
||||||
|
};
|
||||||
|
|
||||||
|
#laufzeit begrenzen
|
||||||
|
alarm(20);
|
||||||
|
|
||||||
|
#check for POST size error
|
||||||
|
my $dummy = param('dummy');
|
||||||
|
if (cgi_error()) {
|
||||||
|
print header(-status => cgi_error());
|
||||||
|
exit 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#arbeitsverzeichnis setzen
|
||||||
|
chdir "testwiki" ||
|
||||||
|
chdir "/var/www/bernd-worsch.de/friendswiki/pages" ||
|
||||||
|
chdir "/var/www/testwiki/pages" ||
|
||||||
|
instant_install();
|
||||||
|
|
||||||
|
#umask setzen
|
||||||
|
umask 0000;
|
||||||
|
|
||||||
|
#request hash initialisieren
|
||||||
|
#
|
||||||
|
#simpler wäre es mit der CGI param() Funktion weiter zu arbeiten.
|
||||||
|
#kann aber nicht sagen wie ich dann action und page parameter
|
||||||
|
#modifiziert bekomme :(
|
||||||
|
#
|
||||||
|
my %request = ();
|
||||||
|
foreach (param()) {
|
||||||
|
$request{$_} = param($_);
|
||||||
|
}
|
||||||
|
|
||||||
|
$request{'full_url'} = url();
|
||||||
|
$request{'relative_url'} = url(-relative=>1);
|
||||||
|
$request{'absolute_url'} = url(-absolute=>1);
|
||||||
|
$request{'url_with_path'} = url(-path_info=>1);
|
||||||
|
$request{'url_with_path_and_query'} = url(-path_info=>1, -query=>1);
|
||||||
|
$request{'netloc'} = url(-base=>1);
|
||||||
|
|
||||||
|
$request{'referer'} = referer() || $Conf::default_referer;
|
||||||
|
$request{'user'} = Yawex::Auth::resolve_user(remote_user());
|
||||||
|
|
||||||
|
$request{'debug'} = param('debug');
|
||||||
|
unless ($request{'debug'} && ($request{'debug'} == 1)) {
|
||||||
|
if ($request{'referer'} =~ /debug=1/) {
|
||||||
|
$request{'debug'} = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Yawex::Debug::show_request(\%request, "raw") if $request{'debug'};
|
||||||
|
|
||||||
|
sub instant_install {
|
||||||
|
print "Welcome to Yawex!";
|
||||||
|
print header(), "Sorry 'instant_install()' not implemented. Exiting!";
|
||||||
|
exit 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub lastpage {
|
||||||
|
my $result;
|
||||||
|
if ($request{'referer'} =~ /page=([^&]+)/) {
|
||||||
|
$result = $1;
|
||||||
|
} else {
|
||||||
|
$result = "UnknownPage"; #fake name of lastpage if necessary
|
||||||
|
}
|
||||||
|
if (-d $result) {
|
||||||
|
$result .= "/$result";
|
||||||
|
}
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
# resolve action and page (needs cleanup)
|
||||||
|
if ($request{'relative_url'} eq 'register') {
|
||||||
|
$request{'page'} = "NewUser";
|
||||||
|
$request{'relative_url'} = $Conf::publicurl;
|
||||||
|
} elsif (exists $request{'form_quicksearch'} && $request{'form_quicksearch'}) {
|
||||||
|
#todo: jump to page if appropriate
|
||||||
|
#$request{'page'} = $request{'form_quicksearch'};
|
||||||
|
#$request{'action'} = "open";
|
||||||
|
$request{'page'} = Yawex::Page::topic($request{'page'}) . "/SearchPage";
|
||||||
|
$request{'action'} = "open";
|
||||||
|
delete $request{'form-button'};
|
||||||
|
} else {
|
||||||
|
$request{'page'} = param('page') || param('newpage');
|
||||||
|
}
|
||||||
|
|
||||||
|
$request{'lastpage'} = lastpage();
|
||||||
|
Yawex::Debug::show_request(\%request, "1") if $request{'debug'};
|
||||||
|
|
||||||
|
Yawex::PageActions::resolve_action(\%request);
|
||||||
|
Yawex::Debug::show_request(\%request, "action resolved") if $request{'debug'};
|
||||||
|
|
||||||
|
my $original_page = $request{'page'};
|
||||||
|
($request{'state'}, $request{'page'}) =
|
||||||
|
Yawex::PageLookUp::lookup_page($request{'page'}, $request{'lastpage'});
|
||||||
|
if ($request{'state'} == 8) { # do not change to virtual pages
|
||||||
|
$request{'virtualpage'} = $request{'page'};
|
||||||
|
$request{'page'} = $original_page;
|
||||||
|
}
|
||||||
|
|
||||||
|
Yawex::Debug::show_request(\%request, "page resolved") if $request{'debug'};
|
||||||
|
|
||||||
|
# what to do when page resolution failed
|
||||||
|
if ($request{'state'} == 0 && $request{'action'} ne 'create') {
|
||||||
|
$request{'action'} = 'new';
|
||||||
|
Yawex::Debug::show_request(\%request, "unknown page") if $request{'debug'};
|
||||||
|
}
|
||||||
|
|
||||||
|
eval('Yawex::PageActions::action_'.$request{'action'}.'(\%request)');
|
||||||
|
|
||||||
|
|
||||||
95
history/priorart/yawex-0.7.4/javascript/wikimarkup.js
Normal file
95
history/priorart/yawex-0.7.4/javascript/wikimarkup.js
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
//
|
||||||
|
// wikimarkup.js
|
||||||
|
//
|
||||||
|
// Javascript Hilfsfunktionen zum Umgang mit Wiki Quelltext
|
||||||
|
//
|
||||||
|
// $Header: /var/local/cvs/yawex/javascript/wikimarkup.js,v 1.4 2004/07/17 22:02:21 bernd Exp $
|
||||||
|
//
|
||||||
|
// todo: Datei über die registrierten Markup Module generieren
|
||||||
|
//
|
||||||
|
|
||||||
|
//alert("Hallo wikimarkup.js");
|
||||||
|
|
||||||
|
function test() {
|
||||||
|
alert("originaltext: \n" + originaltext);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// ersetzt den Text im Editierfenster
|
||||||
|
//
|
||||||
|
function setcontent(text) {
|
||||||
|
var ta = document.getElementById("basetext");
|
||||||
|
ta.value = text;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// packt den im Editierfenster markierten Text mit anderem Text ein
|
||||||
|
//
|
||||||
|
function wrap(left, right) {
|
||||||
|
if (! left) { return; }
|
||||||
|
if (! right) { right = ""; }
|
||||||
|
|
||||||
|
var ta = document.getElementById("basetext");
|
||||||
|
|
||||||
|
var txt = ta.value;
|
||||||
|
|
||||||
|
var sStart = 0;
|
||||||
|
var sEnd = 0;
|
||||||
|
if (document.getSelection) { // mozilla
|
||||||
|
sStart = ta.selectionStart;
|
||||||
|
sEnd = ta.selectionEnd;
|
||||||
|
} else { if (document.selection && document.selection.createRange) { // ie
|
||||||
|
range = document.selection.createRange;
|
||||||
|
sStart = txt.indexOf(range.text);
|
||||||
|
sEnd = sStart + range.text.length;
|
||||||
|
} else { // other browsers
|
||||||
|
alert("sorry, not available in your browser");
|
||||||
|
return;
|
||||||
|
} }
|
||||||
|
|
||||||
|
var sPre = txt.substr(0, sStart);
|
||||||
|
var sText = txt.substr(sStart, sEnd-sStart);
|
||||||
|
var sPost = txt.substr(sEnd, txt.length-sEnd);
|
||||||
|
|
||||||
|
ta.value = sPre + left + sText + right + sPost;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// schaltet die Sichtbarkeit von Notizbereichen um
|
||||||
|
// Notizbereiche sind über span Tags realisiert, der
|
||||||
|
// innere kann über einen Schalterlink im äußeren
|
||||||
|
// ein und ausgeblendet werden. Dabei ändert der
|
||||||
|
// äußere Bereich die Darstellung von inline zu block.
|
||||||
|
//
|
||||||
|
function toggleNote(id) {
|
||||||
|
var note = document.getElementById(id);
|
||||||
|
var notetext = document.getElementById(id + 't');
|
||||||
|
if (notetext.style.display == "inline") {
|
||||||
|
note.style.display = "inline";
|
||||||
|
notetext.style.display = "none";
|
||||||
|
} else {
|
||||||
|
note.style.display = "block";
|
||||||
|
notetext.style.display = "inline";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleNotes() {
|
||||||
|
var i = 1;
|
||||||
|
while (document.getElementById("n"+i)) {
|
||||||
|
toggleNote("n"+i);
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// fügt in das Kommentarfeld die Rohdaten für einen Kommentar
|
||||||
|
// zu einem Autorenbeitrag ein.
|
||||||
|
//
|
||||||
|
// authortagnumber - Nummer des betreffenden Autorenbeitrags
|
||||||
|
//
|
||||||
|
function addComment(authortagnumber) {
|
||||||
|
var taComment = document.getElementById("form-text");
|
||||||
|
taComment.value = ":)->" + authortagnumber + " Finde ich auch!";
|
||||||
|
taComment.focus();
|
||||||
|
}
|
||||||
95
history/priorart/yawex-0.7.4/makefile
Normal file
95
history/priorart/yawex-0.7.4/makefile
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
#
|
||||||
|
# yawex makefile
|
||||||
|
#
|
||||||
|
# simplistic and quite inflexible, but better than nothing
|
||||||
|
#
|
||||||
|
# $Header: /var/local/cvs/yawex/makefile,v 1.10 2005/01/04 00:25:18 bernd Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
installdir=/var/www/testwiki
|
||||||
|
pkgversion=yawex-0.7.4
|
||||||
|
usrgrp=wwwrun:www
|
||||||
|
#installdir=/var/www/bernd-worsch.de/friendswiki
|
||||||
|
#usrgrp=berndw:users
|
||||||
|
|
||||||
|
unit_test: # alle unit tests durchführen
|
||||||
|
cd lib/Yawex/test; alltests.pl
|
||||||
|
|
||||||
|
test_analyse: # text analyse test
|
||||||
|
cd lib/Yawex/test; analyse.pl analyseme.txt
|
||||||
|
|
||||||
|
test_render: # rendertest
|
||||||
|
cd lib/Yawex/test; render.pl renderme.txt
|
||||||
|
|
||||||
|
test_yawex: # testweise eine Seite rendern
|
||||||
|
cd bin; yawex.pl page=BerndWorsch
|
||||||
|
|
||||||
|
install_local: # lokale installation der software mit vorheriger paketierung
|
||||||
|
make package
|
||||||
|
make install
|
||||||
|
# make install_pages
|
||||||
|
make restart_apache
|
||||||
|
|
||||||
|
install: # standard installation
|
||||||
|
mkdir -p $(installdir)
|
||||||
|
make install_templates
|
||||||
|
make install_js
|
||||||
|
make install_cgi
|
||||||
|
make install_conf
|
||||||
|
|
||||||
|
install_cgi: # cgi scripte installieren
|
||||||
|
mkdir -p $(installdir)/cgi-bin/
|
||||||
|
sudo cp $(pkgversion)/bin/yawex.pl $(installdir)/cgi-bin/
|
||||||
|
sudo cp -r $(pkgversion)/lib/Yawex/ $(installdir)/cgi-bin/
|
||||||
|
sudo cp -r $(pkgversion)/lib/Text/ $(installdir)/cgi-bin/
|
||||||
|
|
||||||
|
install_login: # login infrastruktur aufbauen
|
||||||
|
sudo mkdir -p $(installdir)/login/
|
||||||
|
sudo chmod -R 777 $(installdir)/login
|
||||||
|
sudo cp $(pkgversion)/templates/htaccess $(installdir)/login/.htaccess
|
||||||
|
sudo ln -fs $(installdir)/cgi-bin/yawex.pl $(installdir)/login/yawex.pl
|
||||||
|
sudo ln -fs $(installdir)/cgi-bin/Yawex $(installdir)/login/Yawex
|
||||||
|
sudo ln -fs $(installdir)/cgi-bin/Conf $(installdir)/login/Conf
|
||||||
|
sudo chown -R $(usrgrp) $(installdir)/login
|
||||||
|
sudo chmod -R 777 $(installdir)/login
|
||||||
|
|
||||||
|
install_conf: # Cinfigurations Informationen installieren
|
||||||
|
sudo cp -r $(pkgversion)/lib/Conf/ $(installdir)/cgi-bin/
|
||||||
|
|
||||||
|
clear_login: # ???
|
||||||
|
rm -r $(installdir)/login
|
||||||
|
|
||||||
|
install_pages: # Seiten in den ausgangszustand zurücksetzen
|
||||||
|
rm -fr $(installdir)/pages/
|
||||||
|
cp -r $(pkgversion)/pages/ $(installdir)
|
||||||
|
sudo chmod -R 777 $(installdir)/pages/
|
||||||
|
sudo chown -R $(usrgrp) $(installdir)
|
||||||
|
|
||||||
|
install_templates: # neue darstellungstemplates installieren
|
||||||
|
sudo cp -r $(pkgversion)/templates/ $(installdir)
|
||||||
|
sudo chown -R $(usrgrp) $(installdir)/templates
|
||||||
|
|
||||||
|
install_js: # javascript bibliotheken installieren
|
||||||
|
sudo cp -r $(pkgversion)/javascript/ $(installdir)
|
||||||
|
|
||||||
|
restart_apache: # apache server neustarten
|
||||||
|
sudo /etc/init.d/apache2 restart
|
||||||
|
|
||||||
|
show_log: # apache fehlerlog anzeigen
|
||||||
|
sudo tail -f /var/log/apache2/error_log
|
||||||
|
|
||||||
|
clean: # temporäre dateien löschen
|
||||||
|
rm -f `find . -name \*~`
|
||||||
|
rm -r $(pkgversion)/
|
||||||
|
|
||||||
|
package: # software neu paketieren
|
||||||
|
rm -fr $(pkgversion)/
|
||||||
|
mkdir -p $(pkgversion)/
|
||||||
|
cp -r README makefile bin lib pages templates javascript tools apache $(pkgversion)/
|
||||||
|
rm -f `find $(pkgversion) -name \*~`
|
||||||
|
rm -fr `find $(pkgversion) -name CVS`
|
||||||
|
tools/striptests `find $(pkgversion)/lib/Yawex -name \*.pm`
|
||||||
|
tar czf $(pkgversion).tgz $(pkgversion)/
|
||||||
|
|
||||||
|
shipout: paket ausliefern
|
||||||
|
mv $(pkgversion).tgz /home/bernd/private/2topics/4rootserver/
|
||||||
0
history/priorart/yawex-0.7.4/pages/CorePages/AllPages
Executable file
0
history/priorart/yawex-0.7.4/pages/CorePages/AllPages
Executable file
0
history/priorart/yawex-0.7.4/pages/CorePages/BackLinks
Executable file
0
history/priorart/yawex-0.7.4/pages/CorePages/BackLinks
Executable file
1
history/priorart/yawex-0.7.4/pages/CorePages/CorePage
Executable file
1
history/priorart/yawex-0.7.4/pages/CorePages/CorePage
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is CorePage
|
||||||
1
history/priorart/yawex-0.7.4/pages/CorePages/CorePages
Executable file
1
history/priorart/yawex-0.7.4/pages/CorePages/CorePages
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is CorePages
|
||||||
3
history/priorart/yawex-0.7.4/pages/CorePages/NewPage
Executable file
3
history/priorart/yawex-0.7.4/pages/CorePages/NewPage
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
Listet alle Seiten chronologisch nach Entstehung und ermöglicht
|
||||||
|
das anlegen neuer Seiten. (ähnlich einem Notizbuch)
|
||||||
|
|
||||||
0
history/priorart/yawex-0.7.4/pages/CorePages/RecentChanges
Executable file
0
history/priorart/yawex-0.7.4/pages/CorePages/RecentChanges
Executable file
2
history/priorart/yawex-0.7.4/pages/CorePages/SearchPage
Executable file
2
history/priorart/yawex-0.7.4/pages/CorePages/SearchPage
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
Ermöglicht die Volltextsuche im Wiki. Listet jeweils die Ergebnisse
|
||||||
|
der letzten Suche.
|
||||||
0
history/priorart/yawex-0.7.4/pages/CorePages/SiteMap
Executable file
0
history/priorart/yawex-0.7.4/pages/CorePages/SiteMap
Executable file
0
history/priorart/yawex-0.7.4/pages/HelpPages/GlobalPage
Executable file
0
history/priorart/yawex-0.7.4/pages/HelpPages/GlobalPage
Executable file
1
history/priorart/yawex-0.7.4/pages/HelpPages/HelpPage
Executable file
1
history/priorart/yawex-0.7.4/pages/HelpPages/HelpPage
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is HelpPage
|
||||||
1
history/priorart/yawex-0.7.4/pages/HelpPages/HelpPages
Executable file
1
history/priorart/yawex-0.7.4/pages/HelpPages/HelpPages
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is HelpPages
|
||||||
1
history/priorart/yawex-0.7.4/pages/SubContext/SubContext
Executable file
1
history/priorart/yawex-0.7.4/pages/SubContext/SubContext
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is SubContext
|
||||||
1
history/priorart/yawex-0.7.4/pages/SubContext/SubContextPage
Executable file
1
history/priorart/yawex-0.7.4/pages/SubContext/SubContextPage
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is SubContextPage
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
This is SubSubContext
|
||||||
1
history/priorart/yawex-0.7.4/pages/TopLevelPage
Executable file
1
history/priorart/yawex-0.7.4/pages/TopLevelPage
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is TopLevelPage
|
||||||
1
history/priorart/yawex-0.7.4/pages/UserPages/BerndWorsch
Executable file
1
history/priorart/yawex-0.7.4/pages/UserPages/BerndWorsch
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is BerndWorsch
|
||||||
1
history/priorart/yawex-0.7.4/pages/UserPages/UserPages
Executable file
1
history/priorart/yawex-0.7.4/pages/UserPages/UserPages
Executable file
@@ -0,0 +1 @@
|
|||||||
|
This is UserPages
|
||||||
27
history/priorart/yawex-0.7.4/pages/WelcomePage
Executable file
27
history/priorart/yawex-0.7.4/pages/WelcomePage
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
This is WelcomePage!
|
||||||
|
|
||||||
|
|
||||||
|
- NeueSeite
|
||||||
|
|
||||||
|
- NewPage
|
||||||
|
- SearchPage
|
||||||
|
- RecentChanges
|
||||||
|
|
||||||
|
|
||||||
|
- GlobalPages
|
||||||
|
- HelpPages
|
||||||
|
- UserPages
|
||||||
|
|
||||||
|
|
||||||
|
- WelcomePage
|
||||||
|
- TopLevelPage
|
||||||
|
|
||||||
|
|
||||||
|
- GlobalPage
|
||||||
|
- HelpPage
|
||||||
|
|
||||||
|
|
||||||
|
- SubContext
|
||||||
|
- SubContextPage
|
||||||
|
|
||||||
|
|
||||||
5
history/priorart/yawex-0.7.4/templates/htaccess
Normal file
5
history/priorart/yawex-0.7.4/templates/htaccess
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
AuthName "testwiki"
|
||||||
|
AuthType Basic
|
||||||
|
AuthUserFile /var/www/testwiki/login/htpasswd
|
||||||
|
require valid-user | user NewUser
|
||||||
|
AuthAuthoritative on
|
||||||
29
history/priorart/yawex-0.7.4/templates/template-devel.html
Normal file
29
history/priorart/yawex-0.7.4/templates/template-devel.html
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<center> TEMPLATE FUER EINE WIKISEITE </center><br>
|
||||||
|
|
||||||
|
<b>Seitenname:</b> ##{$pagename}## <br>
|
||||||
|
|
||||||
|
<b>Kontext:</b> ##{breadcrumbs()}## <br>
|
||||||
|
|
||||||
|
<b>Formularanfang:</b> ##{beginform()}## <br>
|
||||||
|
|
||||||
|
<b>Aktionen:</b> ##{actions()}## <br>
|
||||||
|
|
||||||
|
<b>Seiteninhalt:</b> <br>
|
||||||
|
##{$action ne 'edit' && show($page)}##
|
||||||
|
##{$action eq 'edit' && edit($page)}##
|
||||||
|
##{$state == 0 && create($original_page)}##
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<b>Formularende:</b> ##{endform()}## <br>
|
||||||
|
|
||||||
|
<b>Version:</b> ##{$version}## <br>
|
||||||
|
|
||||||
|
<b>Homeurl:</b> <a href="##{$homeurl}##">home</a> <br>
|
||||||
|
|
||||||
|
<br><center> ----- debug info follows ----- </center><br>
|
||||||
|
|
||||||
|
<b>Dies und Das:</b> ##{$original_page}##<br>
|
||||||
|
|
||||||
|
<b>Request:</b> ##{request()}## <br>
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/***************************************************************
|
||||||
|
* TITLE: Color Scheme Stylesheet for Gila *
|
||||||
|
* URI : http://www.oswd.org/design/???/gila/color-scheme.css *
|
||||||
|
* MODIF: 2003-02-03 1227 +0800 *
|
||||||
|
***************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Text Colors ###### */
|
||||||
|
|
||||||
|
h1, #bodyText a, .leftSideBar a, .leftSideBar span, .rightSideBar a
|
||||||
|
{ color: #a68c53; }
|
||||||
|
|
||||||
|
.headerTitle, .headerLinks *, .menuBar a:hover, .leftSideBar .sideBarTitle,
|
||||||
|
.leftSideBar a:hover, .leftSideBar .thisPage, .rightSideBar .sideBarTitle, #footer a
|
||||||
|
{ color: black; }
|
||||||
|
|
||||||
|
.headerTitle span, .menuBar, .menuBar *
|
||||||
|
{ color: white; }
|
||||||
|
|
||||||
|
.headerLinks
|
||||||
|
{ color: #b82619; }
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Background Colors ###### */
|
||||||
|
|
||||||
|
body
|
||||||
|
{ background-color: #f3f2eb; }
|
||||||
|
|
||||||
|
#bodyText, .headerLinks, .menuBar a:hover, .rightSideBar
|
||||||
|
{ background-color: white; }
|
||||||
|
|
||||||
|
#header
|
||||||
|
{ background-color: #b82619; }
|
||||||
|
|
||||||
|
.menuBar
|
||||||
|
{ background-color: black; }
|
||||||
|
|
||||||
|
.leftSideBar .sideBarTitle, .rightSideBar .sideBarTitle, #footer
|
||||||
|
{ background-color: #e6dfcf; }
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Border Colors ###### */
|
||||||
|
|
||||||
|
h1, #bodyText, .rightSideBar
|
||||||
|
{ border-color: #e6dfcf; }
|
||||||
|
|
||||||
|
acronym
|
||||||
|
{ border-color: #a68c53; }
|
||||||
|
|
||||||
|
/* ###### Additional Stuff ###### */
|
||||||
|
|
||||||
|
.verbatim {
|
||||||
|
background-color: #f3f2eb;
|
||||||
|
border-color: #e6dfcf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog {
|
||||||
|
background-color: #f3f2eb;
|
||||||
|
border-color: #e6dfcf;
|
||||||
|
}
|
||||||
252
history/priorart/yawex-0.7.4/templates/template-gila.css
Normal file
252
history/priorart/yawex-0.7.4/templates/template-gila.css
Normal file
@@ -0,0 +1,252 @@
|
|||||||
|
/*******************************************************
|
||||||
|
* TITLE: Common Stylesheet for Gila *
|
||||||
|
* URI : http://www.oswd.org/design/???/gila/gila.css *
|
||||||
|
* MODIF: 2003-02-03 1231 +0800 *
|
||||||
|
*******************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Body Text ###### */
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: verdana, tahoma, helvetica, arial, sans-serif;
|
||||||
|
font-size: 94%;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
font-family: arial, verdana, tahoma, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 164%;
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
padding-top: 1em;
|
||||||
|
border-top-style: solid;
|
||||||
|
border-top-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
padding-bottom: 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
acronym {
|
||||||
|
border-bottom-style: dotted;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: "lucida console", monospace;
|
||||||
|
font-size: 95%;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
padding-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bodyText {
|
||||||
|
text-align: justify;
|
||||||
|
line-height: 1.5em;
|
||||||
|
margin-left: 12em;
|
||||||
|
padding: 0.5ex 14em 1em 1em;
|
||||||
|
border-left-style: solid;
|
||||||
|
border-left-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bodyText a {
|
||||||
|
/* See color-scheme.css */
|
||||||
|
}
|
||||||
|
|
||||||
|
#bodyText a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.smallCaps {
|
||||||
|
font-variant: small-caps;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Header ###### */
|
||||||
|
|
||||||
|
#header {
|
||||||
|
height: 4em;
|
||||||
|
padding: 0.25em 2.5mm 0 4mm;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 252%;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerTitle span {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerLinks {
|
||||||
|
font-size: 87%;
|
||||||
|
padding: 0.5ex 10em 0.5ex 1em;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerLinks * {
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 0 2ex 0 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerLinks a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuBar {
|
||||||
|
text-align: center;
|
||||||
|
padding: 0.5ex 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuBar * {
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0 2ex 0 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuBar a:hover {
|
||||||
|
/* See color-scheme.css */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Left Sidebar ###### */
|
||||||
|
|
||||||
|
.leftSideBar {
|
||||||
|
font-size: 95%;
|
||||||
|
width: 12.65em;
|
||||||
|
float: left;
|
||||||
|
clear: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftSideBar a, .leftSideBar span {
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 2em;
|
||||||
|
padding: 0.75ex 1ex;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class~="leftSideBar"] a, [class~="leftSideBar"] span {
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftSideBar a:hover {
|
||||||
|
/* See color-scheme.css */
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftSideBar .sideBarTitle {
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0.75ex 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftSideBar .sideBarText {
|
||||||
|
font-weight: normal;
|
||||||
|
padding: 1ex 0.75ex 1ex 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leftSideBar .thisPage {
|
||||||
|
/* See color-scheme.css */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Right Sidebar ###### */
|
||||||
|
|
||||||
|
.rightSideBar {
|
||||||
|
font-size: 95%;
|
||||||
|
width: 12.65em;
|
||||||
|
margin: 2ex 0.8ex 0 0;
|
||||||
|
float: right;
|
||||||
|
clear: right;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[class~="rightSideBar"] {
|
||||||
|
margin-right: 1.5ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rightSideBar a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rightSideBar a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rightSideBar .sideBarTitle {
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 1em 1ex;
|
||||||
|
padding: 0.75ex 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.rightSideBar .sideBarText {
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1.5em;
|
||||||
|
padding: 0 3ex 1em 2ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ###### Footer ###### */
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
font-size: 85%;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 1.25em;
|
||||||
|
padding: 1em 4mm 1.5em 4mm;
|
||||||
|
clear: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer div {
|
||||||
|
padding-bottom: 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer a {
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer a:hover {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ###### Additional Stuff ###### */
|
||||||
|
|
||||||
|
.verbatim {
|
||||||
|
font-size: 60%;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0.4em 1mm 0.5em 1mm;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.signature {
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog {
|
||||||
|
font-size: 60%;
|
||||||
|
padding: 0.4em 1mm 0.5em 1mm;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
156
history/priorart/yawex-0.7.4/templates/template-gila.html
Normal file
156
history/priorart/yawex-0.7.4/templates/template-gila.html
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="application/xhtml+xml; charset=ISO-8859-1" />
|
||||||
|
<meta name="author" content="##{$pageauthor}##" />
|
||||||
|
<meta name="generator" content="##{$version}##" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="##{$templatedir}##/template-gila.css" title="Gila stylesheet" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="##{$templatedir}##/template-gila-colors.css" title="Gila stylesheet" />
|
||||||
|
<script type="text/javascript" src="##{$javascriptdir}##/wikimarkup.js"></script>
|
||||||
|
<title>##{$pagename}##</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="top"></div>
|
||||||
|
##{beginform()}##
|
||||||
|
|
||||||
|
##{request()}##
|
||||||
|
|
||||||
|
<!-- ###### Header ###### -->
|
||||||
|
|
||||||
|
<div id="header">
|
||||||
|
<a href="##{$sitemapurl}##" class="headerTitle" title="SiteMap">##{$wikiname}##</a>
|
||||||
|
<a href="##{$homeurl}##" class="headerTitle" title="Return to WelcomePage"><span>##{$pagename}##</span></a>
|
||||||
|
<div class="headerLinks">
|
||||||
|
##{join(" | ", @{[actions()]})}##
|
||||||
|
##{$homeurl eq "public" && $page ne 'NewUser' && "| ".login()}##
|
||||||
|
##{$homeurl eq "public" && $page ne 'NewUser' && register()}##
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="menuBar">
|
||||||
|
##{render(uplink())}## ||
|
||||||
|
##{render(join " | ", @{[contexts()]})}##
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ###### Left Sidebar ###### -->
|
||||||
|
|
||||||
|
<div class="leftSideBar">
|
||||||
|
<div class="sideBarTitle">##{render(localPage("SearchPage"))}##</div>
|
||||||
|
##{quickSearch()}##
|
||||||
|
|
||||||
|
<div class="sideBarTitle">##{render(localPage("RecentChanges"))}##</div>
|
||||||
|
##{render(recentChanges())}##
|
||||||
|
|
||||||
|
<div class="sideBarTitle">##{render(localPage("BackLinks"))}##</div>
|
||||||
|
##{render(backLinks())}##
|
||||||
|
|
||||||
|
<div class="sideBarTitle">##{render(localPage("AllPages"))}##</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<span class="thisPage" title="That's this page!">Gila Homepage</span>
|
||||||
|
<div class="sideBarTitle">This Page</div>
|
||||||
|
<a href="#welcome">Welcome</a>
|
||||||
|
<a href="#features">Features</a>
|
||||||
|
<a href="#more_features">More Features</a>
|
||||||
|
<a href="#final_notes">Final Notes</a>
|
||||||
|
|
||||||
|
<div class="sideBarTitle">Text in Sidebar</div>
|
||||||
|
<span class="sideBarText">You can also add plain text to this sidebar using the <span>
|
||||||
|
tag.</span>
|
||||||
|
-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ###### Right Sidebar ###### -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<div class="rightSideBar">
|
||||||
|
<div class="sideBarTitle">News</div>
|
||||||
|
<div class="sideBarText"><strong>1 Feb 03</strong><br />
|
||||||
|
Happy Chinese <acronym title="The Year of the Goat">New Year</acronym>!</div>
|
||||||
|
<div class="sideBarText"><strong>2 Feb 03</strong><br />
|
||||||
|
Started work on the <a href="##{$homeurl}##">Gila</a> design.</div>
|
||||||
|
<div class="sideBarText"><strong>3 Feb 03</strong><br />
|
||||||
|
Completed Gila and submitted it to <a href="http://www.oswd.org">OSWD</a>.</div>
|
||||||
|
<div class="sideBarText"><a href="##{$homeurl}##">more news...</a></div>
|
||||||
|
|
||||||
|
<div class="sideBarTitle">Downloads</div>
|
||||||
|
<div class="sideBarText"><strong>Product Alpha</strong><br />
|
||||||
|
<a href="##{$homeurl}##">info</a> | <a href="##{$homeurl}##">download</a></div>
|
||||||
|
<div class="sideBarText"><strong>Product Bravo</strong><br />
|
||||||
|
<a href="##{$homeurl}##">info</a> | <a href="##{$homeurl}##">download</a></div>
|
||||||
|
<div class="sideBarText"><strong>Product Charlie</strong><br />
|
||||||
|
<a href="##{$homeurl}##">info</a> | <a href="##{$homeurl}##">download</a></div>
|
||||||
|
|
||||||
|
<div class="sideBarTitle">Validation</div>
|
||||||
|
<div class="sideBarText">Validate the <a href="http://validator.w3.org/check/referer">XHTML</a>
|
||||||
|
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> of this page.</div>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- ###### Body Text ###### -->
|
||||||
|
|
||||||
|
<div id="bodyText">
|
||||||
|
<!--
|
||||||
|
<h1 id="welcome" style="border-top: none; padding-top: 0;">Welcome!</h1>
|
||||||
|
<p>This is Gila, my
|
||||||
|
<a href="http://www.oswd.org/userinfo.phtml?user=haran">fifth design</a> on OSWD.
|
||||||
|
In the tradition of my previous two designs, Gila was inspired by the look of a pre-existing
|
||||||
|
website. Gila’s inspiration was the website of
|
||||||
|
<a href="http://www.activestate.com">ActiveState</a>, an open-source application development
|
||||||
|
company. The name <acronym title="Gila monster: a species of lizard">Gila</acronym> is a play
|
||||||
|
on the word: <acronym title="Komodo dragon: another species of lizard">Komodo</acronym>, the
|
||||||
|
name of one of ActiveState’s products which is based on
|
||||||
|
<a href="http://www.mozilla.org">the Mozilla project</a>.</p>
|
||||||
|
|
||||||
|
<h1 id="more_features">More Features of This Design</h1>
|
||||||
|
<dl>
|
||||||
|
<dt>Relative metrics</dt>
|
||||||
|
<dd>Most measurements (such as widths and spacings) are font-size relative. This means that
|
||||||
|
if a viewer changes the page’s default font size, the document metrics also change
|
||||||
|
to compensate.</dd>
|
||||||
|
<dt>Separate stylesheet for color scheme</dt>
|
||||||
|
<dd>All the colors of this design are defined in their own stylesheet. Thus, you can generate
|
||||||
|
several versions of this stylesheet which define different color schemes for your
|
||||||
|
webpage. To change your page’s colors, simply replace the color scheme stylesheet
|
||||||
|
with a different version.</dd>
|
||||||
|
</dl>
|
||||||
|
-->
|
||||||
|
|
||||||
|
##{$action eq 'open' && show($page)}##
|
||||||
|
##{$action eq 'edit' && edit($page)}##
|
||||||
|
##{$action eq 'save' && show($page)}##
|
||||||
|
##{$action eq 'new' && create($page)}##
|
||||||
|
|
||||||
|
##{$action eq 'open' && render(specialcontent($page))}##
|
||||||
|
|
||||||
|
##{if(!virtual() && ($action eq 'open' || $action eq "save")){append()}}##
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ###### Footer ###### -->
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
<!--
|
||||||
|
<div>
|
||||||
|
<a href="##{$homeurl}##">Privacy Policy</a> |
|
||||||
|
<a href="##{$homeurl}##">Site Map</a> |
|
||||||
|
<a href="##{$homeurl}##">Feedback</a> |
|
||||||
|
<a href="##{$homeurl}##">Help</a>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<div>
|
||||||
|
##{$version}## |
|
||||||
|
##{$copyright}## |
|
||||||
|
##{$modified}## by ##{$webmaster}##
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
##{$navdata}##
|
||||||
|
##{endform()}##
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
156
history/priorart/yawex-0.7.4/templates/template-neurobotik.html
Normal file
156
history/priorart/yawex-0.7.4/templates/template-neurobotik.html
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="application/xhtml+xml; charset=ISO-8859-1" />
|
||||||
|
<meta name="author" content="##{$pageauthor}##" />
|
||||||
|
<meta name="generator" content="##{$version}##" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="##{$templatedir}##/template-gila.css" title="Gila stylesheet" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="##{$templatedir}##/template-gila-colors.css" title="Gila stylesheet" />
|
||||||
|
<script type="text/javascript" src="##{$javascriptdir}##/wikimarkup.js"></script>
|
||||||
|
<title>##{$pagename}##</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="top"></div>
|
||||||
|
##{beginform()}##
|
||||||
|
|
||||||
|
##{request()}##
|
||||||
|
|
||||||
|
<!-- ###### Header ###### -->
|
||||||
|
|
||||||
|
<div id="header">
|
||||||
|
<a href="##{$sitemapurl}##" class="headerTitle" title="SiteMap">##{$wikiname}##</a>
|
||||||
|
<a href="##{$homeurl}##" class="headerTitle" title="Return to WelcomePage"><span>##{$pagename}##</span></a>
|
||||||
|
<div class="headerLinks">
|
||||||
|
##{join(" | ", @{[actions()]})}##
|
||||||
|
##{$homeurl eq "public" && $page ne 'NewUser' && "| ".login()}##
|
||||||
|
##{$homeurl eq "public" && $page ne 'NewUser' && register()}##
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="menuBar">
|
||||||
|
##{render(uplink())}## ||
|
||||||
|
##{render(join " | ", @{[contexts()]})}##
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ###### Left Sidebar ###### -->
|
||||||
|
|
||||||
|
<div class="leftSideBar">
|
||||||
|
<div class="sideBarTitle">##{render(localPage("SearchPage"))}##</div>
|
||||||
|
##{quickSearch()}##
|
||||||
|
|
||||||
|
<div class="sideBarTitle">##{render(localPage("RecentChanges"))}##</div>
|
||||||
|
##{render(recentChanges())}##
|
||||||
|
|
||||||
|
<div class="sideBarTitle">##{render(localPage("BackLinks"))}##</div>
|
||||||
|
##{render(backLinks())}##
|
||||||
|
|
||||||
|
<div class="sideBarTitle">##{render(localPage("AllPages"))}##</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<span class="thisPage" title="That's this page!">Gila Homepage</span>
|
||||||
|
<div class="sideBarTitle">This Page</div>
|
||||||
|
<a href="#welcome">Welcome</a>
|
||||||
|
<a href="#features">Features</a>
|
||||||
|
<a href="#more_features">More Features</a>
|
||||||
|
<a href="#final_notes">Final Notes</a>
|
||||||
|
|
||||||
|
<div class="sideBarTitle">Text in Sidebar</div>
|
||||||
|
<span class="sideBarText">You can also add plain text to this sidebar using the <span>
|
||||||
|
tag.</span>
|
||||||
|
-->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ###### Right Sidebar ###### -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<div class="rightSideBar">
|
||||||
|
<div class="sideBarTitle">News</div>
|
||||||
|
<div class="sideBarText"><strong>1 Feb 03</strong><br />
|
||||||
|
Happy Chinese <acronym title="The Year of the Goat">New Year</acronym>!</div>
|
||||||
|
<div class="sideBarText"><strong>2 Feb 03</strong><br />
|
||||||
|
Started work on the <a href="##{$homeurl}##">Gila</a> design.</div>
|
||||||
|
<div class="sideBarText"><strong>3 Feb 03</strong><br />
|
||||||
|
Completed Gila and submitted it to <a href="http://www.oswd.org">OSWD</a>.</div>
|
||||||
|
<div class="sideBarText"><a href="##{$homeurl}##">more news...</a></div>
|
||||||
|
|
||||||
|
<div class="sideBarTitle">Downloads</div>
|
||||||
|
<div class="sideBarText"><strong>Product Alpha</strong><br />
|
||||||
|
<a href="##{$homeurl}##">info</a> | <a href="##{$homeurl}##">download</a></div>
|
||||||
|
<div class="sideBarText"><strong>Product Bravo</strong><br />
|
||||||
|
<a href="##{$homeurl}##">info</a> | <a href="##{$homeurl}##">download</a></div>
|
||||||
|
<div class="sideBarText"><strong>Product Charlie</strong><br />
|
||||||
|
<a href="##{$homeurl}##">info</a> | <a href="##{$homeurl}##">download</a></div>
|
||||||
|
|
||||||
|
<div class="sideBarTitle">Validation</div>
|
||||||
|
<div class="sideBarText">Validate the <a href="http://validator.w3.org/check/referer">XHTML</a>
|
||||||
|
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> of this page.</div>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- ###### Body Text ###### -->
|
||||||
|
|
||||||
|
<div id="bodyText">
|
||||||
|
<!--
|
||||||
|
<h1 id="welcome" style="border-top: none; padding-top: 0;">Welcome!</h1>
|
||||||
|
<p>This is Gila, my
|
||||||
|
<a href="http://www.oswd.org/userinfo.phtml?user=haran">fifth design</a> on OSWD.
|
||||||
|
In the tradition of my previous two designs, Gila was inspired by the look of a pre-existing
|
||||||
|
website. Gila’s inspiration was the website of
|
||||||
|
<a href="http://www.activestate.com">ActiveState</a>, an open-source application development
|
||||||
|
company. The name <acronym title="Gila monster: a species of lizard">Gila</acronym> is a play
|
||||||
|
on the word: <acronym title="Komodo dragon: another species of lizard">Komodo</acronym>, the
|
||||||
|
name of one of ActiveState’s products which is based on
|
||||||
|
<a href="http://www.mozilla.org">the Mozilla project</a>.</p>
|
||||||
|
|
||||||
|
<h1 id="more_features">More Features of This Design</h1>
|
||||||
|
<dl>
|
||||||
|
<dt>Relative metrics</dt>
|
||||||
|
<dd>Most measurements (such as widths and spacings) are font-size relative. This means that
|
||||||
|
if a viewer changes the page’s default font size, the document metrics also change
|
||||||
|
to compensate.</dd>
|
||||||
|
<dt>Separate stylesheet for color scheme</dt>
|
||||||
|
<dd>All the colors of this design are defined in their own stylesheet. Thus, you can generate
|
||||||
|
several versions of this stylesheet which define different color schemes for your
|
||||||
|
webpage. To change your page’s colors, simply replace the color scheme stylesheet
|
||||||
|
with a different version.</dd>
|
||||||
|
</dl>
|
||||||
|
-->
|
||||||
|
|
||||||
|
##{$action eq 'open' && show($page)}##
|
||||||
|
##{$action eq 'edit' && edit($page)}##
|
||||||
|
##{$action eq 'save' && show($page)}##
|
||||||
|
##{$action eq 'new' && create($page)}##
|
||||||
|
|
||||||
|
##{$action eq 'open' && render(specialcontent($page))}##
|
||||||
|
|
||||||
|
##{if(!virtual() && ($action eq 'open' || $action eq "save")){append()}}##
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ###### Footer ###### -->
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
<!--
|
||||||
|
<div>
|
||||||
|
<a href="##{$homeurl}##">Privacy Policy</a> |
|
||||||
|
<a href="##{$homeurl}##">Site Map</a> |
|
||||||
|
<a href="##{$homeurl}##">Feedback</a> |
|
||||||
|
<a href="##{$homeurl}##">Help</a>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<div>
|
||||||
|
##{$version}## |
|
||||||
|
##{$copyright}## |
|
||||||
|
##{$modified}## by ##{$webmaster}##
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
##{$navdata}##
|
||||||
|
##{endform()}##
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
44
history/priorart/yawex-0.7.4/tools/striptests
Executable file
44
history/priorart/yawex-0.7.4/tools/striptests
Executable file
@@ -0,0 +1,44 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
#
|
||||||
|
# comments out package inclusion of Test::Unit from perl sources
|
||||||
|
#
|
||||||
|
# $Header: /var/local/cvs/yawex/tools/striptests,v 1.1.1.1 2004/07/15 18:37:24 bernd Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
$pattern = "use Test::Unit";
|
||||||
|
|
||||||
|
$usage =<<EOT;
|
||||||
|
usage:
|
||||||
|
striptests <file>
|
||||||
|
EOT
|
||||||
|
|
||||||
|
unless ($ARGV[0]) {
|
||||||
|
print $usage;
|
||||||
|
exit 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach $filename (@ARGV) {
|
||||||
|
|
||||||
|
unless (-f $filename) {
|
||||||
|
print "skipping $filename - file not found\n";
|
||||||
|
next
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($filename =~ /\.pm/ || $filename =~ /\.pl/) {
|
||||||
|
print "processing $filename\n";
|
||||||
|
} else {
|
||||||
|
print "skipping $filename - not a perl file\n";
|
||||||
|
next
|
||||||
|
}
|
||||||
|
|
||||||
|
open INFILE, "<$filename";
|
||||||
|
open OUTFILE, ">$filename.mod";
|
||||||
|
while (<INFILE>) {
|
||||||
|
s/$pattern/\#$pattern/g;
|
||||||
|
print OUTFILE;
|
||||||
|
}
|
||||||
|
close INFILE;
|
||||||
|
close OUTFILE;
|
||||||
|
system "mv $filename.mod $filename";
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user