carstenklapp [Wed, 26 Dec 2001 14:56:10 +0000 (14:56 +0000)]
Added a link to my homepage for downloading a PHP 4.1 Mac OS X binary and the corresponding Pear files. Also a brief note on how to update the PearDB support files after upgrading from PHP 4.0.6 to 4.1.
carstenklapp [Wed, 26 Dec 2001 11:38:27 +0000 (11:38 +0000)]
The first experimental (and very alpha) theme pack is here, have some fun and play with it, fix it up if you like. This one is (by design) completely css-based so unfortunately it doesn't render properly or even the same across different browsers. A preview screen snapshot is also included for comparison testing. Additional notes are in the included themeinfo.php file.
carstenklapp [Wed, 26 Dec 2001 10:45:50 +0000 (10:45 +0000)]
New alternate stylesheet, suitable for producing printer-ready output; toolbar, (diff) in Recent Changes and linkicons are hidden and color suppressed for printing. Mozilla, Netscape and Amaya browsers will be able to switch to this stylesheet by choosing the stylesheet named "printer" (in the View menu of Netscape and Mozilla). The page's modification date is invisible, it still needs to be moved out of the toolbar-table in the html templates.
carstenklapp [Wed, 26 Dec 2001 10:40:18 +0000 (10:40 +0000)]
New function BaseURL, outputs the correct BaseURL in html. (Also temporarily using BaseURL to provide a link to a new style-sheet, phpwiki-printer.css)
dairiki [Sat, 22 Dec 2001 17:39:03 +0000 (17:39 +0000)]
The templates are now gettextified, so the translated templates
in locale/*/templates/*.html are no longer used.
Removing the German templates now --- will defer removing the
other translated templates until the appropriate translations
have been merge into the .po files (and translated TextFormattingRules).
wainstead [Sat, 22 Dec 2001 16:52:15 +0000 (16:52 +0000)]
This is copied from my work log when I wrote GuiTester for capitalthinking.com. They gave me permission to distribute the system freely. The docs are specific for CT's system, but it won't take a lot of work to make it relate to PhpWiki.
carstenklapp [Sat, 22 Dec 2001 02:39:32 +0000 (02:39 +0000)]
Added a check whether $SignatureImg is defined, to determine whether or not to show the "Thank you for editing..." page. By default the $SignatureImg is still commented out in index.php (i.e. no "Thank you" page).
carstenklapp [Fri, 21 Dec 2001 07:31:36 +0000 (07:31 +0000)]
New German translations, mostly relating to file-errors, CVS and database errors. Partial translation of PhpWikiSystemverwalten (PhpWikiAdministrtation). German PhpWiki is now 99% done!!\r(P.S. I hope the "virgin Wiki" notice is not too explicit, please fix it if it sounds too familiar!)
carstenklapp [Fri, 21 Dec 2001 03:15:40 +0000 (03:15 +0000)]
o The logo alt text now shows the Wiki's name and the localised name of the start page.\r\ro Removed the logo dimensions from the html code. Most browsers (probably all) do not wrap alt text inside image placeholders when images are turned off.\r\ro The page title now shows the Wiki's name, useful when making browser bookmarks of pages from multiple wikis. To accomodate this change and to encourage users to name their Wikis, the Wiki name is now enabled by default in index.php.\r\ro The link destination for the heading now points to the BackLinks for the page instead of just browsing to the page. This change maintains user-interface consistency, i.e. the title now always navigates to the BackLinks page (except for pages based on the message template). To refer to the original page during editing, click the back button in the browser or open a seperate window.\r\ro The page header now uses printf() to permit a correct language localization of the title. A hack was used in order to accomplish this, by replacing the BackLinks plugin line with a manually built url which links to the BackLinks for the current page.
carstenklapp [Thu, 20 Dec 2001 19:43:35 +0000 (19:43 +0000)]
o Corrected a mistake in file path for Apache alias directive (the ? incorrectly included in the path was only applicable to version 1.2).\ro Updated info for PEAR (no longer pertinent, PhpWiki by default now knows that Mac OS X keeps PEAR.php in /System/Library/PHP).
dairiki [Wed, 19 Dec 2001 05:05:14 +0000 (05:05 +0000)]
New functions __printf, __sprintf, __vsprintf. These are localized
versions of printf, et. al. They differ from PHP's built-in printf
functions in that:
1. The pass the format string through gettext().
2. They support argument reordering ("%2$s").
carstenklapp [Wed, 19 Dec 2001 03:46:32 +0000 (03:46 +0000)]
quiet inclusion of TextFormattingRules.\r\r/locale/de/templates can be removed from 1.3 (but not for the other languages until their translations have been updated.)
carstenklapp [Tue, 18 Dec 2001 23:13:12 +0000 (23:13 +0000)]
o Changed charset from 8859-1 to iso-8859-1 (to satisfy complaint from GNU Emacs 20.7) \ro removed fuzzies for testing (but more translation fine-tuning still needed) \ro Fixed a few latin1 characters which weren't properly converted during the last commit (my last save must have defaulted back to Mac-Roman from Latin-1)\ro Un-inverted the left and right german-style quotes (D'oh!)
carstenklapp [Tue, 18 Dec 2001 06:36:05 +0000 (06:36 +0000)]
extract(args) Hack to change heading between RecentChanges and RecentEdits to match the Page's title rather than simply RecentChanges. (It was not so bad in english but in other languages it could be confusing to have a conflicting PageTitle and Page Heading with RecentChanges and RecentEdits.)
carstenklapp [Tue, 18 Dec 2001 03:25:04 +0000 (03:25 +0000)]
Gettext Makefile & phpwiki.pot updated with new string lists, all LC_MESSAGES regenerated--as a result the new strings will have to be translated for all the languages. (Only the German strings have been mostly completed).
dairiki [Mon, 17 Dec 2001 02:08:58 +0000 (02:08 +0000)]
(pcre_fix_posix_classes): Fix test for working posix character classes.
Carsten reports that on Mac OS X, character class seem to work with
ASCII chars, but they don't ever work with the international characters.
This fix activates the kluge/workaround in that case.
dairiki [Sun, 16 Dec 2001 18:33:25 +0000 (18:33 +0000)]
Refactor $WikiPlugin::name and $WikiPlugin::description stuff.
It is best if all calls to gettext have constant, double-quoted strings
as their arguments. (Otherwise xgettext won't find the strings
for translation.)
carstenklapp [Sun, 16 Dec 2001 16:52:58 +0000 (16:52 +0000)]
Moved the TextFormattingRules from the editpage template to the actual TFR page. The IncludePage plugin is now used to insert the first 6 lines of the TFR page for reference. This eliminates any requirement to modify the templates when localizing for another language, and allows for easy online customization (the TFR page is still locked by default).