Commit Graph

139 Commits

Author SHA1 Message Date
Alex Schroeder
2a51a33bb4 *** empty log message *** 2003-05-18 14:04:48 +00:00
Alex Schroeder
251ddd3e98 (DoUnlock): Added extra level of parenthesis, thanks to Jason
Diamond <jason@injektilo.org>
2003-05-17 15:18:09 +00:00
Alex Schroeder
04905b7fbf *** empty log message *** 2003-05-17 15:17:39 +00:00
Alex Schroeder
3359eb2bda ($SimpleLinks, $NonEnglish): Removed.
(InitLinkPatterns): Simplified the regexp generating code such
that the regexps used are clearer now,
2003-05-17 15:07:12 +00:00
Alex Schroeder
95e58c78bd *** empty log message *** 2003-05-17 15:06:20 +00:00
Alex Schroeder
72de3a00de (Cookie): Only set attributes if necessary. Report setting of
cookie via $Message.
2003-05-17 14:40:07 +00:00
Alex Schroeder
d34c83b219 *** empty log message *** 2003-05-17 14:39:41 +00:00
Alex Schroeder
bbc7df7bc2 (BrowsePage): Use a flag for PrintWikiToHTML in order to prevent
the creation of new pages due to cache creation for the default
text.
2003-05-17 10:07:09 +00:00
Alex Schroeder
09995965de *** empty log message *** 2003-05-17 10:06:02 +00:00
Alex Schroeder
b8aa4d620b ($NewText): Default value in the init section instead of
hidden in some subroutine.
(OpenNewText): Just use $NewText.
(DoPost): If oldrev is 1 and the new text is $NewText, then do not
save.

Patch by Pierre Gaston <pgas@intracom.gr>:

Many subroutines: Replaced print &GetFooter(...) with
&PrintFooter(...).
(GetFooter, PrintFooter): Renamed GetFooter to PrintFooter, and
changed concatenations to prints.
2003-05-17 01:50:35 +00:00
Alex Schroeder
dbd99271a3 *** empty log message *** 2003-05-17 01:48:45 +00:00
Alex Schroeder
c200c4e2e9 *** empty log message *** 2003-05-08 20:46:46 +00:00
Alex Schroeder
a3b8cbf729 (BrowsePage): Remove duplicate div class="refer". 2003-05-08 20:46:21 +00:00
Alex Schroeder
067019599d (BrowsePage): Print div class=refer only when there are any. 2003-05-02 08:10:32 +00:00
Alex Schroeder
142d527324 *** empty log message *** 2003-05-02 07:51:03 +00:00
Alex Schroeder
1e8791b313 ($Debug, $Message): Renamed $Debug to $Message.
(InitRequest): Ditto.
(InitCookie): Ditto.
(BrowsePage): Print header later, set $Message for the messages
"Revision %s not available" and "Showing revision %s".
(BrowsePage): Added new div class="rc" for recent changes output.
(GetHeader): Changed header layout.  Logo and GotoBar are now at
the top, followed by messages, page title, and content.  Added div
and special days.
(GetGotoBar): Removed special days from the goto bar.
(GetFooterText, GetCommonFooter, GetMinimumFooter): Replaced by GetFooter.
(GetFooter): New, unified, added div.
(DoHistory): Use GetFooter with history parameter.
(DoUnlock): Use GetFooter.
(DoEdit): Use GetFooter with edit parameter.
(DoPassword, DoEdit, UserIsEditorOrError, UserIsAdminOrError)
(DoSearch, DoLinks, DoPrintAllPages, DoMaintain, DoMaintain)
(DoIndex, DoConvert, DoEditLock, DoPageLock, DoEditBanned)
(DoUpdateBanned, DoShowVersion, DoShowVisitors): Use GetFooter.
2003-05-02 06:17:09 +00:00
Alex Schroeder
23b23278c0 ($TopLinkBar): New option.
(GetHeader): Use it.
($Monolithic): New variable.
(ScriptLink): Use it.
(DoBrowseRequest): New action 'all'.
(DoUnlock): Rewrote using a loop.
(GetFullLinkList): Rewrote variable declarations a bit.
(ReleaseRefererLock, RequestRefererLock): Avoid declaring a variable for just one call.
(DoPrintAllPages): New function.
(PrintAllPages): New function.
2003-04-27 21:22:52 +00:00
Alex Schroeder
e1ba852109 *** empty log message *** 2003-04-27 21:20:57 +00:00
Alex Schroeder
fd7cfa7aae *** empty log message *** 2003-04-27 14:52:06 +00:00
Alex Schroeder
6a9cc48f20 (InheritParameter): New function.
(GetEditLink): Use it.
($TopLinkBar): New option.
(GetHeader): Use it.
2003-04-27 14:51:48 +00:00
Alex Schroeder
1731555661 (BrowsePage): Do not attempt to open keep file when the requested
revision is the current revision.  Use div class="message" for
the little message about the revision being displayed.
2003-04-27 14:35:29 +00:00
Alex Schroeder
6c4aedd1da *** empty log message *** 2003-04-27 14:33:33 +00:00
Alex Schroeder
f2bb7227ee *** empty log message *** 2003-04-27 13:13:09 +00:00
Alex Schroeder
06837c40ad (RSS): Removed unnecessary CSS class for link within RSS divs. 2003-04-27 13:12:51 +00:00
Alex Schroeder
8f156115fc *** empty log message *** 2003-04-27 12:08:20 +00:00
Alex Schroeder
9304315174 (BrowsePage): Added a div class="content" around the
main part.
2003-04-27 12:07:55 +00:00
Alex Schroeder
c372ec8b98 *** empty log message *** 2003-04-26 17:30:06 +00:00
Alex Schroeder
efeb779f98 (DoConvert): Moved br printing.
(ConvertFile): Moved it here.
2003-04-26 17:29:53 +00:00
Alex Schroeder
562cc74361 *** empty log message *** 2003-04-26 17:25:41 +00:00
Alex Schroeder
34bbb56523 (DoConvert): Typo.
(DoConvert): Typo.
(ConvertFile): Typo.
2003-04-26 17:25:23 +00:00
Alex Schroeder
0f2df43617 *** empty log message *** 2003-04-26 17:22:30 +00:00
Alex Schroeder
0d1250bfa0 ($FS0used): Deleted.
(DoBrowseRequest): Added convert action.
(GetKeepFile): Convenience function added.
(KeepFileName): Use it.
(ReadFile): Removed on-the-fly separator conversion.
(DoMaintain): Removed separator conversion of pages, no conversion
of rc entries, no conversion of $RcOldFile.
(DoConvert): New function.
(ConvertFile): New functtion.
(ReadRecentVisitors): Replaced newline and colon with field separators.
(WriteRecentVisitors): Ditto.
(GetReferers): Ditto.

