[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r5412 - in trunk/www: . other other/twiki utils utils/webhelpers
From: |
jcater |
Subject: |
r5412 - in trunk/www: . other other/twiki utils utils/webhelpers |
Date: |
Sat, 20 Mar 2004 00:19:46 -0600 (CST) |
Author: jcater
Date: 2004-03-20 00:19:43 -0600 (Sat, 20 Mar 2004)
New Revision: 5412
Added:
trunk/www/other/
trunk/www/other/htdig/
trunk/www/other/twiki/
trunk/www/other/twiki/attach.tmpl
trunk/www/other/twiki/attachagain.tmpl
trunk/www/other/twiki/attachnew.tmpl
trunk/www/other/twiki/changeform.tmpl
trunk/www/other/twiki/changes.tmpl
trunk/www/other/twiki/edit.iejs.tmpl
trunk/www/other/twiki/edit.tmpl
trunk/www/other/twiki/mailnotify.tmpl
trunk/www/other/twiki/moveattachment.tmpl
trunk/www/other/twiki/oopsaccesschange.tmpl
trunk/www/other/twiki/oopsaccesscreateweb.tmpl
trunk/www/other/twiki/oopsaccessgroup.tmpl
trunk/www/other/twiki/oopsaccessrename.tmpl
trunk/www/other/twiki/oopsaccessview.tmpl
trunk/www/other/twiki/oopsauth.tmpl
trunk/www/other/twiki/oopsbadpwformat.tmpl
trunk/www/other/twiki/oopschangepasswd.tmpl
trunk/www/other/twiki/oopsempty.tmpl
trunk/www/other/twiki/oopslocked.tmpl
trunk/www/other/twiki/oopslockedrename.tmpl
trunk/www/other/twiki/oopsmanage.tmpl
trunk/www/other/twiki/oopsmissing.tmpl
trunk/www/other/twiki/oopsmngcreateweb.tmpl
trunk/www/other/twiki/oopsmore.tmpl
trunk/www/other/twiki/oopsmoveerr.tmpl
trunk/www/other/twiki/oopsnoformdef.tmpl
trunk/www/other/twiki/oopsnotwikiuser.tmpl
trunk/www/other/twiki/oopsnoweb.tmpl
trunk/www/other/twiki/oopspreview.tmpl
trunk/www/other/twiki/oopsregemail.tmpl
trunk/www/other/twiki/oopsregexist.tmpl
trunk/www/other/twiki/oopsregpasswd.tmpl
trunk/www/other/twiki/oopsregrequ.tmpl
trunk/www/other/twiki/oopsregthanks.tmpl
trunk/www/other/twiki/oopsregwiki.tmpl
trunk/www/other/twiki/oopsrenameerr.tmpl
trunk/www/other/twiki/oopsrenamenotwikiword.tmpl
trunk/www/other/twiki/oopsresetpasswd.tmpl
trunk/www/other/twiki/oopsrev.tmpl
trunk/www/other/twiki/oopssave.tmpl
trunk/www/other/twiki/oopssaveerr.tmpl
trunk/www/other/twiki/oopssendmailerr.tmpl
trunk/www/other/twiki/oopstopicexists.tmpl
trunk/www/other/twiki/oopsupload.tmpl
trunk/www/other/twiki/oopswrongpassword.tmpl
trunk/www/other/twiki/preview.tmpl
trunk/www/other/twiki/rdiff.tmpl
trunk/www/other/twiki/registernotify.tmpl
trunk/www/other/twiki/rename.tmpl
trunk/www/other/twiki/renamebase.tmpl
trunk/www/other/twiki/renameconfirm.tmpl
trunk/www/other/twiki/renamerefs.tmpl
trunk/www/other/twiki/search.tmpl
trunk/www/other/twiki/searchbookview.tmpl
trunk/www/other/twiki/searchformat.tmpl
trunk/www/other/twiki/searchmeta.tmpl
trunk/www/other/twiki/searchrenameview.tmpl
trunk/www/other/twiki/twiki.tmpl
trunk/www/other/twiki/view.plain.tmpl
trunk/www/other/twiki/view.print.tmpl
trunk/www/other/twiki/view.rss.tmpl
trunk/www/other/twiki/view.tmpl
trunk/www/utils/webhelpers/twiki.py
Removed:
trunk/www/htdig/
Modified:
trunk/www/utils/create-website
trunk/www/utils/webhelpers/htdig.py
Log:
Added structure for templating twiki
Copied: trunk/www/other/htdig (from rev 5395, trunk/www/htdig)
Added: trunk/www/other/twiki/attach.tmpl
===================================================================
--- trunk/www/other/twiki/attach.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/attach.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,90 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"attach"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<script language="JavaScript">
+<!--HIDE
+function initForm() {
+ document.main.filepath.focus();
+}
+function launchWindow( theWeb, theTopic ) {
+ win = open("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic +
"?skin=plain", theTopic,
"titlebar=0,width=500,height=480,resizable,scrollbars");
+ if( win ) {
+ win.focus();
+ }
+ return false;
+}
+//STOP HIDING-->
+</script>
+<body bgcolor="#ffffff" onLoad="initForm()" >
+#PageTop
+<form name="main" enctype="multipart/form-data"
action="%SCRIPTURLPATH%/upload%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%"
method="post">
+%TMPL:P{"simpleheader"}%
+---++ Existing attachments for <nop>%TOPIC%
+%META{"attachments" all="on"}%
+%TMPL:P{"previousdetails"}%
+<table width="100%">
+ %TMPL:P{"previous"}%
+ <tr>
+ <td align="right">
+ Local file:
+ </td><td>
+ <input type="hidden" name="filename" value="%FILENAME%" />
+ <input type="file" name="filepath" value="%FILEPATH%" size="50" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ Comment:
+ </td><td>
+ <input type="text" name="filecomment" value="%FILECOMMENT%" maxlength="50"
size="50" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ Link:
+ </td><td>
+ <input type="checkbox" name="createlink" %ATTACHLINKBOX% /> Create a link
to the attached file at the end of the topic.
+ </td>
+ </tr>
+ <tr>
+ <td align="right">
+ Hide file:
+ </td><td>
+ <input type="checkbox" name="hidefile" %HIDEFILE% /> Hide attachment in
normal topic view.
+ </td>
+ </tr>
+</table>
+
+__Notes:__
+
+ * *Link checkbox:* In case the attached file is a JPG, GIF or PNG image and
you check the box,
+ it will create an inline image (e.g. show the image) at the end of the
topic. For other
+ file types a simple link will be created.
+ * *Bug:* Internet Explorer 4.0 or earlier: If you get an "Internal Server
Error"
+ message when you upload a file, you need to try again. It should work the
second time.
+%TMPL:P{"extranotes"}%
+
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"> %META{"moved"}% </td>
+ </tr>
+</table>
+</form>
+#PageBottom
+</body>
+</html> %TMPL:END%
Added: trunk/www/other/twiki/attachagain.tmpl
===================================================================
--- trunk/www/other/twiki/attachagain.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/attachagain.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,32 @@
+%TMPL:INCLUDE{"attach"}%
+%TMPL:DEF{"titleaction"}%(attach)%TMPL:END%
+%TMPL:DEF{"headerhelp"}% %TMPL:END%
+%TMPL:DEF{"webaction"}% Update attachment *%FILENAME%* on *%TOPIC%* %TMPL:END%
+%TMPL:DEF{"previousdetails"}%
+---++ Update attachment <code>%FILENAME%</code>
+%ATTACHTABLE% %TMPL:END%
+%TMPL:DEF{"previous"}%
+ <tr>
+ <td align="right">
+ Previous <br /> upload:
+ </td><td>
+ <code>%FILEPATH%</code> %TMPL:P{"fileuser"}%
+ </td>
+ </tr>%TMPL:END%
+%TMPL:DEF{"extranotes"}%
+ * *Properties:* The comment and visibility (i.e. is attachment hidden) can
be changed without
+ uploading a file by pressing "Change Properties"; see
+ <a target="HiddenAttachment" onClick="return
launchWindow('%TWIKIWEB%','HiddenAttachment')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/HiddenAttachment">HiddenAttachment</a>
+ * *Change comment:* If you use _Change Properties_ to change a comment, the
comment shown in
+ the topic will change, but the comment shown against the attachment
history will be the
+ comment when the file was uploaded.
+ * *Local file:* If you select a different file in _Local file:_, it is this
that will be
+ updated or added.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ <input type="submit" value=" Upload file " /> %TMPL:P{"sep"}%
+ <input type="submit" name="changeproperties" value="Change properties" />
%TMPL:P{"sep"}%
+ <a
href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%?attachment=%FILENAME%">Move
attachment</a> %TMPL:P{"sep"}%
+ [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:DEF{"fileuser"}%(%FILEUSER%)%TMPL:END%
+%TMPL:P{"attach"}%
Added: trunk/www/other/twiki/attachnew.tmpl
===================================================================
--- trunk/www/other/twiki/attachnew.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/attachnew.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,11 @@
+%TMPL:INCLUDE{"attach"}%
+%TMPL:DEF{"titleaction"}%(attach)%TMPL:END%
+%TMPL:DEF{"headerhelp"}% %TMPL:END%
+%TMPL:DEF{"webaction"}% Attach file to topic <b>%TOPIC%</b> %TMPL:END%
+%TMPL:DEF{"previousdetails"}%
+---++ Attach new file %TMPL:END%
+%TMPL:DEF{"action"}%Attach new file%TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ <input type="submit" value=" Upload file " /> %TMPL:P{"sep"}%
+ [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"attach"}%
Added: trunk/www/other/twiki/changeform.tmpl
===================================================================
--- trunk/www/other/twiki/changeform.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/changeform.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,39 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
<meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_EDIT%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+%TMPL:DEF{"titleaction"}%(change form)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Action* %TMPL:END%
+%TMPL:P{"simpleheader"}%
+<form name="main" action="%EDITURL%" method="post">
+---++ Choose a new form template
+
+<table border="0" cellspacing="0" cellpadding="0">
+<tr><td valign="top">
+---+++ Possible form templates:
+ <ul>
+ %FORMLIST%
+ </ul>
+</td><td>
+
+</td><td valign="top">
+---+++ _Notes:_
+ * <font color="red">Existing form data will be lost! (still available in
old version)</font>
+ * Any change you made to topic before coming to this page are preserved.
+</td></tr>
+</table>
+<br />
+<input type="hidden" name="text" value="%TEXT%" />
+<input type="hidden" name="topicparent" value="%TOPICPARENT%" />
+%TMPL:DEF{"topicaction"}% <input type="submit" name="submit" value="
Change form " /> %TMPL:END%
+%TMPL:P{"standardfooter"}%
+%WEBCOPYRIGHT%
+</form>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/changes.tmpl
===================================================================
--- trunk/www/other/twiki/changes.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/changes.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,62 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title>%WIKITOOLNAME% . %WEB% (changes)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+<form name="main" action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/">
+#PageTop
+%TMPL:DEF{"titleaction"}%(changes)%TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+
+<table width="100%" border="0" cellpadding="0" cellspacing="4">
+<tr>
+ <td width="50%">
+ <b>Topic:</b>
+ </td><td width="30%">
+ <b>Changed:</b> now %GMTIME{"$hour:$min"}% GMT
+ </td><td width="20%">
+ <b>Changed by:</b>
+ </td>
+</tr>
+</table>
+%REPEAT%<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<tr>
+ <td width="50%">
+ <a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%"><b>%TOPICNAME%</b></a>
+ <b><font color="red">%LOCKED%</font><b>
+ </td><td width="30%">
+ <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%">%TIME%</a>
- %REVISION%
+ </td><td width="20%">
+ %AUTHOR%
+ </td>
+</tr>
+<tr>
+ <td colspan="2" width="80%">
+ <font size="-1">
+ %TEXTHEAD% </font>
+ </td><td width="20%">
+
+ </td>
+</tr></table>
+%REPEAT%<p />
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/edit.iejs.tmpl
===================================================================
--- trunk/www/other/twiki/edit.iejs.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/edit.iejs.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,378 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" /> <meta
name="robots" content="noindex" /> %HTTP_EQUIV_ON_EDIT%
+<style>
+A.editButton:link {
+ text-decoration:none;
+ color:black;
+ font-size:9pt
+}
+A.editButton:active {
+ text-decoration:none;
+ color:blue
+}
+A.editButton:hover {
+ text-decoration:none;
+ color:blue
+}
+A.editButton:visited {
+ text-decoration:none;
+ color:black;
+ font-size:9pt
+}
+.editDropdown {
+ background-color:ivory;
+ font-size:7pt
+}
+</style>
+<script language="JavaScript">
+<!--HIDE
+// =================
+function initForm()
+{
+ document.main.text.focus();
+}
+// =================
+function checkAll( theButton, theButtonOffset, theNum, theCheck )
+{
+ // find button element index
+ var j = 0
+ for( var i = 0; i <= document.main.length; i++ ) {
+ if( theButton == document.main.elements[i] ) {
+ j = i
+ break
+ }
+ }
+ // set/clear all checkboxes
+ var last = j+theButtonOffset+theNum
+ for( i = last-theNum; i < last; i++ ) {
+ document.main.elements[i].checked = theCheck
+ }
+}
+// =================
+function launchWindow( theWeb, theTopic )
+{
+ win = open("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic
+ + "?skin=plain", theTopic,
"titlebar=0,width=500,height=480,resizable,scrollbars");
+ if( win ) {
+ win.focus();
+ }
+ return false;
+}
+// =================
+var fancyEdit = false;
+var fancyInit = false;
+// =================
+function doFancyEdit()
+{
+ if( fancyInit ) {
+ return( fancyEdit );
+ }
+ var major = "";
+ var minor = "";
+ for( var i = 0; navigator.appVersion.charAt(i) != "."; i++) {
+ major += navigator.appVersion.charAt(i);
+ }
+ for( i++; navigator.appVersion.charAt(i) != " "; i++) {
+ minor += navigator.appVersion.charAt(i);
+ }
+ if( ( navigator.appName == "Microsoft Internet Explorer" )
+ && ( major >= 4 ) ) {
+ fancyEdit = true;
+ }
+ return( fancyEdit );
+}
+// =================
+function inTextarea() {
+ return( document.all.text.caretPos != null );
+}
+// =================
+function surround( extra )
+{
+ // Put extra text around selection
+ if( extra == "" || ! inTextarea() ) {
+ return;
+ }
+ var selection;
+ selection = document.selection.createRange();
+ if( selection != null && selection.text != "" ) {
+ var selText;
+ selText = selection.text;
+ if( selText.charAt( selText.length - 1 ) == " " ) {
+ selText = selText.substring( 0, ( selText.length - 1 ) );
+ selection.text = extra + selText + extra + " ";
+ } else {
+ selection.text = extra + selText + extra;
+ }
+ selection.parentElement().focus();
+ }
+}
+// =================
+function insertStartLine( text )
+{
+ if( text == "" || ! inTextarea() ) {
+ return;
+ }
+
+ var range;
+ range = document.all.text.createTextRange();
+ if( range != null ) {
+ range.moveToPoint( range.offsetLeft, document.all.text.caretPos.offsetTop
);
+ done = sub( range, " * ", text );
+ if( ! done ) done = sub( range, " * ", text );
+ if( ! done ) done = sub( range, " * ", text );
+ if( ! done ) done = sub( range, "---+++ ", text );
+ if( ! done ) done = sub( range, "---++ ", text );
+ if( ! done ) done = sub( range, "---+ ", text );
+ if( ! done ) {
+ range.moveToPoint( range.offsetLeft,
document.all.text.caretPos.offsetTop );
+ sub( range, "", text );
+ }
+ /*range.text = text;
+ range.parentElement().focus();*/
+ }
+}
+// =================
+function insert( text )
+{
+ // insert at cursor
+ if (text == "" || ! inTextarea() ) {
+ return( false );
+ }
+ document.all.text.caretPos.text = text;
+ document.all.text.caretPos.parentElement().focus();
+}
+// =================
+function insertVariable( variable )
+{
+ if( variable == "" || ! inTextarea() ) {
+ return;
+ }
+ extra = "";
+ if( variable == "DRAWING" ) {
+ name = prompt( "Name of drawing (optional)", "" );
+ if( ! name ) return;
+ if( name.length > 0 ) {
+ extra = '{"' + name + '"}';
+ }
+ } else if( variable == "INCLUDE" ) {
+ // Could change to pop up window
+ name = prompt( "Name of topic to include (leave blank to add later)", "" );
+ if( ! name ) return;
+ if( name.length == 0 ) {
+ name = "topic";
+ }
+ extra = '{"' + name + '"}';
+ } else if( variable == "GMTIME" ) {
+ format = prompt( "Current date/time, optional format using ($seconds,
$minutes, $hours, $day, $month, $mo, $year, $ye)", "" );
+ if( ! format ) return;
+ if( format.length > 0 ) {
+ extra = '{"' + format + '"}';
+ }
+ } else if( variable == "SEARCH" ) {
+ what = prompt( "Common options, delete/alter as required",
'search="searchterm" web="all or webname" nosearch="on" regex="on"' );
+ if( ! what ) return;
+ extra = '{' + what + '}';
+ }
+ insert( "%" + variable + extra + "%" );
+}
+// =================
+function sub( range, old, newt )
+{
+ res = "";
+ var r = range;
+ len = old.length;
+ r.moveEnd( "character", len );
+ if( r.text.substr( 0, len ) == old ) {
+ r.text = newt + r.text.substr( len );
+ nlen = r.text.length - old.length;
+ r.moveEnd( "character", -len ); // put cursor in correct place
+ r.parentElement().focus();
+ changedCaret( r );
+ res = old;
+ }
+ return res;
+}
+// =================
+function toRight()
+{
+ if( ! inTextarea() ) {
+ return;
+ }
+ var range;
+ range = document.all.text.createTextRange();
+ text = "";
+ if( range != null ) {
+ range.moveToPoint( range.offsetLeft, document.all.text.caretPos.offsetTop
);
+ done = sub( range, " * ", " * " );
+ if( ! done ) done = sub( range, " * ", " * " );
+ if( ! done ) done = sub( range, "---+ ", "---++ " );
+ if( ! done ) done = sub( range, "---++ ", "---+++ " );
+ }
+}
+// =================
+function toLeft()
+{
+ // move bullet heading etc to left
+ if( ! inTextarea() ) {
+ return;
+ }
+ var range;
+ range = document.all.text.createTextRange();
+ text = "";
+ if( range != null ) {
+ range.moveToPoint( range.offsetLeft, document.all.text.caretPos.offsetTop
);
+ done = sub( range, " * ", "" );
+ if( ! done ) done = sub( range, " * ", " * " );
+ if( ! done ) done = sub( range, " * ", " * " );
+ if( done ) done = sub( range, "---+++ ", "---++ " );
+ if( done ) done = sub( range, "---++ ", "---+ " );
+ if( done ) done = sub( range, "---+ ", "" );
+ }
+}
+// =================
+function storeCaret( textarea )
+{
+ // always need to know where cursor (caret) position is
+ if( ! doFancyEdit() ) {
+ return;
+ }
+ if( textarea.createTextRange ) {
+ textarea.caretPos = document.selection.createRange().duplicate();
+ }
+}
+// =================
+function changedCaret( range )
+{
+ document.all.text.caretPos = range.duplicate();
+}
+// =================
+function writeToolbar( thisToolbarType )
+{
+ var configToolbarType = "%IEJS_TOOLBAR%"; // 'top', 'bottom' or 'both'
+ // FIXME: security hole - anyone can insert arbitrary
+ // Javascript code here - need Perl code to sanitise
+ // variables for use by JavaScript, perhaps...
+ // Actually, this applies almost anywhere in a TWiki
+ // template that a %-variable is used, not just here.
+ if( ! doFancyEdit() ) {
+ return;
+ }
+ if( ! ( configToolbarType == "top" || // Check if set wrongly or unset
+ configToolbarType == "bottom" ||
+ configToolbarType == "both" ) ) {
+ configToolbarType = "both"; // Default to current
behaviour
+ }
+ if( thisToolbarType != configToolbarType &&
+ configToolbarType != "both" ) {
+ return; // Display only if required here
+ }
+ var toolbar =
+ '<table border="1" cellpadding="1" bgcolor="gainsboro"
style="border-color:black">\n' +
+ '<tr>\n' +
+ '<td title="Bold"><a href="javascript:surround(' + "'*'" + ');"
class="editButton"> <b>B</b> </a></td>\n' +
+ '<td title="Italic"><a href="javascript:surround(' + "'_'" + ');"
class="editButton"> <i>I</i> </a></td>\n' +
+ '<td title="Format as code"><a href="javascript:surround(' + "'='" + ');"
class="editButton"> <code>C</code> </a></td>\n' +
+ '<td title="Bullet"><a href="javascript:insertStartLine(' + "' * '" + ');"
class="editButton"> • </a></td>\n' +
+ '<td title="Bullet to left or heading down one"><a
href="javascript:toLeft();"
class="editButton"> <b><</b> </a></td>\n' +
+ '<td title="Bullet to right or heading up one"><a
href="javascript:toRight();"
class="editButton"> <b>></b> </a></td>\n' +
+ '<td title="Insert short signature"><a href="javascript:insert(' + "'[
%WIKIUSERNAME% %DATE% ]'" + ');"
class="editButton"> <i>Sig</i> </a></td>\n' +
+ '<td title="Insert signature"><a href="javascript:insert(' + "'--
%WIKIUSERNAME% - %DATE%'" + ');"
class="editButton"><i> Signature </i></a></td>\n' +
+ '<td><select name="variables"
onchange="javascript:insertVariable(this.options
[this.selectedIndex].value);this.options [0].selected = true;"
class="editDropdown">\n' +
+ '<option value="">Variables ...</option>\n' +
+ '<option value="DRAWING">%<nop>DRAWING%</option>\n' +
+ '<option value="INCLUDE">%<nop>INCLUDE%</option>\n' +
+ '<option value="GMTIME">%<nop>GMTIME%</option>\n' +
+ '<option value="TOC">%<nop>TOC%</option>\n' +
+ '<option value="SEARCH">%<nop>SEARCH%</option>\n' +
+ '</select></td>\n' +
+ '<td title="Headings, horizontal rule, ...">\n' +
+ '<select name="other" onchange="insertStartLine(this.options
[this.selectedIndex].value);this.options [0].selected = true"
class="editDropdown">\n' +
+ '<option value="">Other ...</option>\n' +
+ '<option value="---+ ">h1</option>\n' +
+ '<option value="---++ ">h2</option>\n' +
+ '<option value="---+++ ">h3</option>\n' +
+ '<option value="---++++ ">h4</option>\n' +
+ '<option value="--- ">hr</option>\n' +
+ '</select>\n' +
+ '</td>\n' +
+ '<td>\n' +
+ '<select name="topic" onchange="insert(this.options
[this.selectedIndex].value);this.options [0].selected = true"
class="editDropdown">\n' +
+ '<option value="">Topic ...</option>\n' +
+ '%TOPICLIST{"<option value=$qname>$name</option>" separator=" "}%\n' +
+ '</select>\n' +
+ '</td>\n' +
+ '</tr>\n' +
+ '</table>\n';
+ document.write( toolbar );
+ return;
+}
+// =================
+function writeJavaScriptNote()
+{
+ if( doFancyEdit() ) {
+ return;
+ }
+ document.write("<br /><i>Note:</i> An advanced <nop>JavaScript editor is
available for Microsoft Internet Explorer 4.0 and later");
+ return;
+}
+// =================
+//STOP HIDING-->
+</script>
+</head>
+<body bgcolor="#ffffff" onLoad="initForm()">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/preview%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%"
method="post">
+%TMPL:DEF{"titleaction"}%(edit)%TMPL:END%
+%TMPL:DEF{"webaction"}%Change topic%TMPL:END%
+%TMPL:P{"simpleheader"}%
+<script language="JavaScript">
+<!--HIDE
+writeToolbar("top");
+//STOP HIDING-->
+</script>
+<textarea name="text" id="text" wrap="virtual" rows="%EDITBOXHEIGHT%"
cols="%EDITBOXWIDTH%" style="%EDITBOXSTYLE%" onclick="storeCaret(this)"
onKeyUp="storeCaret(this)" onselect="storeCaret(this)">%TEXT%</textarea>
+<script language="JavaScript">
+<!--HIDE
+writeToolbar("bottom");
+//STOP HIDING-->
+</script>
+<input type="hidden" name="formtemplate" value="%FORMTEMPLATE%" />
+<input type="hidden" name="topicparent" value="%TOPICPARENT%" />
+<input type="hidden" name="cmd" value="%CMD%" />
+<br />
+Don't forget - if you change something, do it in
+<a target="GoodStyle" onClick="return launchWindow('%TWIKIWEB%','GoodStyle')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/GoodStyle">GoodStyle</a>
+and follow the
+<a target="TextFormattingRules" onClick="return
launchWindow('%TWIKIWEB%','TextFormattingRules')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/TextFormattingRules">TextFormattingRules</a>.
+<br />
+<b>-- <nop>%WIKIUSERNAME% - %DATE%</b> <code><==</code>
+This is your signature for easy copy & paste operation
+<script language="JavaScript">
+<!--HIDE
+// Uncomment the next line if you really want to warn non-IE users that they
+// could use this template's editor in IE.
+// writeJavaScriptNote();
+//STOP HIDING-->
+</script>
+<br />
+%FORMFIELDS%
+%TMPL:DEF{"topicaction"}% <input type="submit" value=" Preview Changes
" />
+ %SEP% <a class="footerlink"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?unlock=on">Cancel</a>
edit %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td width="50%" valign="top">
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+</form>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/edit.tmpl
===================================================================
--- trunk/www/other/twiki/edit.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/edit.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,74 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_EDIT%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+<script language="JavaScript">
+<!--HIDE
+function initForm() {
+ document.main.text.focus();
+}
+function checkAll( theButton, theButtonOffset, theNum, theCheck )
+{
+ // find button element index
+ var j = 0;
+ for( var i = 0; i <= document.main.length; i++ ) {
+ if( theButton == document.main.elements[i] ) {
+ j = i;
+ break;
+ }
+ }
+ // set/clear all checkboxes
+ var last = j+theButtonOffset+theNum;
+ for( i = last-theNum; i < last; i++ ) {
+ document.main.elements[i].checked = theCheck;
+ }
+}
+function launchWindow( theWeb, theTopic ) {
+ win = open( "%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic
+ "?skin=plain",
+ theTopic,
"titlebar=0,width=500,height=480,resizable,scrollbars");
+ if( win ) {
+ win.focus();
+ }
+ return false;
+}
+//STOP HIDING-->
+</script>
+</head>
+<body bgcolor="#ffffff" onLoad="initForm()">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/preview%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%"
method="post">
+%TMPL:DEF{"titleaction"}%(edit)%TMPL:END%
+%TMPL:DEF{"titlehelp"}% %TMPL:END%
+%TMPL:DEF{"webaction"}%Change topic%TMPL:END%
+%TMPL:P{"simpleheader"}%
+<textarea name="text" wrap="virtual" rows="%EDITBOXHEIGHT%"
cols="%EDITBOXWIDTH%" style="%EDITBOXSTYLE%">%TEXT%</textarea>
+<input type="hidden" name="formtemplate" value="%FORMTEMPLATE%" />
+<input type="hidden" name="topicparent" value="%TOPICPARENT%" />
+<input type="hidden" name="cmd" value="%CMD%" />
+<br />
+Don't forget - if you change something, do it in
+<a target="GoodStyle" onClick="return launchWindow('%TWIKIWEB%','GoodStyle')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/GoodStyle">GoodStyle</a>
+and follow the
+<a target="TextFormattingRules" onClick="return
launchWindow('%TWIKIWEB%','TextFormattingRules')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/TextFormattingRules">TextFormattingRules</a>.
+<br /> <b>-- <nop>%WIKIUSERNAME% - %DATE%</b> <code><==</code>
+This is your signature for easy copy & paste operation
+<br /> %FORMFIELDS%
+%TMPL:DEF{"topicaction"}% <input type="submit" value=" Preview Changes
" />
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?unlock=on">Cancel</a>
edit %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td width="50%" valign="top">
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+</form>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/mailnotify.tmpl
===================================================================
--- trunk/www/other/twiki/mailnotify.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/mailnotify.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,31 @@
+From: %WIKIWEBMASTER%
+To: %EMAILTO%
+Subject: %WIKITOOLNAME%.%WEB% - Automated notification of topic changes
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="------------2D594AE113AD25493C2C7246"
+
+This is a multi-part message in MIME format.
+--------------2D594AE113AD25493C2C7246
+Content-Type: text/plain; charset=%CHARSET%
+Content-Transfer-Encoding: 7bit
+
+This is an automated email from %WIKITOOLNAME%.
+
+New or changed topics in %WIKITOOLNAME%.%WEB%, since %LASTDATE% GMT:
+%TOPICLIST%
+
+Review recent changes in:
+ %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/WebChanges
+
+Subscribe / Unsubscribe in:
+ %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%NOTIFYTOPIC%
+
+--------------2D594AE113AD25493C2C7246
+Content-Type: text/html; charset=%CHARSET%; name="%WEB%Changes.html"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline; filename="%WEB%Changes.html"
+Content-Base: "%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%HOMETOPIC%"
+
+%EMAILBODY%
+
+--------------2D594AE113AD25493C2C7246--
Added: trunk/www/other/twiki/moveattachment.tmpl
===================================================================
--- trunk/www/other/twiki/moveattachment.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/moveattachment.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,38 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="rename"
action="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}%(move attachment)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Move file attachment* %TMPL:END%
+%TMPL:P{"simpleheader"}%
+---+ Move or Delete File <code>%FILENAME%</code>
+
+| | *Web:* | * Topic:* |
+| *From:* | %WEB%. | %TOPIC% |
+| *To:* | <select name="newweb"> %WEBLIST{"<option $marker
value=$qname>$name</option>" webs="Trash,public" selection="%WEB%" separator="
"}% </select>. | <input name="newtopic" value="%TOPIC%" /> |
+<input type="hidden" name="attachment" value="%FILENAME%" />
+<input type="hidden" name="changeRefs" value="0" />
+
+__Note:__
+
+ * To delete an attachment move it to web *Trash*, topic *TrashAttachment*.
+ * The attachment and any history will be moved to the new topic.
+ * An error page will be shown if either of the topics are locked by another
user.
+ * The new topic chosen must already exist.
+ * Note that any URLs that refer to the attachment will be broken after this
move.
+
+%TMPL:DEF{"topicaction"}%
+ <input type="submit" value=" Move " />
+ %TMPL:P{"sep"}% [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"standardfooter"}%
+</form>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/oopsaccesschange.tmpl
===================================================================
--- trunk/www/other/twiki/oopsaccesschange.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsaccesschange.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Change Access Denied%TMPL:END%
+%TMPL:DEF{"message"}%
+You do not have permission to change topic <nop>%WEB%.<nop>%TOPIC%.
+
+Contact
+<a
href="mailto:%WIKIWEBMASTER%?subject=Change Access Denied for '%WEB%.%TOPIC%'">%WIKIWEBMASTER%</a>
+if you have any questions.
+
+__Related topics:__ %MAINWEB%.TWikiGroups, %TWIKIWEB%.TWikiAccessControl
%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsaccesscreateweb.tmpl
===================================================================
--- trunk/www/other/twiki/oopsaccesscreateweb.tmpl 2004-03-20 05:01:08 UTC
(rev 5411)
+++ trunk/www/other/twiki/oopsaccesscreateweb.tmpl 2004-03-20 06:19:43 UTC
(rev 5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Create Web Access Denied%TMPL:END%
+%TMPL:DEF{"message"}%
+You do not have permission to create new TWiki webs.
+
+Contact
+<a
href="mailto:%WIKIWEBMASTER%?subject=Create Web Access Denied for '%WEB%.%TOPIC%'">%WIKIWEBMASTER%</a>
+if you have any questions.
+
+__Related topics:__ %MAINWEB%.TWikiGroups, %TWIKIWEB%.TWikiAccessControl,
%TWIKIWEB%.%WIKIPREFSTOPIC% %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsaccessgroup.tmpl
===================================================================
--- trunk/www/other/twiki/oopsaccessgroup.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsaccessgroup.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Access Denied%TMPL:END%
+%TMPL:DEF{"message"}%
+Only members of the %PARAM1% are allowed to perform this action.
+
+Contact
+<a
href="mailto:%WIKIWEBMASTER%?subject=Access Denieds fors '%WEB%.%TOPIC%',s needs '%PARAM1%'">%WIKIWEBMASTER%</a>
+if you have any questions.
+
+__Related topics:__ %MAINWEB%.TWikiGroups, %TWIKIWEB%.TWikiAccessControl
%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%MAINWEB%.%HOMETOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsaccessrename.tmpl
===================================================================
--- trunk/www/other/twiki/oopsaccessrename.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsaccessrename.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}% (oops) %TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}% Rename Access Denied%TMPL:END%
+%TMPL:DEF{"message"}%
+You do not have permission to rename topic <nop>%WEB%.<nop>%TOPIC%.
+
+Contact
+<a
href="mailto:%WIKIWEBMASTER%?subject=Rename Access Denied for '%WEB%.%TOPIC%'">%WIKIWEBMASTER%</a>
+if you have any questions.
+
+__Related topics:__ %MAINWEB%.TWikiGroups, %TWIKIWEB%.TWikiAccessControl
%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsaccessview.tmpl
===================================================================
--- trunk/www/other/twiki/oopsaccessview.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsaccessview.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%View Access Denied%TMPL:END%
+%TMPL:DEF{"message"}%
+You do not have permission to view topic <nop>%WEB%.<nop>%TOPIC%.
+
+Contact
+<a
href="mailto:%WIKIWEBMASTER%?subject=View Access Denied for '%WEB%.%TOPIC%'">%WIKIWEBMASTER%</a>
+if you have any questions.
+
+__Related topics:__ %MAINWEB%.TWikiGroups, %TWIKIWEB%.TWikiAccessControl
%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%MAINWEB%.%HOMETOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsauth.tmpl
===================================================================
--- trunk/www/other/twiki/oopsauth.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/oopsauth.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,21 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Either you need to register or the authentication
failed%TMPL:END%
+%TMPL:DEF{"message"}%
+To edit topics on this %WIKITOOLNAME% collaborative web, you must be
registered as a user.
+
+---+++ If you expected to be logged in at this point:
+
+ * Did you type in your login name and password correctly? Remeber, both are
case sensitive.
+ * If you want to try again, back arrow and hit edit again.
+ * Registered users can %TWIKIWEB%.ChangePasswords and
%TWIKIWEB%.ResetPasswords.
+ * __Note:__ You can also login anonymously as user *TWikiGuest* with
password *guest*.
+
+---+++ To register as a new user:
+
+ * Simply fill out the *[[%TWIKIWEB%.TWikiRegistration][TWikiRegistration]]*
form. It only takes a minute. %TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ [[%WEB%.%TOPIC%][OK]] %TMPL:P{"sep"}%
+ [[%TWIKIWEB%.TWikiRegistration][Register]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsbadpwformat.tmpl
===================================================================
--- trunk/www/other/twiki/oopsbadpwformat.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsbadpwformat.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,13 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Password Format Error!%TMPL:END%
+%TMPL:DEF{"message"}%
+Incorrect format of submitted data: <b>%PARAM1%</b>
+
+The correct format is =WikiName:<encryptedpassword>= (13 chars).
+
+Please go back and check.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopschangepasswd.tmpl
===================================================================
--- trunk/www/other/twiki/oopschangepasswd.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopschangepasswd.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,10 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(note)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Note* %TMPL:END%
+%TMPL:DEF{"heading"}%Password changed successfully!%TMPL:END%
+%TMPL:DEF{"message"}%
+
+You need to close your browser to make this change take effect.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsempty.tmpl
===================================================================
--- trunk/www/other/twiki/oopsempty.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsempty.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,15 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Topic must not be empty%TMPL:END%
+%TMPL:DEF{"message"}%
+You cannot save a topic with no text entered. Please try again.
+
+Some browser configurations occasionally send undefined data to the
+server. Don't worry, your changes are not lost. Just click the Back
+button on your browser and try again.
+
+The other possibility is that someone sent you the preview URL of
+%WEB%.%TOPIC% instead of the view URL. %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopslocked.tmpl
===================================================================
--- trunk/www/other/twiki/oopslocked.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopslocked.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,19 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Topic is locked by another user%TMPL:END%
+%TMPL:DEF{"message"}%
+There is a possibility that <b> %PARAM1% </b> is editing this topic.
+Please ask the contributor before making changes to this topic.
+
+ * To look at the text without editing the topic click on the *View raw
text* link.
+ * To edit anyway click on the *Edit anyway* link.
+ * To cancel go back in your browser or click on *Cancel*.
+
+__Note:__ Locking gets reset after %PARAM2% minutes of inactivity,
+the earliest in <b>%PARAM3% minutes</b>. %TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ [[%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on][View raw text]]
%TMPL:P{"sep"}%
+ <a href="%EDITURL%&breaklock=on">Edit anyway</a> %TMPL:P{"sep"}%
+ [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopslockedrename.tmpl
===================================================================
--- trunk/www/other/twiki/oopslockedrename.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopslockedrename.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,17 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops rename)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Topic is locked by another user%TMPL:END%
+%TMPL:DEF{"message"}%
+
+%OLD_LOCK%
+%NEW_LOCK%
+
+ * To rename anyway click on *Rename anyway*
+ * To cancel go back in your browser or click on *Cancel*
+
+%TMPL:END%
+%TMPL:DEF{"topicaction"}%
+
[[%SCRIPTURL%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%?breaklock=on&newWeb=%NEW_WEB%&newTopic=%NEW_TOPIC%&attachment=%ATTACHMENT%][Rename
anyway]]
+ %TMPL:P{"sep"}% [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsmanage.tmpl
===================================================================
--- trunk/www/other/twiki/oopsmanage.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsmanage.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,22 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Administration error%TMPL:END%
+%TMPL:DEF{"msg_missing_action"}%
+---++ Error: Missing action command
+Possibly caused by improper use of the =manage= script.
+
+Please go back in your browser and try again. %TMPL:END%
+%TMPL:DEF{"msg_unrecognized_action"}%
+---++ Error: Unrecognized action command
+Possibly caused by improper use of the =manage= script.
+
+Please go back in your browser and try again.
+
+Action: %TMPL:END%
+%TMPL:DEF{"message"}%
+%PARAM1%
+%PARAM2% %TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsmissing.tmpl
===================================================================
--- trunk/www/other/twiki/oopsmissing.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsmissing.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,8 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops topic missing)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Topic does not exist%TMPL:END%
+%TMPL:DEF{"message"}%
+Please go back in your browser and chose a topic that exists. %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsmngcreateweb.tmpl
===================================================================
--- trunk/www/other/twiki/oopsmngcreateweb.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsmngcreateweb.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,65 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Create New Web%TMPL:END%
+%TMPL:DEF{"msg_web_missing"}%
+---++ Error: Name of new web is missing
+Please go back in your browser and try again. %TMPL:END%
+%TMPL:DEF{"msg_web_name"}%
+---++ Error: Invalid name of new web
+Enter a short name of up to 10 characters. The name must start with one
+or more upper case letters, followed by optional lower case letters or
+numbers; it cannot be a %TWIKIWEB%.WikiWord. If you want to create a
+template web (a web just used as a base to create new webs) choose a
+name that starts with an underscore and has only alphanumeric characters.
+
+Please go back in your browser and try again. %TMPL:END%
+%TMPL:DEF{"msg_web_exist"}%
+---++ Error: Cannot create this web because it already exists
+Please go back in your browser and try again.
+
+Web: %TMPL:END%
+%TMPL:DEF{"msg_base_web"}%
+---++ Error: Name of base web is missing or does not exist
+Please go back in your browser and try again.
+Base web: %TMPL:END%
+%TMPL:DEF{"msg_web_color"}%
+---++ Error: Web color is missing or has an invalid format
+A color starts with the number sign, followed by 6 hexadecimal
+numbers, e.g. yellow is =#FFFF00=.
+
+Pick one of the %TWIKIWEB%.StandardColors.
+
+Please go back in your browser and try again. %TMPL:END%
+%TMPL:DEF{"msg_web_create"}%
+---++ Error: Could not create the new web
+
+Error message: %TMPL:END%
+%TMPL:DEF{"msg_web_copy_topics"}%
+---++ Error: Could not copy topics to the new web
+
+The new web has been created, however not all topics could
+be copied from the base web.
+
+Error message: %TMPL:END%
+%TMPL:DEF{"msg_patch_webpreferences"}%
+---++ Error: Could not update the <nop>WebPreferences
+
+The new web has been created and all topics have been copied.
+However, there was an error while trying to update the WebPreferences.
+
+Error message: %TMPL:END%
+%TMPL:DEF{"msg_create_web_ok"}%
+---++ Note: The new web has been created and populated with topics from the
base web
+
+Would you like to go to:
+ * %HOMETOPIC% to start working on the new web
+ * %WEBPREFSTOPIC% to customize the web specific preferences
+ * [[%MAINWEB%.%HOMETOPIC%][%WIKITOOLNAME%]] home
+%TMPL:END%
+%TMPL:DEF{"message"}%
+%PARAM1%
+%PARAM2% %TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsmore.tmpl
===================================================================
--- trunk/www/other/twiki/oopsmore.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/oopsmore.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,45 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(more)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Topic actions* %TMPL:END%
+%TMPL:DEF{"heading"}%More Actions on Topic %TOPIC%%TMPL:END%
+%TMPL:DEF{"message"}%
+
+ * *Rename, move or delete <nop>%TOPIC%:*
+ * <a
href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%?currentwebonly=on">Rename/move
topic</a>,
+ looking for references in __%WEB% web__ only.
+ * *<a
href="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Rename/move
topic</a>*,
+ looking for references in __all public webs__. *(recommended)*
+
+ * *Ref-By:*
+ * <a
href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/SearchResult?scope=text&regex=on&search=%SPACEDTOPIC%%5B%5EA-Za-z%5D">Find
topics</a>
+ in __%WEB% web__ that link to <nop>%TOPIC%.
+ * <a
href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/SearchResult?scope=text&web=all;&regex=on&search=%SPACEDTOPIC%%5B%5EA-Za-z%5D">Find
topics</a>
+ in __all public webs__ that link to <nop>%TOPIC%.
+ * Child topics in __%WEB% Web__: %METASEARCH{type="parent" web="%WEB%"
topic="%TOPIC%" title=""}%
+
+<form name="main" action="%EDITURL%">
+ * *Parent of <nop>%TOPIC%:*
+ * Set topic parent to
+ <select name="topicparent"><option value="">Select...</option>
+ %TOPICLIST{"<option value=$qname>$name</option>" separator=" "}%
+ </select>,
+ then <input type="submit" value="Edit" /> and save the topic
+ to activate the new parent.
+</form>
+
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+ * *View previous topic revision:*
+ * Revision: <input type="text" name="rev" size="6" value="%PARAM2%" />
+ in <input type="checkbox" name="raw"> raw text format
+ <input type="submit" value="View revision" />
+ * Revisions: 1.1 ... %PARAM1%
+</form>
+
+<form name="main"
action="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+ * *Compare revisions:*
+ * Older revision: <input type="text" name="rev2" size="6"
value="1.1" />
+ * Newer revision: <input type="text" name="rev1" size="6"
value="%PARAM1%" />
+ <input type="submit" value="View difference" />
+</form> %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsmoveerr.tmpl
===================================================================
--- trunk/www/other/twiki/oopsmoveerr.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsmoveerr.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,13 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Attachment move error%TMPL:END%
+%TMPL:DEF{"message"}%
+During move of attachment %PARAM1% in %WEB%.%TOPIC% an error was found. Please
notify your %WIKITOOLNAME%
+administrator.
+
+%PARAM2%
+
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsnoformdef.tmpl
===================================================================
--- trunk/www/other/twiki/oopsnoformdef.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsnoformdef.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,30 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Form Definition missing%TMPL:END%
+%TMPL:DEF{"message"}%
+See %TWIKIWEB%.TWikiForms for information about Form Definitions.
+
+Problem could be for two reasons:
+
+---++ 1. Form definition missing
+
+ * [[%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on][View raw topic
text]]
+ * There should be a line that includes =META:FORM=, look for
name="<formName>"
+ * If this line isn't present see _upgrade_ section below
+ * There should be a topic <formName>
+ * If this is missing create it, otherwise check it for errors
+
+---++ 2. Topic can not be upgraded from old style category table
+
+This requires the form definition to be present.
+
+This can be automatically upgraded by:
+
+ * Creating a suitable Form Definition topic
+ * Adding a =WEBFORMS= variable in WebPreferences
+
+Please ask your administrator, %WIKIWEBMASTER%, to do this. %TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ [[%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?raw=on][View raw topic text]]
%TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsnotwikiuser.tmpl
===================================================================
--- trunk/www/other/twiki/oopsnotwikiuser.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsnotwikiuser.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%You are not registered%TMPL:END%
+%TMPL:DEF{"message"}%
+Can't find the username <b>%PARAM1%</b>.
+
+Make sure you spelled the User Name correctly and try again.
+Remember, a %TWIKIWEB%.WikiName is case sensitive.
+
+See %MAINWEB%.TWikiUsers for a list of existing users or register as new user
in
+%TWIKIWEB%.TWikiRegistration. %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsnoweb.tmpl
===================================================================
--- trunk/www/other/twiki/oopsnoweb.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsnoweb.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,38 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops, web doesn't exist)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%The "%WEB%" web does not exist%TMPL:END%
+%TMPL:DEF{"message"}%
+A %TWIKIWEB%.TWikiSite is divided into webs; each one represents one
+subject, one area of collaboration. You are trying to access a web
+that does not exist.
+
+---+++ If you came here by clicking on a question mark link:
+<blockquote>
+A link to a topic located in another web is are written like
*Otherweb.<nop>TopicName*.
+Make sure that the name of the web is not misspelled on the previous page; fix
the
+link if necessary.
+</blockquote>
+
+---+++ If you would like to create this web:
+<blockquote>
+You can
+[[%SCRIPTURL%/view%SCRIPTSUFFIX%/%TWIKIWEB%/ManagingWebs?newweb=%WEB%&newtopic=%TOPIC%#CreateNewWeb][create
a new web]]
+if you have the permission. Contact %WIKIWEBMASTER% if you have any questions.
+</blockquote>
+
+---+++ If you intend to do a full text search:
+
+<blockquote>
+<form name="search" action="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%MAINWEB%/">
+<input type="text" name="search" size="32" value="%WEB%.%TOPIC%">
+<input type="submit" value="Search">
+<input type="hidden" name="web" value="all">
+<input type="hidden" name="scope" value="text">
+<input type="hidden" name="ignorecase" value="on">
+ (More options in %MAINWEB%.WebSearch)
+</form>
+</blockquote>
+ %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%MAINWEB%.%HOMETOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopspreview.tmpl
===================================================================
--- trunk/www/other/twiki/oopspreview.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopspreview.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,10 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Topic is not saved yet%TMPL:END%
+%TMPL:DEF{"message"}%
+Please go back in your browser and save the topic.
+
+__Note:__ Go back and click on Cancel if you would like to cancel the changes
you did. %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsregemail.tmpl
===================================================================
--- trunk/www/other/twiki/oopsregemail.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsregemail.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,11 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Invalid email address%TMPL:END%
+%TMPL:DEF{"message"}%
+The email address entered is not valid.
+
+Please go back in your browser and try again.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsregexist.tmpl
===================================================================
--- trunk/www/other/twiki/oopsregexist.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsregexist.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,12 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%You are already registered%TMPL:END%
+%TMPL:DEF{"message"}%
+Can't register twice, the username %PARAM1% is already registered.
+
+Please contact
+<a
href="mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME% Registration Question">%WIKIWEBMASTER%</a>
+if you have any questions. %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsregpasswd.tmpl
===================================================================
--- trunk/www/other/twiki/oopsregpasswd.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsregpasswd.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,11 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Passwords do not match%TMPL:END%
+%TMPL:DEF{"message"}%
+The two passwords you entered do not match.
+
+Please go back in your browser and try again.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsregrequ.tmpl
===================================================================
--- trunk/www/other/twiki/oopsregrequ.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsregrequ.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,11 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Missing Fields%TMPL:END%
+%TMPL:DEF{"message"}%
+Fields with a =<font color="red">**</font>= mark are required.
+
+Please go back in your browser and try again.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsregthanks.tmpl
===================================================================
--- trunk/www/other/twiki/oopsregthanks.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsregthanks.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,12 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(note)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Note* %TMPL:END%
+%TMPL:DEF{"heading"}%Thank you for registering%TMPL:END%
+%TMPL:DEF{"message"}%
+ * You can review your changes in your personal TWiki topic %TOPIC% <br />
+ (__Suggestion:__ How about uploading your picture to your topic?)
+ * You are also listed in the %MAINWEB%.%WIKIUSERSTOPIC% topic
+ * A confirmation e-mail has been sent to %PARAM1%
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsregwiki.tmpl
===================================================================
--- trunk/www/other/twiki/oopsregwiki.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsregwiki.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,18 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Incorrect <nop>WikiName%TMPL:END%
+%TMPL:DEF{"message"}%
+The %TWIKIWEB%.WikiName field must be your first and lastname in
+%TWIKIWEB%.WikiNotation, e.g. your capitalized first and lastname
+with spaces removed.
+
+| *Good examples:* | *Incorrect <nop>WikiNames:* |
+| =JohnSmith= | =John M. Smith= |
+| =RjMiller= | =RJ Miller= |
+| =RickO= | =Rick O= (single character last name) |
+| =KellerF= | =FKeller= (single character first name) |
+
+Please go back in your browser and try again. %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsrenameerr.tmpl
===================================================================
--- trunk/www/other/twiki/oopsrenameerr.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsrenameerr.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,13 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Rename/move topic error%TMPL:END%
+%TMPL:DEF{"message"}%
+During rename of topic <nop>%WEB%.<nop>%TOPIC% to <nop>%PARAM2%.<nop>%PARAM3%
an error (%PARAM1%) was found. Please notify your %WIKITOOLNAME%
+administrator.
+
+%PARAM2%
+
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][Old Topic]] %TMPL:P{"sep"}%
[[%PARAM2%.%PARAM3%][New Topic]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsrenamenotwikiword.tmpl
===================================================================
--- trunk/www/other/twiki/oopsrenamenotwikiword.tmpl 2004-03-20 05:01:08 UTC
(rev 5411)
+++ trunk/www/other/twiki/oopsrenamenotwikiword.tmpl 2004-03-20 06:19:43 UTC
(rev 5412)
@@ -0,0 +1,8 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops new topic not a %TWIKIWEB%.WikiWord)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%New topic name is not a %TWIKIWEB%.WikiWord %TMPL:END%
+%TMPL:DEF{"message"}%
+Please go back in your browser and chose a topic name that is a
%TWIKIWEB%.WikiWord or check the allow non-Wiki Word box %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsresetpasswd.tmpl
===================================================================
--- trunk/www/other/twiki/oopsresetpasswd.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsresetpasswd.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,11 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(note)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Note* %TMPL:END%
+%TMPL:DEF{"heading"}%How to reset your TWiki password%TMPL:END%
+%TMPL:DEF{"message"}%
+The following *bold* string is your encrypted password entry: *%PARAM1%*
+
+Please copy this information into a friendly e-mail to
+<a
href="mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME% Reset Password&body=%PARAM1%">%WIKIWEBMASTER%</a>
%TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsrev.tmpl
===================================================================
--- trunk/www/other/twiki/oopsrev.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/oopsrev.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,28 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(revision)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Select revision* %TMPL:END%
+%TMPL:DEF{"heading"}%View Previous Topic Revision%TMPL:END%
+%TMPL:DEF{"message"}%
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+ * Revision: <input type="text" name="rev" size="6" value="%PARAM1%" />
+ <input type="submit" value="View revision" /> ( 1.1 ... %PARAM1% )
+</form>
+
+---+ Compare Revisions
+
+<form name="main"
action="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+<table>
+<tr><td>
+ * Older revision:
+</td><td>
+<input type="text" name="rev2" size="6" value="1.1" />
+</td></tr><tr><td>
+ * Newer revision:
+</td><td>
+<input type="text" name="rev1" size="6" value="%PARAM1%" />
+<input type="submit" value="View difference" />
+</td></tr>
+</table>
+</form> %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopssave.tmpl
===================================================================
--- trunk/www/other/twiki/oopssave.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/oopssave.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,18 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Inproper use of the <code>save</code> script%TMPL:END%
+%TMPL:DEF{"message"}%
+You cannot call this script directly, %WIKITOOLNAME% uses it internally.
+
+Some browser configurations occasionally send undefined data to the
+server. Don't worry, your changes are not lost. Just click the Back
+button on your browser and then try Save again.
+
+The other possibility is an internal error in %WIKITOOLNAME%
+configuration, or that you did not have write access to the
+directory or file that was being edited.
+
+Please go back in your browser and save the topic. %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopssaveerr.tmpl
===================================================================
--- trunk/www/other/twiki/oopssaveerr.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopssaveerr.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,14 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Topic save error%TMPL:END%
+%TMPL:DEF{"message"}%
+During save of file %WEB%.<nop>%TOPIC% an error was found by the
+version control system. Please notify your %WIKITOOLNAME%
+administrator.
+
+=%PARAM1%=
+
+Go back in your browser and save your changes locally. %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopssendmailerr.tmpl
===================================================================
--- trunk/www/other/twiki/oopssendmailerr.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopssendmailerr.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,12 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Send Mail Error%TMPL:END%
+%TMPL:DEF{"message"}%
+The e-mail could not be delivered. Please notify your %WIKITOOLNAME%
+administrator,
+<a
href="mailto:%WIKIWEBMASTER%?subject=%WIKITOOLNAME% Send%20Mail%20Error">%WIKIWEBMASTER%</a>
+
+=%PARAM1%= %TMPL:END%
+%TMPL:DEF{"topicaction"}% [[%WEB%.%TOPIC%][OK]] %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopstopicexists.tmpl
===================================================================
--- trunk/www/other/twiki/oopstopicexists.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopstopicexists.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,8 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops, topic exists)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%The "%TOPIC%" topic already exists%TMPL:END%
+%TMPL:DEF{"message"}%
+ Can not rename to %TOPIC% as this already exists, please go _back_ in
browser and try a new name %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopsupload.tmpl
===================================================================
--- trunk/www/other/twiki/oopsupload.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/oopsupload.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,9 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Uploaded file <code>%PARAM1%</code> does not exist or is
empty%TMPL:END%
+%TMPL:DEF{"message"}%
+Please go back in your browser and check again.
+%TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/oopswrongpassword.tmpl
===================================================================
--- trunk/www/other/twiki/oopswrongpassword.tmpl 2004-03-20 05:01:08 UTC
(rev 5411)
+++ trunk/www/other/twiki/oopswrongpassword.tmpl 2004-03-20 06:19:43 UTC
(rev 5412)
@@ -0,0 +1,10 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"titleaction"}%(oops)%TMPL:END%
+%TMPL:DEF{"webaction"}% *Attention* %TMPL:END%
+%TMPL:DEF{"heading"}%Incorrect Password%TMPL:END%
+%TMPL:DEF{"message"}%
+The password you entered in the *old password* field is incorrect.
+
+Please go back in your browser and try again. %TMPL:END%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"oops"}%
Added: trunk/www/other/twiki/preview.tmpl
===================================================================
--- trunk/www/other/twiki/preview.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/preview.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,66 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_PREVIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+<script language="JavaScript">
+<!--HIDE
+function launchWindow( theWeb, theTopic ) {
+ win = open("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic +
"?skin=plain", theTopic,
"titlebar=0,width=500,height=480,resizable,scrollbars");
+ if( win ) {
+ win.focus();
+ }
+ return false;
+}
+//STOP HIDING-->
+</script>
+</head>
+<body bgcolor="#ffffff" background="%PREVIEWBGIMAGE%">
+#PageTop
+%TMPL:DEF{"titleaction"}%(preview)%TMPL:END%
+%TMPL:DEF{"headerhelp"}% <font size="-2">
+ <ul>
+ <li> To <b>save</b> changes: Press the [Save Changes] button.
+ <li> To make <b>more changes</b>: Go back in your browser.
+ <li> To <b>cancel</b>: Go back twice.
+ </ul>
+ </font> %TMPL:END%
+%TMPL:DEF{"webaction"}%
+ <b><font color="#FF0000">Note:</font></b>
+ This is a preview. <b><font color="#FF0000">Do not forget</font></b> to save
your changes. %TMPL:END%
+%TMPL:P{"simpleheader"}%
+<br />
+%TEXT%
+%META{"form"}%
+%META{"attachments"}%
+<br clear="all" />
+<form name="main"
action="%SCRIPTURLPATH%/save%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%"
method="post">
+<input type="hidden" name="text" value="%HIDDENTEXT%" />
+<input type="hidden" name="cmd" value="%CMD%" />
+<input type="hidden" name="formtemplate" value="%FORMTEMPLATE%" />
+<input type="hidden" name="topicparent" value="%TOPICPARENT%" />
+%TMPL:DEF{"topicaction"}% <input type="submit" value=" Save Changes " />
%FORMFIELDS% %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td bgcolor="%WEBBGCOLOR%">
+
+ </td><td valign="top">
+
+ <input type="checkbox" name="unlock" %RELEASEEDITLOCKCHECKBOX% /> Release
edit lock
+ <font size="-1">(<a target="UnlockTopic" onClick="return
launchWindow('%TWIKIWEB%','UnlockTopic')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/UnlockTopic">help</a>)</font>
<br />
+
+ <input type="checkbox" name="dontnotify" %DONTNOTIFYCHECKBOX% /> Minor
changes, don't notify
+ <font size="-1">(<a target=DontNotify" onClick="return
launchWindow('%TWIKIWEB%','DontNotify')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/DontNotify">help</a>)</font>
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+</form>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/rdiff.tmpl
===================================================================
--- trunk/www/other/twiki/rdiff.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/rdiff.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,44 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title>%WIKITOOLNAME% . %WEB% . %TOPIC% (%REVTITLE2% vs. %REVTITLE1%)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}%(%REVTITLE2% vs. %REVTITLE1%)%TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+%REPEAT%<table width="100%" border="3" cellpadding="0" cellspacing="0">
+ <tr bgcolor="%WEBBGCOLOR%">
+ <td width="99%">
+ <tt><b><<O>></b></tt> Difference Topic
+ <b><a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%">%TOPIC%</a></b>
+ (<a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?rev=%REVTITLE1%">%REVTITLE1%</a>
- %REVINFO1%)
+ </td>
+ </tr>
+</table>
+%TEXT%
+<br clear="all" />%REPEAT%
+%TMPL:DEF{"topicaction"}% <a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%">View</a>
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Diffs</a> %REVISIONS%
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%?template=oopsmore¶m1=%MAXREV%¶m2=%CURRREV%">More</a>
%TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+ Revision %REVTITLE2% - %REVINFO2%<br />
+ Revision %REVTITLE1% - %REVINFO1%
+ </td>
+ <td width="40%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/registernotify.tmpl
===================================================================
--- trunk/www/other/twiki/registernotify.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/registernotify.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,36 @@
+From: %WIKIWEBMASTER%
+To: %EMAILADDRESS%
+BCC: %WIKIWEBMASTER%
+Subject: %WIKITOOLNAME% - Registration for %WIKINAME%
+MIME-Version: 1.0
+Content-Type: text/plain; charset=%CHARSET%
+Content-Transfer-Encoding: 7bit
+
+This is an automated email notification of user registration
+in %WIKITOOLNAME%.
+
+Thank you for registering in the %WIKITOOLNAME% collaboration
+platform. Please save this email for future reference.
+
+Read %SCRIPTURL%/view%SCRIPTSUFFIX%/%TWIKIWEB%/WelcomeGuest
+to get a quick overview of this collaboration platform. To
+learn more, study the TWikiTutorial, which is accessible from
+the same link.
+
+Your personal %WIKITOOLNAME% topic is located at
+%SCRIPTURL%/view%SCRIPTSUFFIX%/%MAINWEB%/%WIKINAME% .
+You can customize it as you like:
+
+ * Some people turn it into a personal portal with favorite
+ links, what they work on etc.
+ * Some add schedule information and vacation notice.
+ * How about attaching your photo?
+
+Submitted content:
+
+%FORMDATA%
+
+Note:
+In case you got this email by mistake: Somebody (%FIRSTLASTNAME%)
+registered at the %WIKITOOLNAME% site using your mail address
+%EMAILADDRESS% . Contact %WIKIWEBMASTER% if needed.
Added: trunk/www/other/twiki/rename.tmpl
===================================================================
--- trunk/www/other/twiki/rename.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/rename.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,17 @@
+%TMPL:INCLUDE{"renamebase"}%
+%TMPL:DEF{"titleaction"}%(rename)%TMPL:END%
+%TMPL:DEF{"webaction"}%Rename%TMPL:END%
+%TMPL:DEF{"newtopic"}%<input name="newtopic" value="%TOPIC%" size="36"
/>%TMPL:END%
+%TMPL:DEF{"newweb"}%<select name="newweb">%WEBLIST{"<option $marker
value=$qname>$name</option>" webs="Trash,public" selection="%WEB%" separator="
"}%</select>%TMPL:END%
+%TMPL:DEF{"notes"}%
+<br />
+<input type="checkbox" name="nonwikiword" />
+Allow non <nop>WikiWord for the new topic name. <br />
+__Note:__ It's usually best to chose a
+<a target="WikiWord" onClick="return launchWindow('%TWIKIWEB%','WikiWord')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/WikiWord">WikiWord</a>
+for the new topic name, otherwise automatic linking may not work. Characters
not
+allowed in topic names, such as spaces will automatically be removed.%TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ <input type="submit" value="Rename/Move" />
+ %TMPL:P{"sep"}% [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"rename"}%
Added: trunk/www/other/twiki/renamebase.tmpl
===================================================================
--- trunk/www/other/twiki/renamebase.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/renamebase.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,62 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:DEF{"rename"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+ <script language="JavaScript">
+ <!--HIDE
+ function launchWindow( theWeb, theTopic ) {
+ win = open("%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/" + theWeb + "/" + theTopic
+ "?skin=plain", theTopic,
"titlebar=0,width=500,height=480,resizable,scrollbars");
+ if( win ) {
+ win.focus();
+ }
+ return false;
+ }
+
+ function checkAll( theCheck )
+ {
+ // find button element index
+ var j = 0;
+ for( var i = 0; i < document.rename.length; i++ ) {
+ document.rename.elements[i].checked = theCheck;
+ }
+ }
+ //STOP HIDING-->
+ </script>
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form method="POST" name="rename"
action="%SCRIPTURLPATH%/rename%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:P{"simpleheader"}%
+---+ %TMPL:P{"webaction"}% <code>%TOPIC%</code>
+
+| | *Web:* | * Topic:* |
+| *From:* | %WEB%. | %TOPIC% |
+| *To:* | %TMPL:P{"newweb"}%. | %TMPL:P{"newtopic"}% |
+%TMPL:P{"notes"}%
+
+---++ Change links in topics that refer to <nop>%TOPIC% in the %WEB% Web:
+
+%RESEARCH{ "%TOPIC%" web="%WEB%" noempty="on" showlock="on" nototal="on"
regex="on" nosearch="on" order="modified" reverse="on" nosummary="on"
showlock="on" renameview="local"}%
+
+---++ Change links in topics that refer to <nop>%WEB%.<nop>%TOPIC% in any Web:
+
+%RESEARCH{ "%WEB%\.%TOPIC%" web="all" noempty="on" showlock="on" nototal="on"
regex="on" nosearch="on" order="modified" reverse="on" nosummary="on"
showlock="on" renameview="global"}%
+
+<input type="button" value="Clear all checkboxes" onClick="checkAll(false);" />
+
+__Note:__
+ * Get help on
+ <a target="ManagingTopics" onClick="return
launchWindow('%TWIKIWEB%','ManagingTopics')"
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%TWIKIWEB%/ManagingTopics">Renaming
and moving topics</a>.
+ * Select the Trash Web to delete the topic.
+ * The checkmarked topics will be updated (another form will appear which
will _eventually_ allow you to rename any topics that were locked)
+
+%TMPL:P{"hidden"}%
+%TMPL:P{"standardfooter"}%
+#PageBottom
+</form>
+</body>
+</html>%TMPL:END%
Added: trunk/www/other/twiki/renameconfirm.tmpl
===================================================================
--- trunk/www/other/twiki/renameconfirm.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/renameconfirm.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,9 @@
+%TMPL:INCLUDE{"renamebase"}%
+%TMPL:DEF{"titleaction"}%(rename)%TMPL:END%
+%TMPL:DEF{"webaction"}%Confirm rename or move%TMPL:END%
+%TMPL:DEF{"newtopic"}%<input type="hidden" name="newtopic" value="%NEW_TOPIC%"
/>%NEW_TOPIC%%TMPL:END%
+%TMPL:DEF{"newweb"}%<input type="hidden" name="newweb" value="%NEW_WEB%"
/>%NEW_WEB%%TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ <input type="submit" value="Rename/Move" />
+ %TMPL:P{"sep"}% [[%WEB%.%TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"rename"}%
Added: trunk/www/other/twiki/renamerefs.tmpl
===================================================================
--- trunk/www/other/twiki/renamerefs.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/renamerefs.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,10 @@
+%TMPL:INCLUDE{"renamebase"}%
+%TMPL:DEF{"titleaction"}%(rename - change refs)%TMPL:END%
+%TMPL:DEF{"webaction"}% Change references (post rename) %TMPL:END%
+%TMPL:DEF{"newtopic"}%<input type="hidden" name="newtopic" value="%NEW_TOPIC%"
/>%NEW_TOPIC%%TMPL:END%
+%TMPL:DEF{"newweb"}%<input type="hidden" name="newweb" value="%NEW_WEB%"
/>%NEW_WEB%%TMPL:END%
+%TMPL:DEF{"hidden"}% <input type="hidden" name="changeRefs" value="on" />
%TMPL:END%
+%TMPL:DEF{"topicaction"}%
+ <input type="submit" value="Change references" />
+ %TMPL:P{"sep"}% [[%NEW_WEB%.%NEW_TOPIC%][Cancel]] %TMPL:END%
+%TMPL:P{"rename"}%
Added: trunk/www/other/twiki/search.tmpl
===================================================================
--- trunk/www/other/twiki/search.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/search.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,65 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title>%WIKITOOLNAME% . %WEB% (search result)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}%(search result)%TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+%SPLIT%Search: <b> %SEARCHSTRING% </b>
+<p />
+%SPLIT%<table width="100%" border="0" cellpadding="0" cellspacing="4">
+<tr bgcolor="%WEBBGCOLOR%">
+ <td width="50%">
+ <b>Topics in %WEB% web:</b>
+ </td><td width="30%">
+ <b>Changed:</b> now %GMTIME{"$hour:$min"}% GMT
+ </td><td width="20%">
+ <b>Changed by:</b>
+ </td>
+</tr>
+</table>
+%REPEAT%<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<tr>
+ <td width="50%">
+ <a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%"><b>%TOPICNAME%</b></a>
+ <b><font color="red">%LOCKED%</font><b>
+ </td><td width="30%">
+ <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%">%TIME%</a>
- %REVISION%
+ </td><td width="20%">
+ %AUTHOR%
+ </td>
+</tr>
+<tr>
+ <td colspan="2" width="80%">
+ <font size="-1">
+ %TEXTHEAD% </font>
+ </td><td width="20%">
+
+ </td>
+</tr></table>
+%REPEAT%<br clear="all" />
+<p />%SPLIT%Number of topics: <b>%NTOPICS%</b>
+<p />%SPLIT%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/searchbookview.tmpl
===================================================================
--- trunk/www/other/twiki/searchbookview.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/searchbookview.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,60 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title>%WIKITOOLNAME% . %WEB% (book view)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}%(book view)%TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+%SPLIT%Search: <b> %SEARCHSTRING% </b>
+<p />
+%SPLIT%<table width="100%" border="0" cellpadding="0" cellspacing="4">
+<tr>
+ <td width="60%">
+ <b>Topics in %WEB% web:</b>
+ </td><td width="20%">
+ <b>Changed:</b> GMT
+ </td><td width="20%">
+ <b>Changed by:</b>
+ </td>
+</tr>
+</table>
+%REPEAT%<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<tr bgcolor="%WEBBGCOLOR%">
+ <td width="60%">
+ <h1><a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%">%TOPICNAME%</a>
%LOCKED% </h1>
+ </td><td width="20%">
+ <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%">%TIME%</a>
- %REVISION%
+ </td><td width="20%">
+ %AUTHOR%
+ </td>
+</tr></table>
+<p />
+%TEXTHEAD%
+<p /> <p />
+<hr />
+%REPEAT%<br clear="all" />
+<p />%SPLIT%Number of topics: <b>%NTOPICS%</b>
+<p />%SPLIT%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/searchformat.tmpl
===================================================================
--- trunk/www/other/twiki/searchformat.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/searchformat.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,34 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title>%WIKITOOLNAME% . %WEB% (search result)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}%(search result)%TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+%SPLIT%Search: <b> %SEARCHSTRING% </b><p />
+%SPLIT%%REPEAT%%REPEAT%
+%SPLIT%Number of topics: <b>%NTOPICS%</b><p />
+%SPLIT%
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/searchmeta.tmpl
===================================================================
--- trunk/www/other/twiki/searchmeta.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/searchmeta.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,2 @@
+%SPLIT%%SPLIT%%REPEAT%<a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%"><b>%TOPICNAME%</b></a>
%REPEAT%%SPLIT%%SPLIT%
+<!--Dummy tail-->
Added: trunk/www/other/twiki/searchrenameview.tmpl
===================================================================
--- trunk/www/other/twiki/searchrenameview.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/searchrenameview.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,73 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title>%WIKITOOLNAME% . %WEB% (search result)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}%(search result)%TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+%SPLIT%Search: <b> %SEARCHSTRING% </b>
+<p />
+<form>
+%SPLIT%<table width="100%" border="0" cellpadding="0" cellspacing="4">
+<tr bgcolor="%WEBBGCOLOR%">
+ <td width="10%">
+ <b>Update ref:</b>
+ </td><td width="45%">
+ <b>Topics in %WEB% web:</b>
+ </td><td width="25%">
+ <b>Changed:</b> now %GMTIME{"$hour:$min"}% GMT
+ </td><td width="20%">
+ <b>Changed by:</b>
+ </td>
+</tr>
+</table>
+%REPEAT%<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<tr>
+ <td width="10%">
+ %SELECTION%<input type="checkbox" name="RENAME%LABEL%%TOPIC_NUMBER%"
checked="checked" />
+ <input type="hidden" name="TOPIC%LABEL%%TOPIC_NUMBER%"
value="%WEB%.%TOPICNAME%" />%SELECTION%
+ </td><td width="45%">
+ <a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%"><b>%TOPICNAME%</b></a>
%LOCKED%
+ </td><td width="25%">
+ <a href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPICNAME%">%TIME%</a>
- %REVISION%
+ </td><td width="20%">
+ %AUTHOR%
+ </td>
+</tr>
+<tr>
+ <td colspan="2" width="80%">
+ <font size="-1">
+ %TEXTHEAD% </font>
+ </td><td width="20%">
+
+ </td>
+</tr></table>
+%REPEAT%<br clear="all" />
+<p />%SPLIT%Number of topics: <b>%NTOPICS%</b>
+<p />%SPLIT%
+
+</form>
+
+%TMPL:DEF{"topicaction"}% %TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+
+ </td>
+ <td width="50%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+</table>
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/twiki.tmpl
===================================================================
--- trunk/www/other/twiki/twiki.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/twiki.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,68 @@
+%TMPL:DEF{"sep"}% | %TMPL:END%
+%TMPL:DEF{"htmldoctype"}%
+<!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" xml:lang="en" lang="en"> %TMPL:END%
+%TMPL:DEF{"standardheader"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td bgcolor="%WEBBGCOLOR%" rowspan="2" valign="top" width="1%">
+ <a href="%WIKILOGOURL%"><img src="%WIKILOGOIMG%" border="0"
alt="%WIKILOGOALT%" /></a>
+ </td><td>
+ <a
href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%MAINWEB%/%HOMETOPIC%">%WIKITOOLNAME%</a>
+ > <a href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%HOMETOPIC%">%WEB%</a>
+ > %META{"parent" nowebhome="on" suffix=" >"}%
+ <font size="+1"><b>%TOPIC%</b> %TMPL:P{"titleaction"}%</font>
+ </td><td align="right">
+ <font size="-2">%WIKITOOLNAME% webs: <br />
+ %WIKIWEBLIST% </font>
+ </td>
+ </tr>
+ <tr bgcolor="%WEBBGCOLOR%">
+ <td colspan="2">
+ %WEB% . { %TMPL:P{"webaction"}% }
+ </td>
+ </tr>
+</table> %TMPL:END%
+%TMPL:DEF{"simpleheader"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td bgcolor="%WEBBGCOLOR%" rowspan="2" valign="top" width="1%">
+ <img src="%WIKILOGOIMG%" border="0" alt="%WIKILOGOALT%" />
+ </td><td>
+ <b>%WIKITOOLNAME% . %WEB% . </b><font size="+2"><b>%TOPIC%</b>
%TMPL:P{"titleaction"}%</font>
+ </td><td> %TMPL:P{"headerhelp"}%
+ </td>
+ </tr>
+ <tr bgcolor="%WEBBGCOLOR%">
+ <td colspan="2">
+ %TMPL:P{"webaction"}%
+ </td>
+ </tr>
+</table> %TMPL:END%
+%TMPL:DEF{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr bgcolor="%WEBBGCOLOR%">
+ <td valign="top">
+ Topic <b>%TOPIC%</b> . { %TMPL:P{"topicaction"}%
+ }
+ </td>
+ </tr>
+</table> %TMPL:END%
+%TMPL:DEF{"oops"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+%TMPL:P{"simpleheader"}%
+---+ %TMPL:P{"heading"}%
+%TMPL:P{"message"}%
+<p />
+%TMPL:P{"standardfooter"}%
+#PageBottom
+</body>
+</html> %TMPL:END%
Added: trunk/www/other/twiki/view.plain.tmpl
===================================================================
--- trunk/www/other/twiki/view.plain.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/view.plain.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,16 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
+ <meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+%TEXT%
+%META{"form"}%
+%META{"attachments"}%
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/view.print.tmpl
===================================================================
--- trunk/www/other/twiki/view.print.tmpl 2004-03-20 05:01:08 UTC (rev
5411)
+++ trunk/www/other/twiki/view.print.tmpl 2004-03-20 06:19:43 UTC (rev
5412)
@@ -0,0 +1,32 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
<meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr bgcolor="%WEBBGCOLOR%">
+ <td>
+ <b>%WIKITOOLNAME% . %WEB% . </b><font size="+2"><b>%TOPIC%</b></font>
+ </td>
+ </tr>
+</table>
+<p />
+%TEXT%
+%META{"form"}%
+%META{"attachments"}%
+<p />
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr bgcolor="%WEBBGCOLOR%">
+ <td valign="top">
+ =-----= Revision %REVINFO%
+ </td>
+ </tr>
+</table>
+%WEBCOPYRIGHT%
+#PageBottom
+</body>
+</html>
Added: trunk/www/other/twiki/view.rss.tmpl
===================================================================
--- trunk/www/other/twiki/view.rss.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/view.rss.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="%CHARSET%" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://purl.org/rss/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/" >
+%TEXT%
+</rdf:RDF>
Added: trunk/www/other/twiki/view.tmpl
===================================================================
--- trunk/www/other/twiki/view.tmpl 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/other/twiki/view.tmpl 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,39 @@
+%TMPL:INCLUDE{"twiki"}%
+%TMPL:P{"htmldoctype"}%
+<head>
+ <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %TMPL:P{"titleaction"}%</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
<meta name="robots" content="noindex" /> %HTTP_EQUIV_ON_VIEW%
+ <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%" />
+</head>
+<body bgcolor="#ffffff">
+#PageTop
+<form name="main"
action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%/%TOPIC%"}%">
+%TMPL:DEF{"titleaction"}% %REVTITLE% %TMPL:END%
+%TMPL:DEF{"webaction"}% %WEBTOPICLIST% %TMPL:END%
+%TMPL:P{"standardheader"}%
+</form>
+%TEXT%
+%META{"form"}%
+%META{"attachments"}%
+%TMPL:DEF{"topicaction"}%
+ %EDITTOPIC%
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Attach</a>
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/SearchResult?scope=text&regex=on&search=%SPACEDTOPIC%%5B%5EA-Za-z%5D">Ref-By</a>
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=print%REVARG%">Printable</a>
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/rdiff%SCRIPTSUFFIX%/%WEB%/%TOPIC%">Diffs</a> %REVISIONS%
+ %TMPL:P{"sep"}% <a
href="%SCRIPTURLPATH%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%?template=oopsmore¶m1=%MAXREV%¶m2=%CURRREV%">More</a>
%TMPL:END%
+%TMPL:P{"standardfooter"}%
+<table width="100%" border="0" cellpadding="3" cellspacing="0">
+ <tr>
+ <td valign="top">
+ Revision %REVINFO% %META{"parent" prefix="<br />Parents: "}%
+ </td>
+ <td width="40%" valign="top">
+ %WEBCOPYRIGHT%
+ </td>
+ </tr>
+ <tr><td colspan="2"> %META{"moved"}% </td></tr>
+</table>
+#PageBottom
+</body>
+</html>
Modified: trunk/www/utils/create-website
===================================================================
--- trunk/www/utils/create-website 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/utils/create-website 2004-03-20 06:19:43 UTC (rev 5412)
@@ -3,7 +3,7 @@
from webhelpers.utils import *
-from webhelpers import news, tools, utils, htdig
+from webhelpers import news, tools, utils, htdig, twiki
import sys, os, string
@@ -61,8 +61,15 @@
except ValueError:
pass
+ # Create the search engine pages
+ try:
+ TWIKI=sys.argv[sys.argv.index('--twiki')+1]
+ twiki.run(TWIKI)
+ except ValueError:
+ pass
+
if __name__ == '__main__':
run()
Modified: trunk/www/utils/webhelpers/htdig.py
===================================================================
--- trunk/www/utils/webhelpers/htdig.py 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/utils/webhelpers/htdig.py 2004-03-20 06:19:43 UTC (rev 5412)
@@ -7,7 +7,7 @@
def run(HTDIG_BASE):
os.system('mkdir -p %s' % HTDIG_BASE)
- for file in glob.glob('%s/www/htdig/*.html' % SVN_BASE):
+ for file in glob.glob('%s/www/other/htdig/*.html' % SVN_BASE):
f = file.split('/')[-1]
os.system("""(echo '<?php $GEXEDIR="%s/www/web/shared/"; $BASEDIR="..";
?>'; cat %s ) |
php4 -d include_path=%s/www/web/shared/ > %s"""% (
Added: trunk/www/utils/webhelpers/twiki.py
===================================================================
--- trunk/www/utils/webhelpers/twiki.py 2004-03-20 05:01:08 UTC (rev 5411)
+++ trunk/www/utils/webhelpers/twiki.py 2004-03-20 06:19:43 UTC (rev 5412)
@@ -0,0 +1,15 @@
+# Contains global create-website stuff
+from utils import *
+
+import os, glob
+
+# Writes out the twiki template files
+def run(TWIKI_BASE):
+
+ os.system('mkdir -p %s' % TWIKI_BASE)
+ for file in glob.glob('%s/www/other/twiki/*.tmpl' % SVN_BASE):
+ f = file.split('/')[-1]
+ os.system("""(echo '<?php $GEXEDIR="%s/www/web/shared/"; $BASEDIR="..";
?>'; cat %s ) |
+ php4 -d include_path=%s/www/web/shared/ > %s"""% (
+ SVN_BASE, file, SVN_BASE, os.path.join(TWIKI_BASE,f)))
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r5412 - in trunk/www: . other other/twiki utils utils/webhelpers,
jcater <=