This undoes all the on-the-fly conversion code, since that was
hard to maintain, and had a bug: Keep files of pages that had no
expiry pending did not get converted.
2003-04-26 17:21:42 +00:00
Alex Schroeder
faef2dd93e *** empty log message *** 2003-04-24 21:55:36 +00:00
Alex Schroeder
808ab837bb (InitCookie): No longer treat '*' special.
(GetRcHtml): No longer treat '*' special.
2003-04-24 21:53:14 +00:00
Alex Schroeder
ca1753c39d Trimmed variables, commented fixmenus, fixed bugs. 2003-04-24 21:52:03 +00:00
Alex Schroeder
40c297308c Numerous small improvements, slowly getting back to a workable state. 2003-04-24 21:10:02 +00:00
Alex Schroeder
892e7fa6cf *** empty log message *** 2003-04-24 21:09:33 +00:00
Alex Schroeder
796055dea0 *** empty log message *** 2003-04-24 17:45:08 +00:00
Alex Schroeder
d335a5c0ac (GetRcRss): No longer treat '*' special.
(GetRcText): No longer treat '*' special.
(GetHistoryLine): No longer treat '*' special.
(Cookie): No longer treat '*' special.
2003-04-24 17:43:27 +00:00
Alex Schroeder
2f473cf56c *** empty log message *** 2003-04-24 10:35:43 +00:00
Alex Schroeder
f8f4b8b740 new 2003-04-24 10:34:16 +00:00
Alex Schroeder
523663ccd4 ($FreeUpper): Defaults to 0. 2003-04-24 10:33:36 +00:00
Alex Schroeder
26e684f5fd *** empty log message *** 2003-04-23 21:05:28 +00:00
Alex Schroeder
4f66c96e72 (GetHistoryLine): Do not anonymize IPs. 2003-04-23 21:02:56 +00:00
Alex Schroeder
eaee3624f5 *** empty log message *** 2003-04-23 09:38:38 +00:00
Alex Schroeder
c4cd7d5067 (InitRequest): Set the query object charset as suggested
by Wei Ching Tang.
2003-04-23 09:38:11 +00:00
Alex Schroeder
2812ea09cf *** empty log message *** 2003-04-18 00:10:59 +00:00
Alex Schroeder
c7184ec858 (ApplyRules): Changed table rules. 2003-04-18 00:09:57 +00:00
Alex Schroeder
019623ed42 more tests for lists and tables 2003-04-18 00:09:03 +00:00
Alex Schroeder
258d8df195 (ApplyRules): Convert \r\n to \n before anything else (fixed bug). 2003-04-17 00:32:21 +00:00