From: <var...@us...> - 2014-10-03 14:19:34
|
Revision: 9172 http://sourceforge.net/p/phpwiki/code/9172 Author: vargenau Date: 2014-10-03 14:19:30 +0000 (Fri, 03 Oct 2014) Log Message: ----------- As of PHP 4.2.0, there is no need to seed the random number generator with srand() or mt_srand() as this is now done automatically. Modified Paths: -------------- trunk/configurator.php trunk/lib/Captcha.php trunk/lib/WikiUser/HttpAuth.php trunk/lib/WikiUser/HttpAuthUpper.php trunk/lib/fortune.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/RandomPage.php trunk/lib/stdlib.php trunk/passencrypt.php trunk/themes/Hawaiian/lib/random.php Modified: trunk/configurator.php =================================================================== --- trunk/configurator.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/configurator.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -105,7 +105,6 @@ if (!isset($_SERVER)) $_SERVER =& $GLOBALS['HTTP_SERVER_VARS']; // maybe we should random the realm to really force a logout. but the next login will fail. - // better_srand(); $realm = microtime().rand(); header('WWW-Authenticate: Basic realm="' . WIKI_NAME . '"'); if (strstr(php_sapi_name(), 'apache')) header('HTTP/1.0 401 Unauthorized'); @@ -2518,7 +2517,6 @@ $valid_chars = "!#%&+-.0123456789=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"; $start = ord($valid_chars); $end = ord(substr($valid_chars, -1)); - better_srand(); $length = mt_rand($minlength, $maxlength); while ($length > 0) { $newchar = mt_rand($start, $end); Modified: trunk/lib/Captcha.php =================================================================== --- trunk/lib/Captcha.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/Captcha.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -95,7 +95,6 @@ // Pick a Word $word = ""; - better_srand(); while (strlen(trim($word)) == 0) { $x = mt_rand(0, count($text)); return $text[$x]; Modified: trunk/lib/WikiUser/HttpAuth.php =================================================================== --- trunk/lib/WikiUser/HttpAuth.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/WikiUser/HttpAuth.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -74,7 +74,6 @@ $_SERVER =& $GLOBALS['HTTP_SERVER_VARS']; // Maybe we should random the realm to really force a logout. // But the next login will fail. - // better_srand(); $realm = microtime().rand(); // TODO: On AUTH_TYPE=NTLM this will fail. Only Basic supported so far. header('WWW-Authenticate: Basic realm="' . WIKI_NAME . '"'); if (strstr(php_sapi_name(), 'apache')) Modified: trunk/lib/WikiUser/HttpAuthUpper.php =================================================================== --- trunk/lib/WikiUser/HttpAuthUpper.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/WikiUser/HttpAuthUpper.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -78,7 +78,6 @@ $_SERVER =& $GLOBALS['HTTP_SERVER_VARS']; // Maybe we should random the realm to really force a logout. // But the next login will fail. - // better_srand(); $realm = microtime().rand(); // TODO: On AUTH_TYPE=NTLM this will fail. Only Basic supported so far. header('WWW-Authenticate: Basic realm="' . WIKI_NAME . '"'); if (strstr(php_sapi_name(), 'apache')) Modified: trunk/lib/fortune.php =================================================================== --- trunk/lib/fortune.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/fortune.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -36,7 +36,6 @@ } } - srand((double)microtime() * 1000000); $index = rand(0, $amount); $i = 0; Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/plugin/ModeratedPage.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -200,7 +200,6 @@ function generateId() { - better_srand(); $s = ""; for ($i = 1; $i <= 25; $i++) { $r = mt_rand(55, 90); Modified: trunk/lib/plugin/RandomPage.php =================================================================== --- trunk/lib/plugin/RandomPage.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/plugin/RandomPage.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -77,7 +77,6 @@ $allpages = $dbi->getAllPages(false, $sortby, $limit, $exclude); $pagearray = $allpages->asArray(); - better_srand(); // Start with a good seed. if (($numpages == 1) && $pagearray) { $page = $pagearray[array_rand($pagearray)]; Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/lib/stdlib.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -67,7 +67,6 @@ can ($object, $method) function_usable ($function_name) wikihash ($x) - better_srand ($seed = '') count_all ($arg) isSubPage ($pagename) subPageSlice ($pagename, $pos) @@ -1616,29 +1615,8 @@ return false; } -/** - * Seed the random number generator. - * - * better_srand() ensures the randomizer is seeded only once. - * - * How random do you want it? See: - * http://www.php.net/manual/en/function.srand.php - * http://www.php.net/manual/en/function.mt-srand.php - */ -function better_srand($seed = '') -{ - static $wascalled = FALSE; - if (!$wascalled) { - $seed = $seed === '' ? (double)microtime() * 1000000 : $seed; - function_exists('mt_srand') ? mt_srand($seed) : srand($seed); - $wascalled = TRUE; - //trigger_error("new random seed", E_USER_NOTICE); //debugging - } -} - function rand_ascii($length = 1) { - better_srand(); $s = ""; for ($i = 1; $i <= $length; $i++) { // return only typeable 7 bit ascii, avoid quotes @@ -1653,7 +1631,6 @@ { // Pick a few random letters or numbers $word = ""; - better_srand(); // Don't use 1lI0O, because they're hard to read $letters = "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789"; $letter_len = strlen($letters); Modified: trunk/passencrypt.php =================================================================== --- trunk/passencrypt.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/passencrypt.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -26,38 +26,8 @@ <body> <h1>Password Encryption Tool</h1> <?php -/** - * Seed the random number generator. - * - * better_srand() ensures the randomizer is seeded only once. - * - * How random do you want it? See: - * http://www.php.net/manual/en/function.srand.php - * http://www.php.net/manual/en/function.mt-srand.php - */ -function better_srand($seed = '') -{ - static $wascalled = FALSE; - if (!$wascalled) { - if ($seed === '') { - list($usec, $sec) = explode(" ", microtime()); - if ($usec > 0.1) - $seed = (double)$usec * $sec; - else // once in a while use the combined LCG entropy - $seed = (double)1000000 * substr(uniqid("", true), 13); - } - if (function_exists('mt_srand')) { - mt_srand($seed); // mersenne twister - } else { - srand($seed); - } - $wascalled = TRUE; - } -} - function rand_ascii($length = 1) { - better_srand(); $s = ""; for ($i = 1; $i <= $length; $i++) { // return only typeable 7 bit ascii, avoid quotes @@ -78,7 +48,6 @@ $valid_chars = "!#%&+-.0123456789=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"; $start = ord($valid_chars); $end = ord(substr($valid_chars, -1)); - better_srand(); $length = mt_rand($minlength, $maxlength); while ($length > 0) { $newchar = mt_rand($start, $end); Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2014-10-03 14:11:26 UTC (rev 9171) +++ trunk/themes/Hawaiian/lib/random.php 2014-10-03 14:19:30 UTC (rev 9172) @@ -26,7 +26,6 @@ function pickRandom() { - better_srand(); // Start with a good seed. $this->filename = $this->imageList[array_rand($this->imageList)]; //trigger_error(sprintf(_("random image chosen: %s"), // $this->filename), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-03 15:20:50
|
Revision: 9182 http://sourceforge.net/p/phpwiki/code/9182 Author: vargenau Date: 2014-10-03 15:20:42 +0000 (Fri, 03 Oct 2014) Log Message: ----------- function finfo_open exists Modified Paths: -------------- trunk/lib/plugin/FileInfo.php trunk/view.php Modified: trunk/lib/plugin/FileInfo.php =================================================================== --- trunk/lib/plugin/FileInfo.php 2014-10-03 15:19:03 UTC (rev 9181) +++ trunk/lib/plugin/FileInfo.php 2014-10-03 15:20:42 UTC (rev 9182) @@ -182,16 +182,13 @@ function magic($file) { - if (function_exists('finfo_file') or loadPhpExtension('fileinfo')) { - // Valid finfo_open (i.e. libmagic) options: - // FILEINFO_NONE | FILEINFO_SYMLINK | FILEINFO_MIME | FILEINFO_COMPRESS | FILEINFO_DEVICES | - // FILEINFO_CONTINUE | FILEINFO_PRESERVE_ATIME | FILEINFO_RAW - $f = finfo_open( /*FILEINFO_MIME*/); - $result = finfo_file(realpath($file)); - finfo_close($res); - return $result; - } - return ''; + // Valid finfo_open (i.e. libmagic) options: + // FILEINFO_NONE | FILEINFO_SYMLINK | FILEINFO_MIME | FILEINFO_COMPRESS | FILEINFO_DEVICES | + // FILEINFO_CONTINUE | FILEINFO_PRESERVE_ATIME | FILEINFO_RAW + $f = finfo_open( /*FILEINFO_MIME*/); + $result = finfo_file(realpath($file)); + finfo_close($res); + return $result; } function mime_type($file) Modified: trunk/view.php =================================================================== --- trunk/view.php 2014-10-03 15:19:03 UTC (rev 9181) +++ trunk/view.php 2014-10-03 15:20:42 UTC (rev 9182) @@ -93,12 +93,8 @@ $filename = str_replace('"', '', $filename); header('Content-disposition: filename="' . $filename . '"'); - if (function_exists('finfo_open')) { - $finfo = finfo_open(FILEINFO_MIME_TYPE); - $mimetype = finfo_file($finfo, $filepath); - } else { - $mimetype = 'application/octet-stream'; - } + $finfo = finfo_open(FILEINFO_MIME_TYPE); + $mimetype = finfo_file($finfo, $filepath); header("Content-type: $mimetype"); $length = filesize($filepath); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-07 08:38:48
|
Revision: 9209 http://sourceforge.net/p/phpwiki/code/9209 Author: vargenau Date: 2014-10-07 08:38:45 +0000 (Tue, 07 Oct 2014) Log Message: ----------- Remove useless function getMemoryUsage Modified Paths: -------------- trunk/lib/stdlib.php trunk/tests/unit/test.php trunk/themes/Sidebar/templates/debug.tmpl trunk/themes/default/templates/debug.tmpl trunk/themes/fusionforge/templates/debug.tmpl trunk/themes/shamino_com/templates/debug.tmpl Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-10-07 08:31:56 UTC (rev 9208) +++ trunk/lib/stdlib.php 2014-10-07 08:38:45 UTC (rev 9209) @@ -84,7 +84,6 @@ array_remove($arr,$value) longer_timeout($secs=30) printSimpleTrace($bt) - getMemoryUsage() binary_search($needle, $haystack) is_localhost() javascript_quote_string($s) @@ -1979,14 +1978,6 @@ } /** - * Return the used process memory, in bytes. - */ -function getMemoryUsage() -{ - return memory_get_usage(); -} - -/** * @param var $needle * @param array $haystack one-dimensional numeric array only, no hash * @return integer Modified: trunk/tests/unit/test.php =================================================================== --- trunk/tests/unit/test.php 2014-10-07 08:31:56 UTC (rev 9208) +++ trunk/tests/unit/test.php 2014-10-07 08:38:45 UTC (rev 9209) @@ -120,7 +120,7 @@ require_once 'lib/stdlib.php'; echo "-- MEMORY USAGE: "; $oldmem = $mem; - $mem = getMemoryUsage(); + $mem = memory_get_usage(); if (!$initmem) $initmem = $mem; // old libc on sf.net server doesn't understand "%+4d" echo sprintf("%8d\t[%s%4d]\t[+%4d]\n", $mem, $mem > $oldmem ? "+" : ($mem == $oldmem ? " " : ""), Modified: trunk/themes/Sidebar/templates/debug.tmpl =================================================================== --- trunk/themes/Sidebar/templates/debug.tmpl 2014-10-07 08:31:56 UTC (rev 9208) +++ trunk/themes/Sidebar/templates/debug.tmpl 2014-10-07 08:38:45 UTC (rev 9209) @@ -12,7 +12,7 @@ </div> </td><td> <span class="debug"><?php echo fmt("Page Execution took %s seconds", $RUNTIMER->getStats())?> -<?php if (substr(PHP_OS,0,3) != 'WIN') { $mem = @getMemoryUsage(); PrintXml(fmt(", Memory: %s", $mem)); } ?> +<?php if (substr(PHP_OS,0,3) != 'WIN') { $mem = @memory_get_usage(); PrintXml(fmt(", Memory: %s", $mem)); } ?> </span> </td></tr></table> <br class="clear-floats" /> Modified: trunk/themes/default/templates/debug.tmpl =================================================================== --- trunk/themes/default/templates/debug.tmpl 2014-10-07 08:31:56 UTC (rev 9208) +++ trunk/themes/default/templates/debug.tmpl 2014-10-07 08:38:45 UTC (rev 9209) @@ -13,7 +13,7 @@ </div> </td><td> <span class="debug"><?php echo fmt("Page Execution took %s seconds", $RUNTIMER->getStats())?> -<?php $mem = @getMemoryUsage(); if ($mem) { ?> +<?php $mem = @memory_get_usage(); if ($mem) { ?> <?php echo fmt(", Memory: %s", $mem) ?> <?php } ?> </span> Modified: trunk/themes/fusionforge/templates/debug.tmpl =================================================================== --- trunk/themes/fusionforge/templates/debug.tmpl 2014-10-07 08:31:56 UTC (rev 9208) +++ trunk/themes/fusionforge/templates/debug.tmpl 2014-10-07 08:38:45 UTC (rev 9209) @@ -2,7 +2,7 @@ <?php global $RUNTIMER; echo fmt("Page Execution took %s seconds", $RUNTIMER->getStats()); -$mem = @getMemoryUsage(); +$mem = @memory_get_usage(); if ($mem) { echo fmt(", Memory: %s", $mem); } Modified: trunk/themes/shamino_com/templates/debug.tmpl =================================================================== --- trunk/themes/shamino_com/templates/debug.tmpl 2014-10-07 08:31:56 UTC (rev 9208) +++ trunk/themes/shamino_com/templates/debug.tmpl 2014-10-07 08:38:45 UTC (rev 9209) @@ -4,7 +4,7 @@ <span id="xhtml-validator"><a class="wikilink" href="http://validator.w3.org/check/referer">Valid XHTML 1.0</a> <a class="wikilink" href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS</a> </span> <span><?php echo fmt("Page Execution took %s seconds", $RUNTIMER->getStats()) ?> -<?php $mem = @getMemoryUsage(); if ($mem) { ?> +<?php $mem = @memory_get_usage(); if ($mem) { ?> <?php echo fmt(", Memory: %s", $mem) ?> <?php } ?></span></div> <br class="clear-floats" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-07 11:43:58
|
Revision: 9211 http://sourceforge.net/p/phpwiki/code/9211 Author: vargenau Date: 2014-10-07 11:43:50 +0000 (Tue, 07 Oct 2014) Log Message: ----------- We are in PHP >= 5.3 Modified Paths: -------------- trunk/index.php trunk/lib/ErrorManager.php trunk/lib/Request.php trunk/lib/config.php trunk/lib/font/chinese.php trunk/lib/font/japanese.php trunk/lib/main.php trunk/lib/prepend.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/index.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -32,8 +32,8 @@ require_once(dirname(__FILE__) . '/lib/IniConfig.php'); IniConfig(dirname(__FILE__) . "/config/config.ini"); -if (version_compare(PHP_VERSION, '5.2', '<')) { - exit(_("Your PHP version is too old. You must have at least PHP 5.2.")); +if (version_compare(PHP_VERSION, '5.3', '<')) { + exit(_("Your PHP version is too old. You must have at least PHP 5.3.")); } //////////////////////////////////////////////////////////////// Modified: trunk/lib/ErrorManager.php =================================================================== --- trunk/lib/ErrorManager.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/ErrorManager.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -12,9 +12,9 @@ error_reporting(E_ALL & ~E_STRICT); } */ -define ('EM_FATAL_ERRORS', E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | ~2048 & ((check_php_version(5, 3)) ? ~E_DEPRECATED : ~0)); +define ('EM_FATAL_ERRORS', E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | ~2048 & (~E_DEPRECATED)); define ('EM_WARNING_ERRORS', - E_WARNING | E_CORE_WARNING | E_COMPILE_WARNING | E_USER_WARNING | ((check_php_version(5, 3)) ? E_DEPRECATED : 0)); + E_WARNING | E_CORE_WARNING | E_COMPILE_WARNING | E_USER_WARNING | E_DEPRECATED); define ('EM_NOTICE_ERRORS', E_NOTICE | E_USER_NOTICE); /* It is recommended to leave assertions on. @@ -22,7 +22,6 @@ Only where absolute speed is necessary you might want to turn them off. */ -//also turn it on if phpwiki_version notes no release if (defined('DEBUG') and DEBUG) assert_options(ASSERT_ACTIVE, 1); else Modified: trunk/lib/Request.php =================================================================== --- trunk/lib/Request.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/Request.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -609,8 +609,6 @@ $vars[$key] = $val; if (isset($_SESSION)) // php-5.2 $_SESSION[$key] = $val; - if (!check_php_version(5, 3)) - session_register($key); } function delete($key) @@ -622,8 +620,6 @@ unset($vars[$key]); if (isset($_SESSION)) // php-5.2 unset($_SESSION[$key]); - if (!check_php_version(5, 3)) - session_unregister($key); } } Modified: trunk/lib/config.php =================================================================== --- trunk/lib/config.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/config.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -30,11 +30,6 @@ @preg_match('/CGI/', $GLOBALS['HTTP_ENV_VARS']['GATEWAY_INTERFACE'])); } -// essential internal stuff -if (!check_php_version(5, 3)) { - set_magic_quotes_runtime(0); -} - /** * Browser Detection Functions * @@ -315,21 +310,6 @@ return preg_match("%^${requri}[^/]*$%", $GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']); } -/** - * safe php4 definition for clone. - * php5 copies objects by reference, but we need to clone "deep copy" in some places. - * (BlockParser) - * We need to eval it as workaround for the php5 parser. - * See http://www.acko.net/node/54 - */ -if (!check_php_version(5)) { - eval(' - function clone($object) { - return $object; - } - '); -} - function getUploadFilePath() { Modified: trunk/lib/font/chinese.php =================================================================== --- trunk/lib/font/chinese.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/font/chinese.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -323,10 +323,6 @@ $this->_out('endobj'); } - if (!check_php_version(5,3)) { - $mqr=get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } foreach($this->FontFiles as $file=>$info) { //Font file embedding @@ -349,9 +345,6 @@ fclose($f); $this->_out('endobj'); } - if (!check_php_version(5,3)) { - set_magic_quotes_runtime($mqr); - } foreach($this->fonts as $k=>$font) { //Font objects Modified: trunk/lib/font/japanese.php =================================================================== --- trunk/lib/font/japanese.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/font/japanese.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -302,10 +302,6 @@ $this->_out('<</Type /Encoding /BaseEncoding /WinAnsiEncoding /Differences ['.$diff.']>>'); $this->_out('endobj'); } - if (!check_php_version(5,3)) { - $mqr=get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } foreach($this->FontFiles as $file=>$info) { //Font file embedding $this->_newobj(); @@ -327,9 +323,6 @@ fclose($f); $this->_out('endobj'); } - if (!check_php_version(5,3)) { - set_magic_quotes_runtime($mqr); - } foreach($this->fonts as $k=>$font) { //Font objects $this->_newobj(); Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/main.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -1399,7 +1399,7 @@ // Postpone warnings global $ErrorManager; if (defined('E_STRICT')) // and (E_ALL & E_STRICT)) // strict php5? - $ErrorManager->setPostponedErrorMask(E_NOTICE | E_USER_NOTICE | E_USER_WARNING | E_WARNING | E_STRICT | ((check_php_version(5, 3)) ? E_DEPRECATED : 0)); + $ErrorManager->setPostponedErrorMask(E_NOTICE | E_USER_NOTICE | E_USER_WARNING | E_WARNING | E_STRICT | E_DEPRECATED); else $ErrorManager->setPostponedErrorMask(E_NOTICE | E_USER_NOTICE | E_USER_WARNING | E_WARNING); $request = new WikiRequest(); Modified: trunk/lib/prepend.php =================================================================== --- trunk/lib/prepend.php 2014-10-07 09:21:41 UTC (rev 9210) +++ trunk/lib/prepend.php 2014-10-07 11:43:50 UTC (rev 9211) @@ -7,18 +7,6 @@ // see lib/stdlib.php: phpwiki_version() define('PHPWIKI_VERSION', '1.5.1'); -/** - * Returns true if current php version is at mimimum a.b.c - * Called: check_php_version(5,3) - */ -function check_php_version($a = '0', $b = '0', $c = '0') -{ - static $PHP_VERSION; - if (!isset($PHP_VERSION)) - $PHP_VERSION = substr(str_pad(preg_replace('/\D/', '', PHP_VERSION), 3, '0'), 0, 3); - return ($PHP_VERSION >= ($a . $b . $c)); -} - /** PHP5 deprecated old-style globals if !(bool)ini_get('register_long_arrays'). * See Bug #1180115 * We want to work with those old ones instead of the new superglobals, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-08 08:28:17
|
Revision: 9225 http://sourceforge.net/p/phpwiki/code/9225 Author: vargenau Date: 2014-10-08 08:28:06 +0000 (Wed, 08 Oct 2014) Log Message: ----------- Set version to PhpWiki 1.5.2 Modified Paths: -------------- trunk/INSTALL trunk/Makefile trunk/config/phpwiki.spec trunk/lib/prepend.php trunk/pgsrc/AllPages trunk/pgsrc/AllPagesByAcl trunk/pgsrc/AllPagesCreatedByMe trunk/pgsrc/AllPagesLastEditedByMe trunk/pgsrc/AllPagesOwnedByMe trunk/pgsrc/AllUserPages trunk/pgsrc/AllUsers trunk/pgsrc/AppendText trunk/pgsrc/AuthorHistory trunk/pgsrc/BackLinks trunk/pgsrc/BlogArchives trunk/pgsrc/BlogJournal trunk/pgsrc/CategoryActionPage trunk/pgsrc/CategoryCategory trunk/pgsrc/CategoryGroup trunk/pgsrc/CategoryHomePages trunk/pgsrc/CategoryWikiPlugin trunk/pgsrc/CreatePage trunk/pgsrc/DebugAuthInfo trunk/pgsrc/DebugBackendInfo trunk/pgsrc/DebugGroupInfo trunk/pgsrc/DebugInfo trunk/pgsrc/EditMetaData trunk/pgsrc/FindPage trunk/pgsrc/FullRecentChanges trunk/pgsrc/FullTextSearch trunk/pgsrc/FuzzyPages trunk/pgsrc/Help trunk/pgsrc/Help%2FActionPage trunk/pgsrc/Help%2FAddCommentPlugin trunk/pgsrc/Help%2FAddingPages trunk/pgsrc/Help%2FAdobe%20Flash trunk/pgsrc/Help%2FAdvice%20for%20Mediawiki%20users trunk/pgsrc/Help%2FAllPagesPlugin trunk/pgsrc/Help%2FAllUsersPlugin trunk/pgsrc/Help%2FAnalyseAccessLogSqlPlugin trunk/pgsrc/Help%2FAppendTextPlugin trunk/pgsrc/Help%2FAsciiMathPlugin trunk/pgsrc/Help%2FAsciiSVGPlugin trunk/pgsrc/Help%2FAtomFeedPlugin trunk/pgsrc/Help%2FAuthorHistoryPlugin trunk/pgsrc/Help%2FBackLinksPlugin trunk/pgsrc/Help%2FBlogArchivesPlugin trunk/pgsrc/Help%2FBlogJournalPlugin trunk/pgsrc/Help%2FBoxRightPlugin trunk/pgsrc/Help%2FCacheTestPlugin trunk/pgsrc/Help%2FCalendarListPlugin trunk/pgsrc/Help%2FCalendarPlugin trunk/pgsrc/Help%2FCategories trunk/pgsrc/Help%2FCategoryPagePlugin trunk/pgsrc/Help%2FChartPlugin trunk/pgsrc/Help%2FCommentPlugin trunk/pgsrc/Help%2FCreateBibPlugin trunk/pgsrc/Help%2FCreatePagePlugin trunk/pgsrc/Help%2FCreateTocPlugin trunk/pgsrc/Help%2FCurrentTimePlugin trunk/pgsrc/Help%2FDeadEndPagesPlugin trunk/pgsrc/Help%2FDebugAuthInfoPlugin trunk/pgsrc/Help%2FDebugBackendInfoPlugin trunk/pgsrc/Help%2FDebugGroupInfoPlugin trunk/pgsrc/Help%2FDiffPlugin trunk/pgsrc/Help%2FDynamicIncludePagePlugin trunk/pgsrc/Help%2FEditMetaDataPlugin trunk/pgsrc/Help%2FEditText trunk/pgsrc/Help%2FExternalSearchPlugin trunk/pgsrc/Help%2FFacebookLikePlugin trunk/pgsrc/Help%2FFileInfoPlugin trunk/pgsrc/Help%2FFoafViewerPlugin trunk/pgsrc/Help%2FFullTextSearchPlugin trunk/pgsrc/Help%2FFuzzyPagesPlugin trunk/pgsrc/Help%2FGoToPlugin trunk/pgsrc/Help%2FGoodStyle trunk/pgsrc/Help%2FGoogleLink trunk/pgsrc/Help%2FGoogleMapsPlugin trunk/pgsrc/Help%2FGooglePluginPlugin trunk/pgsrc/Help%2FGraphVizPlugin trunk/pgsrc/Help%2FHelloWorldPlugin trunk/pgsrc/Help%2FHowToUseWiki trunk/pgsrc/Help%2FHtmlConverterPlugin trunk/pgsrc/Help%2FImages trunk/pgsrc/Help%2FIncludePagePlugin trunk/pgsrc/Help%2FIncludePagesPlugin trunk/pgsrc/Help%2FIncludeSiteMapPlugin trunk/pgsrc/Help%2FIncludeTreePlugin trunk/pgsrc/Help%2FInterWiki trunk/pgsrc/Help%2FInterWikiSearchPlugin trunk/pgsrc/Help%2FJabberPresencePlugin trunk/pgsrc/Help%2FJeff%20Dairiki trunk/pgsrc/Help%2FLdapSearchPlugin trunk/pgsrc/Help%2FLikePagesPlugin trunk/pgsrc/Help%2FLinkDatabasePlugin trunk/pgsrc/Help%2FLinkIcons trunk/pgsrc/Help%2FListPagesPlugin trunk/pgsrc/Help%2FListSubpagesPlugin trunk/pgsrc/Help%2FMagicPhpWikiURLs trunk/pgsrc/Help%2FMediawikiTablePlugin trunk/pgsrc/Help%2FModeratedPagePlugin trunk/pgsrc/Help%2FMoreAboutMechanics trunk/pgsrc/Help%2FMostPopularPlugin trunk/pgsrc/Help%2FNewPagesPerUserPlugin trunk/pgsrc/Help%2FNoCachePlugin trunk/pgsrc/Help%2FOldStyleTablePlugin trunk/pgsrc/Help%2FOrphanedPagesPlugin trunk/pgsrc/Help%2FPageDumpPlugin trunk/pgsrc/Help%2FPageGroupPlugin trunk/pgsrc/Help%2FPageHistoryPlugin trunk/pgsrc/Help%2FPageInfoPlugin trunk/pgsrc/Help%2FPageList trunk/pgsrc/Help%2FPagePermissions trunk/pgsrc/Help%2FPageTrailPlugin trunk/pgsrc/Help%2FPasswordResetPlugin trunk/pgsrc/Help%2FPhotoAlbumPlugin trunk/pgsrc/Help%2FPhotoAlbumPlugin%2FSlides trunk/pgsrc/Help%2FPhpHighlightPlugin trunk/pgsrc/Help%2FPhpWeatherPlugin trunk/pgsrc/Help%2FPhpWiki trunk/pgsrc/Help%2FPloticusPlugin trunk/pgsrc/Help%2FPluginManagerPlugin trunk/pgsrc/Help%2FPopUpPlugin trunk/pgsrc/Help%2FPopularNearbyPlugin trunk/pgsrc/Help%2FPredefinedIcons trunk/pgsrc/Help%2FPreferenceAppPlugin trunk/pgsrc/Help%2FPreferencesInfoPlugin trunk/pgsrc/Help%2FPrevNextPlugin trunk/pgsrc/Help%2FRandomPagePlugin trunk/pgsrc/Help%2FRateItPlugin trunk/pgsrc/Help%2FRawHtmlPlugin trunk/pgsrc/Help%2FRecentChangesCachedPlugin trunk/pgsrc/Help%2FRecentChangesPlugin trunk/pgsrc/Help%2FRecentCommentsPlugin trunk/pgsrc/Help%2FRecentEditsPlugin trunk/pgsrc/Help%2FRecentReferrersPlugin trunk/pgsrc/Help%2FRedirectToPlugin trunk/pgsrc/Help%2FReini%20Urban trunk/pgsrc/Help%2FRelatedChangesPlugin trunk/pgsrc/Help%2FRichTablePlugin trunk/pgsrc/Help%2FRssFeedPlugin trunk/pgsrc/Help%2FSearchHighlightPlugin trunk/pgsrc/Help%2FSemanticRelations trunk/pgsrc/Help%2FSemanticRelationsPlugin trunk/pgsrc/Help%2FSemanticSearchPlugin trunk/pgsrc/Help%2FSiteMapPlugin trunk/pgsrc/Help%2FSpreadsheet trunk/pgsrc/Help%2FSqlResultPlugin trunk/pgsrc/Help%2FSteve%20Wainstead trunk/pgsrc/Help%2FSyncWikiPlugin trunk/pgsrc/Help%2FSyntaxHighlighterPlugin trunk/pgsrc/Help%2FSystemInfoPlugin trunk/pgsrc/Help%2FTeX2pngPlugin trunk/pgsrc/Help%2FTemplatePlugin trunk/pgsrc/Help%2FTexToPngPlugin trunk/pgsrc/Help%2FTextFormattingRules trunk/pgsrc/Help%2FTitleSearchPlugin trunk/pgsrc/Help%2FTranscludePlugin trunk/pgsrc/Help%2FTranslateTextPlugin trunk/pgsrc/Help%2FUnfoldSubpagesPlugin trunk/pgsrc/Help%2FUpLoadPlugin trunk/pgsrc/Help%2FUserPreferencesPlugin trunk/pgsrc/Help%2FUserRatingsPlugin trunk/pgsrc/Help%2FVideoPlugin trunk/pgsrc/Help%2FVisualWikiPlugin trunk/pgsrc/Help%2FWabiSabi trunk/pgsrc/Help%2FWantedPagesOldPlugin trunk/pgsrc/Help%2FWantedPagesPlugin trunk/pgsrc/Help%2FWatchPagePlugin trunk/pgsrc/Help%2FWhoIsOnlinePlugin trunk/pgsrc/Help%2FWikiAdminChownPlugin trunk/pgsrc/Help%2FWikiAdminPurgePlugin trunk/pgsrc/Help%2FWikiAdminRemovePlugin trunk/pgsrc/Help%2FWikiAdminRenamePlugin trunk/pgsrc/Help%2FWikiAdminSearchReplacePlugin trunk/pgsrc/Help%2FWikiAdminSelectPlugin trunk/pgsrc/Help%2FWikiAdminSetAclPlugin trunk/pgsrc/Help%2FWikiAdminSetAclSimplePlugin trunk/pgsrc/Help%2FWikiAdminUtilsPlugin trunk/pgsrc/Help%2FWikiBlogPlugin trunk/pgsrc/Help%2FWikiFormPlugin trunk/pgsrc/Help%2FWikiFormRichPlugin trunk/pgsrc/Help%2FWikiForumPlugin trunk/pgsrc/Help%2FWikiPlugin trunk/pgsrc/Help%2FWikiPollPlugin trunk/pgsrc/Help%2FWikiTranslationPlugin trunk/pgsrc/Help%2FWikiWikiWeb trunk/pgsrc/Help%2FWikicreole trunk/pgsrc/Help%2FWikisUsingPhpWiki trunk/pgsrc/Help%2FYouTubePlugin trunk/pgsrc/Help%2Ftext2pngPlugin trunk/pgsrc/HomePage trunk/pgsrc/HomePageAlias trunk/pgsrc/InterWikiMap trunk/pgsrc/InterWikiSearch trunk/pgsrc/LdapSearch trunk/pgsrc/LeastPopular trunk/pgsrc/LikePages trunk/pgsrc/LinkDatabase trunk/pgsrc/LinkSearch trunk/pgsrc/ListRelations trunk/pgsrc/LockedPages trunk/pgsrc/ModeratedPage trunk/pgsrc/MostPopular trunk/pgsrc/MyRatings trunk/pgsrc/MyRecentChanges trunk/pgsrc/MyRecentEdits trunk/pgsrc/NewPagesPerUser trunk/pgsrc/OrphanedPages trunk/pgsrc/PageDump trunk/pgsrc/PageHistory trunk/pgsrc/PageInfo trunk/pgsrc/PasswordReset trunk/pgsrc/PhpWikiAdministration trunk/pgsrc/PhpWikiAdministration%2FChown trunk/pgsrc/PhpWikiAdministration%2FDeleteAcl trunk/pgsrc/PhpWikiAdministration%2FPurge trunk/pgsrc/PhpWikiAdministration%2FRemove trunk/pgsrc/PhpWikiAdministration%2FRename trunk/pgsrc/PhpWikiAdministration%2FSearchReplace trunk/pgsrc/PhpWikiAdministration%2FSetAcl trunk/pgsrc/PhpWikiAdministration%2FSetAclSimple trunk/pgsrc/PhpWikiDebug trunk/pgsrc/PhpWikiDocumentation trunk/pgsrc/PhpWikiManual trunk/pgsrc/PhpWikiPoll trunk/pgsrc/PhpWikiRecentChanges trunk/pgsrc/PluginManager trunk/pgsrc/ProjectSummary trunk/pgsrc/RandomPage trunk/pgsrc/RateIt trunk/pgsrc/RecentChanges trunk/pgsrc/RecentChangesMyPages trunk/pgsrc/RecentComments trunk/pgsrc/RecentEdits trunk/pgsrc/RecentNewPages trunk/pgsrc/RecentReleases trunk/pgsrc/RecentVisitors trunk/pgsrc/RelatedChanges trunk/pgsrc/ReleaseNotes trunk/pgsrc/San%20Diego trunk/pgsrc/SandBox trunk/pgsrc/SearchHighlight trunk/pgsrc/SemanticRelations trunk/pgsrc/SemanticSearch trunk/pgsrc/SetGlobalAccessRights trunk/pgsrc/SetGlobalAccessRightsSimple trunk/pgsrc/SpecialPages trunk/pgsrc/SpellCheck trunk/pgsrc/SystemInfo trunk/pgsrc/Template%2FAttribute trunk/pgsrc/Template%2FCategory trunk/pgsrc/Template%2FExample trunk/pgsrc/Template%2FLinkto trunk/pgsrc/Template%2FNewPlugin trunk/pgsrc/Template%2FRelation trunk/pgsrc/Template%2FTalk trunk/pgsrc/Template%2FUserPage trunk/pgsrc/The%20PhpWiki%20programming%20team trunk/pgsrc/TitleSearch trunk/pgsrc/TranslateText trunk/pgsrc/UpLoad trunk/pgsrc/UriResolver trunk/pgsrc/UserContribs trunk/pgsrc/UserPreferences trunk/pgsrc/UserRatings trunk/pgsrc/WantedPages trunk/pgsrc/WatchPage trunk/pgsrc/WhoIsOnline trunk/pgsrc/WikiAdminSelect trunk/pgsrc/WikiBlog trunk/pgsrc/area trunk/pgsrc/is_a trunk/pgsrc/located_in trunk/pgsrc/population trunk/themes/blog/pgsrc/About trunk/themes/blog/pgsrc/Blog trunk/themes/blog/pgsrc/BlogArchives trunk/themes/blog/pgsrc/CategoryHowTo trunk/themes/blog/pgsrc/HomePage trunk/themes/blog/pgsrc/HowTo trunk/themes/blog/pgsrc/PhotoAlbum trunk/themes/fusionforge/pgsrc/CategoryWiki%20templates trunk/themes/fusionforge/pgsrc/CategoryWiki%20user trunk/themes/fusionforge/pgsrc/ExternalPages trunk/themes/fusionforge/pgsrc/FindPage trunk/themes/fusionforge/pgsrc/HomePage trunk/themes/fusionforge/pgsrc/InterWikiMap trunk/themes/fusionforge/pgsrc/PhpWikiAdministration trunk/themes/fusionforge/pgsrc/PhpWikiAdministration%2FSetAclSimple trunk/themes/fusionforge/pgsrc/PhpWikiAdministration%2FSetExternal trunk/themes/fusionforge/pgsrc/SetGlobalAccessRightsSimple trunk/themes/fusionforge/pgsrc/SpecialPages trunk/themes/fusionforge/pgsrc/TextFormattingRules trunk/themes/fusionforge/pgsrc/UpLoad trunk/themes/fusionforge/pgsrc/colorbox trunk/themes/fusionforge/pgsrc/titlebar trunk/themes/wikilens/pgsrc/LeftbarContent Modified: trunk/INSTALL =================================================================== --- trunk/INSTALL 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/INSTALL 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,6 +1,6 @@ REQUIREMENTS -PhpWiki 1.5.1 requires a web server with at least PHP version 5.3. +PhpWiki 1.5.2 requires a web server with at least PHP version 5.3. All users of PHP are strongly encouraged to upgrade to PHP 5.3.29 or to PHP 5.4 or 5.5. @@ -61,7 +61,7 @@ Unzip this file into the directory where you want it to live. That's it. -bash$ unzip phpwiki-1.5.1.zip +bash$ unzip phpwiki-1.5.2.zip In the config subdirectory copy 'config-dist.ini' to 'config.ini' and edit the settings in 'config.ini' to your liking. Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/Makefile 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,4 +1,4 @@ -VERSION=1.5.1 +VERSION=1.5.2 RPMBUILD=rpmbuild clean: Modified: trunk/config/phpwiki.spec =================================================================== --- trunk/config/phpwiki.spec 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/config/phpwiki.spec 2014-10-08 08:28:06 UTC (rev 9225) @@ -40,7 +40,7 @@ # RPM spec preamble Summary: PHP-based Wiki webapplication Name: phpwiki -Version: 1.5.1 +Version: 1.5.2 Release: 1 BuildArch: noarch License: GPL Modified: trunk/lib/prepend.php =================================================================== --- trunk/lib/prepend.php 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/lib/prepend.php 2014-10-08 08:28:06 UTC (rev 9225) @@ -5,7 +5,7 @@ */ // see lib/stdlib.php: phpwiki_version() -define('PHPWIKI_VERSION', '1.5.1'); +define('PHPWIKI_VERSION', '1.5.2'); /** PHP5 deprecated old-style globals if !(bool)ini_get('register_long_arrays'). * See Bug #1180115 Modified: trunk/pgsrc/AllPages =================================================================== --- trunk/pgsrc/AllPages 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllPages 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllPages; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/AllPagesByAcl =================================================================== --- trunk/pgsrc/AllPagesByAcl 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllPagesByAcl 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllPagesByAcl; flags=PAGE_LOCKED; Modified: trunk/pgsrc/AllPagesCreatedByMe =================================================================== --- trunk/pgsrc/AllPagesCreatedByMe 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllPagesCreatedByMe 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllPagesCreatedByMe; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/AllPagesLastEditedByMe =================================================================== --- trunk/pgsrc/AllPagesLastEditedByMe 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllPagesLastEditedByMe 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllPagesLastEditedByMe; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/AllPagesOwnedByMe =================================================================== --- trunk/pgsrc/AllPagesOwnedByMe 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllPagesOwnedByMe 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllPagesOwnedByMe; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/AllUserPages =================================================================== --- trunk/pgsrc/AllUserPages 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllUserPages 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllUserPages; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/AllUsers =================================================================== --- trunk/pgsrc/AllUsers 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AllUsers 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AllUsers; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/AppendText =================================================================== --- trunk/pgsrc/AppendText 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AppendText 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AppendText; flags=PAGE_LOCKED; Modified: trunk/pgsrc/AuthorHistory =================================================================== --- trunk/pgsrc/AuthorHistory 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/AuthorHistory 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=AuthorHistory; flags=PAGE_LOCKED; Modified: trunk/pgsrc/BackLinks =================================================================== --- trunk/pgsrc/BackLinks 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/BackLinks 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=BackLinks; flags=PAGE_LOCKED; Modified: trunk/pgsrc/BlogArchives =================================================================== --- trunk/pgsrc/BlogArchives 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/BlogArchives 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=BlogArchives; flags=""; Modified: trunk/pgsrc/BlogJournal =================================================================== --- trunk/pgsrc/BlogJournal 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/BlogJournal 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=BlogJournal; flags=""; Modified: trunk/pgsrc/CategoryActionPage =================================================================== --- trunk/pgsrc/CategoryActionPage 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/CategoryActionPage 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=CategoryActionPage; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/CategoryCategory =================================================================== --- trunk/pgsrc/CategoryCategory 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/CategoryCategory 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=CategoryCategory; flags=EXTERNAL_PAGE; Modified: trunk/pgsrc/CategoryGroup =================================================================== --- trunk/pgsrc/CategoryGroup 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/CategoryGroup 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=CategoryGroup; flags=""; Modified: trunk/pgsrc/CategoryHomePages =================================================================== --- trunk/pgsrc/CategoryHomePages 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/CategoryHomePages 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=CategoryHomePages; flags=""; Modified: trunk/pgsrc/CategoryWikiPlugin =================================================================== --- trunk/pgsrc/CategoryWikiPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/CategoryWikiPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=CategoryWikiPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/CreatePage =================================================================== --- trunk/pgsrc/CreatePage 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/CreatePage 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=CreatePage; flags=PAGE_LOCKED; Modified: trunk/pgsrc/DebugAuthInfo =================================================================== --- trunk/pgsrc/DebugAuthInfo 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/DebugAuthInfo 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=DebugAuthInfo; flags=PAGE_LOCKED; Modified: trunk/pgsrc/DebugBackendInfo =================================================================== --- trunk/pgsrc/DebugBackendInfo 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/DebugBackendInfo 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=DebugBackendInfo; flags=PAGE_LOCKED; Modified: trunk/pgsrc/DebugGroupInfo =================================================================== --- trunk/pgsrc/DebugGroupInfo 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/DebugGroupInfo 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=DebugGroupInfo; flags=PAGE_LOCKED; Modified: trunk/pgsrc/DebugInfo =================================================================== --- trunk/pgsrc/DebugInfo 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/DebugInfo 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=DebugInfo; flags=PAGE_LOCKED; Modified: trunk/pgsrc/EditMetaData =================================================================== --- trunk/pgsrc/EditMetaData 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/EditMetaData 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=EditMetaData; flags=PAGE_LOCKED; Modified: trunk/pgsrc/FindPage =================================================================== --- trunk/pgsrc/FindPage 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/FindPage 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=FindPage; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/FullRecentChanges =================================================================== --- trunk/pgsrc/FullRecentChanges 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/FullRecentChanges 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=FullRecentChanges; flags=PAGE_LOCKED; Modified: trunk/pgsrc/FullTextSearch =================================================================== --- trunk/pgsrc/FullTextSearch 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/FullTextSearch 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=FullTextSearch; flags=PAGE_LOCKED; Modified: trunk/pgsrc/FuzzyPages =================================================================== --- trunk/pgsrc/FuzzyPages 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/FuzzyPages 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=FuzzyPages; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help =================================================================== --- trunk/pgsrc/Help 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FActionPage =================================================================== --- trunk/pgsrc/Help%2FActionPage 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FActionPage 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FActionPage; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAddCommentPlugin =================================================================== --- trunk/pgsrc/Help%2FAddCommentPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAddCommentPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAddCommentPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAddingPages =================================================================== --- trunk/pgsrc/Help%2FAddingPages 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAddingPages 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAddingPages; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAdobe%20Flash =================================================================== --- trunk/pgsrc/Help%2FAdobe%20Flash 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAdobe%20Flash 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAdobe%20Flash; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAdvice%20for%20Mediawiki%20users =================================================================== --- trunk/pgsrc/Help%2FAdvice%20for%20Mediawiki%20users 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAdvice%20for%20Mediawiki%20users 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAdvice%20for%20Mediawiki%20users; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAllPagesPlugin =================================================================== --- trunk/pgsrc/Help%2FAllPagesPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAllPagesPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAllPagesPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAllUsersPlugin =================================================================== --- trunk/pgsrc/Help%2FAllUsersPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAllUsersPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAllUsersPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAnalyseAccessLogSqlPlugin =================================================================== --- trunk/pgsrc/Help%2FAnalyseAccessLogSqlPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAnalyseAccessLogSqlPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAnalyseAccessLogSqlPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FAppendTextPlugin =================================================================== --- trunk/pgsrc/Help%2FAppendTextPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAppendTextPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAppendTextPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAsciiMathPlugin =================================================================== --- trunk/pgsrc/Help%2FAsciiMathPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAsciiMathPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAsciiMathPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FAsciiSVGPlugin =================================================================== --- trunk/pgsrc/Help%2FAsciiSVGPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAsciiSVGPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAsciiSVGPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAtomFeedPlugin =================================================================== --- trunk/pgsrc/Help%2FAtomFeedPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAtomFeedPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAtomFeedPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FAuthorHistoryPlugin =================================================================== --- trunk/pgsrc/Help%2FAuthorHistoryPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FAuthorHistoryPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FAuthorHistoryPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FBackLinksPlugin =================================================================== --- trunk/pgsrc/Help%2FBackLinksPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FBackLinksPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FBackLinksPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FBlogArchivesPlugin =================================================================== --- trunk/pgsrc/Help%2FBlogArchivesPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FBlogArchivesPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FBlogArchivesPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FBlogJournalPlugin =================================================================== --- trunk/pgsrc/Help%2FBlogJournalPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FBlogJournalPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FBlogJournalPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FBoxRightPlugin =================================================================== --- trunk/pgsrc/Help%2FBoxRightPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FBoxRightPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FBoxRightPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCacheTestPlugin =================================================================== --- trunk/pgsrc/Help%2FCacheTestPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCacheTestPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCacheTestPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FCalendarListPlugin =================================================================== --- trunk/pgsrc/Help%2FCalendarListPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCalendarListPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCalendarListPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCalendarPlugin =================================================================== --- trunk/pgsrc/Help%2FCalendarPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCalendarPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCalendarPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCategories =================================================================== --- trunk/pgsrc/Help%2FCategories 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCategories 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCategories; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCategoryPagePlugin =================================================================== --- trunk/pgsrc/Help%2FCategoryPagePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCategoryPagePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCategoryPagePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FChartPlugin =================================================================== --- trunk/pgsrc/Help%2FChartPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FChartPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FChartPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCommentPlugin =================================================================== --- trunk/pgsrc/Help%2FCommentPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCommentPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCommentPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCreateBibPlugin =================================================================== --- trunk/pgsrc/Help%2FCreateBibPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCreateBibPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCreateBibPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCreatePagePlugin =================================================================== --- trunk/pgsrc/Help%2FCreatePagePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCreatePagePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCreatePagePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCreateTocPlugin =================================================================== --- trunk/pgsrc/Help%2FCreateTocPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCreateTocPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCreateTocPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FCurrentTimePlugin =================================================================== --- trunk/pgsrc/Help%2FCurrentTimePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FCurrentTimePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCurrentTimePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FDeadEndPagesPlugin =================================================================== --- trunk/pgsrc/Help%2FDeadEndPagesPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FDeadEndPagesPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FDeadEndPagesPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FDebugAuthInfoPlugin =================================================================== --- trunk/pgsrc/Help%2FDebugAuthInfoPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FDebugAuthInfoPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FDebugAuthInfoPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FDebugBackendInfoPlugin =================================================================== --- trunk/pgsrc/Help%2FDebugBackendInfoPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FDebugBackendInfoPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FDebugBackendInfoPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FDebugGroupInfoPlugin =================================================================== --- trunk/pgsrc/Help%2FDebugGroupInfoPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FDebugGroupInfoPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FDebugGroupInfoPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FDiffPlugin =================================================================== --- trunk/pgsrc/Help%2FDiffPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FDiffPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FDiffPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FDynamicIncludePagePlugin =================================================================== --- trunk/pgsrc/Help%2FDynamicIncludePagePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FDynamicIncludePagePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FDynamicIncludePagePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FEditMetaDataPlugin =================================================================== --- trunk/pgsrc/Help%2FEditMetaDataPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FEditMetaDataPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FEditMetaDataPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FEditText =================================================================== --- trunk/pgsrc/Help%2FEditText 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FEditText 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FEditText; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FExternalSearchPlugin =================================================================== --- trunk/pgsrc/Help%2FExternalSearchPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FExternalSearchPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FExternalSearchPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FFacebookLikePlugin =================================================================== --- trunk/pgsrc/Help%2FFacebookLikePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FFacebookLikePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FFacebookLikePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FFileInfoPlugin =================================================================== --- trunk/pgsrc/Help%2FFileInfoPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FFileInfoPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FFileInfoPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FFoafViewerPlugin =================================================================== --- trunk/pgsrc/Help%2FFoafViewerPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FFoafViewerPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FFoafViewerPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FFullTextSearchPlugin =================================================================== --- trunk/pgsrc/Help%2FFullTextSearchPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FFullTextSearchPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FFullTextSearchPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FFuzzyPagesPlugin =================================================================== --- trunk/pgsrc/Help%2FFuzzyPagesPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FFuzzyPagesPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FFuzzyPagesPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FGoToPlugin =================================================================== --- trunk/pgsrc/Help%2FGoToPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FGoToPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FGoToPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FGoodStyle =================================================================== --- trunk/pgsrc/Help%2FGoodStyle 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FGoodStyle 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FGoodStyle; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FGoogleLink =================================================================== --- trunk/pgsrc/Help%2FGoogleLink 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FGoogleLink 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FGoogleLink; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FGoogleMapsPlugin =================================================================== --- trunk/pgsrc/Help%2FGoogleMapsPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FGoogleMapsPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FGoogleMapsPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FGooglePluginPlugin =================================================================== --- trunk/pgsrc/Help%2FGooglePluginPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FGooglePluginPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FGooglePluginPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FGraphVizPlugin =================================================================== --- trunk/pgsrc/Help%2FGraphVizPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FGraphVizPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FGraphVizPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FHelloWorldPlugin =================================================================== --- trunk/pgsrc/Help%2FHelloWorldPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FHelloWorldPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FHelloWorldPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FHowToUseWiki =================================================================== --- trunk/pgsrc/Help%2FHowToUseWiki 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FHowToUseWiki 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FHowToUseWiki; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FHtmlConverterPlugin =================================================================== --- trunk/pgsrc/Help%2FHtmlConverterPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FHtmlConverterPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FHtmlConverterPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FImages =================================================================== --- trunk/pgsrc/Help%2FImages 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FImages 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FImages; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FIncludePagePlugin =================================================================== --- trunk/pgsrc/Help%2FIncludePagePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FIncludePagePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FIncludePagePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FIncludePagesPlugin =================================================================== --- trunk/pgsrc/Help%2FIncludePagesPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FIncludePagesPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FIncludePagesPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FIncludeSiteMapPlugin =================================================================== --- trunk/pgsrc/Help%2FIncludeSiteMapPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FIncludeSiteMapPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FIncludeSiteMapPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FIncludeTreePlugin =================================================================== --- trunk/pgsrc/Help%2FIncludeTreePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FIncludeTreePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FIncludeTreePlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FInterWiki =================================================================== --- trunk/pgsrc/Help%2FInterWiki 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FInterWiki 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FInterWiki; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; Modified: trunk/pgsrc/Help%2FInterWikiSearchPlugin =================================================================== --- trunk/pgsrc/Help%2FInterWikiSearchPlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FInterWikiSearchPlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FInterWikiSearchPlugin; flags=PAGE_LOCKED; Modified: trunk/pgsrc/Help%2FJabberPresencePlugin =================================================================== --- trunk/pgsrc/Help%2FJabberPresencePlugin 2014-10-07 18:34:29 UTC (rev 9224) +++ trunk/pgsrc/Help%2FJabberPresencePlugin 2014-10-08 08:28:06 UTC (rev 9225) @@ -1,5 +1,5 @@ -Date: Thu, 2 Oct 2014 16:29:30 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.5.1) +Date: Tue, 7 Oct 2014 19:05:57 +0000 +Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: a... [truncated message content] |
From: <var...@us...> - 2014-10-08 12:49:23
|
Revision: 9226 http://sourceforge.net/p/phpwiki/code/9226 Author: vargenau Date: 2014-10-08 12:49:20 +0000 (Wed, 08 Oct 2014) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/lib/Request.php trunk/lib/main.php trunk/tests/unit/test.php Modified: trunk/lib/Request.php =================================================================== --- trunk/lib/Request.php 2014-10-08 08:28:06 UTC (rev 9225) +++ trunk/lib/Request.php 2014-10-08 12:49:20 UTC (rev 9226) @@ -24,7 +24,7 @@ { public $args = array(); - function Request() + function __construct() { $this->_fix_magic_quotes_gpc(); $this->_fix_multipart_form_data(); @@ -578,7 +578,7 @@ class Request_SessionVars { - function Request_SessionVars() + function __construct() { // Prevent cacheing problems with IE 5 session_cache_limiter('none'); @@ -716,6 +716,11 @@ */ class Request_UploadedFile { + function __construct($fileinfo) + { + $this->_info = $fileinfo; + } + function getUploadedFile($postname) { global $HTTP_POST_FILES; @@ -767,14 +772,6 @@ "end with a slash. upload_tmp_dir = \"C:/WINDOWS/TEMP/\" is good suggestion.", E_USER_ERROR); return false; - } else { - /* - trigger_error(sprintf("Workaround for PHP/Windows is_uploaded_file() problem for %s.", - $fileinfo['tmp_name'])."\n". - "Probably illegal TEMP environment or upload_tmp_dir setting.", - E_USER_NOTICE); - */ - ; } } else { trigger_error(sprintf("Uploaded tmpfile %s not found.", $fileinfo['tmp_name']) . "\n" . @@ -785,11 +782,6 @@ return new Request_UploadedFile($fileinfo); } - function Request_UploadedFile($fileinfo) - { - $this->_info = $fileinfo; - } - function getSize() { return $this->_info['size']; @@ -853,10 +845,10 @@ class Request_AccessLog { /** - * @param $logfile string Log file name. + * @param string $logfile Log file name. * @param bool $do_sql */ - function Request_AccessLog($logfile, $do_sql = false) + function __construct($logfile, $do_sql = false) { //global $request; // request not yet initialized! @@ -1221,7 +1213,7 @@ class HTTP_ETag { - function HTTP_ETag($val, $is_weak = false) + function __construct($val, $is_weak = false) { $this->_val = wikihash($val); $this->_weak = $is_weak; @@ -1292,7 +1284,7 @@ class HTTP_ValidatorSet { - function HTTP_ValidatorSet($validators) + function __construct($validators) { $this->_mtime = $this->_weak = false; $this->_tag = array(); Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2014-10-08 08:28:06 UTC (rev 9225) +++ trunk/lib/main.php 2014-10-08 12:49:20 UTC (rev 9226) @@ -92,7 +92,7 @@ //$x = error_reporting(); $this->version = phpwiki_version(); - $this->Request(); // [90ms] + parent::__construct(); // [90ms] // Normalize args... $this->setArg('pagename', $this->_deducePagename()); Modified: trunk/tests/unit/test.php =================================================================== --- trunk/tests/unit/test.php 2014-10-08 08:28:06 UTC (rev 9225) +++ trunk/tests/unit/test.php 2014-10-08 12:49:20 UTC (rev 9226) @@ -508,12 +508,12 @@ $ErrorManager->setPostponedErrorMask(EM_FATAL_ERRORS|EM_WARNING_ERRORS|EM_NOTICE_ERRORS); // FIXME: ignore cached requests (if-modified-since) from cli class MockRequest extends WikiRequest { - function MockRequest($dbparams) { + function __construct($dbparams) { $this->_dbi = WikiDB::open($dbparams); $this->_user = new MockUser("a_user", $GLOBALS['user_level']); $this->_group = new GroupNone(); $this->_args = array('pagename' => 'HomePage', 'action' => 'browse'); - $this->Request(); + parent::__construct(); } function getGroup() { if (is_object($this->_group)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-09 13:37:41
|
Revision: 9229 http://sourceforge.net/p/phpwiki/code/9229 Author: vargenau Date: 2014-10-09 13:37:36 +0000 (Thu, 09 Oct 2014) Log Message: ----------- PHP 5.3 can compress Modified Paths: -------------- trunk/pgsrc/PhpWikiAdministration trunk/themes/fusionforge/pgsrc/PhpWikiAdministration Modified: trunk/pgsrc/PhpWikiAdministration =================================================================== --- trunk/pgsrc/PhpWikiAdministration 2014-10-09 13:36:33 UTC (rev 9228) +++ trunk/pgsrc/PhpWikiAdministration 2014-10-09 13:37:36 UTC (rev 9229) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:57 +0000 +Date: Wed, 8 Oct 2014 16:36:03 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=PhpWikiAdministration; @@ -54,17 +54,15 @@ === ZIP files of database === -These links lead to zip files, generated on the fly, which contain all -the pages in your Wiki. The zip file will be downloaded to your local +These links lead to ZIP files, generated on the fly, which contain all +the pages in your Wiki. The ZIP file will be downloaded to your local computer. This **[[phpwiki:?action=zip|ZIP Snapshot]]** contains only the latest versions of each page, while this **[[phpwiki:?action=zip&include=all|ZIP Dump]]** contains all archived versions. -(If the ~PhpWiki is configured to allow it, anyone can download a zip file.) +(If the ~PhpWiki is configured to allow it, anyone can download a ZIP file.) -If your php has //zlib// support, the files in the archive will be compressed, otherwise they will just be stored. - === Dump to directory === Here you can dump pages of your Wiki into a directory of your choice. @@ -79,7 +77,7 @@ here. Note that pages in your database will be overwritten; thus, if you dumped your HomePage when you load it from this form it will overwrite the one in your database now. If you want to be selective -just delete the pages from the directory (or zip file) which you don't +just delete the pages from the directory (or ZIP file) which you don't want to load. === Upload File === Modified: trunk/themes/fusionforge/pgsrc/PhpWikiAdministration =================================================================== --- trunk/themes/fusionforge/pgsrc/PhpWikiAdministration 2014-10-09 13:36:33 UTC (rev 9228) +++ trunk/themes/fusionforge/pgsrc/PhpWikiAdministration 2014-10-09 13:37:36 UTC (rev 9229) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:54 +0000 +Date: Wed, 8 Oct 2014 16:36:22 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=PhpWikiAdministration; @@ -40,17 +40,15 @@ === ZIP files of database === -These links lead to zip files, generated on the fly, which contain all -the pages in your Wiki. The zip file will be downloaded to your local +These links lead to ZIP files, generated on the fly, which contain all +the pages in your Wiki. The ZIP file will be downloaded to your local computer. This **[[phpwiki:?action=zip|ZIP Snapshot]]** contains only the latest versions of each page, while this **[[phpwiki:?action=zip&include=all|ZIP Dump]]** contains all archived versions. -(If the ~PhpWiki is configured to allow it, anyone can download a zip file.) +(If the ~PhpWiki is configured to allow it, anyone can download a ZIP file.) -If your php has //zlib// support, the files in the archive will be compressed, otherwise they will just be stored. - === Dump to directory === Here you can dump pages of your Wiki into a directory of your choice. @@ -65,7 +63,7 @@ here. Note that pages in your database will be overwritten; thus, if you dumped your HomePage when you load it from this form it will overwrite the one in your database now. If you want to be selective -just delete the pages from the directory (or zip file) which you don't +just delete the pages from the directory (or ZIP file) which you don't want to load. === Upload File === This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-10 08:23:06
|
Revision: 9240 http://sourceforge.net/p/phpwiki/code/9240 Author: vargenau Date: 2014-10-10 08:22:57 +0000 (Fri, 10 Oct 2014) Log Message: ----------- Translate error message Modified Paths: -------------- trunk/lib/ErrorManager.php trunk/locale/de/LC_MESSAGES/phpwiki.mo trunk/locale/es/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.mo trunk/locale/it/LC_MESSAGES/phpwiki.mo trunk/locale/ja/LC_MESSAGES/phpwiki.mo trunk/locale/nl/LC_MESSAGES/phpwiki.mo trunk/locale/po/de.po trunk/locale/po/es.po trunk/locale/po/fr.po trunk/locale/po/it.po trunk/locale/po/ja.po trunk/locale/po/nl.po trunk/locale/po/phpwiki.pot trunk/locale/po/sv.po trunk/locale/po/zh.po trunk/locale/sv/LC_MESSAGES/phpwiki.mo trunk/locale/zh/LC_MESSAGES/phpwiki.mo Modified: trunk/lib/ErrorManager.php =================================================================== --- trunk/lib/ErrorManager.php 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/lib/ErrorManager.php 2014-10-10 08:22:57 UTC (rev 9240) @@ -261,11 +261,13 @@ echo "<html>\n"; echo "<head>\n"; echo "<meta charset=\"UTF-8\" />\n"; - echo "<title>Fatal Error</title>\n"; + echo "<title>"._('Fatal PhpWiki Error')."</title>\n"; echo '<link rel="stylesheet" type="text/css" href="themes/default/phpwiki.css" />'."\n"; echo "</head>\n"; echo "<body>\n"; - echo "<div style=\"font-weight:bold; color:red;\">Fatal Error:</div>\n"; + echo '<div style="font-weight:bold; color:red;">'; + echo _('Fatal PhpWiki Error')._(':'); + echo "</div>\n"; if (defined('DEBUG') and (DEBUG & _DEBUG_TRACE)) { echo "error_reporting=", error_reporting(), "\n<br />"; Modified: trunk/locale/de/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/es/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/it/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/ja/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/nl/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/po/de.po =================================================================== --- trunk/locale/po/de.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/de.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2000-10-31 02:23+0200\n" "Last-Translator: Reini Urban <ru...@x-...>, Carsten Klapp " "<car...@us...>, Helmer Pardun <pardunpress@t-online." @@ -482,6 +482,12 @@ msgid "%s: error while handling error:" msgstr "%s: Fehler während der Fehlerbehandlung von:" +msgid "Fatal PhpWiki Error" +msgstr "Fataler PhpWiki-Fehler" + +msgid ":" +msgstr ":" + #, php-format msgid "File “%s” not found." msgstr "Datei »%s« nicht gefunden." @@ -984,9 +990,6 @@ msgid "%s: Bad action" msgstr "%s: Ungültige Aktion" -msgid "Fatal PhpWiki Error" -msgstr "Fataler PhpWiki-Fehler" - msgid "PageDump" msgstr "SeiteSpeichern" @@ -5313,9 +5316,6 @@ "Wenn Sie diese Seite jetzt speichern, wird die aktuelle Version " "überschrieben." -msgid ":" -msgstr ":" - msgid "H" msgstr "H." Modified: trunk/locale/po/es.po =================================================================== --- trunk/locale/po/es.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/es.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2000-02-01 00:50-0500\n" "Last-Translator: Pablo Roca <pr...@cl...>\n" "Language-Team: \n" @@ -477,6 +477,12 @@ msgid "%s: error while handling error:" msgstr "%s: error mientras que maneja error:" +msgid "Fatal PhpWiki Error" +msgstr "Error Fatal De PhpWiki" + +msgid ":" +msgstr ":" + #, php-format msgid "File “%s” not found." msgstr "Fichero “%s” no encontrado." @@ -965,9 +971,6 @@ msgid "%s: Bad action" msgstr "%s: Mala acción" -msgid "Fatal PhpWiki Error" -msgstr "Error Fatal De PhpWiki" - msgid "PageDump" msgstr "DescargeDeLaPágina" @@ -5187,9 +5190,6 @@ msgid "Saving this page will overwrite the current version." msgstr "Ahorrando esta página sobreescribirá la versión actual." -msgid ":" -msgstr ":" - msgid "H" msgstr "Al" Modified: trunk/locale/po/fr.po =================================================================== --- trunk/locale/po/fr.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/fr.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2004-06-22 21:10+0200\n" "Last-Translator: Pierrick Meignen <mei...@wa...>, Roland " "Trique <rol...@fr...>, Stéphane Gourichon <stephane.gourichon@lip6." @@ -478,6 +478,12 @@ msgid "%s: error while handling error:" msgstr "%s : erreur pendant la gestion de l'erreur :" +msgid "Fatal PhpWiki Error" +msgstr "Erreur fatale de PhpWiki" + +msgid ":" +msgstr " :" + #, php-format msgid "File “%s” not found." msgstr "Fichier « %s » non trouvé." @@ -964,9 +970,6 @@ msgid "%s: Bad action" msgstr "%s : mauvaise action" -msgid "Fatal PhpWiki Error" -msgstr "Erreur fatale de PhpWiki" - msgid "PageDump" msgstr "RécupérationDeLaPage" @@ -5243,9 +5246,6 @@ msgid "Saving this page will overwrite the current version." msgstr "Enregistrer cette page écrasera la version actuelle." -msgid ":" -msgstr " :" - msgid "H" msgstr "H" Modified: trunk/locale/po/it.po =================================================================== --- trunk/locale/po/it.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/it.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2005-02-12 16:23+0100\n" "Last-Translator: Antonio Bonifati ant[(at)]monitor.deis.unical.it\n" "Language-Team: \n" @@ -467,6 +467,12 @@ msgid "%s: error while handling error:" msgstr "" +msgid "Fatal PhpWiki Error" +msgstr "Errore Fatale Di PhpWiki" + +msgid ":" +msgstr "" + #, php-format msgid "File “%s” not found." msgstr "File «%s» non trovato." @@ -951,9 +957,6 @@ msgid "%s: Bad action" msgstr "" -msgid "Fatal PhpWiki Error" -msgstr "Errore Fatale Di PhpWiki" - msgid "PageDump" msgstr "" @@ -5133,9 +5136,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid ":" -msgstr "" - msgid "H" msgstr "A" Modified: trunk/locale/po/ja.po =================================================================== --- trunk/locale/po/ja.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/ja.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2003-06-07 09:01+0900\n" "Last-Translator: Tadashi Jokagi <web...@el...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -455,6 +455,12 @@ msgid "%s: error while handling error:" msgstr "" +msgid "Fatal PhpWiki Error" +msgstr "致命的なPhpWikiのエラーです。" + +msgid ":" +msgstr "" + #, php-format msgid "File “%s” not found." msgstr "%s: ファイルが見つかりません。" @@ -949,9 +955,6 @@ msgid "%s: Bad action" msgstr "%s: 正しくない操作です。" -msgid "Fatal PhpWiki Error" -msgstr "致命的なPhpWikiのエラーです。" - msgid "PageDump" msgstr "" @@ -5291,9 +5294,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid ":" -msgstr "" - msgid "H" msgstr "高さ" Modified: trunk/locale/po/nl.po =================================================================== --- trunk/locale/po/nl.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/nl.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n" "Language-Team: Dutch <nl...@li...>\n" @@ -460,6 +460,12 @@ msgid "%s: error while handling error:" msgstr "" +msgid "Fatal PhpWiki Error" +msgstr "PhpWiki Fatale Fout" + +msgid ":" +msgstr "" + #, php-format msgid "File “%s” not found." msgstr "" @@ -942,9 +948,6 @@ msgid "%s: Bad action" msgstr "" -msgid "Fatal PhpWiki Error" -msgstr "PhpWiki Fatale Fout" - msgid "PageDump" msgstr "" @@ -5125,9 +5128,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid ":" -msgstr "" - msgid "H" msgstr "H" Modified: trunk/locale/po/phpwiki.pot =================================================================== --- trunk/locale/po/phpwiki.pot 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/phpwiki.pot 2014-10-10 08:22:57 UTC (rev 9240) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki-1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2002-12-14 17:51-0500\n" "Last-Translator: Reini Urban <ru...@us...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -454,6 +454,12 @@ msgid "%s: error while handling error:" msgstr "" +msgid "Fatal PhpWiki Error" +msgstr "" + +msgid ":" +msgstr "" + #, php-format msgid "File “%s” not found." msgstr "" @@ -936,9 +942,6 @@ msgid "%s: Bad action" msgstr "" -msgid "Fatal PhpWiki Error" -msgstr "" - msgid "PageDump" msgstr "" @@ -5117,9 +5120,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid ":" -msgstr "" - msgid "H" msgstr "" Modified: trunk/locale/po/sv.po =================================================================== --- trunk/locale/po/sv.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/sv.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2001-01-27 01:58+0200\n" "Last-Translator: Jon Åslund <jo...@he...>\n" "Language-Team: \n" @@ -455,6 +455,12 @@ msgid "%s: error while handling error:" msgstr "" +msgid "Fatal PhpWiki Error" +msgstr "PhpWiki Fatal Error" + +msgid ":" +msgstr "" + #, php-format msgid "File “%s” not found." msgstr "Fila “%s” ingen funna." @@ -937,9 +943,6 @@ msgid "%s: Bad action" msgstr "" -msgid "Fatal PhpWiki Error" -msgstr "PhpWiki Fatal Error" - msgid "PageDump" msgstr "" @@ -5118,9 +5121,6 @@ msgid "Saving this page will overwrite the current version." msgstr "" -msgid ":" -msgstr "" - msgid "H" msgstr "H" Modified: trunk/locale/po/zh.po =================================================================== --- trunk/locale/po/zh.po 2014-10-09 18:39:11 UTC (rev 9239) +++ trunk/locale/po/zh.po 2014-10-10 08:22:57 UTC (rev 9240) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-07 19:10+0200\n" +"POT-Creation-Date: 2014-10-10 10:22+0200\n" "PO-Revision-Date: 2004-04-21 10:08+0800\n" "Last-Translator: DruryL <dr...@us...>\n" "Language-Team: DruryL <dr...@us...>\n" @@ -478,6 +478,12 @@ msgid "%s: error while handling error:" msgstr "%s: 處理錯誤時發生錯誤:" +msgid "Fatal PhpWiki Error" +msgstr "致命的 PhpWiki 錯誤" + +msgid ":" +msgstr ":" + #, php-format msgid "File “%s” not found." msgstr "%s 找不到檔案." @@ -979,9 +985,6 @@ msgid "%s: Bad action" msgstr "%s: 錯誤的動作" -msgid "Fatal PhpWiki Error" -msgstr "致命的 PhpWiki 錯誤" - msgid "PageDump" msgstr "" @@ -5383,9 +5386,6 @@ msgid "Saving this page will overwrite the current version." msgstr "儲存此頁面將會覆寫掉目前版本." -msgid ":" -msgstr ":" - msgid "H" msgstr "高" Modified: trunk/locale/sv/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/zh/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-10 15:45:55
|
Revision: 9244 http://sourceforge.net/p/phpwiki/code/9244 Author: vargenau Date: 2014-10-10 15:45:46 +0000 (Fri, 10 Oct 2014) Log Message: ----------- Moving highlight.js to themes/default Modified Paths: -------------- trunk/themes/Crao/templates/bottom.tmpl trunk/themes/Crao/templates/head.tmpl trunk/themes/blog/templates/bottom.tmpl trunk/themes/default/templates/bottom.tmpl trunk/themes/default/templates/head.tmpl trunk/themes/fusionforge/templates/bottom.tmpl trunk/themes/wikilens/templates/head.tmpl Added Paths: ----------- trunk/themes/default/highlight.js/ Removed Paths: ------------- trunk/highlight.js/ Modified: trunk/themes/Crao/templates/bottom.tmpl =================================================================== --- trunk/themes/Crao/templates/bottom.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/Crao/templates/bottom.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -1,7 +1,7 @@ <!-- Add your Disclaimer here --> <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> <?php if (defined('DEBUG') and DEBUG) { ?><?php echo Template('debug') ?><?php } ?> -<script type="text/javascript" src="<?php echo DATA_PATH ?>/highlight.js/highlight.pack.js"></script> +<script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script> <script> hljs.tabReplace = ' '; hljs.initHighlightingOnLoad(); Modified: trunk/themes/Crao/templates/head.tmpl =================================================================== --- trunk/themes/Crao/templates/head.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/Crao/templates/head.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -11,7 +11,7 @@ <meta name="generator" content="PhpWiki <?php echo PHPWIKI_VERSION?>" /> <base href="<?php echo PHPWIKI_BASE_URL?>" /> <link rel="shortcut icon" href="<?php echo $WikiTheme->getImageURL('favicon.ico')?>" /> -<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/highlight.js/styles/github.css"/> +<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/themes/default/highlight.js/styles/github.css"/> <?php /* The next few lines are wrapped in an odd manner to allow gettext string extraction: cd locale;make */ ?> <link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" /> <link rel="help" title="<?php echo Modified: trunk/themes/blog/templates/bottom.tmpl =================================================================== --- trunk/themes/blog/templates/bottom.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/blog/templates/bottom.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -4,7 +4,7 @@ <?php if (DEBUG & _DEBUG_VERBOSE) { ?><?php echo Template('debug') ?><?php } ?> <?php } ?> <!--/span--> -<script type="text/javascript" src="<?php echo DATA_PATH ?>/highlight.js/highlight.pack.js"></script> +<script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script> <script> hljs.tabReplace = ' '; hljs.initHighlightingOnLoad(); Modified: trunk/themes/default/templates/bottom.tmpl =================================================================== --- trunk/themes/default/templates/bottom.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/default/templates/bottom.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -4,7 +4,7 @@ <?php echo $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> <?php if (defined('DEBUG') and DEBUG & 1) { ?><?php echo Template('debug') ?><?php } ?> <?php } ?> -<script type="text/javascript" src="<?php echo DATA_PATH ?>/highlight.js/highlight.pack.js"></script> +<script type="text/javascript" src="<?php echo DATA_PATH ?>/themes/default/highlight.js/highlight.pack.js"></script> <script> hljs.tabReplace = ' '; hljs.initHighlightingOnLoad(); Modified: trunk/themes/default/templates/head.tmpl =================================================================== --- trunk/themes/default/templates/head.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/default/templates/head.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -15,7 +15,7 @@ <meta name="generator" content="PhpWiki <?php echo PHPWIKI_VERSION?>" /> <base href="<?php echo PHPWIKI_BASE_URL?>" /> <link rel="shortcut icon" href="<?php echo $WikiTheme->getImageURL('favicon.ico')?>" /> -<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/highlight.js/styles/github.css"/> +<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/themes/default/highlight.js/styles/github.css"/> <?php /* The next few lines are wrapped in an odd manner to allow gettext string extraction: cd locale;make */ ?> <link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" /> <link rel="help" title="<?php echo Modified: trunk/themes/fusionforge/templates/bottom.tmpl =================================================================== --- trunk/themes/fusionforge/templates/bottom.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/fusionforge/templates/bottom.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -5,7 +5,7 @@ <?php echo Template('debug') ?> <?php } ?> <?php } ?> -<script type="text/javascript" src="/wiki/highlight.js/highlight.pack.js"></script> +<script type="text/javascript" src="/wiki/themes/default/highlight.js/highlight.pack.js"></script> <script> hljs.tabReplace = ' '; hljs.initHighlightingOnLoad(); Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2014-10-10 14:52:59 UTC (rev 9243) +++ trunk/themes/wikilens/templates/head.tmpl 2014-10-10 15:45:46 UTC (rev 9244) @@ -11,7 +11,7 @@ <meta name="generator" content="PhpWiki <?php echo PHPWIKI_VERSION?>" /> <base href="<?php echo PHPWIKI_BASE_URL?>" /> <link rel="shortcut icon" href="<?php echo $WikiTheme->getImageURL('favicon.ico')?>" /> -<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/highlight.js/styles/github.css"/> +<link rel="stylesheet" type="text/css" href="<?php echo DATA_PATH ?>/themes/default/highlight.js/styles/github.css"/> <?php /* The next few lines are wrapped in an odd manner to allow gettext string extraction: cd locale;make */ ?> <link rel="home" title="<?php echo HOME_PAGE?>" href="<?php echo WikiURL(HOME_PAGE)?>" /> <link rel="help" title="<?php echo _("HowToUseWiki")?>" href="<?php echo WikiURL( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-10 16:03:34
|
Revision: 9245 http://sourceforge.net/p/phpwiki/code/9245 Author: vargenau Date: 2014-10-10 16:03:31 +0000 (Fri, 10 Oct 2014) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/lib/WikiTheme.php trunk/themes/Sidebar/themeinfo.php trunk/themes/blog/themeinfo.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2014-10-10 15:45:46 UTC (rev 9244) +++ trunk/lib/WikiTheme.php 2014-10-10 16:03:31 UTC (rev 9245) @@ -189,7 +189,7 @@ /** * noinit: Do not initialize unnecessary items in default_theme fallback twice. */ - function WikiTheme($theme_name = 'default', $noinit = false) + function __construct($theme_name = 'default', $noinit = false) { $this->_name = $theme_name; $this->_themes_dir = NormalizeLocalFileName("themes"); @@ -752,6 +752,8 @@ return $path; } + public $_linkIcons; + function setLinkIcon($proto, $image = false) { if (!$image) @@ -784,6 +786,8 @@ $this->_linkIcon = $where; } + public $_buttonAliases; + function addButtonAlias($text, $alias = false) { $aliases = &$this->_buttonAliases; @@ -795,6 +799,8 @@ $aliases[$text] = $alias; } + public $dumped_buttons; + function getButtonURL($text) { $aliases = &$this->_buttonAliases; @@ -825,6 +831,8 @@ return $url; } + public $_button_path; + function _findButton($button_file) { if (empty($this->_button_path)) @@ -1235,6 +1243,7 @@ } } + public $_headers_printed; /** * Add a random header element to head * TODO: first css, then js. Maybe separate it into addJSHeaders/addCSSHeaders @@ -1681,7 +1690,7 @@ * @param string $class The CSS class for the button. * @param array $options Additional attributes for the <input> tag. */ - function Button($text, $url, $class = '', $options = array()) + function __construct($text, $url, $class = '', $options = array()) { global $request; $this->_init('a', array('href' => $url)); @@ -1714,9 +1723,9 @@ * @param $img_url string URL for button's image. * @param $img_attr array Additional attributes for the <img> tag. */ - function ImageButton($text, $url, $class, $img_url, $img_attr = array()) + function __construct($text, $url, $class, $img_url, $img_attr = array()) { - $this->__construct('a', array('href' => $url)); + parent::__construct('a', array('href' => $url)); if ($class) $this->setAttr('class', $class); // Google honors this @@ -1746,10 +1755,9 @@ * @param $class string The CSS class for the button. * @param $options array Additional attributes for the <input> tag. */ - function SubmitButton($text, $name = '', $class = '', $options = array()) + function __construct($text, $name = '', $class = '', $options = array()) { - $this->__construct('input', array('type' => 'submit', - 'value' => $text)); + parent::__construct('input', array('type' => 'submit', 'value' => $text)); if ($name) $this->setAttr('name', $name); if ($class) @@ -1775,9 +1783,9 @@ * @param $img_url string URL for button's image. * @param $img_attr array Additional attributes for the <img> tag. */ - function SubmitImageButton($text, $name = '', $class = '', $img_url, $img_attr = array()) + function __construct($text, $name = '', $class = '', $img_url, $img_attr = array()) { - $this->__construct('input', array('type' => 'image', + parent::__construct('input', array('type' => 'image', 'src' => $img_url, 'alt' => $text)); if ($name) @@ -1808,7 +1816,7 @@ class SidebarBox { - function SidebarBox($title, $body) + function __construct($title, $body) { require_once 'lib/WikiPlugin.php'; $this->title = $title; @@ -1831,21 +1839,16 @@ public $_plugin, $_args = false, $_basepage = false; - function PluginSidebarBox($name, $args = false, $basepage = false) + function __construct($name, $args = false, $basepage = false) { require_once 'lib/WikiPlugin.php'; $loader = new WikiPluginLoader(); $plugin = $loader->getPlugin($name); if (!$plugin) { - return $loader->_error(sprintf(_("Plugin %s: undefined"), - $name)); + $loader->_error(sprintf(_("Plugin %s: undefined"), $name)); + return; } - /* - if (!method_exists($plugin, 'box')) { - return $loader->_error(sprintf(_("%s: has no box method"), - get_class($plugin))); - }*/ $this->_plugin =& $plugin; $this->_args = $args ? $args : array(); $this->_basepage = $basepage; @@ -1862,7 +1865,7 @@ // Various boxes which are no plugins class RelatedLinksBox extends SidebarBox { - function RelatedLinksBox($title = false, $body = '', $limit = 20) + function __construct($title = false, $body = '', $limit = 20) { global $request; $this->title = $title ? $title : _("Related Links"); @@ -1885,7 +1888,7 @@ class RelatedExternalLinksBox extends SidebarBox { - function RelatedExternalLinksBox($title = false, $body = '', $limit = 20) + function __construct($title = false, $body = '', $limit = 20) { global $request; $this->title = $title ? $title : _("External Links"); Modified: trunk/themes/Sidebar/themeinfo.php =================================================================== --- trunk/themes/Sidebar/themeinfo.php 2014-10-10 15:45:46 UTC (rev 9244) +++ trunk/themes/Sidebar/themeinfo.php 2014-10-10 16:03:31 UTC (rev 9245) @@ -36,7 +36,7 @@ function __construct($theme_name = 'Sidebar') { - $this->WikiTheme($theme_name); + parent::__construct($theme_name); //$this->calendarInit(true); } Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2014-10-10 15:45:46 UTC (rev 9244) +++ trunk/themes/blog/themeinfo.php 2014-10-10 16:03:31 UTC (rev 9245) @@ -48,7 +48,7 @@ function __construct($theme_name = 'blog') { - $this->WikiTheme($theme_name); + parent::__construct($theme_name); $this->calendarInit(true); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-10 16:45:43
|
Revision: 9247 http://sourceforge.net/p/phpwiki/code/9247 Author: vargenau Date: 2014-10-10 16:45:38 +0000 (Fri, 10 Oct 2014) Log Message: ----------- isa --> is_a Modified Paths: -------------- trunk/SOAP.php trunk/lib/BlockParser.php trunk/lib/CachedMarkup.php trunk/lib/DbSession/ADODB.php trunk/lib/DbSession/PDO.php trunk/lib/DbSession/SQL.php trunk/lib/DbSession.php trunk/lib/ErrorManager.php trunk/lib/HtmlParser.php trunk/lib/InlineParser.php trunk/lib/MailNotify.php trunk/lib/PageList.php trunk/lib/PagePerm.php trunk/lib/PageType.php trunk/lib/Template.php trunk/lib/WikiDB.php trunk/lib/WikiGroup.php trunk/lib/WikiPlugin.php trunk/lib/WikiTheme.php trunk/lib/WikiUser/AdoDb.php trunk/lib/WikiUser/EMailConfirm.php trunk/lib/WikiUser/File.php trunk/lib/WikiUser/PdoDb.php trunk/lib/WikiUser/PearDb.php trunk/lib/WikiUser.php trunk/lib/XmlRpcServer.php trunk/lib/editpage.php trunk/lib/loadsave.php trunk/lib/main.php trunk/lib/plugin/CreateToc.php trunk/lib/plugin/DebugAuthInfo.php trunk/lib/plugin/GooglePlugin.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/ListPages.php trunk/lib/plugin/PageHistory.php trunk/lib/plugin/PasswordReset.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/SiteMap.php trunk/lib/plugin/UserPreferences.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WatchPage.php trunk/lib/plugin/WhoIsOnline.php trunk/lib/plugin/WikiBlog.php trunk/lib/plugin/WikiFormRich.php trunk/lib/stdlib.php trunk/lib/wikilens/RatingsDb.php trunk/tests/unit/lib/InlineParserTest.php trunk/tests/unit/lib/plugin/AllPagesTest.php trunk/tests/unit/lib/plugin/AllUsersTest.php trunk/tests/unit/lib/plugin/IncludePageTest.php trunk/tests/unit/lib/plugin/ListPagesTest.php trunk/tests/unit/lib/plugin/OrphanedPagesTest.php trunk/tests/unit/lib/plugin/WantedPagesTest.php trunk/themes/MacOSX/themeinfo.php trunk/themes/Portland/themeinfo.php trunk/themes/Wordpress/themeinfo.php trunk/themes/blog/themeinfo.php Modified: trunk/SOAP.php =================================================================== --- trunk/SOAP.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/SOAP.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -319,7 +319,7 @@ $p = $w->getPlugin($pluginName, false); // second arg? $pagelist = $p->run($dbi, $pluginargs, $request, $basepage); $pages = array(); - if (is_object($pagelist) and isa($pagelist, 'PageList')) { + if (is_object($pagelist) and is_a($pagelist, 'PageList')) { foreach ($pagelist->pageNames() as $name) $pages[] = array('pagename' => $name); } Modified: trunk/lib/BlockParser.php =================================================================== --- trunk/lib/BlockParser.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/BlockParser.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -494,7 +494,7 @@ // If content is a single paragraph, eliminate the paragraph... if (count($this->_content) == 1) { $elem = $this->_content[0]; - if (isa($elem, 'XmlElement') and $elem->getTag() == 'p') { + if (is_a($elem, 'XmlElement') and $elem->getTag() == 'p') { $this->setContent($elem->getContent()); } } @@ -590,7 +590,7 @@ function merge($nextBlock) { - if (isa($nextBlock, 'Block_list') and $this->_tag == $nextBlock->_tag) { + if (is_a($nextBlock, 'Block_list') and $this->_tag == $nextBlock->_tag) { array_splice($this->_content, count($this->_content), 0, $nextBlock->_content); return $this; @@ -733,7 +733,7 @@ function _setTerm($th) { $first_row = &$this->_content[0]; - if (isa($first_row, 'Block_table_dl_defn')) + if (is_a($first_row, 'Block_table_dl_defn')) $first_row->_setTerm($th); else $first_row->unshiftContent($th); @@ -753,7 +753,7 @@ function _IsASubtable($item) { - return isa($item, 'HtmlElement') + return is_a($item, 'HtmlElement') && $item->getTag() == 'table' && $item->getAttr('class') == 'wiki-dl-table'; } @@ -777,7 +777,7 @@ function & firstTR() { $first = &$this->_content[0]; - if (isa($first, 'Block_table_dl_defn')) + if (is_a($first, 'Block_table_dl_defn')) return $first->firstTR(); return $first; } @@ -785,7 +785,7 @@ function & lastTR() { $last = &$this->_content[$this->_nrows - 1]; - if (isa($last, 'Block_table_dl_defn')) + if (is_a($last, 'Block_table_dl_defn')) return $last->lastTR(); return $last; } @@ -798,7 +798,7 @@ $rows = &$this->_content; for ($i = 0; $i < count($rows); $i++) { $row = &$rows[$i]; - if (isa($row, 'Block_table_dl_defn')) + if (is_a($row, 'Block_table_dl_defn')) $row->setWidth($ncols - 1); else { $n = count($row->_content); @@ -1394,7 +1394,7 @@ */ function TransformTextPre($text, $basepage = false) { - if (isa($text, 'WikiDB_PageRevision')) { + if (is_a($text, 'WikiDB_PageRevision')) { $rev = $text; $text = $rev->getPackedContent(); } Modified: trunk/lib/CachedMarkup.php =================================================================== --- trunk/lib/CachedMarkup.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/CachedMarkup.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -45,7 +45,7 @@ // - the history is wrong (user and comment missing) // - the table of contents plugin no longer works global $WikiTheme; - if (isa($WikiTheme, 'WikiTheme_fusionforge')) { + if (is_a($WikiTheme, 'WikiTheme_fusionforge')) { return serialize($this); } @@ -88,7 +88,7 @@ { $links = array(); foreach ($this->_content as $item) { - if (!isa($item, 'Cached_DynamicContent')) + if (!is_a($item, 'Cached_DynamicContent')) continue; if (!($item_links = $item->getWikiPageLinks($this->_basepage))) continue; @@ -110,7 +110,7 @@ function getLinkInfo() { foreach ($this->_content as $link) { - if (!isa($link, 'Cached_Link')) + if (!is_a($link, 'Cached_Link')) continue; $info = $link->getLinkInfo($this->_basepage); $links[$info->href] = $info; @@ -125,13 +125,13 @@ $this->_append($subitem); } elseif (!is_object($item)) { $this->_buf .= $this->_quote((string)$item); - } elseif (isa($item, 'Cached_DynamicContent')) { + } elseif (is_a($item, 'Cached_DynamicContent')) { if ($this->_buf) { $this->_content[] = $this->_buf; $this->_buf = ''; } $this->_content[] = $item; - } elseif (isa($item, 'XmlElement')) { + } elseif (is_a($item, 'XmlElement')) { if ($item->isEmpty()) { $this->_buf .= $item->emptyTag(); } else { @@ -147,7 +147,7 @@ } if (!$item->isInlineElement()) $this->_buf .= "\n"; - } elseif (isa($item, 'XmlContent')) { + } elseif (is_a($item, 'XmlContent')) { foreach ($item->getContent() as $item) $this->_append($item); } elseif (method_exists($item, 'asXML')) { Modified: trunk/lib/DbSession/ADODB.php =================================================================== --- trunk/lib/DbSession/ADODB.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/DbSession/ADODB.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -159,7 +159,7 @@ $time = $dbh->qstr(time()); // postgres can't handle binary data in a TEXT field. - if (isa($dbh, 'ADODB_postgres64')) + if (is_a($dbh, 'ADODB_postgres64')) $sess_data = base64_encode($sess_data); $qdata = $dbh->qstr($sess_data); Modified: trunk/lib/DbSession/PDO.php =================================================================== --- trunk/lib/DbSession/PDO.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/DbSession/PDO.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -101,7 +101,7 @@ $res = ''; } $this->_disconnect(); - if (!empty($res) and isa($dbh, 'ADODB_postgres64')) { + if (!empty($res) and is_a($dbh, 'ADODB_postgres64')) { $res = base64_decode($res); } if (strlen($res) > 4000) { @@ -140,7 +140,7 @@ $time = time(); // postgres can't handle binary data in a TEXT field. - if (isa($dbh, 'ADODB_postgres64')) + if (is_a($dbh, 'ADODB_postgres64')) $sess_data = base64_encode($sess_data); /* AffectedRows with sessions seems to be unstable on certain platforms. Modified: trunk/lib/DbSession/SQL.php =================================================================== --- trunk/lib/DbSession/SQL.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/DbSession/SQL.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -108,7 +108,7 @@ $this->_disconnect(); if (DB::isError($res) || empty($res)) return ''; - if (isa($dbh, 'DB_pgsql')) + if (is_a($dbh, 'DB_pgsql')) //if (preg_match('|^[a-zA-Z0-9/+=]+$|', $res)) $res = base64_decode($res); if (strlen($res) > 4000) { @@ -149,7 +149,7 @@ trigger_error("delete empty session $qid", E_USER_WARNING); } // postgres can't handle binary data in a TEXT field. - if (isa($dbh, 'DB_pgsql')) + if (is_a($dbh, 'DB_pgsql')) $sess_data = base64_encode($sess_data); $qdata = $dbh->quote($sess_data); Modified: trunk/lib/DbSession.php =================================================================== --- trunk/lib/DbSession.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/DbSession.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -27,7 +27,7 @@ { // Check for existing DbSession handler $db_type = $dbh->getParam('dbtype'); - if (isa($dbh, 'WikiDB')) { + if (is_a($dbh, 'WikiDB')) { @include_once("lib/DbSession/" . $db_type . ".php"); $class = "DbSession_" . $db_type; Modified: trunk/lib/ErrorManager.php =================================================================== --- trunk/lib/ErrorManager.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/ErrorManager.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -122,7 +122,7 @@ // format it with the worst class (error, warning, notice) $worst_err = $flushed->_content[0]; foreach ($flushed->_content as $err) { - if ($err and isa($err, 'PhpError') and $err->errno > $worst_err->errno) { + if ($err and is_a($err, 'PhpError') and $err->errno > $worst_err->errno) { $worst_err = $err; } } @@ -276,13 +276,7 @@ $this->_die($error); } elseif (($error->errno & error_reporting()) != 0) { if (($error->errno & $this->_postpone_mask) != 0) { - if ((function_exists('isa') and isa($error, 'PhpErrorOnce')) - or (!function_exists('isa') and - ( - // stdlib independent isa() - (strtolower(get_class($error)) == 'phperroronce') - or (is_subclass_of($error, 'PhpErrorOnce')))) - ) { + if (is_a($error, 'PhpErrorOnce')) { $error->removeDoublettes($this->_postponed_errors); if ($error->_count < 2) $this->_postponed_errors[] = $error; Modified: trunk/lib/HtmlParser.php =================================================================== --- trunk/lib/HtmlParser.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/HtmlParser.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -86,7 +86,7 @@ function wikify($node, $parent = null) { $output = ''; - if (isa($node, 'XmlElement')) { + if (is_a($node, 'XmlElement')) { $dialect =& $this->dialect; $conv = $dialect->_handlers[$node->_tag]; if (is_string($conv) and method_exists($dialect, $conv)) { @@ -126,7 +126,7 @@ function elem_contents($node) { $output = ''; - if (isa($node, 'XmlElement')) { + if (is_a($node, 'XmlElement')) { foreach ($node->getContent() as $child) { $output .= $this->wikify($child, isset($node->parent) ? $node->parent : null); } Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/InlineParser.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -1315,7 +1315,7 @@ function _addMarkup($markup) { - if (isa($markup, 'SimpleMarkup')) + if (is_a($markup, 'SimpleMarkup')) $regexp = $markup->getMatchRegexp(); else $regexp = $markup->getStartRegexp(); @@ -1345,7 +1345,7 @@ // No start pattern found before end pattern. // We're all done! if (isset($markup) and is_object($markup) - and isa($markup, 'Markup_plugin') + and is_a($markup, 'Markup_plugin') ) { $current =& $output->_content[count($output->_content) - 1]; $current->setTightness(true, true); @@ -1367,13 +1367,13 @@ // Matched markup. Eat input, push output. // FIXME: combine adjacent strings. - if (isa($markup, 'SimpleMarkup')) + if (is_a($markup, 'SimpleMarkup')) $current = $markup->markup($match->match); else $current = $markup->markup($match->match, $body); $input = $match->postmatch; if (isset($markup) and is_object($markup) - and isa($markup, 'Markup_plugin') + and is_a($markup, 'Markup_plugin') ) { $current->setTightness(true, true); } @@ -1389,7 +1389,7 @@ function _parse_markup_body($markup, $match, &$text, $end_regexps) { - if (isa($markup, 'SimpleMarkup')) { + if (is_a($markup, 'SimpleMarkup')) { return true; // Done. SimpleMarkup is simple. } Modified: trunk/lib/MailNotify.php =================================================================== --- trunk/lib/MailNotify.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/MailNotify.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -323,7 +323,7 @@ */ function onChangePage(&$wikidb, &$wikitext, $version, &$meta) { - if (!isa($GLOBALS['request'], 'MockRequest')) { + if (!is_a($GLOBALS['request'], 'MockRequest')) { $notify = $wikidb->get('notify'); /* Generate notification emails? */ if (!empty($notify) and is_array($notify)) { @@ -342,7 +342,7 @@ { $result = true; /* Generate notification emails? */ - if (!$wikidb->isWikiPage($pagename) and !isa($GLOBALS['request'], 'MockRequest')) { + if (!$wikidb->isWikiPage($pagename) and !is_a($GLOBALS['request'], 'MockRequest')) { $notify = $wikidb->get('notify'); if (!empty($notify) and is_array($notify)) { //TODO: deferr it (quite a massive load if you remove some pages). @@ -358,7 +358,7 @@ function onRenamePage(&$wikidb, $oldpage, $new_pagename) { - if (!isa($GLOBALS['request'], 'MockRequest')) { + if (!is_a($GLOBALS['request'], 'MockRequest')) { $notify = $wikidb->get('notify'); if (!empty($notify) and is_array($notify)) { $this->getPageChangeEmails($notify); Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/PageList.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -958,12 +958,12 @@ { global $request; $dbi =& $request->getDbh(); - if (isa($dbi, 'WikiDB_SQL')) { + if (is_a($dbi, 'WikiDB_SQL')) { extract($dbi->_backend->_table_names); $res = $dbi->_backend->_dbh->getOne("SELECT max(length(pagename)) FROM $page_tbl"); if (DB::isError($res) || empty($res)) return false; else return $res; - } elseif (isa($dbi, 'WikiDB_ADODB')) { + } elseif (is_a($dbi, 'WikiDB_ADODB')) { extract($dbi->_backend->_table_names); $row = $dbi->_backend->_dbh->getRow("SELECT max(length(pagename)) FROM $page_tbl"); return $row ? $row[0] : false; @@ -1413,9 +1413,9 @@ return 0; } else { $pagea = $this->_getPageFromHandle($a); // If a string, convert to page - assert(isa($pagea, 'WikiDB_Page')); + assert(is_a($pagea, 'WikiDB_Page')); $pageb = $this->_getPageFromHandle($b); // If a string, convert to page - assert(isa($pageb, 'WikiDB_Page')); + assert(is_a($pageb, 'WikiDB_Page')); foreach ($this->_sortby as $colNum => $direction) { // get column type object if (!is_int($colNum)) { // or column fieldname Modified: trunk/lib/PagePerm.php =================================================================== --- trunk/lib/PagePerm.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/PagePerm.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -108,9 +108,9 @@ $perm = $perm_tree[1]; elseif (is_array($perm_tree[1])) { $perm_tree = pagePermissionsSimpleFormat($perm_tree[1],$owner,$group); - if (isa($perm_tree[1],'pagepermission')) + if (is_a($perm_tree[1],'pagepermission')) $perm = $perm_tree[1]; - elseif (isa($perm_tree,'htmlelement')) + elseif (is_a($perm_tree,'htmlelement')) return $perm_tree; } */ @@ -416,7 +416,7 @@ if ($group === ACL_ANONYMOUS) return !$user->isSignedIn(); if ($group === ACL_BOGOUSER) - return isa($user, '_BogoUser') or + return is_a($user, '_BogoUser') or (isWikiWord($user->_userid) and $user->_level >= WIKIAUTH_BOGO); if ($group === ACL_HASHOMEPAGE) return $user->hasHomePage(); Modified: trunk/lib/PageType.php =================================================================== --- trunk/lib/PageType.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/PageType.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -523,62 +523,6 @@ } } -/** - * FIXME. not yet used - */ -class PageFormatter_pdf extends PageFormatter -{ - - function _transform($text) - { - include_once 'lib/BlockParser.php'; - return TransformText($text); - } - - // one page or set of pages? - // here we try to format only a single page - function format($text) - { - include_once 'lib/Template.php'; - global $request; - $tokens['page'] = $this->_page; - $tokens['CONTENT'] = $this->_transform($text); - $pagename = $this->_page->getName(); - - // This is a XmlElement tree, which must be converted to PDF - - // We can make use of several pdf extensions. This one - fpdf - // - is pure php and very easy, but looks quite ugly and has a - // terrible interface, as terrible as most of the othes. - // The closest to HTML is htmldoc which needs an external cgi - // binary. - // We use a custom HTML->PDF class converter from PHPWebthings - // to be able to use templates for PDF. - require_once 'lib/fpdf.php'; - require_once 'lib/pdf.php'; - - $pdf = new PDF(); - $pdf->SetTitle($pagename); - $pdf->SetAuthor($this->_page->get('author')); - $pdf->SetCreator(WikiURL($pagename, array(), 1)); - $pdf->AliasNbPages(); - $pdf->AddPage(); - //TODO: define fonts - $pdf->SetFont('Times', '', 12); - //$pdf->SetFont('Arial','B',16); - - // PDF pagelayout from a special template - $template = new Template('pdf', $request, $tokens); - $pdf->ConvertFromHTML($template); - - // specify filename, destination - $pdf->Output($pagename . ".pdf", 'I'); // I for stdin or D for download - - // Output([string name [, string dest]]) - return $pdf; - } -} - class PageFormatter_MediaWiki extends PageFormatter { function _transform($text) Modified: trunk/lib/Template.php =================================================================== --- trunk/lib/Template.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/Template.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -92,7 +92,7 @@ private function _print($val) { - if (isa($val, 'Template')) { + if (is_a($val, 'Template')) { $this->_expandSubtemplate($val); } else { PrintXML($val); Modified: trunk/lib/WikiDB.php =================================================================== --- trunk/lib/WikiDB.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiDB.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -562,7 +562,7 @@ E_USER_WARNING); } /* Generate notification emails? */ - if ($result and ENABLE_MAILNOTIFY and !isa($GLOBALS['request'], 'MockRequest')) { + if ($result and ENABLE_MAILNOTIFY and !is_a($GLOBALS['request'], 'MockRequest')) { $notify = $this->get('notify'); if (!empty($notify) and is_array($notify)) { include_once 'lib/MailNotify.php'; @@ -1041,12 +1041,12 @@ } /* Generate notification emails? */ - if (ENABLE_MAILNOTIFY and isa($newrevision, 'WikiDB_PageRevision')) { + if (ENABLE_MAILNOTIFY and is_a($newrevision, 'WikiDB_PageRevision')) { // Save didn't fail because of concurrent updates. $notify = $this->_wikidb->get('notify'); if (!empty($notify) and is_array($notify) - and !isa($GLOBALS['request'], 'MockRequest') + and !is_a($GLOBALS['request'], 'MockRequest') ) { include_once 'lib/MailNotify.php'; $MailNotify = new MailNotify($newrevision->getName()); Modified: trunk/lib/WikiGroup.php =================================================================== --- trunk/lib/WikiGroup.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiGroup.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -215,7 +215,7 @@ case GROUP_ANONYMOUS: return $this->membership[$group] = !$user->isSignedIn(); case GROUP_BOGOUSER: - return $this->membership[$group] = (isa($user, '_BogoUser') + return $this->membership[$group] = (is_a($user, '_BogoUser') and $user->_level >= WIKIAUTH_BOGO); case GROUP_SIGNED: return $this->membership[$group] = $user->isSignedIn(); @@ -276,12 +276,12 @@ //don't strip WHERE, only the userid stuff. $sql = preg_replace('/(WHERE.*?)\s+\w+\s*=\s*["\']\$userid[\'"]/i', '\\1 AND 1', $sql); $sql = str_replace('WHERE AND 1', '', $sql); - if (isa($dbi, 'ADOConnection')) { + if (is_a($dbi, 'ADOConnection')) { $db_result = $dbi->Execute($sql); foreach ($db_result->GetArray() as $u) { $users = array_merge($users, array_values($u)); } - } elseif (isa($dbi, 'DB_common')) { // PearDB + } elseif (is_a($dbi, 'DB_common')) { // PearDB $users = array_merge($users, $dbi->getCol($sql)); } } @@ -293,12 +293,12 @@ $sql = preg_replace('/(WHERE.*?)\s+\w+\s*=\s*["\']\$userid[\'"]/i', '\\1 AND 1', $dbh->getAuthParam('auth_user_exists')); $sql = str_replace('WHERE AND 1', '', $sql); - if (isa($dbi, 'ADOConnection')) { + if (is_a($dbi, 'ADOConnection')) { $db_result = $dbi->Execute($sql); foreach ($db_result->GetArray() as $u) { $users = array_merge($users, array_values($u)); } - } elseif (isa($dbi, 'DB_common')) { + } elseif (is_a($dbi, 'DB_common')) { $users = array_merge($users, $dbi->getCol($sql)); } } @@ -631,16 +631,16 @@ } if (empty($this->user)) { // use _PassUser::prepare instead - if (isa($request->getUser(), '_PassUser')) + if (is_a($request->getUser(), '_PassUser')) $user = $request->getUser(); else $user = new _PassUser($this->username); - } elseif (!isa($this->user, '_PassUser')) { + } elseif (!is_a($this->user, '_PassUser')) { $user = new _PassUser($this->username); } else { $user =& $this->user; } - if (isa($this->user, '_PassUser')) { // TODO: safety by Charles Corrigan + if (is_a($this->user, '_PassUser')) { // TODO: safety by Charles Corrigan $this->_is_member = $user->prepare($DBAuthParams['is_member'], array('userid', 'groupname')); $this->_group_members = $user->prepare($DBAuthParams['group_members'], 'groupname'); @@ -973,7 +973,7 @@ if (strstr(LDAP_BASE_DN, "ou=")) $this->base_dn = preg_replace("/(ou=\w+,)?()/", "\$2", LDAP_BASE_DN); - if (!isset($this->user) or !isa($this->user, '_LDAPPassUser')) + if (!isset($this->user) or !is_a($this->user, '_LDAPPassUser')) $this->_user = new _LDAPPassUser('LdapGroupTest'); // to have a valid username else $this->_user =& $this->user; Modified: trunk/lib/WikiPlugin.php =================================================================== --- trunk/lib/WikiPlugin.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiPlugin.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -274,7 +274,7 @@ $dbi = $request->getDbh(); $pagelist = $this->run($dbi, $plugin_args, $request, $basepage); $list = array(); - if (is_object($pagelist) and isa($pagelist, 'PageList')) + if (is_object($pagelist) and is_a($pagelist, 'PageList')) return $pagelist->pageNames(); elseif (is_array($pagelist)) return $pagelist; Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiTheme.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -61,18 +61,18 @@ $version = false; - if (isa($page_or_rev, 'WikiDB_PageRevision')) { + if (is_a($page_or_rev, 'WikiDB_PageRevision')) { $version = $page_or_rev->getVersion(); if ($page_or_rev->isCurrent()) $version = false; $page = $page_or_rev->getPage(); $pagename = $page->getName(); $wikipage = $pagename; - } elseif (isa($page_or_rev, 'WikiDB_Page')) { + } elseif (is_a($page_or_rev, 'WikiDB_Page')) { $page = $page_or_rev; $pagename = $page->getName(); $wikipage = $pagename; - } elseif (isa($page_or_rev, 'WikiPageName')) { + } elseif (is_a($page_or_rev, 'WikiPageName')) { $wikipage = $page_or_rev; $pagename = $wikipage->name; if (!$wikipage->isValid('strict')) @@ -101,7 +101,7 @@ // WikiLink makes A link, not a string of fancy ones. // (I think that the fancy split links are just confusing.) // Todo: test external ImageLinks http://some/images/next.gif - if (isa($wikipage, 'WikiPageName') and + if (is_a($wikipage, 'WikiPageName') and !$label and strchr(substr($wikipage->shortName, 1), SUBPAGE_SEPARATOR) ) { @@ -130,7 +130,7 @@ if ($exists) { return $WikiTheme->linkExistingWikiWord($wikipage, $label, $version); } elseif ($type == 'if_known') { - if (!$label && isa($wikipage, 'WikiPageName')) + if (!$label && is_a($wikipage, 'WikiPageName')) $label = $wikipage->shortName; return HTML($label ? $label : $pagename); } else { @@ -607,7 +607,7 @@ $link = HTML::a(array('href' => $url)); - if (isa($wikiword, 'WikiPageName')) + if (is_a($wikiword, 'WikiPageName')) $default_text = $wikiword->shortName; else $default_text = $wikiword; @@ -628,7 +628,7 @@ global $request; // Get rid of anchors on unknown wikiwords - if (isa($wikiword, 'WikiPageName')) { + if (is_a($wikiword, 'WikiPageName')) { $default_text = $wikiword->shortName; $wikiword = $wikiword->name; } else { @@ -667,7 +667,7 @@ $link->setAttr('style', 'text-decoration: underline'); $link->setAttr('class', 'wikiunknown'); } - if (!isa($button, "ImageButton")) + if (!is_a($button, "ImageButton")) $button->setAttr('rel', 'nofollow'); $link->pushContent($button); if ($request->getPref('googleLink')) { @@ -685,13 +685,13 @@ if ($linktext) { $text = $linktext; - } elseif (isa($wikiword, 'WikiPageName')) { + } elseif (is_a($wikiword, 'WikiPageName')) { $text = $wikiword->shortName; } else { $text = $wikiword; } - if (isa($wikiword, 'WikiPageName')) + if (is_a($wikiword, 'WikiPageName')) $message = $wikiword->getWarnings(); else $message = sprintf(_("“%s”: Bad page name"), $wikiword); @@ -1043,7 +1043,7 @@ $pagename = $request->getArg("pagename"); $version = $request->getArg("version"); } elseif (is_object($page_or_rev)) { - if (isa($page_or_rev, 'WikiDB_PageRevision')) { + if (is_a($page_or_rev, 'WikiDB_PageRevision')) { $rev = $page_or_rev; $page = $rev->getPage(); if (!$rev->isCurrent()) $version = $rev->getVersion(); Modified: trunk/lib/WikiUser/AdoDb.php =================================================================== --- trunk/lib/WikiUser/AdoDb.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiUser/AdoDb.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -40,7 +40,7 @@ function _AdoDbPassUser($UserName = '', $prefs = false) { - if (!$this->_prefs and isa($this, "_AdoDbPassUser")) { + if (!$this->_prefs and is_a($this, "_AdoDbPassUser")) { if ($prefs) $this->_prefs = $prefs; if (!isset($this->_prefs->_method)) _PassUser::_PassUser($UserName); Modified: trunk/lib/WikiUser/EMailConfirm.php =================================================================== --- trunk/lib/WikiUser/EMailConfirm.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiUser/EMailConfirm.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -36,7 +36,7 @@ // sets the pref methods, before this class is initialized. function _EMailConfirmPassUser($UserName = '', $prefs = false, $file = '') { - if (!$this->_prefs and isa($this, "_EMailPassUser")) { + if (!$this->_prefs and is_a($this, "_EMailPassUser")) { if ($prefs) $this->_prefs = $prefs; if (!isset($this->_prefs->_method)) _PassUser::_PassUser($UserName); Modified: trunk/lib/WikiUser/File.php =================================================================== --- trunk/lib/WikiUser/File.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiUser/File.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -35,7 +35,7 @@ // sets the pref methods, before this class is initialized. function _FilePassUser($UserName = '', $prefs = false, $file = '') { - if (!$this->_prefs and isa($this, "_FilePassUser")) { + if (!$this->_prefs and is_a($this, "_FilePassUser")) { if ($prefs) $this->_prefs = $prefs; if (!isset($this->_prefs->_method)) _PassUser::_PassUser($UserName); @@ -48,7 +48,7 @@ // same style as in main.php include_once(dirname(__FILE__) . "/../pear/File_Passwd.php"); // "__PHP_Incomplete_Class" - if (!empty($file) or empty($this->_file) or !isa($this->_file, "File_Passwd")) + if (!empty($file) or empty($this->_file) or !is_a($this->_file, "File_Passwd")) $this->_file = new File_Passwd($file, false, $file . '.lock'); else return false; Modified: trunk/lib/WikiUser/PdoDb.php =================================================================== --- trunk/lib/WikiUser/PdoDb.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiUser/PdoDb.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -38,7 +38,7 @@ function _PdoDbPassUser($UserName = '', $prefs = false) { - if (!$this->_prefs and isa($this, "_PdoDbPassUser")) { + if (!$this->_prefs and is_a($this, "_PdoDbPassUser")) { if ($prefs) $this->_prefs = $prefs; } if (!isset($this->_prefs->_method)) Modified: trunk/lib/WikiUser/PearDb.php =================================================================== --- trunk/lib/WikiUser/PearDb.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiUser/PearDb.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -36,7 +36,7 @@ function _PearDbPassUser($UserName = '', $prefs = false) { //global $DBAuthParams; - if (!$this->_prefs and isa($this, "_PearDbPassUser")) { + if (!$this->_prefs and is_a($this, "_PearDbPassUser")) { if ($prefs) $this->_prefs = $prefs; } if (!isset($this->_prefs->_method)) Modified: trunk/lib/WikiUser.php =================================================================== --- trunk/lib/WikiUser.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/WikiUser.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -305,7 +305,7 @@ */ function UpgradeUser($user, $newuser) { - if (isa($user, '_WikiUser') and isa($newuser, '_WikiUser')) { + if (is_a($user, '_WikiUser') and is_a($newuser, '_WikiUser')) { // populate the upgraded class $newuser with the values from the current user object //only _auth_level, _current_method, _current_index, if (!empty($user->_level) and @@ -349,7 +349,7 @@ $request->_user = $user; return true; } - if (isa($user, '_BogoUser')) + if (is_a($user, '_BogoUser')) $user = new _PassUser($UserName, $user->_prefs); $class = $user->nextClass(); if ($user = new $class($UserName, $user->_prefs)) { @@ -534,15 +534,15 @@ */ function isSignedIn() { - return (isa($this, '_BogoUser') or isa($this, '_PassUser')); + return (is_a($this, '_BogoUser') or is_a($this, '_PassUser')); } /** This is password checked for sure. */ function isAuthenticated() { - //return isa($this,'_PassUser'); - //return isa($this,'_BogoUser') || isa($this,'_PassUser'); + //return is_a($this,'_PassUser'); + //return is_a($this,'_BogoUser') || is_a($this,'_PassUser'); return $this->_level >= WIKIAUTH_BOGO; } @@ -2111,9 +2111,9 @@ foreach (array_keys($this->_prefs) as $type) { $obj =& $this->_prefs[$type]; $obj->_init = $init; - if (!isset($prefs[$type]) and isa($obj, "_UserPreference_bool")) + if (!isset($prefs[$type]) and is_a($obj, "_UserPreference_bool")) $prefs[$type] = false; - if (isset($prefs[$type]) and isa($obj, "_UserPreference_int")) + if (isset($prefs[$type]) and is_a($obj, "_UserPreference_int")) $prefs[$type] = (int)$prefs[$type]; if (isset($prefs[$type]) and $obj->get($type) != $prefs[$type]) { // special systemdefault prefs: Modified: trunk/lib/XmlRpcServer.php =================================================================== --- trunk/lib/XmlRpcServer.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/XmlRpcServer.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -782,7 +782,7 @@ $p = $w->getPlugin($pluginName, false); // second arg? $pagelist = $p->run($dbi, $plugin_args, $request, $basepage); $list = array(); - if (is_object($pagelist) and isa($pagelist, 'PageList')) { + if (is_object($pagelist) and is_a($pagelist, 'PageList')) { foreach ($pagelist->_pages as $page) { $list[] = $page->getName(); } Modified: trunk/lib/editpage.php =================================================================== --- trunk/lib/editpage.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/editpage.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -326,7 +326,7 @@ : $this->_currentVersion + 1, // force new? $meta); - if (!isa($newrevision, 'WikiDB_PageRevision')) { + if (!is_a($newrevision, 'WikiDB_PageRevision')) { // Save failed. (Concurrent updates). return false; } @@ -456,14 +456,14 @@ $oldparsed = TransformLinks($oldtext); $oldlinks = array(); foreach ($oldparsed->_content as $link) { - if (isa($link, 'Cached_ExternalLink') and !isa($link, 'Cached_InterwikiLink')) { + if (is_a($link, 'Cached_ExternalLink') and !is_a($link, 'Cached_InterwikiLink')) { $uri = $link->_getURL($this->page->getName()); $oldlinks[$uri]++; } } unset($oldparsed); foreach ($parsed->_content as $link) { - if (isa($link, 'Cached_ExternalLink') and !isa($link, 'Cached_InterwikiLink')) { + if (is_a($link, 'Cached_ExternalLink') and !is_a($link, 'Cached_InterwikiLink')) { $uri = $link->_getURL($this->page->getName()); // only check new links, so admins may add blocked links. if (!array_key_exists($uri, $oldlinks) and ($res = IsBlackListed($uri))) { Modified: trunk/lib/loadsave.php =================================================================== --- trunk/lib/loadsave.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/loadsave.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -41,7 +41,7 @@ { // MockRequest is from the unit testsuite, a faked request. (may be cmd-line) // We are silent on unittests. - if (isa($request, 'MockRequest')) + if (is_a($request, 'MockRequest')) return; // FIXME: This is a hack. This really is the worst overall hack in phpwiki. if ($html) @@ -60,7 +60,7 @@ { global $WikiTheme; - if (isa($request, 'MockRequest')) + if (is_a($request, 'MockRequest')) return; $action = $request->getArg('action'); $label = ''; @@ -119,31 +119,31 @@ PrintXML(HTML::p(HTML::strong(_("Complete."))), HTML::p(fmt("Return to %s", $pagelink))); // Ugly hack to get valid XHTML code - if (isa($WikiTheme, 'WikiTheme_fusionforge')) { + if (is_a($WikiTheme, 'WikiTheme_fusionforge')) { echo "</div>\n"; echo "</div>\n"; echo "</main>\n"; echo "</div>\n"; - } elseif (isa($WikiTheme, 'WikiTheme_Sidebar') - or isa($WikiTheme, 'WikiTheme_MonoBook') + } elseif (is_a($WikiTheme, 'WikiTheme_Sidebar') + or is_a($WikiTheme, 'WikiTheme_MonoBook') ) { echo "</div>\n"; echo "</div>\n"; echo "</div>\n"; echo "</div>\n"; - } elseif (isa($WikiTheme, 'WikiTheme_wikilens')) { + } elseif (is_a($WikiTheme, 'WikiTheme_wikilens')) { echo "</div>\n"; echo "</td>\n"; echo "</tr>\n"; echo "</table>\n"; - } elseif (isa($WikiTheme, 'WikiTheme_blog')) { + } elseif (is_a($WikiTheme, 'WikiTheme_blog')) { echo "</div>\n"; echo "</div>\n"; - } elseif (isa($WikiTheme, 'WikiTheme_Crao') - or isa($WikiTheme, 'WikiTheme_Hawaiian') - or isa($WikiTheme, 'WikiTheme_MacOSX') - or isa($WikiTheme, 'WikiTheme_shamino_com') - or isa($WikiTheme, 'WikiTheme_smaller') + } elseif (is_a($WikiTheme, 'WikiTheme_Crao') + or is_a($WikiTheme, 'WikiTheme_Hawaiian') + or is_a($WikiTheme, 'WikiTheme_MacOSX') + or is_a($WikiTheme, 'WikiTheme_shamino_com') + or is_a($WikiTheme, 'WikiTheme_smaller') ) { echo "</div>\n"; } @@ -357,13 +357,13 @@ longer_timeout($timeout); // Reset watchdog $pagename = $page->getName(); - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { PrintXML(HTML::br(), $pagename, ' ... '); flush(); } if (in_array($pagename, $excludeList)) { - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { PrintXML(_("Skipped.")); flush(); } @@ -389,7 +389,7 @@ $num = fwrite($fd, $data, strlen($data)); $msg->pushContent(HTML::small(fmt("%s bytes written", $num))); - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { PrintXML($msg); flush(); } @@ -402,7 +402,7 @@ function _copyMsg($page, $smallmsg) { - if (!isa($GLOBALS['request'], 'MockRequest')) { + if (!is_a($GLOBALS['request'], 'MockRequest')) { if ($page) $msg = HTML(HTML::br(), HTML($page), HTML::small($smallmsg)); else $msg = HTML::small($smallmsg); PrintXML($msg); @@ -626,13 +626,13 @@ if ($page->get('locked')) $attrib['write_protected'] = 1; } elseif (!$silent) { - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { PrintXML(HTML::br(), $pagename, ' ... '); flush(); } } if (in_array($pagename, $excludeList)) { - if (!$silent and !isa($request, 'MockRequest')) { + if (!$silent and !is_a($request, 'MockRequest')) { PrintXML(_("Skipped.")); flush(); } @@ -715,7 +715,7 @@ } $msg->pushContent(HTML::small(fmt("%s bytes written", $num), "\n")); if (!$silent) { - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { PrintXML($msg); } flush(); @@ -1006,7 +1006,7 @@ if (!$skip) { // in case of failures print the culprit: - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { PrintXML(HTML::span(WikiLink($pagename))); flush(); } @@ -1053,7 +1053,7 @@ } } - if (!isa($request, 'MockRequest')) { + if (!is_a($request, 'MockRequest')) { if ($skip) PrintXML(HTML::em(WikiLink($pagename)), $mesg); else @@ -1158,7 +1158,7 @@ return $content; // if loading from virgin setup do echo, otherwise trigger_error E_USER_NOTICE - if (!isa($GLOBALS['request'], 'MockRequest')) + if (!is_a($GLOBALS['request'], 'MockRequest')) echo sprintf(_("Loading InterWikiMap from external file %s."), $mapfile), "<br />"; $fd = fopen($mapfile, "rb"); Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/main.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -120,7 +120,7 @@ //$user = $this->getSessionVar('wiki_user'); // revive db handle, because these don't survive sessions if (isset($this->_user) and - (!isa($this->_user, WikiUserClassname()) + (!is_a($this->_user, WikiUserClassname()) or (strtolower(get_class($this->_user)) == '_passuser') or (strtolower(get_class($this->_user)) == '_fusionforgepassuser')) ) { @@ -136,7 +136,7 @@ $this->_user->_HomePagehandle = $this->getPage($userid); } // need to update the lockfile filehandle - if (isa($this->_user, '_FilePassUser') + if (is_a($this->_user, '_FilePassUser') and $this->_user->_file->lockfile and !$this->_user->_file->fplock ) { @@ -247,7 +247,7 @@ function updateAuthAndPrefs() { - if (isset($this->_user) and (!isa($this->_user, WikiUserClassname()))) { + if (isset($this->_user) and (!is_a($this->_user, WikiUserClassname()))) { $this->_user = false; } // Handle authentication request, if any. @@ -255,7 +255,7 @@ $this->setArg('auth', false); $this->_handleAuthRequest($auth_args); // possible NORETURN } elseif (!$this->_user - or (isa($this->_user, WikiUserClassname()) + or (is_a($this->_user, WikiUserClassname()) and !$this->_user->isSignedIn()) ) { // If not auth request, try to sign in as saved user. @@ -414,7 +414,7 @@ } $olduser->PrintLoginForm($this, $auth_args, $fail_message, 'newpage'); $this->finish(); //NORETURN - } elseif (isa($user, WikiUserClassname())) { + } elseif (is_a($user, WikiUserClassname())) { // Successful login (or logout.) $this->_setUser($user); } else { @@ -437,7 +437,7 @@ if (!$this->_user) $this->_user = new _PassUser($userid); $user = $this->_user->AuthCheck(array('userid' => $userid)); - if (isa($user, WikiUserClassname())) { + if (is_a($user, WikiUserClassname())) { $this->_setUser($user); // success! } } @@ -977,7 +977,7 @@ if (empty($_SERVER['PHP_AUTH_USER'])) { return false; } - } elseif (isa($user, WikiUserClassname())) { + } elseif (is_a($user, WikiUserClassname())) { $this->_user = $user; $this->_user->_authhow = 'session'; return $user->UserName(); Modified: trunk/lib/plugin/CreateToc.php =================================================================== --- trunk/lib/plugin/CreateToc.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/CreateToc.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -183,7 +183,7 @@ $content[$j]) ) return $j; - } elseif (isa($content[$j], 'cached_link')) { + } elseif (is_a($content[$j], 'cached_link')) { if (method_exists($content[$j], 'asXML')) { $content[$j]->_basepage = $basepage; $content[$j] = $content[$j]->asXML(); Modified: trunk/lib/plugin/DebugAuthInfo.php =================================================================== --- trunk/lib/plugin/DebugAuthInfo.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/DebugAuthInfo.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -103,7 +103,7 @@ $table = HTML::table(array('class' => 'bordered')); //$table->pushContent(HTML::tr(HTML::td(array('colspan' => 2)))); $userdata = obj2hash($user, array('_dbi', '_request', 'password', 'passwd')); - if (isa($user, "_FilePassUser")) { + if (is_a($user, "_FilePassUser")) { foreach ($userdata['_file']->users as $u => $p) { $userdata['_file']->users[$u] = "<hidden>"; } Modified: trunk/lib/plugin/GooglePlugin.php =================================================================== --- trunk/lib/plugin/GooglePlugin.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/GooglePlugin.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -88,9 +88,9 @@ default: trigger_error("Invalid mode"); } - if (isa($result, 'HTML')) + if (is_a($result, 'HTML')) $html->pushContent($result); - if (isa($result, 'GoogleSearchResults')) { + if (is_a($result, 'GoogleSearchResults')) { //TODO: result template if (!empty($result->resultElements)) { $list = HTML::ol(); Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/GraphViz.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -339,7 +339,7 @@ protected function getMap($dbi, $argarray, $request) { $result = $this->invokeDot($argarray); - if (isa($result, 'HtmlElement')) + if (is_a($result, 'HtmlElement')) return array(false, $result); else return $result; Modified: trunk/lib/plugin/ListPages.php =================================================================== --- trunk/lib/plugin/ListPages.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/ListPages.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -71,8 +71,8 @@ extract($args); // If the ratings table does not exist, or on dba it will break otherwise. - // Check if WikiTheme isa 'wikilens' - if ($info == 'pagename' and isa($GLOBALS['WikiTheme'], 'wikilens')) + // Check if WikiTheme is_a 'wikilens' + if ($info == 'pagename' and is_a($GLOBALS['WikiTheme'], 'wikilens')) $info .= ",top3recs"; if ($info) $info = explode(',', $info); Modified: trunk/lib/plugin/PageHistory.php =================================================================== --- trunk/lib/plugin/PageHistory.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/PageHistory.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -196,7 +196,7 @@ $minor_flag = ''; } $line = HTML::li(array('class' => $class)); - if (isa($WikiTheme, 'WikiTheme_MonoBook')) { + if (is_a($WikiTheme, 'WikiTheme_MonoBook')) { $line->pushContent( $this->diffLink($rev), ' ', $this->pageLink($rev), ' ', Modified: trunk/lib/plugin/PasswordReset.php =================================================================== --- trunk/lib/plugin/PasswordReset.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/PasswordReset.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -123,7 +123,7 @@ function run($dbi, $argstr, &$request, $basepage) { $args = $this->getArgs($argstr, $request); - if (isa($request, 'MockRequest')) + if (is_a($request, 'MockRequest')) return ''; $user =& $request->_user; Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/RecentChanges.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -541,7 +541,7 @@ $linkorname = $this->pageLink($rev); } - if ((isa($WikiTheme, 'WikiTheme_MonoBook')) or (isa($WikiTheme, 'WikiTheme_fusionforge'))) { + if ((is_a($WikiTheme, 'WikiTheme_MonoBook')) or (is_a($WikiTheme, 'WikiTheme_fusionforge'))) { $line->pushContent( $args['historylinks'] ? '' : $this->historyLink($rev), ' . . ', $linkorname, '; ', Modified: trunk/lib/plugin/SiteMap.php =================================================================== --- trunk/lib/plugin/SiteMap.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/SiteMap.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -188,7 +188,7 @@ reset($pagearr); if (!empty($includepages)) { // disallow direct usage, only via child class IncludeSiteMap - if (!isa($this, "WikiPlugin_IncludeSiteMap") and !isa($this, "WikiPlugin_IncludeTree")) + if (!is_a($this, "WikiPlugin_IncludeSiteMap") and !is_a($this, "WikiPlugin_IncludeTree")) $includepages = ''; if (!is_string($includepages)) $includepages = ' '; // avoid plugin loader problems Modified: trunk/lib/plugin/UserPreferences.php =================================================================== --- trunk/lib/plugin/UserPreferences.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/UserPreferences.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -72,7 +72,7 @@ $args = $this->getArgs($argstr, $request); $user =& $request->_user; $user->_request = $request; - if (isa($request, 'MockRequest')) + if (is_a($request, 'MockRequest')) return ''; if (defined('FUSIONFORGE') and FUSIONFORGE) { if (!($user->isAuthenticated())) { @@ -84,7 +84,7 @@ and (!isset($user->_prefs->_method) or !in_array($user->_prefs->_method, array('ADODB', 'SQL', 'PDO')))) or (in_array($request->getArg('action'), array('zip', 'ziphtml', 'dumphtml'))) - or (isa($user, '_ForbiddenUser')) + or (is_a($user, '_ForbiddenUser')) ) { $no_args = $this->getDefaultArguments(); $no_args['errmsg'] = HTML::p(array('class' => 'error'), Modified: trunk/lib/plugin/VisualWiki.php =================================================================== --- trunk/lib/plugin/VisualWiki.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/VisualWiki.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -148,7 +148,7 @@ /* ($dbi, $large, $recent, $refined, $backlink, $neighbour, $excludelist, $includelist, $color); */ $result = $this->invokeDot($argarray); - if (isa($result, 'HtmlElement')) + if (is_a($result, 'HtmlElement')) return array(false, $result); else return $result; Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/WatchPage.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -106,7 +106,7 @@ { $args = $this->getArgs($argstr, $request); - if (isa($request, 'MockRequest')) + if (is_a($request, 'MockRequest')) return ''; $user =& $request->_user; $userid = $user->UserName(); Modified: trunk/lib/plugin/WhoIsOnline.php =================================================================== --- trunk/lib/plugin/WhoIsOnline.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/WhoIsOnline.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -133,7 +133,7 @@ if (empty($date)) continue; $num_online++; $user = @unserialize($data); - if (!empty($user) and !isa($user, "__PHP_incomplete_Class")) { + if (!empty($user) and !is_a($user, "__PHP_incomplete_Class")) { // if "__PHP_incomplete_Class" try to avoid notice $userid = @$user->_userid; $level = @$user->_level; Modified: trunk/lib/plugin/WikiBlog.php =================================================================== --- trunk/lib/plugin/WikiBlog.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/WikiBlog.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -387,7 +387,7 @@ list(, $prefix, $month, $day, $time) = $m; return array('pagename' => $pagename, // page (list pages per month) or revision (list months)? - //'title' => isa($rev_or_page,'WikiDB_PageRevision') ? $rev_or_page->get('summary') : '', + //'title' => is_a($rev_or_page,'WikiDB_PageRevision') ? $rev_or_page->get('summary') : '', //'monthtitle' => $this->monthTitle($month), 'month' => $month, 'day' => $day, Modified: trunk/lib/plugin/WikiFormRich.php =================================================================== --- trunk/lib/plugin/WikiFormRich.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/plugin/WikiFormRich.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -147,7 +147,7 @@ $plugin_str = preg_replace(array("/^<!/", "/!>$/"), array("<?", "?>"), $value); // will return a pagelist object! pulldown,checkbox,radiobutton $value = $loader->expandPI($plugin_str, $GLOBALS['request'], $markup, $basepage); - if (isa($value, 'PageList')) + if (is_a($value, 'PageList')) $value = $value->pageNames(); // apply limit elseif (!is_array($value)) trigger_error(sprintf("Invalid argument %s ignored", htmlentities($arg_array[$i])), @@ -366,7 +366,7 @@ trigger_error("invalid input['method'] " . $input['method'], E_USER_WARNING); $pagelist = $p->run($dbi, @$input['args'], $request, $basepage); $values = array(); - if (is_object($pagelist) and isa($pagelist, 'PageList')) { + if (is_object($pagelist) and is_a($pagelist, 'PageList')) { foreach ($pagelist->_pages as $page) { if (is_object($page)) $values[] = $page->getName(); Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-10-10 16:23:28 UTC (rev 9246) +++ trunk/lib/stdlib.php 2014-10-10 16:45:38 UTC (rev 9247) @@ -62,7 +62,6 @@ glob_to_pcre ($glob) glob_match ($glob, $against, $case_sensitive = true) explodePageList ($input, $perm = false) - isa ($object, $class) function_usable ($function_name) wikihash ($x) count_all ($arg) @@ -165,13 +164,13 @@ $anchor = false; if (is_object($pagename)) { - if (isa($pagename, 'WikiDB_Page')) { + if (is_a($pagename, 'WikiDB_Page')) { $pagename = $pagename->getName(); - } elseif (isa($pagename, 'WikiDB_PageRevision')) { + } elseif (is_a($pagename, 'WikiDB_PageRevision')) { $page = $pagename->getPage(); $args['version'] = $pagename->getVersion(); $pagename = $page->getName(); - } elseif (isa($pagename, 'WikiPageName')) { + } elseif (is_a($pagename, 'WikiPageName')) { $anchor = $pagename->anchor; $pagename = $pagename->name; } else { // php5 @@ -898,11 +897,11 @@ function _pagename($page) { - if (isa($page, 'WikiDB_Page')) + if (is_a($page, 'WikiDB_Page')) return $page->getName(); - elseif (isa($page, 'WikiDB_PageRevision')) + elseif (is_a($page, 'WikiDB_PageRevision')) return $page->getPageName(); - elseif (isa($page, 'WikiPageName')) + elseif (is_a($page, 'WikiPageName')) return $page->name; return $page; } @@ -1516,23 +1515,6 @@ // Class introspections -/** - * Determine whether object is of a specified type. - * In PHP builtin since 4.2.0 as is_a() - * is_a() deprecated in PHP 5, in favor of instanceof operator - * @param $object object An object. - * @param $class string Class name. - * @return bool True iff $object is a $class - * or a sub-type of $class. - */ -function isa($object, $class) -{ - $lclass = $class; - return is_object($object) - && (strtolower(get_class($object)) == strtolower($class) - || is_subclass_of($obje... [truncated message content] |
From: <var...@us...> - 2014-10-10 17:02:28
|
Revision: 9248 http://sourceforge.net/p/phpwiki/code/9248 Author: vargenau Date: 2014-10-10 17:02:26 +0000 (Fri, 10 Oct 2014) Log Message: ----------- Remove FPDF Modified Paths: -------------- trunk/config/config-dist.ini trunk/doc/CREDITS trunk/locale/update-makefile.sh Removed Paths: ------------- trunk/doc/README.fpdf trunk/lib/fpdf.php Modified: trunk/config/config-dist.ini =================================================================== --- trunk/config/config-dist.ini 2014-10-10 16:45:38 UTC (rev 9247) +++ trunk/config/config-dist.ini 2014-10-10 17:02:26 UTC (rev 9248) @@ -1220,7 +1220,7 @@ ; http://www.google.com/apis/maps/signup.html ;GOOGLE_LICENSE_KEY = "..." -; On action=pdf or format=pdf: If enabled don't use the internal fpdf library. +; On action=pdf or format=pdf ; External PDF executable, %s is the xhtml filename ;USE_EXTERNAL_HTML2PDF = "htmldoc --quiet --format pdf14 --no-toc --no-title %s" Modified: trunk/doc/CREDITS =================================================================== --- trunk/doc/CREDITS 2014-10-10 16:45:38 UTC (rev 9247) +++ trunk/doc/CREDITS 2014-10-10 17:02:26 UTC (rev 9248) @@ -204,7 +204,6 @@ ! External credits: <pre> -Olivier PLATHEY for fpdf, Don Sebà for fpdf Mircho Mirev for acdropdown (livesearch) Peter Jipsen, Kee-Lin Steven Chan for AsciiMath Simon Willison for HttpClient (RssFeed) Deleted: trunk/doc/README.fpdf =================================================================== --- trunk/doc/README.fpdf 2014-10-10 16:45:38 UTC (rev 9247) +++ trunk/doc/README.fpdf 2014-10-10 17:02:26 UTC (rev 9248) @@ -1,4 +0,0 @@ -The official site for fdpf is http://www.fpdf.org/ - -fpdf.php and the fonts were taken from the phpMyAdmin distribution, -which took some files from the fpdf 1.51 distribution. Deleted: trunk/lib/fpdf.php =================================================================== --- trunk/lib/fpdf.php 2014-10-10 16:45:38 UTC (rev 9247) +++ trunk/lib/fpdf.php 2014-10-10 17:02:26 UTC (rev 9248) @@ -1,1804 +0,0 @@ -<?php -/******************************************************************************* -* FPDF * -* * -* Version: 1.7 * -* Date: 2011-06-18 * -* Author: Olivier PLATHEY * -*******************************************************************************/ - -define('FPDF_VERSION','1.7'); - -class FPDF -{ -var $page; // current page number -var $n; // current object number -var $offsets; // array of object offsets -var $buffer; // buffer holding in-memory PDF -var $pages; // array containing pages -var $state; // current document state -var $compress; // compression flag -var $k; // scale factor (number of points in user unit) -var $DefOrientation; // default orientation -var $CurOrientation; // current orientation -var $StdPageSizes; // standard page sizes -var $DefPageSize; // default page size -var $CurPageSize; // current page size -var $PageSizes; // used for pages with non default sizes or orientations -var $wPt, $hPt; // dimensions of current page in points -var $w, $h; // dimensions of current page in user unit -var $lMargin; // left margin -var $tMargin; // top margin -var $rMargin; // right margin -var $bMargin; // page break margin -var $cMargin; // cell margin -var $x, $y; // current position in user unit -var $lasth; // height of last printed cell -var $LineWidth; // line width in user unit -var $fontpath; // path containing fonts -var $CoreFonts; // array of core font names -var $fonts; // array of used fonts -var $FontFiles; // array of font files -var $diffs; // array of encoding differences -var $FontFamily; // current font family -var $FontStyle; // current font style -var $underline; // underlining flag -var $CurrentFont; // current font info -var $FontSizePt; // current font size in points -var $FontSize; // current font size in user unit -var $DrawColor; // commands for drawing color -var $FillColor; // commands for filling color -var $TextColor; // commands for text color -var $ColorFlag; // indicates whether fill and text colors are different -var $ws; // word spacing -var $images; // array of used images -var $PageLinks; // array of links in pages -var $links; // array of internal links -var $AutoPageBreak; // automatic page breaking -var $PageBreakTrigger; // threshold used to trigger page breaks -var $InHeader; // flag set when processing header -var $InFooter; // flag set when processing footer -var $ZoomMode; // zoom display mode -var $LayoutMode; // layout display mode -var $title; // title -var $subject; // subject -var $author; // author -var $keywords; // keywords -var $creator; // creator -var $AliasNbPages; // alias for total number of pages -var $PDFVersion; // PDF version number - -/******************************************************************************* -* * -* Public methods * -* * -*******************************************************************************/ -function FPDF($orientation='P', $unit='mm', $size='A4') -{ - // Some checks - $this->_dochecks(); - // Initialization of properties - $this->page = 0; - $this->n = 2; - $this->buffer = ''; - $this->pages = array(); - $this->PageSizes = array(); - $this->state = 0; - $this->fonts = array(); - $this->FontFiles = array(); - $this->diffs = array(); - $this->images = array(); - $this->links = array(); - $this->InHeader = false; - $this->InFooter = false; - $this->lasth = 0; - $this->FontFamily = ''; - $this->FontStyle = ''; - $this->FontSizePt = 12; - $this->underline = false; - $this->DrawColor = '0 G'; - $this->FillColor = '0 g'; - $this->TextColor = '0 g'; - $this->ColorFlag = false; - $this->ws = 0; - // Font path - if(defined('FPDF_FONTPATH')) - { - $this->fontpath = FPDF_FONTPATH; - if(substr($this->fontpath,-1)!='/' && substr($this->fontpath,-1)!='\\') - $this->fontpath .= '/'; - } - elseif(is_dir(dirname(__FILE__).'/font')) - $this->fontpath = dirname(__FILE__).'/font/'; - else - $this->fontpath = ''; - // Core fonts - $this->CoreFonts = array('courier', 'helvetica', 'times', 'symbol', 'zapfdingbats'); - // Scale factor - if($unit=='pt') - $this->k = 1; - elseif($unit=='mm') - $this->k = 72/25.4; - elseif($unit=='cm') - $this->k = 72/2.54; - elseif($unit=='in') - $this->k = 72; - else - $this->Error('Incorrect unit: '.$unit); - // Page sizes - $this->StdPageSizes = array('a3'=>array(841.89,1190.55), 'a4'=>array(595.28,841.89), 'a5'=>array(420.94,595.28), - 'letter'=>array(612,792), 'legal'=>array(612,1008)); - $size = $this->_getpagesize($size); - $this->DefPageSize = $size; - $this->CurPageSize = $size; - // Page orientation - $orientation = strtolower($orientation); - if($orientation=='p' || $orientation=='portrait') - { - $this->DefOrientation = 'P'; - $this->w = $size[0]; - $this->h = $size[1]; - } - elseif($orientation=='l' || $orientation=='landscape') - { - $this->DefOrientation = 'L'; - $this->w = $size[1]; - $this->h = $size[0]; - } - else - $this->Error('Incorrect orientation: '.$orientation); - $this->CurOrientation = $this->DefOrientation; - $this->wPt = $this->w*$this->k; - $this->hPt = $this->h*$this->k; - // Page margins (1 cm) - $margin = 28.35/$this->k; - $this->SetMargins($margin,$margin); - // Interior cell margin (1 mm) - $this->cMargin = $margin/10; - // Line width (0.2 mm) - $this->LineWidth = .567/$this->k; - // Automatic page break - $this->SetAutoPageBreak(true,2*$margin); - // Default display mode - $this->SetDisplayMode('default'); - // Enable compression - $this->SetCompression(true); - // Set default PDF version number - $this->PDFVersion = '1.3'; -} - -function SetMargins($left, $top, $right=null) -{ - // Set left, top and right margins - $this->lMargin = $left; - $this->tMargin = $top; - if($right===null) - $right = $left; - $this->rMargin = $right; -} - -function SetLeftMargin($margin) -{ - // Set left margin - $this->lMargin = $margin; - if($this->page>0 && $this->x<$margin) - $this->x = $margin; -} - -function SetTopMargin($margin) -{ - // Set top margin - $this->tMargin = $margin; -} - -function SetRightMargin($margin) -{ - // Set right margin - $this->rMargin = $margin; -} - -function SetAutoPageBreak($auto, $margin=0) -{ - // Set auto page break mode and triggering margin - $this->AutoPageBreak = $auto; - $this->bMargin = $margin; - $this->PageBreakTrigger = $this->h-$margin; -} - -function SetDisplayMode($zoom, $layout='default') -{ - // Set display mode in viewer - if($zoom=='fullpage' || $zoom=='fullwidth' || $zoom=='real' || $zoom=='default' || !is_string($zoom)) - $this->ZoomMode = $zoom; - else - $this->Error('Incorrect zoom display mode: '.$zoom); - if($layout=='single' || $layout=='continuous' || $layout=='two' || $layout=='default') - $this->LayoutMode = $layout; - else - $this->Error('Incorrect layout display mode: '.$layout); -} - -function SetCompression($compress) -{ - // Set page compression - if(function_exists('gzcompress')) - $this->compress = $compress; - else - $this->compress = false; -} - -function SetTitle($title, $isUTF8=false) -{ - // Title of document - if($isUTF8) - $title = $this->_UTF8toUTF16($title); - $this->title = $title; -} - -function SetSubject($subject, $isUTF8=false) -{ - // Subject of document - if($isUTF8) - $subject = $this->_UTF8toUTF16($subject); - $this->subject = $subject; -} - -function SetAuthor($author, $isUTF8=false) -{ - // Author of document - if($isUTF8) - $author = $this->_UTF8toUTF16($author); - $this->author = $author; -} - -function SetKeywords($keywords, $isUTF8=false) -{ - // Keywords of document - if($isUTF8) - $keywords = $this->_UTF8toUTF16($keywords); - $this->keywords = $keywords; -} - -function SetCreator($creator, $isUTF8=false) -{ - // Creator of document - if($isUTF8) - $creator = $this->_UTF8toUTF16($creator); - $this->creator = $creator; -} - -function AliasNbPages($alias='{nb}') -{ - // Define an alias for total number of pages - $this->AliasNbPages = $alias; -} - -function Error($msg) -{ - // Fatal error - die('<b>FPDF error:</b> '.$msg); -} - -function Open() -{ - // Begin document - $this->state = 1; -} - -function Close() -{ - // Terminate document - if($this->state==3) - return; - if($this->page==0) - $this->AddPage(); - // Page footer - $this->InFooter = true; - $this->Footer(); - $this->InFooter = false; - // Close page - $this->_endpage(); - // Close document - $this->_enddoc(); -} - -function AddPage($orientation='', $size='') -{ - // Start a new page - if($this->state==0) - $this->Open(); - $family = $this->FontFamily; - $style = $this->FontStyle.($this->underline ? 'U' : ''); - $fontsize = $this->FontSizePt; - $lw = $this->LineWidth; - $dc = $this->DrawColor; - $fc = $this->FillColor; - $tc = $this->TextColor; - $cf = $this->ColorFlag; - if($this->page>0) - { - // Page footer - $this->InFooter = true; - $this->Footer(); - $this->InFooter = false; - // Close page - $this->_endpage(); - } - // Start new page - $this->_beginpage($orientation,$size); - // Set line cap style to square - $this->_out('2 J'); - // Set line width - $this->LineWidth = $lw; - $this->_out(sprintf('%.2F w',$lw*$this->k)); - // Set font - if($family) - $this->SetFont($family,$style,$fontsize); - // Set colors - $this->DrawColor = $dc; - if($dc!='0 G') - $this->_out($dc); - $this->FillColor = $fc; - if($fc!='0 g') - $this->_out($fc); - $this->TextColor = $tc; - $this->ColorFlag = $cf; - // Page header - $this->InHeader = true; - $this->Header(); - $this->InHeader = false; - // Restore line width - if($this->LineWidth!=$lw) - { - $this->LineWidth = $lw; - $this->_out(sprintf('%.2F w',$lw*$this->k)); - } - // Restore font - if($family) - $this->SetFont($family,$style,$fontsize); - // Restore colors - if($this->DrawColor!=$dc) - { - $this->DrawColor = $dc; - $this->_out($dc); - } - if($this->FillColor!=$fc) - { - $this->FillColor = $fc; - $this->_out($fc); - } - $this->TextColor = $tc; - $this->ColorFlag = $cf; -} - -function Header() -{ - // To be implemented in your own inherited class -} - -function Footer() -{ - // To be implemented in your own inherited class -} - -function PageNo() -{ - // Get current page number - return $this->page; -} - -function SetDrawColor($r, $g=null, $b=null) -{ - // Set color for all stroking operations - if(($r==0 && $g==0 && $b==0) || $g===null) - $this->DrawColor = sprintf('%.3F G',$r/255); - else - $this->DrawColor = sprintf('%.3F %.3F %.3F RG',$r/255,$g/255,$b/255); - if($this->page>0) - $this->_out($this->DrawColor); -} - -function SetFillColor($r, $g=null, $b=null) -{ - // Set color for all filling operations - if(($r==0 && $g==0 && $b==0) || $g===null) - $this->FillColor = sprintf('%.3F g',$r/255); - else - $this->FillColor = sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); - $this->ColorFlag = ($this->FillColor!=$this->TextColor); - if($this->page>0) - $this->_out($this->FillColor); -} - -function SetTextColor($r, $g=null, $b=null) -{ - // Set color for text - if(($r==0 && $g==0 && $b==0) || $g===null) - $this->TextColor = sprintf('%.3F g',$r/255); - else - $this->TextColor = sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); - $this->ColorFlag = ($this->FillColor!=$this->TextColor); -} - -function GetStringWidth($s) -{ - // Get width of a string in the current font - $s = (string)$s; - $cw = &$this->CurrentFont['cw']; - $w = 0; - $l = strlen($s); - for($i=0;$i<$l;$i++) - $w += $cw[$s[$i]]; - return $w*$this->FontSize/1000; -} - -function SetLineWidth($width) -{ - // Set line width - $this->LineWidth = $width; - if($this->page>0) - $this->_out(sprintf('%.2F w',$width*$this->k)); -} - -function Line($x1, $y1, $x2, $y2) -{ - // Draw a line - $this->_out(sprintf('%.2F %.2F m %.2F %.2F l S',$x1*$this->k,($this->h-$y1)*$this->k,$x2*$this->k,($this->h-$y2)*$this->k)); -} - -function Rect($x, $y, $w, $h, $style='') -{ - // Draw a rectangle - if($style=='F') - $op = 'f'; - elseif($style=='FD' || $style=='DF') - $op = 'B'; - else - $op = 'S'; - $this->_out(sprintf('%.2F %.2F %.2F %.2F re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op)); -} - -function AddFont($family, $style='', $file='') -{ - // Add a TrueType, OpenType or Type1 font - $family = strtolower($family); - if($file=='') - $file = str_replace(' ','',$family).strtolower($style).'.php'; - $style = strtoupper($style); - if($style=='IB') - $style = 'BI'; - $fontkey = $family.$style; - if(isset($this->fonts[$fontkey])) - return; - $info = $this->_loadfont($file); - $info['i'] = count($this->fonts)+1; - if(!empty($info['diff'])) - { - // Search existing encodings - $n = array_search($info['diff'],$this->diffs); - if(!$n) - { - $n = count($this->diffs)+1; - $this->diffs[$n] = $info['diff']; - } - $info['diffn'] = $n; - } - if(!empty($info['file'])) - { - // Embedded font - if($info['type']=='TrueType') - $this->FontFiles[$info['file']] = array('length1'=>$info['originalsize']); - else - $this->FontFiles[$info['file']] = array('length1'=>$info['size1'], 'length2'=>$info['size2']); - } - $this->fonts[$fontkey] = $info; -} - -function SetFont($family, $style='', $size=0) -{ - // Select a font; size given in points - if($family=='') - $family = $this->FontFamily; - else - $family = strtolower($family); - $style = strtoupper($style); - if(strpos($style,'U')!==false) - { - $this->underline = true; - $style = str_replace('U','',$style); - } - else - $this->underline = false; - if($style=='IB') - $style = 'BI'; - if($size==0) - $size = $this->FontSizePt; - // Test if font is already selected - if($this->FontFamily==$family && $this->FontStyle==$style && $this->FontSizePt==$size) - return; - // Test if font is already loaded - $fontkey = $family.$style; - if(!isset($this->fonts[$fontkey])) - { - // Test if one of the core fonts - if($family=='arial') - $family = 'helvetica'; - if(in_array($family,$this->CoreFonts)) - { - if($family=='symbol' || $family=='zapfdingbats') - $style = ''; - $fontkey = $family.$style; - if(!isset($this->fonts[$fontkey])) - $this->AddFont($family,$style); - } - else - $this->Error('Undefined font: '.$family.' '.$style); - } - // Select it - $this->FontFamily = $family; - $this->FontStyle = $style; - $this->FontSizePt = $size; - $this->FontSize = $size/$this->k; - $this->CurrentFont = &$this->fonts[$fontkey]; - if($this->page>0) - $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); -} - -function SetFontSize($size) -{ - // Set font size in points - if($this->FontSizePt==$size) - return; - $this->FontSizePt = $size; - $this->FontSize = $size/$this->k; - if($this->page>0) - $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); -} - -function AddLink() -{ - // Create a new internal link - $n = count($this->links)+1; - $this->links[$n] = array(0, 0); - return $n; -} - -function SetLink($link, $y=0, $page=-1) -{ - // Set destination of internal link - if($y==-1) - $y = $this->y; - if($page==-1) - $page = $this->page; - $this->links[$link] = array($page, $y); -} - -function Link($x, $y, $w, $h, $link) -{ - // Put a link on the page - $this->PageLinks[$this->page][] = array($x*$this->k, $this->hPt-$y*$this->k, $w*$this->k, $h*$this->k, $link); -} - -function Text($x, $y, $txt) -{ - // Output a string - $s = sprintf('BT %.2F %.2F Td (%s) Tj ET',$x*$this->k,($this->h-$y)*$this->k,$this->_escape($txt)); - if($this->underline && $txt!='') - $s .= ' '.$this->_dounderline($x,$y,$txt); - if($this->ColorFlag) - $s = 'q '.$this->TextColor.' '.$s.' Q'; - $this->_out($s); -} - -function AcceptPageBreak() -{ - // Accept automatic page break or not - return $this->AutoPageBreak; -} - -function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') -{ - // Output a cell - $k = $this->k; - if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) - { - // Automatic page break - $x = $this->x; - $ws = $this->ws; - if($ws>0) - { - $this->ws = 0; - $this->_out('0 Tw'); - } - $this->AddPage($this->CurOrientation,$this->CurPageSize); - $this->x = $x; - if($ws>0) - { - $this->ws = $ws; - $this->_out(sprintf('%.3F Tw',$ws*$k)); - } - } - if($w==0) - $w = $this->w-$this->rMargin-$this->x; - $s = ''; - if($fill || $border==1) - { - if($fill) - $op = ($border==1) ? 'B' : 'f'; - else - $op = 'S'; - $s = sprintf('%.2F %.2F %.2F %.2F re %s ',$this->x*$k,($this->h-$this->y)*$k,$w*$k,-$h*$k,$op); - } - if(is_string($border)) - { - $x = $this->x; - $y = $this->y; - if(strpos($border,'L')!==false) - $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); - if(strpos($border,'T')!==false) - $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); - if(strpos($border,'R')!==false) - $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); - if(strpos($border,'B')!==false) - $s .= sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); - } - if($txt!=='') - { - if($align=='R') - $dx = $w-$this->cMargin-$this->GetStringWidth($txt); - elseif($align=='C') - $dx = ($w-$this->GetStringWidth($txt))/2; - else - $dx = $this->cMargin; - if($this->ColorFlag) - $s .= 'q '.$this->TextColor.' '; - $txt2 = str_replace(')','\\)',str_replace('(','\\(',str_replace('\\','\\\\',$txt))); - $s .= sprintf('BT %.2F %.2F Td (%s) Tj ET',($this->x+$dx)*$k,($this->h-($this->y+.5*$h+.3*$this->FontSize))*$k,$txt2); - if($this->underline) - $s .= ' '.$this->_dounderline($this->x+$dx,$this->y+.5*$h+.3*$this->FontSize,$txt); - if($this->ColorFlag) - $s .= ' Q'; - if($link) - $this->Link($this->x+$dx,$this->y+.5*$h-.5*$this->FontSize,$this->GetStringWidth($txt),$this->FontSize,$link); - } - if($s) - $this->_out($s); - $this->lasth = $h; - if($ln>0) - { - // Go to next line - $this->y += $h; - if($ln==1) - $this->x = $this->lMargin; - } - else - $this->x += $w; -} - -function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false) -{ - // Output text with automatic or explicit line breaks - $cw = &$this->CurrentFont['cw']; - if($w==0) - $w = $this->w-$this->rMargin-$this->x; - $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; - $s = str_replace("\r",'',$txt); - $nb = strlen($s); - if($nb>0 && $s[$nb-1]=="\n") - $nb--; - $b = 0; - if($border) - { - if($border==1) - { - $border = 'LTRB'; - $b = 'LRT'; - $b2 = 'LR'; - } - else - { - $b2 = ''; - if(strpos($border,'L')!==false) - $b2 .= 'L'; - if(strpos($border,'R')!==false) - $b2 .= 'R'; - $b = (strpos($border,'T')!==false) ? $b2.'T' : $b2; - } - } - $sep = -1; - $i = 0; - $j = 0; - $l = 0; - $ns = 0; - $nl = 1; - while($i<$nb) - { - // Get next character - $c = $s[$i]; - if($c=="\n") - { - // Explicit line break - if($this->ws>0) - { - $this->ws = 0; - $this->_out('0 Tw'); - } - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - $i++; - $sep = -1; - $j = $i; - $l = 0; - $ns = 0; - $nl++; - if($border && $nl==2) - $b = $b2; - continue; - } - if($c==' ') - { - $sep = $i; - $ls = $l; - $ns++; - } - $l += $cw[$c]; - if($l>$wmax) - { - // Automatic line break - if($sep==-1) - { - if($i==$j) - $i++; - if($this->ws>0) - { - $this->ws = 0; - $this->_out('0 Tw'); - } - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - } - else - { - if($align=='J') - { - $this->ws = ($ns>1) ? ($wmax-$ls)/1000*$this->FontSize/($ns-1) : 0; - $this->_out(sprintf('%.3F Tw',$this->ws*$this->k)); - } - $this->Cell($w,$h,substr($s,$j,$sep-$j),$b,2,$align,$fill); - $i = $sep+1; - } - $sep = -1; - $j = $i; - $l = 0; - $ns = 0; - $nl++; - if($border && $nl==2) - $b = $b2; - } - else - $i++; - } - // Last chunk - if($this->ws>0) - { - $this->ws = 0; - $this->_out('0 Tw'); - } - if($border && strpos($border,'B')!==false) - $b .= 'B'; - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - $this->x = $this->lMargin; -} - -function Write($h, $txt, $link='') -{ - // Output text in flowing mode - $cw = &$this->CurrentFont['cw']; - $w = $this->w-$this->rMargin-$this->x; - $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; - $s = str_replace("\r",'',$txt); - $nb = strlen($s); - $sep = -1; - $i = 0; - $j = 0; - $l = 0; - $nl = 1; - while($i<$nb) - { - // Get next character - $c = $s[$i]; - if($c=="\n") - { - // Explicit line break - $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); - $i++; - $sep = -1; - $j = $i; - $l = 0; - if($nl==1) - { - $this->x = $this->lMargin; - $w = $this->w-$this->rMargin-$this->x; - $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; - } - $nl++; - continue; - } - if($c==' ') - $sep = $i; - $l += $cw[$c]; - if($l>$wmax) - { - // Automatic line break - if($sep==-1) - { - if($this->x>$this->lMargin) - { - // Move to next line - $this->x = $this->lMargin; - $this->y += $h; - $w = $this->w-$this->rMargin-$this->x; - $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; - $i++; - $nl++; - continue; - } - if($i==$j) - $i++; - $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); - } - else - { - $this->Cell($w,$h,substr($s,$j,$sep-$j),0,2,'',0,$link); - $i = $sep+1; - } - $sep = -1; - $j = $i; - $l = 0; - if($nl==1) - { - $this->x = $this->lMargin; - $w = $this->w-$this->rMargin-$this->x; - $wmax = ($w-2*$this->cMargin)*1000/$this->FontSize; - } - $nl++; - } - else - $i++; - } - // Last chunk - if($i!=$j) - $this->Cell($l/1000*$this->FontSize,$h,substr($s,$j),0,0,'',0,$link); -} - -function Ln($h=null) -{ - // Line feed; default value is last cell height - $this->x = $this->lMargin; - if($h===null) - $this->y += $this->lasth; - else - $this->y += $h; -} - -function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='') -{ - // Put an image on the page - if(!isset($this->images[$file])) - { - // First use of this image, get info - if($type=='') - { - $pos = strrpos($file,'.'); - if(!$pos) - $this->Error('Image file has no extension and no type was specified: '.$file); - $type = substr($file,$pos+1); - } - $type = strtolower($type); - if($type=='jpeg') - $type = 'jpg'; - $mtd = '_parse'.$type; - if(!method_exists($this,$mtd)) - $this->Error('Unsupported image type: '.$type); - $info = $this->$mtd($file); - $info['i'] = count($this->images)+1; - $this->images[$file] = $info; - } - else - $info = $this->images[$file]; - - // Automatic width and height calculation if needed - if($w==0 && $h==0) - { - // Put image at 96 dpi - $w = -96; - $h = -96; - } - if($w<0) - $w = -$info['w']*72/$w/$this->k; - if($h<0) - $h = -$info['h']*72/$h/$this->k; - if($w==0) - $w = $h*$info['w']/$info['h']; - if($h==0) - $h = $w*$info['h']/$info['w']; - - // Flowing mode - if($y===null) - { - if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) - { - // Automatic page break - $x2 = $this->x; - $this->AddPage($this->CurOrientation,$this->CurPageSize); - $this->x = $x2; - } - $y = $this->y; - $this->y += $h; - } - - if($x===null) - $x = $this->x; - $this->_out(sprintf('q %.2F 0 0 %.2F %.2F %.2F cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,($this->h-($y+$h))*$this->k,$info['i'])); - if($link) - $this->Link($x,$y,$w,$h,$link); -} - -function GetX() -{ - // Get x position - return $this->x; -} - -function SetX($x) -{ - // Set x position - if($x>=0) - $this->x = $x; - else - $this->x = $this->w+$x; -} - -function GetY() -{ - // Get y position - return $this->y; -} - -function SetY($y) -{ - // Set y position and reset x - $this->x = $this->lMargin; - if($y>=0) - $this->y = $y; - else - $this->y = $this->h+$y; -} - -function SetXY($x, $y) -{ - // Set x and y positions - $this->SetY($y); - $this->SetX($x); -} - -function Output($name='', $dest='') -{ - // Output PDF to some destination - if($this->state<3) - $this->Close(); - $dest = strtoupper($dest); - if($dest=='') - { - if($name=='') - { - $name = 'doc.pdf'; - $dest = 'I'; - } - else - $dest = 'F'; - } - switch($dest) - { - case 'I': - // Send to standard output - $this->_checkoutput(); - if(PHP_SAPI!='cli') - { - // We send to a browser - header('Content-Type: application/pdf'); - header('Content-Disposition: inline; filename="'.$name.'"'); - header('Cache-Control: private, max-age=0, must-revalidate'); - header('Pragma: public'); - } - echo $this->buffer; - break; - case 'D': - // Download file - $this->_checkoutput(); - header('Content-Type: application/x-download'); - header('Content-Disposition: attachment; filename="'.$name.'"'); - header('Cache-Control: private, max-age=0, must-revalidate'); - header('Pragma: public'); - echo $this->buffer; - break; - case 'F': - // Save to local file - $f = fopen($name,'wb'); - if(!$f) - $this->Error('Unable to create output file: '.$name); - fwrite($f,$this->buffer,strlen($this->buffer)); - fclose($f); - break; - case 'S': - // Return as a string - return $this->buffer; - default: - $this->Error('Incorrect output destination: '.$dest); - } - return ''; -} - -/******************************************************************************* -* * -* Protected methods * -* * -*******************************************************************************/ -function _dochecks() -{ - // Check availability of %F - if(sprintf('%.1F',1.0)!='1.0') - $this->Error('This version of PHP is not supported'); - // Check mbstring overloading - if(ini_get('mbstring.func_overload') & 2) - $this->Error('mbstring overloading must be disabled'); - // Ensure runtime magic quotes are disabled - if(get_magic_quotes_runtime()) - @set_magic_quotes_runtime(0); -} - -function _checkoutput() -{ - if(PHP_SAPI!='cli') - { - if(headers_sent($file,$line)) - $this->Error("Some data has already been output, can't send PDF file (output started at $file:$line)"); - } - if(ob_get_length()) - { - // The output buffer is not empty - if(preg_match('/^(\xEF\xBB\xBF)?\s*$/',ob_get_contents())) - { - // It contains only a UTF-8 BOM and/or whitespace, let's clean it - ob_clean(); - } - else - $this->Error("Some data has already been output, can't send PDF file"); - } -} - -function _getpagesize($size) -{ - if(is_string($size)) - { - $size = strtolower($size); - if(!isset($this->StdPageSizes[$size])) - $this->Error('Unknown page size: '.$size); - $a = $this->StdPageSizes[$size]; - return array($a[0]/$this->k, $a[1]/$this->k); - } - else - { - if($size[0]>$size[1]) - return array($size[1], $size[0]); - else - return $size; - } -} - -function _beginpage($orientation, $size) -{ - $this->page++; - $this->pages[$this->page] = ''; - $this->state = 2; - $this->x = $this->lMargin; - $this->y = $this->tMargin; - $this->FontFamily = ''; - // Check page size and orientation - if($orientation=='') - $orientation = $this->DefOrientation; - else - $orientation = strtoupper($orientation[0]); - if($size=='') - $size = $this->DefPageSize; - else - $size = $this->_getpagesize($size); - if($orientation!=$this->CurOrientation || $size[0]!=$this->CurPageSize[0] || $size[1]!=$this->CurPageSize[1]) - { - // New size or orientation - if($orientation=='P') - { - $this->w = $size[0]; - $this->h = $size[1]; - } - else - { - $this->w = $size[1]; - $this->h = $size[0]; - } - $this->wPt = $this->w*$this->k; - $this->hPt = $this->h*$this->k; - $this->PageBreakTrigger = $this->h-$this->bMargin; - $this->CurOrientation = $orientation; - $this->CurPageSize = $size; - } - if($orientation!=$this->DefOrientation || $size[0]!=$this->DefPageSize[0] || $size[1]!=$this->DefPageSize[1]) - $this->PageSizes[$this->page] = array($this->wPt, $this->hPt); -} - -function _endpage() -{ - $this->state = 1; -} - -function _loadfont($font) -{ - // Load a font definition file from the font directory - include($this->fontpath.$font); - $a = get_defined_vars(); - if(!isset($a['name'])) - $this->Error('Could not include font definition file'); - return $a; -} - -function _escape($s) -{ - // Escape special characters in strings - $s = str_replace('\\','\\\\',$s); - $s = str_replace('(','\\(',$s); - $s = str_replace(')','\\)',$s); - $s = str_replace("\r",'\\r',$s); - return $s; -} - -function _textstring($s) -{ - // Format a text string - return '('.$this->_escape($s).')'; -} - -function _UTF8toUTF16($s) -{ - // Convert UTF-8 to UTF-16BE with BOM - $res = "\xFE\xFF"; - $nb = strlen($s); - $i = 0; - while($i<$nb) - { - $c1 = ord($s[$i++]); - if($c1>=224) - { - // 3-byte character - $c2 = ord($s[$i++]); - $c3 = ord($s[$i++]); - $res .= chr((($c1 & 0x0F)<<4) + (($c2 & 0x3C)>>2)); - $res .= chr((($c2 & 0x03)<<6) + ($c3 & 0x3F)); - } - elseif($c1>=192) - { - // 2-byte character - $c2 = ord($s[$i++]); - $res .= chr(($c1 & 0x1C)>>2); - $res .= chr((($c1 & 0x03)<<6) + ($c2 & 0x3F)); - } - else - { - // Single-byte character - $res .= "\0".chr($c1); - } - } - return $res; -} - -function _dounderline($x, $y, $txt) -{ - // Underline text - $up = $this->CurrentFont['up']; - $ut = $this->CurrentFont['ut']; - $w = $this->GetStringWidth($txt)+$this->ws*substr_count($txt,' '); - return sprintf('%.2F %.2F %.2F %.2F re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); -} - -function _parsejpg($file) -{ - // Extract info from a JPEG file - $a = getimagesize($file); - if(!$a) - $this->Error('Missing or incorrect image file: '.$file); - if($a[2]!=2) - $this->Error('Not a JPEG file: '.$file); - if(!isset($a['channels']) || $a['channels']==3) - $colspace = 'DeviceRGB'; - elseif($a['channels']==4) - $colspace = 'DeviceCMYK'; - else - $colspace = 'DeviceGray'; - $bpc = isset($a['bits']) ? $a['bits'] : 8; - $data = file_get_contents($file); - return array('w'=>$a[0], 'h'=>$a[1], 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'DCTDecode', 'data'=>$data); -} - -function _parsepng($file) -{ - // Extract info from a PNG file - $f = fopen($file,'rb'); - if(!$f) - $this->Error('Can\'t open image file: '.$file); - $info = $this->_parsepngstream($f,$file); - fclose($f); - return $info; -} - -function _parsepngstream($f, $file) -{ - // Check signature - if($this->_readstream($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10)) - $this->Error('Not a PNG file: '.$file); - - // Read header chunk - $this->_readstream($f,4); - if($this->_readstream($f,4)!='IHDR') - $this->Error('Incorrect PNG file: '.$file); - $w = $this->_readint($f); - $h = $this->_readint($f); - $bpc = ord($this->_readstream($f,1)); - if($bpc>8) - $this->Error('16-bit depth not supported: '.$file); - $ct = ord($this->_readstream($f,1)); - if($ct==0 || $ct==4) - $colspace = 'DeviceGray'; - elseif($ct==2 || $ct==6) - $colspace = 'DeviceRGB'; - elseif($ct==3) - $colspace = 'Indexed'; - else - $this->Error('Unknown color type: '.$file); - if(ord($this->_readstream($f,1))!=0) - $this->Error('Unknown compression method: '.$file); - if(ord($this->_readstream($f,1))!=0) - $this->Error('Unknown filter method: '.$file); - if(ord($this->_readstream($f,1))!=0) - $this->Error('Interlacing not supported: '.$file); - $this->_readstream($f,4); - $dp = '/Predictor 15 /Colors '.($colspace=='DeviceRGB' ? 3 : 1).' /BitsPerComponent '.$bpc.' /Columns '.$w; - - // Scan chunks looking for palette, transparency and image data - $pal = ''; - $trns = ''; - $data = ''; - do - { - $n = $this->_readint($f); - $type = $this->_readstream($f,4); - if($type=='PLTE') - { - // Read palette - $pal = $this->_readstream($f,$n); - $this->_readstream($f,4); - } - elseif($type=='tRNS') - { - // Read transparency info - $t = $this->_readstream($f,$n); - if($ct==0) - $trns = array(ord(substr($t,1,1))); - elseif($ct==2) - $trns = array(ord(substr($t,1,1)), ord(substr($t,3,1)), ord(substr($t,5,1))); - else - { - $pos = strpos($t,chr(0)); - if($pos!==false) - $trns = array($pos); - } - $this->_readstream($f,4); - } - elseif($type=='IDAT') - { - // Read image data block - $data .= $this->_readstream($f,$n); - $this->_readstream($f,4); - } - elseif($type=='IEND') - break; - else - $this->_readstream($f,$n+4); - } - while($n); - - if($colspace=='Indexed' && empty($pal)) - $this->Error('Missing palette in '.$file); - $info = array('w'=>$w, 'h'=>$h, 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'FlateDecode', 'dp'=>$dp, 'pal'=>$pal, 'trns'=>$trns); - if($ct>=4) - { - // Extract alpha channel - if(!function_exists('gzuncompress')) - $this->Error('Zlib not available, can\'t handle alpha channel: '.$file); - $data = gzuncompress($data); - $color = ''; - $alpha = ''; - if($ct==4) - { - // Gray image - $len = 2*$w; - for($i=0;$i<$h;$i++) - { - $pos = (1+$len)*$i; - $color .= $data[$pos]; - $alpha .= $data[$pos]; - $line = substr($data,$pos+1,$len); - $color .= preg_replace('/(.)./s','$1',$line); - $alpha .= preg_replace('/.(.)/s','$1',$line); - } - } - else - { - // RGB image - $len = 4*$w; - for($i=0;$i<$h;$i++) - { - $pos = (1+$len)*$i; - $color .= $data[$pos]; - $alpha .= $data[$pos]; - $line = substr($data,$pos+1,$len); - $color .= preg_replace('/(.{3})./s','$1',$line); - $alpha .= preg_replace('/.{3}(.)/s','$1',$line); - } - } - unset($data); - $data = gzcompress($color); - $info['smask'] = gzcompress($alpha); - if($this->PDFVersion<'1.4') - $this->PDFVersion = '1.4'; - } - $info['data'] = $data; - return $info; -} - -function _readstream($f, $n) -{ - // Read n bytes from stream - $res = ''; - while($n>0 && !feof($f)) - { - $s = fread($f,$n); - if($s===false) - $this->Error('Error while reading stream'); - $n -= strlen($s); - $res .= $s; - } - if($n>0) - $this->Error('Unexpected end of stream'); - return $res; -} - -function _readint($f) -{ - // Read a 4-byte integer from stream - $a = unpack('Ni',$this->_readstream($f,4)); - return $a['i']; -} - -function _parsegif($file) -{ - // Extract info from a GIF file (via PNG conversion) - if(!function_exists('imagepng')) - $this->Error('GD extension is required for GIF support'); - if(!function_exists('imagecreatefromgif')) - $this->Error('GD has no GIF read support'); - $im = imagecreatefromgif($file); - if(!$im) - $this->Error('Missing or incorrect image file: '.$file); - imageinterlace($im,0); - $f = @fopen('php://temp','rb+'); - if($f) - { - // Perform conversion in memory - ob_start(); - imagepng($im); - $data = ob_get_clean(); - imagedestroy($im); - fwrite($f,$data); - rewind($f); - $info = $this->_parsepngstream($f,$file); - fclose($f); - } - else - { - // Use temporary file - $tmp = tempnam('.','gif'); - if(!$tmp) - $this->Error('Unable to create a temporary file'); - if(!imagepng($im,$tmp)) - $this->Error('Error while saving to temporary file'); - imagedestroy($im); - $info = $this->_parsepng($tmp); - unlink($tmp); - } - return $info; -} - -function _newobj() -{ - // Begin a new object - $this->n++; - $this->offsets[$this->n] = strlen($this->buffer); - $this->_out($this->n.' 0 obj'); -} - -function _putstream($s) -{ - $this->_out('stream'); - $this->_out($s); - $this->_out('endstream'); -} - -function _out($s) -{ - // Add a line to the document - if($this->state==2) - $this->pages[$this->page] .= $s."\n"; - else - $this->buffer .= $s."\n"; -} - -function _putpages() -{ - $nb = $this->page; - if(!empty($this->AliasNbPages)) - { - // Replace number of pages - for($n=1;$n<=$nb;$n++) - $this->pages[$n] = str_replace($this->AliasNbPages,$nb,$this->pages[$n]); - } - if($this->DefOrientation=='P') - { - $wPt = $this->DefPageSize[0]*$this->k; - $hPt = $this->DefPageSize[1]*$this->k; - } - else - { - $wPt = $this->DefPageSize[1]*$this->k; - $hPt = $this->DefPageSize[0]*$this->k; - } - $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; - for($n=1;$n<=$nb;$n++) - { - // Page - $this->_newobj(); - $this->_out('<</Type /Page'); - $this->_out('/Parent 1 0 R'); - if(isset($this->PageSizes[$n])) - $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$this->PageSizes[$n][0],$this->PageSizes[$n][1])); - $this->_out('/Resources 2 0 R'); - if(isset($this->PageLinks[$n])) - { - // Links - $annots = '/Annots ['; - foreach($this->PageLinks[$n] as $pl) - { - $rect = sprintf('%.2F %.2F %.2F %.2F',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]); - $annots .= '<</Type /Annot /Subtype /Link /Rect ['.$rect.'] /Border [0 0 0] '; - if(is_string($pl[4])) - $annots .= '/A <</S /URI /URI '.$this->_textstring($pl[4]).'>>>>'; - else - { - $l = $this->links[$pl[4]]; - $h = isset($this->PageSizes[$l[0]]) ? $this->PageSizes[$l[0]][1] : $hPt; - $annots .= sprintf('/Dest [%d 0 R /XYZ 0 %.2F null]>>',1+2*$l[0],$h-$l[1]*$this->k); - } - } - $this->_out($annots.']'); - } - if($this->PDFVersion>'1.3') - $this->_out('/Group <</Type /Group /S /Transparency /CS /DeviceRGB>>'); - $this->_out('/Contents '.($this->n+1).' 0 R>>'); - $this->_out('endobj'); - // Page content - $p = ($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n]; - $this->_newobj(); - $this->_out('<<'.$filter.'/Length '.strlen($p).'>>'); - $this->_putstream($p); - $this->_out('endobj'); - } - // Pages root - $this->offsets[1] = strlen($this->buffer); - $this->_out('1 0 obj'); - $this->_out('<</Type /Pages'); - $kids = '/Kids ['; - for($i=0;$i<$nb;$i++) - $kids .= (3+2*$i).' 0 R '; - $this->_out($kids.']'); - $this->_out('/Count '.$nb); - $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$wPt,$hPt)); - $this->_out('>>'); - $this->_out('endobj'); -} - -function _putfonts() -{ - $nf = $this->n; - foreach($this->diffs as $diff) - { - // Encodings - $this->_newobj(); - $this->_out('<</Type /Encoding /BaseEncoding /WinAnsiEncoding /Differences ['.$diff.']>>'); - $this->_out('endobj'); - } - foreach($this->FontFiles as $file=>$info) - { - // Font file embedding - $this->_newobj(); - $this->FontFiles[$file]['n'] = $this->n; - $font = file_get_contents($this->fontpath.$file,true); - if(!$font) - $this->Error('Font file not found: '.$file); - $compressed = (substr($file,-2)=='.z'); - if(!$compressed && isset($info['length2'])) - $font = substr($font,6,$info['length1']).substr($font,6+$info['length1']+6,$info['length2']); - $this->_out('<</Length '.strlen($font)); - if($compressed) - $this->_out('/Filter /FlateDecode'); - $this->_out('/Length1 '.$info['length1']); - if(isset($info['length2'])) - $this->_out('/Length2 '.$info['length2'].' /Length3 0'); - $this->_out('>>'); - $this->_putstream($font); - $this->_out('endobj'); - } - foreach($this->fonts as $k=>$font) - { - // Font objects - $this->fonts[$k]['n'] = $this->n+1; - $type = $font['type']; - $name = $font['name']; - if($type=='Core') - { - // Core font - $this->_newobj(); - $this->_out('<</Type /Font'); - $this->_out('/BaseFont /'.$name); - $this->_out('/Subtype /Type1'); - if($name!='Symbol' && $name!='ZapfDingbats') - $this->_out('/Encoding /WinAnsiEncoding'); - $this->_out('>>'); - $this->_out('endobj'); - } - elseif($type=='Type1' || $type=='TrueType') - { - // Additional Type1 or TrueType/OpenType font - $this->_newobj(); - $this->_out('<</Type /Font'); - $this->_out('/BaseFont /'.$name); - $this->_out('/Subtype /'.$type); - $this->_out('/FirstChar 32 /LastChar 255'); - $this->_out('/Widths '.($this->n+1).' 0 R'); - $this->_out('/FontDescriptor '.($this->n+2).' 0 R'); - if(isset($font['diffn'])) - $this->_out('/Encoding '.($nf+$font['diffn']).' 0 R'); - else - $this->_out('/Encoding /WinAnsiEncoding'); - $this->_out('>>'); - $this->_out('endobj'); - // Widths - $this->_newobj(); - $cw = &$font['cw']; - $s = '['; - for($i=32;$i<=255;$i++) - $s .= $cw[chr($i)].' '; - $this->_out($s.']'); - $this->_out('endobj'); - // Descriptor - $this->_newobj(); - $s = '<</Type /FontDescriptor /FontName /'.$name; - foreach($font['desc'] as $k=>$v) - $s .= ' /'.$k.' '.$v; - if(!empty($font['file'])) - $s .= ' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$font['file']]['n'].' 0 R'; - $this->_out($s.'>>'); - $this->_out('endobj'); - } - else - { - // Allow for additional types - $mtd = '_put'.strtolower($type); - if(!method_exists($this,$mtd)) - $this->Error('Unsupported font type: '.$type); - $this->$mtd($font); - } - } -} - -function _putimages() -{ - foreach(array_keys($this->images) as $file) - { - $this->_putimage($this->images[$file]); - unset($this->images[$file]['data']); - unset($this->images[$file]['smask']); - } -} - -function _putimage(&$info) -{ - $this->_newobj(); - $info['n'] = $this->n; - $this->_out('<</Type /XObject'); - $this->_out('/Subtype /Image'); - $this->_out('/Width '.$info['w']); - $this->_out('/Height '.$info['h']); - if($info['cs']=='Indexed') - $this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]'); - else - { - $this->_out('/ColorSpace /'.$info['cs']); - if($info['cs']=='DeviceCMYK') - $this->_out('/Decode [1 0 1 0 1 0 1 0]'); - } - $this->_out('/BitsPerComponent '.$info['bpc']); - if(isset($info['f'])) - $this->_out('/Filter /'.$info['f']); - if(isset($info['dp'])) - $this->_out('/DecodeParms <<'.$info['dp'].'>>'); - if(isset($info['trns']) && is_array($info['trns'])) - { - $trns = ''; - for($i=0;$i<count($info['trns']);$i++) - $trns .= $info['trns'][$i].' '.$info['trns'][$i].' '; - $this->_out('/Mask ['.$trns.']'); - } - if(isset($info['smask'])) - $this->_out('/SMask '.($this->n+1).' 0 R'); - $this->_out('/Length '.strlen($info['data']).'>>'); - $this->_putstream($info['data']); - $this->_out('endobj'); - // Soft mask - if(isset($info['smask'])) - { - $dp = '/Predictor 15 /Colors 1 /BitsPerComponent 8 /Columns '.$info['w']; - $smask = array('w'=>$info['w'], 'h'=>$info['h'], 'cs'=>'DeviceGray', 'bpc'=>8, 'f'=>$info['f'], 'dp'=>$dp, 'data'=>$info['smask']); - $this->_putimage($smask); - } - // Palette - if($info['cs']=='Indexed') - { - $filter = ($this->compress) ? '/Filter /FlateDecode ' : ''; - $pal = ($this->compress) ? gzcompress($info['pal']) : $info['pal']; - $this->_newobj(); - $this->_out('<<'.$filter.'/Length '.strlen($pal).'>>'); - $this->_putstream($pal); - $this->_out('endobj'); - } -} - -function _putxobjectdict() -{ - foreach($this->images as $image) - $this->_out('/I'.$image['i'].' '.$image['n'].' 0 R'); -} - -function _putresourcedict() -{ - $this->_out('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); - $this->_out('/Font <<'); - foreach($this->fonts as $font) - $this->_out('/F'.$font['i'].' '.$font['n'].' 0 R'); - $this->_out('>>'); - $this->_out('/XObject <<'); - $this->_putxobjectdict(); - $this->_out('>>'); -} - -function _putresources() -{ - $this->_putfonts(); - $this->_putimages(); - // Resource dictionary - $this->offsets[2] = strlen($this->buffer); - $this->_out('2 0 obj'); - $this->_out('<<'); - $this->_putresourcedict(); - $this->_out('>>'); - $this->_out('endobj'); -} - -function _putinfo() -{ - $this->_out('/Producer '.$this->_textstring('FPDF '.FPDF_VERSION)); - if(!empty($this->title)) - $this->_out('/Title '.$this->_textstring($this->title)); - if(!empty($this->subject)) - $this->_out('/Subject '.$this->_textstring($this->subject)); - if(!empty($this->author)) - $this->_out('/Author '.$this->_textstring($this->author)); - if(!empty($this->keywords)) - $this->_out('/Keywords '.$this->_textstring($this->keywords)); - if(!empty($this->creator)) - $this->_out('/Creator '.$this->_textstring($this->creator)); - $this->_out('/CreationDate '.$this->_textstring('D:'.@date('YmdHis'))); -} - -function _putcatalog() -{ - $this->_out('/Type /Catalog'); - $this->_out('/Pages 1 0 R'); - if($this->ZoomMode=='fullpage') - $this->_out('/OpenAction [3 0 R /Fit]'); - elseif($this->ZoomMode=='fullwidth') - $this->_out('/OpenAction [3 0 R /FitH null]'); - elseif($this->ZoomMode=='real') - $this->_out('/OpenAction [3 0 R /XYZ null null 1]'); - elseif(!is_string($this->ZoomMode)) - $this->_out('/OpenAction [3 0 R /XYZ null null '.sprintf('%.2F',$this->ZoomMode/100).']'); - if($this->LayoutMode=='single') - $this->_out('/PageLayout /SinglePage'); - elseif($this->LayoutMode=='continuous') - $this->_out('/PageLayout /OneColumn'); - elseif($this->LayoutMode=='two') - $this->_out('/PageLayout /TwoColumnLeft'); -} - -function _putheader() -{ - $this->_out('%PDF-'.$this->PDFVersion); -} - -function _puttrailer() -{ - $this->_out('/Size '.($this->n+1)); - $this->_out('/Root '.$this->n.' 0 R'); - $this->_out('/Info '.($this->n-1).' 0 R'); -} - -function _enddoc() -{ - $this->_putheader(); - $this->_putpages(); - $this->_putresources(); - // Info - $this->_newobj(); - $this->_out('<<'); - $this->_putinfo(); - $this->_out('>>'); - $this->_out('endobj'); - // Catalog - $this->_newobj(); - $this->_out('<<'); - $this->_putcatalog(); - $this->_out('>>'); - $this->_out('endobj'); - // Cross-ref - $o = strlen($this->buffer); - $this->_out('xref'); - $this->_out('0 '.($this->n+1)); - $this->_out('0000000000 65535 f '); - for($i=1;$i<=$this->n;$i++) - $this->_out(sprintf('%010d 00000 n ',$this->offsets[$i])); - // Trailer - $this->_out('trailer'); - $this->_out('<<'); - $this->_puttrailer(); - $this->_out('>>'); - $this->_out('startxref'); - $this->_out($o); - $this->_out('%%EOF'); - $this->state = 3; -} -// End of class -} - -// Handle special IE contype request -if(isset($_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_USER_AGENT']=='contype') -{ - header('Content-Type: application/pdf'); - exit; -} - -?> Modified: trunk/locale/update-makefile.sh =================================================================== --- trunk/locale/update-makefile.sh 2014-10-10 16:45:38 UTC (rev 9247) +++ trunk/locale/update-makefile.sh 2014-10-10 17:02:26 UTC (rev 9248) @@ -38,8 +38,8 @@ # TODO: autogenerate .exclude list from CVS/Entries pot_file_deps () { test -f .exclude || ( echo lib/pear/ > .exclude; echo lib/WikiDB/adodb/ > .exclude; echo lib/nusoap/ > .exclude ) - (cd ..; find lib themes \( -type d -regex '\(^lib/pear\)\|\(^lib/WikiDB/adodb\)\|\(^lib/nusoap\)\|\(^lib/fpdf\)' \) -prune -o \( -type f -a -name \*.php -o -name \*.tmpl \)) | - egrep -v '(^lib/pear)|(^lib/WikiDB/adodb)|(^lib/nusoap)|(^lib/fpdf)' | + (cd ..; find lib themes \( -type d -regex '\(^lib/pear\)\|\(^lib/WikiDB/adodb\)\|\(^lib/nusoap\)' \) -prune -o \( -type f -a -name \*.php -o -name \*.tmpl \)) | + egrep -v '(^lib/pear)|(^lib/WikiDB/adodb)|(^lib/nusoap)' | grep -v -f .exclude | sed 's|^|${POT_FILE}: ../|;' | sort This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-15 17:08:58
|
Revision: 9269 http://sourceforge.net/p/phpwiki/code/9269 Author: vargenau Date: 2014-10-15 17:08:55 +0000 (Wed, 15 Oct 2014) Log Message: ----------- Revert __construct Modified Paths: -------------- trunk/lib/WikiTheme.php trunk/themes/Sidebar/themeinfo.php trunk/themes/blog/themeinfo.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2014-10-15 16:14:43 UTC (rev 9268) +++ trunk/lib/WikiTheme.php 2014-10-15 17:08:55 UTC (rev 9269) @@ -189,7 +189,7 @@ /** * noinit: Do not initialize unnecessary items in default_theme fallback twice. */ - function __construct($theme_name = 'default', $noinit = false) + function WikiTheme($theme_name = 'default', $noinit = false) { $this->_name = $theme_name; $this->_themes_dir = NormalizeLocalFileName("themes"); @@ -1690,7 +1690,7 @@ * @param string $class The CSS class for the button. * @param array $options Additional attributes for the <input> tag. */ - function __construct($text, $url, $class = '', $options = array()) + function Button($text, $url, $class = '', $options = array()) { global $request; $this->_init('a', array('href' => $url)); @@ -1723,9 +1723,9 @@ * @param $img_url string URL for button's image. * @param $img_attr array Additional attributes for the <img> tag. */ - function __construct($text, $url, $class, $img_url, $img_attr = array()) + function ImageButton($text, $url, $class, $img_url, $img_attr = array()) { - parent::__construct('a', array('href' => $url)); + $this->__construct('a', array('href' => $url)); if ($class) $this->setAttr('class', $class); // Google honors this @@ -1755,9 +1755,9 @@ * @param $class string The CSS class for the button. * @param $options array Additional attributes for the <input> tag. */ - function __construct($text, $name = '', $class = '', $options = array()) + function SubmitButton($text, $name = '', $class = '', $options = array()) { - parent::__construct('input', array('type' => 'submit', 'value' => $text)); + $this->__construct('input', array('type' => 'submit', 'value' => $text)); if ($name) $this->setAttr('name', $name); if ($class) @@ -1783,9 +1783,9 @@ * @param $img_url string URL for button's image. * @param $img_attr array Additional attributes for the <img> tag. */ - function __construct($text, $name = '', $class = '', $img_url, $img_attr = array()) + function SubmitImageButton($text, $name = '', $class = '', $img_url, $img_attr = array()) { - parent::__construct('input', array('type' => 'image', + $this->__construct('input', array('type' => 'image', 'src' => $img_url, 'alt' => $text)); if ($name) @@ -1816,7 +1816,7 @@ class SidebarBox { - function __construct($title, $body) + function SidebarBox($title, $body) { require_once 'lib/WikiPlugin.php'; $this->title = $title; @@ -1839,7 +1839,7 @@ public $_plugin, $_args = false, $_basepage = false; - function __construct($name, $args = false, $basepage = false) + function PluginSidebarBox($name, $args = false, $basepage = false) { require_once 'lib/WikiPlugin.php'; @@ -1865,7 +1865,7 @@ // Various boxes which are no plugins class RelatedLinksBox extends SidebarBox { - function __construct($title = false, $body = '', $limit = 20) + function RelatedLinksBox($title = false, $body = '', $limit = 20) { global $request; $this->title = $title ? $title : _("Related Links"); @@ -1888,7 +1888,7 @@ class RelatedExternalLinksBox extends SidebarBox { - function __construct($title = false, $body = '', $limit = 20) + function RelatedExternalLinksBox($title = false, $body = '', $limit = 20) { global $request; $this->title = $title ? $title : _("External Links"); Modified: trunk/themes/Sidebar/themeinfo.php =================================================================== --- trunk/themes/Sidebar/themeinfo.php 2014-10-15 16:14:43 UTC (rev 9268) +++ trunk/themes/Sidebar/themeinfo.php 2014-10-15 17:08:55 UTC (rev 9269) @@ -36,7 +36,7 @@ function __construct($theme_name = 'Sidebar') { - parent::__construct($theme_name); + $this->WikiTheme($theme_name); //$this->calendarInit(true); } Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2014-10-15 16:14:43 UTC (rev 9268) +++ trunk/themes/blog/themeinfo.php 2014-10-15 17:08:55 UTC (rev 9269) @@ -48,7 +48,7 @@ function __construct($theme_name = 'blog') { - parent::__construct($theme_name); + $this->WikiTheme($theme_name); $this->calendarInit(true); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-10-16 09:56:29
|
Revision: 9272 http://sourceforge.net/p/phpwiki/code/9272 Author: vargenau Date: 2014-10-16 09:56:27 +0000 (Thu, 16 Oct 2014) Log Message: ----------- Move class imageSet from themes/Hawaiian/lib/random.php to lib/stdlib.php Modified Paths: -------------- trunk/lib/stdlib.php trunk/themes/Hawaiian/lib/random.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-10-16 09:42:51 UTC (rev 9271) +++ trunk/lib/stdlib.php 2014-10-16 09:56:27 UTC (rev 9272) @@ -56,6 +56,7 @@ sort_file_mtime ($a, $b) class fileSet {fileSet($directory, $filepattern = false), getFiles($exclude='', $sortby='', $limit='') } + class imageSet extends fileSet glob_to_pcre ($glob) glob_match ($glob, $against, $case_sensitive = true) @@ -1413,6 +1414,18 @@ } } +class imageSet extends fileSet +{ + /** + * A file is considered an image when the suffix matches one from + * INLINE_IMAGES. + */ + function _filenameSelector($filename) + { + return preg_match("/(" . INLINE_IMAGES . ")$/i", $filename); + } +} + // Convert fileglob to regex style: // Convert some wildcards to pcre style, escape the rest // Escape . \\ + * ? [ ^ ] $ ( ) { } = ! < > | : / Modified: trunk/themes/Hawaiian/lib/random.php =================================================================== --- trunk/themes/Hawaiian/lib/random.php 2014-10-16 09:42:51 UTC (rev 9271) +++ trunk/themes/Hawaiian/lib/random.php 2014-10-16 09:56:27 UTC (rev 9272) @@ -31,18 +31,6 @@ } } -class imageSet extends fileSet -{ - /** - * A file is considered an image when the suffix matches one from - * $InlineImages. - */ - function _filenameSelector($filename) - { - return preg_match("/(" . INLINE_IMAGES . ")$/i", $filename); - } -} - // Local Variables: // mode: php // tab-width: 8 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-19 10:23:45
|
Revision: 9337 http://sourceforge.net/p/phpwiki/code/9337 Author: vargenau Date: 2014-11-19 10:23:36 +0000 (Wed, 19 Nov 2014) Log Message: ----------- Translate strings Modified Paths: -------------- trunk/lib/Request.php trunk/locale/de/LC_MESSAGES/phpwiki.mo trunk/locale/es/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.mo trunk/locale/it/LC_MESSAGES/phpwiki.mo trunk/locale/ja/LC_MESSAGES/phpwiki.mo trunk/locale/nl/LC_MESSAGES/phpwiki.mo trunk/locale/po/de.po trunk/locale/po/es.po trunk/locale/po/fr.po trunk/locale/po/it.po trunk/locale/po/ja.po trunk/locale/po/nl.po trunk/locale/po/phpwiki.pot trunk/locale/po/sv.po trunk/locale/po/zh.po trunk/locale/sv/LC_MESSAGES/phpwiki.mo trunk/locale/zh/LC_MESSAGES/phpwiki.mo Modified: trunk/lib/Request.php =================================================================== --- trunk/lib/Request.php 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/lib/Request.php 2014-11-19 10:23:36 UTC (rev 9337) @@ -420,7 +420,7 @@ if (ob_get_length()) ob_clean(); $this->_is_buffering_output = false; } else { - trigger_error("Not buffering output", E_USER_NOTICE); + trigger_error(_("Not buffering output"), E_USER_NOTICE); } } @@ -604,7 +604,8 @@ $vars = &$GLOBALS['HTTP_SESSION_VARS']; if (!function_usable('ini_get') or ini_get('register_globals')) unset($GLOBALS[$key]); - if (DEBUG) trigger_error("delete session $key", E_USER_WARNING); + if (DEBUG) + trigger_error("delete session $key", E_USER_WARNING); unset($vars[$key]); if (isset($_SESSION)) // php-5.2 unset($_SESSION[$key]); @@ -853,7 +854,7 @@ if ($do_sql) { global $DBParams; if (!in_array($DBParams['dbtype'], array('SQL', 'ADODB', 'PDO'))) { - trigger_error("Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or ADODB or PDO."); + trigger_error(_("Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or ADODB or PDO.")); } else { $this->logtable = (!empty($DBParams['prefix']) ? $DBParams['prefix'] : '') . "accesslog"; } Modified: trunk/locale/de/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/es/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/it/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/ja/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/nl/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/po/de.po =================================================================== --- trunk/locale/po/de.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/de.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2000-10-31 02:23+0200\n" "Last-Translator: Reini Urban <ru...@x-...>, Carsten Klapp " "<car...@us...>, Helmer Pardun <pardunpress@t-online." @@ -4512,6 +4512,9 @@ "neue Version von %s gespeichert. Bitte entscheiden Sie ob Sie die Seite noch " "von der Datenbank permanent löschen wollen." +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4531,6 +4534,11 @@ msgid "the file “%s”" msgstr "die Datei »%s«" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "URL Formfehler - Entfernen Sie alle Zeichen mit <, >, \"" Modified: trunk/locale/po/es.po =================================================================== --- trunk/locale/po/es.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/es.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2000-02-01 00:50-0500\n" "Last-Translator: Pablo Roca <pr...@cl...>\n" "Language-Team: \n" @@ -4388,6 +4388,9 @@ "from the database." msgstr "" +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "Error del upload: archivo demasiado grande" @@ -4407,6 +4410,11 @@ msgid "the file “%s”" msgstr "el archivo %s" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "" Modified: trunk/locale/po/fr.po =================================================================== --- trunk/locale/po/fr.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/fr.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2004-06-22 21:10+0200\n" "Last-Translator: Pierrick Meignen <mei...@wa...>, Roland " "Trique <rol...@fr...>, Stéphane Gourichon <stephane.gourichon@lip6." @@ -4454,6 +4454,9 @@ "enregistré une nouvelle version de %s. Veuillez vérifier que vous désirez " "toujours retirer de façon permanente cette page de la base de données." +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4473,6 +4476,11 @@ msgid "the file “%s”" msgstr "le fichier « %s »" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "Mauvaise URL -- retirez tous les <, >, \"" Modified: trunk/locale/po/it.po =================================================================== --- trunk/locale/po/it.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/it.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2005-02-12 16:23+0100\n" "Last-Translator: Antonio Bonifati ant[(at)]monitor.deis.unical.it\n" "Language-Team: \n" @@ -4353,6 +4353,9 @@ "from the database." msgstr "" +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4372,6 +4375,11 @@ msgid "the file “%s”" msgstr "" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "" Modified: trunk/locale/po/ja.po =================================================================== --- trunk/locale/po/ja.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/ja.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2003-06-07 09:01+0900\n" "Last-Translator: Tadashi Jokagi <web...@el...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -4490,6 +4490,9 @@ "from the database." msgstr "" +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4509,6 +4512,11 @@ msgid "the file “%s”" msgstr "MIMEファイル %s" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "" Modified: trunk/locale/po/nl.po =================================================================== --- trunk/locale/po/nl.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/nl.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n" "Language-Team: Dutch <nl...@li...>\n" @@ -4345,6 +4345,9 @@ "from the database." msgstr "" +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4364,6 +4367,11 @@ msgid "the file “%s”" msgstr "" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "" Modified: trunk/locale/po/phpwiki.pot =================================================================== --- trunk/locale/po/phpwiki.pot 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/phpwiki.pot 2014-11-19 10:23:36 UTC (rev 9337) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki-1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2002-12-14 17:51-0500\n" "Last-Translator: Reini Urban <ru...@us...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -4337,6 +4337,9 @@ "from the database." msgstr "" +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4356,6 +4359,11 @@ msgid "the file “%s”" msgstr "" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "" Modified: trunk/locale/po/sv.po =================================================================== --- trunk/locale/po/sv.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/sv.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2001-01-27 01:58+0200\n" "Last-Translator: Jon Åslund <jo...@he...>\n" "Language-Team: \n" @@ -4338,6 +4338,9 @@ "from the database." msgstr "" +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4357,6 +4360,11 @@ msgid "the file “%s”" msgstr "" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + msgid "Bad URL -- remove all of <, >, \"" msgstr "" Modified: trunk/locale/po/zh.po =================================================================== --- trunk/locale/po/zh.po 2014-11-19 10:16:06 UTC (rev 9336) +++ trunk/locale/po/zh.po 2014-11-19 10:23:36 UTC (rev 9337) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-18 18:29+0100\n" +"POT-Creation-Date: 2014-11-19 11:21+0100\n" "PO-Revision-Date: 2004-04-21 10:08+0800\n" "Last-Translator: DruryL <dr...@us...>\n" "Language-Team: DruryL <dr...@us...>\n" @@ -4568,6 +4568,9 @@ "從你開始刪除到現在,有人已經儲存了一份 %s 的較新版本. 請檢查以確定你仍想要從資" "料庫中永久刪除此頁面." +msgid "Not buffering output" +msgstr "" + msgid "Upload error: file too big" msgstr "" @@ -4587,6 +4590,11 @@ msgid "the file “%s”" msgstr "檔案 “%s”" +msgid "" +"Unsupported database backend for ACCESS_LOG_SQL. Need DATABASE_TYPE=SQL or " +"ADODB or PDO." +msgstr "" + #, fuzzy msgid "Bad URL -- remove all of <, >, \"" msgstr "錯誤 URL -- 移除所有的 <, >, \"" Modified: trunk/locale/sv/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/zh/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-19 14:30:54
|
Revision: 9339 http://sourceforge.net/p/phpwiki/code/9339 Author: vargenau Date: 2014-11-19 14:30:44 +0000 (Wed, 19 Nov 2014) Log Message: ----------- PhpWiki:DanFr --> Dan Frankowski Modified Paths: -------------- trunk/lib/CachedMarkup.php trunk/lib/PageList.php trunk/lib/WikiDB/backend.php trunk/pgsrc/Help%2FCategoryPagePlugin Modified: trunk/lib/CachedMarkup.php =================================================================== --- trunk/lib/CachedMarkup.php 2014-11-19 10:29:20 UTC (rev 9338) +++ trunk/lib/CachedMarkup.php 2014-11-19 14:30:44 UTC (rev 9339) @@ -802,7 +802,7 @@ } // Needed to put UserPages to backlinks. Special method to markup userpages with icons -// Thanks to PhpWiki:DanFr for finding this bug. +// Thanks to Dan Frankowski for finding this bug. // Fixed since 1.3.8, prev. versions had no userpages in backlinks class Cached_UserLink extends Cached_WikiLink { Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2014-11-19 10:29:20 UTC (rev 9338) +++ trunk/lib/PageList.php 2014-11-19 14:30:44 UTC (rev 9339) @@ -1017,7 +1017,7 @@ * 'db' : "-pagename" => "pagename DESC" * 'check' : * - * Now all columns are sortable. (patch by DanFr) + * Now all columns are sortable. (patch by Dan Frankowski) * Some columns have native DB backend methods, some not. */ function sortby($column, $action, $valid_fields = false) Modified: trunk/lib/WikiDB/backend.php =================================================================== --- trunk/lib/WikiDB/backend.php 2014-11-19 10:29:20 UTC (rev 9338) +++ trunk/lib/WikiDB/backend.php 2014-11-19 14:30:44 UTC (rev 9339) @@ -565,7 +565,7 @@ * Prefix the column with + or - like "+pagename","-mtime", ... * supported actions: 'flip_order' "mtime" => "+mtime" => "-mtime" ... * 'db' "-pagename" => "pagename DESC" - * In PageList all columns are sortable. (patch by DanFr) + * In PageList all columns are sortable. (patch by Dan Frankowski) * Here with the backend only some, the rest is delayed to PageList. * (some kind of DumbIter) * Duplicate the PageList function here to avoid loading the whole Modified: trunk/pgsrc/Help%2FCategoryPagePlugin =================================================================== --- trunk/pgsrc/Help%2FCategoryPagePlugin 2014-11-19 10:29:20 UTC (rev 9338) +++ trunk/pgsrc/Help%2FCategoryPagePlugin 2014-11-19 14:30:44 UTC (rev 9339) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:57 +0000 +Date: Wed, 19 Nov 2014 15:29:32 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FCategoryPagePlugin; @@ -59,7 +59,7 @@ <?plugin-form CategoryPage pagename=CategoryExample?> == Author == -* [[WikiLens:DanFr]] +* Dan Frankowski == See Also == * [[Help:TemplatePlugin|TemplatePlugin]] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-19 15:38:42
|
Revision: 9345 http://sourceforge.net/p/phpwiki/code/9345 Author: vargenau Date: 2014-11-19 15:38:39 +0000 (Wed, 19 Nov 2014) Log Message: ----------- PhpWiki:InterWikiMap Modified Paths: -------------- trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien trunk/pgsrc/Help%2FLinkIcons Modified: trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien =================================================================== --- trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien 2014-11-19 15:37:34 UTC (rev 9344) +++ trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien 2014-11-19 15:38:39 UTC (rev 9345) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:46 +0000 +Date: Wed, 19 Nov 2014 15:29:12 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Aide%2FIc%C3%B4nesDeLien; @@ -29,7 +29,7 @@ === Liens ~InterWiki === -* Lien ~InterWiki [[PhpWiki:InterWiki]] +* Lien ~InterWiki [[PhpWiki:InterWikiMap]] * Un ~InterWiki nommé [[Wiki:WhyWikiWorks|lire WhyWikiWorks à c2]]. === URL === Modified: trunk/pgsrc/Help%2FLinkIcons =================================================================== --- trunk/pgsrc/Help%2FLinkIcons 2014-11-19 15:37:34 UTC (rev 9344) +++ trunk/pgsrc/Help%2FLinkIcons 2014-11-19 15:38:39 UTC (rev 9345) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:57 +0000 +Date: Wed, 19 Nov 2014 15:29:32 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FLinkIcons; @@ -28,7 +28,7 @@ === ~InterWiki links === -* ~InterWiki link [[PhpWiki:InterWiki]] +* ~InterWiki link [[PhpWiki:InterWikiMap]] * A named ~InterWiki [[Wiki:WhyWikiWorks|read WhyWikiWorks at c2]]. === URLs === This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-20 11:12:44
|
Revision: 9347 http://sourceforge.net/p/phpwiki/code/9347 Author: vargenau Date: 2014-11-20 11:12:40 +0000 (Thu, 20 Nov 2014) Log Message: ----------- Update Interwiki map Modified Paths: -------------- trunk/lib/interwiki.map trunk/themes/fusionforge/interwiki.map Modified: trunk/lib/interwiki.map =================================================================== --- trunk/lib/interwiki.map 2014-11-19 15:39:29 UTC (rev 9346) +++ trunk/lib/interwiki.map 2014-11-20 11:12:40 UTC (rev 9347) @@ -88,11 +88,9 @@ PersonalTelco http://www.personaltelco.net/index.cgi/ php-function http://www.php.net/%s php-lookup http://www.php.net/manual-lookup.php?pattern= -PhpWiki http://phpwiki.sourceforge.net/phpwiki/ -PhpWikiCvs http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/pgsrc/%s?view=log -PhpWikiSvn http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/pgsrc/%s?view=log -PhpWikiDemo http://phpwiki.sourceforge.net/demo/ -PhpWikiTest http://phpwiki.sourceforge.net/test/ +PhpWiki http://phpwiki.fr/ +PhpWikiCvs https://sourceforge.net/p/phpwiki/code/HEAD/tree/trunk/ +PhpWikiSvn https://sourceforge.net/p/phpwiki/code/HEAD/tree/trunk/ Pikie http://pikie.darktech.org/cgi/pikie? PlWikiPedia http://pl.wikipedia.org/wiki/ PolitizenWiki http://www.politizen.com/wiki.asp? Modified: trunk/themes/fusionforge/interwiki.map =================================================================== --- trunk/themes/fusionforge/interwiki.map 2014-11-19 15:39:29 UTC (rev 9346) +++ trunk/themes/fusionforge/interwiki.map 2014-11-20 11:12:40 UTC (rev 9347) @@ -19,11 +19,9 @@ MoinMoin http://moinmoin.wikiwikiweb.de/ php-function http://www.php.net/%s php-lookup http://www.php.net/manual-lookup.php?pattern= -PhpWiki http://phpwiki.sourceforge.net/phpwiki/ -PhpWikiCvs http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/pgsrc/%s?view=log -PhpWikiSvn http://phpwiki.svn.sourceforge.net/viewvc/phpwiki/trunk/pgsrc/%s?view=log -PhpWikiDemo http://phpwiki.sourceforge.net/demo/ -PhpWikiTest http://phpwiki.sourceforge.net/test/ +PhpWiki http://phpwiki.fr/ +PhpWikiCvs https://sourceforge.net/p/phpwiki/code/HEAD/tree/trunk/ +PhpWikiSvn https://sourceforge.net/p/phpwiki/code/HEAD/tree/trunk/ SourceForge http://sourceforge.net/ TWiki http://twiki.org/cgi-bin/view/ UseMod http://www.usemod.com/cgi-bin/wiki.pl? This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-20 13:27:21
|
Revision: 9348 http://sourceforge.net/p/phpwiki/code/9348 Author: vargenau Date: 2014-11-20 13:27:16 +0000 (Thu, 20 Nov 2014) Log Message: ----------- Fix links to PhpWiki website Modified Paths: -------------- trunk/config/config-dist.ini trunk/lib/Request.php trunk/lib/SemanticWeb.php trunk/lib/pdf.php trunk/lib/plugin/ExternalSearch.php trunk/lib/plugin/LdapSearch.php trunk/lib/plugin/ModeratedPage.php trunk/lib/plugin/RawHtml.php trunk/lib/plugin/RssFeed.php trunk/locale/README trunk/locale/de/pgsrc/Hilfe%2FPhpWiki trunk/locale/es/pgsrc/Ayuda%2FPhpWiki trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien trunk/locale/fr/pgsrc/Aide%2FPhpWiki trunk/locale/fr/pgsrc/Aide%2FPluginRessourcesRss trunk/locale/fr/pgsrc/ModifsR%C3%A9centesPhpWiki trunk/locale/it/pgsrc/Aiuto%2FPhpWiki trunk/locale/nl/pgsrc/Help%2FPhpWiki trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FPhpWiki trunk/locale/zh/pgsrc/Help%2FLinkIcons trunk/locale/zh/pgsrc/Help%2FPhpWiki trunk/pgsrc/Help%2FLinkIcons trunk/pgsrc/Help%2FPhpWiki trunk/pgsrc/Help%2FRssFeedPlugin trunk/pgsrc/PhpWikiRecentChanges trunk/themes/blog/templates/sidebar.tmpl Modified: trunk/config/config-dist.ini =================================================================== --- trunk/config/config-dist.ini 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/config/config-dist.ini 2014-11-20 13:27:16 UTC (rev 9348) @@ -89,7 +89,7 @@ ; Needed for FacebookLike plugin ;ENABLE_OPEN_GRAPH = true -; Needs babycart installed. See http://phpwiki.fr/SpamAssassinIntegration +; Needs babycart installed. ; Optionally define BABYCART_PATH. Default: /usr/local/bin/babycart ;ENABLE_SPAMASSASSIN = true Modified: trunk/lib/Request.php =================================================================== --- trunk/lib/Request.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/Request.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -380,7 +380,6 @@ // Even if they are sending the accept-encoding gzip header! // wget is, Mozilla, and MSIE no. // Of the RSS readers only MagpieRSS 0.5.2 is. http://www.rssgov.com/rssparsers.html - // See also http://phpwiki.sourceforge.net/phpwiki/KnownBugs if ($compress and $this->getArg('format') and strstr($this->getArg('format'), 'rss') Modified: trunk/lib/SemanticWeb.php =================================================================== --- trunk/lib/SemanticWeb.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/SemanticWeb.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -72,7 +72,7 @@ ... (facts and rules described in XML) * * Links: - * http://phpwiki.fr/SemanticWeb, + * http://phpwiki.fr/Help/SemanticRelations, * http://en.wikipedia.org/wiki/Knowledge_representation * http://www.ontoweb.org/ * http://www.semwebcentral.org/ (OWL on top of FusionForge) Modified: trunk/lib/pdf.php =================================================================== --- trunk/lib/pdf.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/pdf.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -25,7 +25,6 @@ //define("USE_EXTERNAL_HTML2PDF", "htmldoc --quiet --format pdf14 --jpeg --webpage --no-toc --no-title %s"); /** * handler for format=pdf - * http://phpwiki.sourceforge.net/phpwiki/PhpWikiToDocBookAndPDF * htmldoc or ghostscript + html2ps or docbook (dbdoclet, xsltproc, fop) * http://www.easysw.com/htmldoc */ @@ -81,8 +80,7 @@ // check hook for external converters if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF - ) { // See http://phpwiki.sourceforge.net/phpwiki/PhpWikiToDocBookAndPDF - // htmldoc or ghostscript + html2ps or docbook (dbdoclet, xsltproc, fop) + ) { // htmldoc or ghostscript + html2ps or docbook (dbdoclet, xsltproc, fop) Header('Content-Type: application/pdf'); $request->discardOutput(); $request->buffer_output(false /*'nocompress'*/); Modified: trunk/lib/plugin/ExternalSearch.php =================================================================== --- trunk/lib/plugin/ExternalSearch.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/plugin/ExternalSearch.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -22,7 +22,6 @@ /** * Redirect to an external web site based on form input. - * See http://phpwiki.sourceforge.net/phpwiki/ExternalSearchPlugin * * useimage sample: ExternalSearch Modified: trunk/lib/plugin/LdapSearch.php =================================================================== --- trunk/lib/plugin/LdapSearch.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/plugin/LdapSearch.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -24,7 +24,7 @@ * WikiPlugin which searches an LDAP directory. * * Uses the config.ini constants as defaults. - * See http://phpwiki.fr/LdapSearchPlugin + * See http://phpwiki.fr/Help/LdapSearchPlugin * TODO: Return a pagelist on certain attributes * * Usage Samples: Modified: trunk/lib/plugin/ModeratedPage.php =================================================================== --- trunk/lib/plugin/ModeratedPage.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/plugin/ModeratedPage.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -29,7 +29,7 @@ * * Not yet ready! part 3/3 is missing: The moderator approve/reject methods. * - * See http://phpwiki.fr/PageModeration + * See http://phpwiki.fr/Help/ModeratedPagePlugin * Author: ReiniUrban */ Modified: trunk/lib/plugin/RawHtml.php =================================================================== --- trunk/lib/plugin/RawHtml.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/plugin/RawHtml.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -40,7 +40,6 @@ * ENABLE_RAW_HTML_SAFE: * - Allow some sort of "safe" html tags and attributes. * Unsafe attributes are automatically stripped. (Experimental!) - * See http://phpwiki.sourceforge.net/phpwiki/allowing%20safe%20HTML */ /** Modified: trunk/lib/plugin/RssFeed.php =================================================================== --- trunk/lib/plugin/RssFeed.php 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/lib/plugin/RssFeed.php 2014-11-20 13:27:16 UTC (rev 9348) @@ -121,10 +121,13 @@ { if (!$request) $request =& $GLOBALS['request']; extract($args); - if (empty($title)) $title = _("RssFeed"); - if (empty($url)) $url = 'http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss'; + if (empty($title)) + $title = _("RssFeed"); + if (empty($url)) + $url = 'http://phpwiki.fr/RecentChanges?format=rss'; $argstr = "url=$url"; - if (isset($maxitem) and is_numeric($maxitem)) $argstr .= " maxitem=$maxitem"; + if (isset($maxitem) and is_numeric($maxitem)) + $argstr .= " maxitem=$maxitem"; return $this->makeBox($title, $this->run($request->_dbi, $argstr, $request, $basepage)); } Modified: trunk/locale/README =================================================================== --- trunk/locale/README 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/README 2014-11-20 13:27:16 UTC (rev 9348) @@ -22,7 +22,7 @@ Phpwiki uses the DEFAULT_LANGUAGE internally, when no $GLOBALS['LANG'] is given. With certain starter script which set $LANG you can easily provide a multi-lingual wiki. For convenience provide some InterWikiMap entries for easier switching to the other -languages then. See http://phpwiki.fr/MultiLingualWiki +languages then. Phpwiki uses GNU gettext tools to provide and maintain multi-lingual messages for different languages. Even if you are already familiar Modified: trunk/locale/de/pgsrc/Hilfe%2FPhpWiki =================================================================== --- trunk/locale/de/pgsrc/Hilfe%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/de/pgsrc/Hilfe%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:52 +0000 +Date: Thu, 20 Nov 2014 14:24:56 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Hilfe%2FPhpWiki; @@ -9,6 +9,5 @@ Sie verwenden jetzt gerade PhpWiki. Faszinierend, oder? Besuchen Sie die Website von PhpWiki unter -http://phpwiki.sourceforge.net/ und schauen Sie PhpWiki in Aktion an -unter http://phpwiki.sourceforge.net/phpwiki/ (und natürlich auch -hier :-)). +[[http://phpwiki.sourceforge.net/]] und schauen Sie PhpWiki in Aktion an +unter [[http://phpwiki.fr]] (und natürlich auch hier :-)). Modified: trunk/locale/es/pgsrc/Ayuda%2FPhpWiki =================================================================== --- trunk/locale/es/pgsrc/Ayuda%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/es/pgsrc/Ayuda%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:51 +0000 +Date: Thu, 20 Nov 2014 14:25:01 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Ayuda%2FPhpWiki; @@ -8,6 +8,5 @@ Esta usando PhpWiki en este momento. ¿No es increible? -Visite nuestra web en http://phpwiki.sourceforge.net/ y vea PhpWiki -en acción en http://phpwiki.sourceforge.net/phpwiki/. - +Visite nuestra web en [[http://phpwiki.sourceforge.net/]] y vea PhpWiki +en acción en [[http://phpwiki.fr]]. Modified: trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien =================================================================== --- trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/fr/pgsrc/Aide%2FIc%C3%B4nesDeLien 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Wed, 19 Nov 2014 15:29:12 +0000 +Date: Thu, 20 Nov 2014 14:25:52 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Aide%2FIc%C3%B4nesDeLien; @@ -35,9 +35,9 @@ === URL === * Adresse électronique [PhpWiki-talk mailing list|mailto:php...@li...] -* Lien http normal [Page d'accueil de PhpWiki|http://phpwiki.sourceforge.net/phpwiki/] -* Lien http sécurisé [PhpWiki's Home Page|https://phpwiki.sourceforge.net/phpwiki/] -* Serveur ftp ftp://ftp.sourceforge.net/ +* Lien http normal [[http://phpwiki.fr|Page d'accueil de PhpWiki]] +* Lien https sécurisé [[https://phpwiki.fr|Page d'accueil de PhpWiki]] +* Serveur ftp [[ftp://ftp.sourceforge.net/]] //Une icône générique est affichée pour les autres liens d'un type moins commun.// * news://nntp.news.com] Modified: trunk/locale/fr/pgsrc/Aide%2FPhpWiki =================================================================== --- trunk/locale/fr/pgsrc/Aide%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/fr/pgsrc/Aide%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:46 +0000 +Date: Thu, 20 Nov 2014 14:25:52 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Aide%2FPhpWiki; @@ -9,8 +9,7 @@ Vous utilisez ~PhpWiki en ce moment même. Incroyable, n'est-ce pas ? Visitez notre page d'accueil (en anglais) sur [[http://phpwiki.sourceforge.net/]] -et voyez ~PhpWiki en action sur [[http://phpwiki.sourceforge.net/phpwiki/]] -(et bien sûr, ici aussi :-)). +et voyez ~PhpWiki en action sur [[http://phpwiki.fr]] (et bien sûr, ici aussi :-)). <noinclude> ---- Modified: trunk/locale/fr/pgsrc/Aide%2FPluginRessourcesRss =================================================================== --- trunk/locale/fr/pgsrc/Aide%2FPluginRessourcesRss 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/fr/pgsrc/Aide%2FPluginRessourcesRss 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:46 +0000 +Date: Thu, 20 Nov 2014 14:25:52 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Aide%2FPluginRessourcesRss; @@ -49,10 +49,10 @@ === Exemples -* sources ~PhpWikiRss pour PhpWiki:RecentChanges : +* sources ~PhpWikiRss {{{ - <<RssFeed feed=PhpWikiRss description="PhpWiki:RecentChanges" - url=http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss>> + <<RssFeed feed=PhpWikiRss description="PhpWiki RecentChanges" + url=http://phpwiki.fr/RecentChanges?format=rss>> }}} * [PhpWikiDemo:sidebar/] _Exemple barre verticale_ Modified: trunk/locale/fr/pgsrc/ModifsR%C3%A9centesPhpWiki =================================================================== --- trunk/locale/fr/pgsrc/ModifsR%C3%A9centesPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/fr/pgsrc/ModifsR%C3%A9centesPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:46 +0000 +Date: Thu, 20 Nov 2014 14:25:52 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=ModifsR%C3%A9centesPhpWiki; @@ -6,5 +6,5 @@ charset=UTF-8 Content-Transfer-Encoding: binary -<<RssFeed feed=PhpWikiRecentChanges description="PhpWiki:RecentChanges" - url=http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss>> +<<RssFeed feed=PhpWikiRecentChanges description="PhpWiki RecentChanges" + url=http://phpwiki.fr/RecentChanges?format=rss>> Modified: trunk/locale/it/pgsrc/Aiuto%2FPhpWiki =================================================================== --- trunk/locale/it/pgsrc/Aiuto%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/it/pgsrc/Aiuto%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:44 +0000 +Date: Thu, 20 Nov 2014 14:25:47 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Aiuto%2FPhpWiki; @@ -8,5 +8,5 @@ Stai usando PhpWiki in questo momento. Incredibile, vero? -Visita la nostra home page su http://phpwiki.sourceforge.net e guarda -PhpWiki in azione su http://phpwiki.sourceforge.net/phpwiki/. +Visita la nostra home page su [[http://phpwiki.sourceforge.net]] e guarda +PhpWiki in azione su [[http://phpwiki.fr]]. Modified: trunk/locale/nl/pgsrc/Help%2FPhpWiki =================================================================== --- trunk/locale/nl/pgsrc/Help%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/nl/pgsrc/Help%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:49 +0000 +Date: Thu, 20 Nov 2014 14:25:20 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWiki; @@ -8,6 +8,6 @@ Je gebruikt PhpWiki nu, op dit moment. Ongelooflijk, nietwaar? -Bezoek onze thuispagina op http://phpwiki.sourceforge.net/ en zie PhpWiki -in actie op http://phpwiki.sourceforge.net/phpwiki/. +Bezoek onze thuispagina op [[http://phpwiki.sourceforge.net/]] en zie PhpWiki +in actie op [[http://phpwiki.fr]]. Modified: trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FPhpWiki =================================================================== --- trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/sv/pgsrc/Hj%C3%A4lp%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:48 +0000 +Date: Thu, 20 Nov 2014 14:25:15 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Hj%C3%A4lp%2FPhpWiki; @@ -8,5 +8,5 @@ Du använder ~PhpWiki just nu. Otroligt eller hur? -Besök vår hemsida på http://phpwiki.sourceforge.net/ och se hur -~PhpWiki fungerar på http://phpwiki.sourceforge.net/phpwiki/. +Besök vår hemsida på [[http://phpwiki.sourceforge.net/]] och se hur +~PhpWiki fungerar på [[http://phpwiki.fr]]. Modified: trunk/locale/zh/pgsrc/Help%2FLinkIcons =================================================================== --- trunk/locale/zh/pgsrc/Help%2FLinkIcons 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/zh/pgsrc/Help%2FLinkIcons 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Wed, 19 Nov 2014 16:21:30 +0000 +Date: Thu, 20 Nov 2014 14:25:06 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FLinkIcons; @@ -33,9 +33,9 @@ ===URLs * Email address [PhpWiki-talk mailing list|mailto:php...@li...] -* Normal http link [PhpWiki's Home Page|http://phpwiki.sourceforge.net/phpwiki/] -* Secure http link [PhpWiki's Home Page|https://phpwiki.sourceforge.net/phpwiki/] -* File transfer ftp://ftp.sourceforge.net/ +* Normal http link [[http://phpwiki.fr|PhpWiki's Home Page]] +* Secure https link [[https://phpwiki.fr|PhpWiki's Home Page]] +* File transfer [[ftp://ftp.sourceforge.net/]] ''A generic icon is shown for other less common link types.'' Modified: trunk/locale/zh/pgsrc/Help%2FPhpWiki =================================================================== --- trunk/locale/zh/pgsrc/Help%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/locale/zh/pgsrc/Help%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:50 +0000 +Date: Thu, 20 Nov 2014 14:25:06 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWiki; @@ -8,8 +8,8 @@ 你現在正在使用 PhpWiki. 很難以置信,不是嗎? -參訪我們位於 http://phpwiki.sourceforge.net 的首頁並參閱這兒的 PhpWiki -http://phpwiki.sourceforge.net/phpwiki/. +參訪我們位於 [[http://phpwiki.sourceforge.net]] 的首頁並參閱這兒的 PhpWiki +[[http://phpwiki.fr]]. <noinclude> ---- Modified: trunk/pgsrc/Help%2FLinkIcons =================================================================== --- trunk/pgsrc/Help%2FLinkIcons 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/pgsrc/Help%2FLinkIcons 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Wed, 19 Nov 2014 15:29:32 +0000 +Date: Thu, 20 Nov 2014 14:24:05 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FLinkIcons; @@ -34,9 +34,9 @@ === URLs === * Email address [[mailto:php...@li...|PhpWiki-talk mailing list]] -* Normal http link [[http://phpwiki.sourceforge.net/phpwiki/|PhpWiki's Home Page]] -* Secure http link [[https://phpwiki.sourceforge.net/phpwiki/|PhpWiki's Home Page]] -* File transfer ftp://ftp.sourceforge.net/ +* Normal http link [[http://phpwiki.fr|PhpWiki's Home Page]] +* Secure http link [[https://phpwiki.fr|PhpWiki's Home Page]] +* File transfer [[ftp://ftp.sourceforge.net]] //A generic icon is shown for other less common link types.// Modified: trunk/pgsrc/Help%2FPhpWiki =================================================================== --- trunk/pgsrc/Help%2FPhpWiki 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/pgsrc/Help%2FPhpWiki 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:57 +0000 +Date: Thu, 20 Nov 2014 14:24:05 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FPhpWiki; @@ -8,9 +8,8 @@ You are using ~PhpWiki at this very moment. Incredible, ain't it? -Visit our home page at http://phpwiki.sourceforge.net/ and see ~PhpWiki -in action at http://phpwiki.sourceforge.net/phpwiki/ (and of course -here too :-)). +Visit our home page at [[http://phpwiki.fr]] and see ~PhpWiki +in action at [[http://phpwiki.fr]] (and of course here too :-)). <noinclude> ---- Modified: trunk/pgsrc/Help%2FRssFeedPlugin =================================================================== --- trunk/pgsrc/Help%2FRssFeedPlugin 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/pgsrc/Help%2FRssFeedPlugin 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:57 +0000 +Date: Thu, 20 Nov 2014 14:24:05 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=Help%2FRssFeedPlugin; @@ -48,8 +48,8 @@ === ~PhpWikiRss feed for [[PhpWiki:RecentChanges]] === {{{ -<<RssFeed feed=PhpWikiRss description="PhpWiki:RecentChanges" - url=http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss>> +<<RssFeed feed=PhpWikiRss description="PhpWiki RecentChanges" + url=http://phpwiki.fr/RecentChanges?format=rss>> }}} <noinclude> Modified: trunk/pgsrc/PhpWikiRecentChanges =================================================================== --- trunk/pgsrc/PhpWikiRecentChanges 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/pgsrc/PhpWikiRecentChanges 2014-11-20 13:27:16 UTC (rev 9348) @@ -1,4 +1,4 @@ -Date: Tue, 7 Oct 2014 19:05:57 +0000 +Date: Thu, 20 Nov 2014 14:24:05 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=PhpWikiRecentChanges; @@ -6,8 +6,8 @@ charset=UTF-8 Content-Transfer-Encoding: binary -<<RssFeed feed=PhpWikiRecentChanges description="PhpWiki:RecentChanges" - url=http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss>> +<<RssFeed feed=PhpWikiRecentChanges description="PhpWiki RecentChanges" + url=http://phpwiki.fr/RecentChanges?format=rss>> ---- [[PhpWikiDocumentation]] Modified: trunk/themes/blog/templates/sidebar.tmpl =================================================================== --- trunk/themes/blog/templates/sidebar.tmpl 2014-11-20 11:12:40 UTC (rev 9347) +++ trunk/themes/blog/templates/sidebar.tmpl 2014-11-20 13:27:16 UTC (rev 9348) @@ -33,7 +33,7 @@ printXml($box->format()); /* $box = new PluginSidebarBox("RssFeed", - array('url' => 'http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss', + array('url' => 'http://phpwiki.fr/RecentChanges?format=rss', 'title' => _("PhpWiki News"))); printXml($box->format()); */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-20 18:03:46
|
Revision: 9354 http://sourceforge.net/p/phpwiki/code/9354 Author: vargenau Date: 2014-11-20 18:03:37 +0000 (Thu, 20 Nov 2014) Log Message: ----------- Remove PLUGIN_MARKUP_MAP Modified Paths: -------------- trunk/TODO trunk/config/config-default.ini trunk/lib/IniConfig.php Modified: trunk/TODO =================================================================== --- trunk/TODO 2014-11-20 17:56:52 UTC (rev 9353) +++ trunk/TODO 2014-11-20 18:03:37 UTC (rev 9354) @@ -9,7 +9,7 @@ short-term TODO: * rename should check existing subpages and rename these also. -* Sidebar: merge AVL theme (internal MonoBook derivate with customizable +* Sidebar: merge AVL theme (internal MonoBook derivate with customizable box states) with Sidebar * clarify issues with pagenames: "," breaks PageList. Escape with "~" or "\"? or htmlencode forbidden chars. @@ -23,7 +23,6 @@ * Evaluate some xml syntax for plugins (as in MediaWiki): <IncludePages pages=<plugin-list BackLinks/> /> <BackLink include_self=false /> -4 And/or fix PLUGIN_MARKUP_MAP aliases which break the InlineParser. * Fix postgresql stored procedures. * Move serialized data from page_data / version_data to separate SQL columns. * WikiDB hooks. (?) Modified: trunk/config/config-default.ini =================================================================== --- trunk/config/config-default.ini 2014-11-20 17:56:52 UTC (rev 9353) +++ trunk/config/config-default.ini 2014-11-20 18:03:37 UTC (rev 9354) @@ -153,7 +153,6 @@ ENABLE_MARKUP_TEMPLATE = true DISABLE_MARKUP_WIKIWORD = false ENABLE_MARKUP_DIVSPAN = false -PLUGIN_MARKUP_MAP = "" ; these not: ; DBAUTH_AUTH_DSN = Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2014-11-20 17:56:52 UTC (rev 9353) +++ trunk/lib/IniConfig.php 2014-11-20 18:03:37 UTC (rev 9354) @@ -160,7 +160,7 @@ 'PLUGIN_CACHED_DATABASE', 'PLUGIN_CACHED_FILENAME_PREFIX', 'PLUGIN_CACHED_HIGHWATER', 'PLUGIN_CACHED_LOWWATER', 'PLUGIN_CACHED_MAXLIFETIME', 'PLUGIN_CACHED_MAXARGLEN', 'PLUGIN_CACHED_IMGTYPES', - 'WYSIWYG_BACKEND', 'PLUGIN_MARKUP_MAP', + 'WYSIWYG_BACKEND', // extra logic: 'SERVER_NAME', 'SERVER_PORT', 'SCRIPT_NAME', 'DATA_PATH', 'PHPWIKI_DIR', 'VIRTUAL_PATH', 'EXTERNAL_HTML2PDF_PAGELIST', 'PLUGIN_CACHED_CACHE_DIR' @@ -427,21 +427,6 @@ } } - global $PLUGIN_MARKUP_MAP; - $PLUGIN_MARKUP_MAP = array(); - if (defined('PLUGIN_MARKUP_MAP') and trim(PLUGIN_MARKUP_MAP) != "") { - $_map = preg_split('/\s+/', PLUGIN_MARKUP_MAP); - foreach ($_map as $v) { - list($xml, $plugin) = explode(':', $v); - if (!empty($xml) and !empty($plugin)) - $PLUGIN_MARKUP_MAP[$xml] = $plugin; - } - unset($_map); - unset($xml); - unset($plugin); - unset($v); - } - if (empty($rs['TEMP_DIR'])) { $rs['TEMP_DIR'] = "/tmp"; if (getenv("TEMP")) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-21 11:46:42
|
Revision: 9358 http://sourceforge.net/p/phpwiki/code/9358 Author: vargenau Date: 2014-11-21 11:46:38 +0000 (Fri, 21 Nov 2014) Log Message: ----------- Easier file upload: forbidden characters in filename are replaced by dashes (instead of rejecting upload) Modified Paths: -------------- trunk/lib/plugin/UpLoad.php trunk/lib/stdlib.php trunk/pgsrc/ReleaseNotes Modified: trunk/lib/plugin/UpLoad.php =================================================================== --- trunk/lib/plugin/UpLoad.php 2014-11-21 09:38:52 UTC (rev 9357) +++ trunk/lib/plugin/UpLoad.php 2014-11-21 11:46:38 UTC (rev 9358) @@ -1,5 +1,4 @@ <?php - /* * Copyright 2003,2004,2007 $ThePhpWikiProgrammingTeam * Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent @@ -19,18 +18,16 @@ * You should have received a copy of the GNU General Public License along * with PhpWiki; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ /** * UpLoad: Allow Administrator to upload files to a special directory, * which should preferably be added to the InterWikiMap - * Usage: <<UpLoad >> + * Usage: <<UpLoad>> * Author: NathanGass <ga...@io...> * Changes: ReiniUrban <ru...@x-...>, * qubit <rt...@da...> * Marc-Etienne Vargenau, Alcatel-Lucent - * Note: See also Jochen Kalmbach's plugin/UserFileManagement.php */ class WikiPlugin_UpLoad @@ -43,7 +40,7 @@ function getDescription() { - return _("Upload files to the local InterWiki Upload:<filename>"); + return _("Upload files to the local InterWiki [[Upload:filename]]"); } function getDefaultArguments() @@ -134,11 +131,10 @@ $userfile_name = $userfile->getName(); $userfile_name = trim(basename($userfile_name)); if (UPLOAD_USERDIR) { - $file_dir .= $request->_user->_userid; + $username = $request->_user->_userid; + $file_dir .= $username; $file_dir .= "/"; - $u_userfile = $request->_user->_userid . "/" . $userfile_name; - } else { - $u_userfile = $userfile_name; + // $userfile_name = $request->_user->_userid . "/" . $userfile_name; } $trimmed_file_dir = rtrim($file_dir, '/'); @@ -155,38 +151,58 @@ return HTML($message, $form); } - $u_userfile = preg_replace("/ /", "%20", $u_userfile); $userfile_tmpname = $userfile->getTmpName(); $err_header = HTML::div(array('class' => 'error'), HTML::p(fmt("Error uploading “%s”", $userfile_name))); if (preg_match("/(\." . join("|\.", $this->disallowed_extensions) . ")(\.|\$)/i", $userfile_name)) { $err_header->pushContent(HTML::p(fmt("Files with extension %s are not allowed.", join(", ", $this->disallowed_extensions)))); $message->pushContent($err_header); - } elseif (!DISABLE_UPLOAD_ONLY_ALLOWED_EXTENSIONS and - !preg_match("/(\." . join("|\.", $this->allowed_extensions) . ")\$/i", - $userfile_name) - ) { + return HTML($message, $form); + } + if (!DISABLE_UPLOAD_ONLY_ALLOWED_EXTENSIONS and + !preg_match("/(\." . join("|\.", $this->allowed_extensions) . ")\$/i", $userfile_name)) { $err_header->pushContent(HTML::p(fmt("Only files with the extension %s are allowed.", join(", ", $this->allowed_extensions)))); $message->pushContent($err_header); - } elseif (preg_match("/[^._a-zA-Z0-9- ]/", strip_accents($userfile_name))) { - $err_header->pushContent(HTML::p(_("Invalid filename. File names may only contain alphanumeric characters and dot, underscore, space or dash."))); + return HTML($message, $form); + } + if ($userfile->getSize() > (MAX_UPLOAD_SIZE)) { + $err_header->pushContent(HTML::p(_("Sorry but this file is too big."))); $message->pushContent($err_header); - } elseif (file_exists($file_dir . $userfile_name)) { - $err_header->pushContent(HTML::p(fmt("There is already a file with name “%s” uploaded.", $userfile_name))); + return HTML($message, $form); + } + + $sanified_userfile_name = sanify_filename($userfile_name); + + if (preg_match("/[^._a-zA-Z0-9- ]/", strip_accents($sanified_userfile_name))) { + $err_header->pushContent(HTML::p(_("Invalid filename."))); $message->pushContent($err_header); - } elseif ($userfile->getSize() > (MAX_UPLOAD_SIZE)) { - $err_header->pushContent(HTML::p(_("Sorry but this file is too big."))); + return HTML($message, $form); + } + + if (file_exists($file_dir . $sanified_userfile_name)) { + $err_header->pushContent(HTML::p(fmt("There is already a file with name “%s” uploaded.", $sanified_userfile_name))); $message->pushContent($err_header); - } elseif (move_uploaded_file($userfile_tmpname, $file_dir . $userfile_name) or - (IsWindows() and rename($userfile_tmpname, $file_dir . $userfile_name)) - ) { + return HTML($message, $form); + } + if (move_uploaded_file($userfile_tmpname, $file_dir . $sanified_userfile_name) or + (IsWindows() and rename($userfile_tmpname, $file_dir . $sanified_userfile_name))) { $interwiki = new PageType_interwikimap(); - $link = $interwiki->link("Upload:$u_userfile"); - $message->pushContent(HTML::div(array('class' => 'feedback'), - HTML::p(_("File successfully uploaded.")), - HTML::p($link))); - + if (UPLOAD_USERDIR) { + $link = $interwiki->link("[[Upload:$username/$sanified_userfile_name]]"); + } else { + $link = $interwiki->link("[[Upload:$sanified_userfile_name]]"); + } + if ($sanified_userfile_name != $userfile_name) { + $message->pushContent(HTML::div(array('class' => 'feedback'), + HTML::p(_("File successfully uploaded.")), + HTML::p($link), + HTML::p("Note: some forbidded characters in filename have been replaced by dash."))); + } else { + $message->pushContent(HTML::div(array('class' => 'feedback'), + HTML::p(_("File successfully uploaded.")), + HTML::p($link))); + } // the upload was a success and we need to mark this event in the "upload log" if ($logfile) { $upload_log = $file_dir . basename($logfile); @@ -199,9 +215,18 @@ $current = $pagehandle->getCurrentRevision(); $version = $current->getVersion(); $text = $current->getPackedContent(); - $newtext = $text . "\n* Upload:$u_userfile"; // don't inline images + // don't inline images + if (UPLOAD_USERDIR) { + $newtext = $text . "\n* [[Upload:$username/$sanified_userfile_name]]"; + } else { + $newtext = $text . "\n* [[Upload:$sanified_userfile_name]]"; + } $meta = $current->_data; - $meta['summary'] = sprintf(_("uploaded %s"), $u_userfile); + if (UPLOAD_USERDIR) { + $meta['summary'] = sprintf(_("uploaded %s"), $username.'/'.$sanified_userfile_name); + } else { + $meta['summary'] = sprintf(_("uploaded %s"), $sanified_userfile_name); + } $pagehandle->save($newtext, $version + 1, $meta); } } Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-11-21 09:38:52 UTC (rev 9357) +++ trunk/lib/stdlib.php 2014-11-21 11:46:38 UTC (rev 9358) @@ -2110,6 +2110,14 @@ return utf8_encode($res); } +/** + * Sanify filename: replace all disallowed characters with dashes + */ +function sanify_filename($filename) +{ + return mb_ereg_replace('[^\w\. \-]', '-', $filename); +} + // Local Variables: // mode: php // tab-width: 8 Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2014-11-21 09:38:52 UTC (rev 9357) +++ trunk/pgsrc/ReleaseNotes 2014-11-21 11:46:38 UTC (rev 9358) @@ -1,4 +1,4 @@ -Date: Wed, 19 Nov 2014 11:28:40 +0000 +Date: Fri, 21 Nov 2014 12:46:01 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -10,7 +10,7 @@ == 1.5.3 2014-11-XX Marc-Etienne Vargenau == -* easiest file upload: forbidden characters in filename are replaced by dashes (instead of rejecting upload) +* easier file upload: forbidden characters in filename are replaced by dashes (instead of rejecting upload) * improve handling of image insertion icon in edit toolbar (icon did not always appear after image uploading) * bigger wikipaging font * remove FPDF, lib/gif.php, lib/font (was not used) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-21 16:51:12
|
Revision: 9362 http://sourceforge.net/p/phpwiki/code/9362 Author: vargenau Date: 2014-11-21 16:51:08 +0000 (Fri, 21 Nov 2014) Log Message: ----------- SUBPAGE_SEPARATOR *must* be "/" Modified Paths: -------------- trunk/config/config-default.ini trunk/config/config-dist.ini trunk/configurator.php trunk/lib/IniConfig.php trunk/lib/InlineParser.php trunk/lib/PageType.php trunk/lib/WikiTheme.php trunk/lib/WikiUser/HttpAuth.php trunk/lib/WikiUser/HttpAuthUpper.php trunk/lib/display.php trunk/lib/plugin/BlogArchives.php trunk/lib/plugin/BlogJournal.php trunk/lib/plugin/Calendar.php trunk/lib/plugin/CalendarList.php trunk/lib/plugin/CreatePage.php trunk/lib/plugin/GraphViz.php trunk/lib/plugin/ListSubpages.php trunk/lib/plugin/TranslateText.php trunk/lib/plugin/UnfoldSubpages.php trunk/lib/plugin/VisualWiki.php trunk/lib/plugin/WikiBlog.php trunk/lib/stdlib.php trunk/tests/unit/lib/TextSearchTest.php trunk/themes/Crao/templates/head.tmpl trunk/themes/Crao/templates/navbar.tmpl trunk/themes/MonoBook/templates/actionbar.tmpl trunk/themes/Sidebar/templates/calendar.tmpl trunk/themes/Wordpress/templates/actionbar.tmpl trunk/themes/blog/templates/sidebar.tmpl trunk/themes/default/templates/head.tmpl trunk/themes/default/templates/homepage.tmpl trunk/themes/default/templates/navbar.tmpl trunk/themes/fusionforge/templates/actionbar.tmpl trunk/themes/wikilens/templates/head.tmpl trunk/themes/wikilens/templates/navbar.tmpl Modified: trunk/config/config-default.ini =================================================================== --- trunk/config/config-default.ini 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/config/config-default.ini 2014-11-21 16:51:08 UTC (rev 9362) @@ -135,7 +135,6 @@ ALLOWED_PROTOCOLS = "http|https|mailto|ftp|news|nntp|ssh|gopher" INLINE_IMAGES = "png|jpg|jpeg|gif|swf" WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:][:digit:]]+){2,}(?![[:alnum:]])" -SUBPAGE_SEPARATOR = "/" INTERWIKI_MAP_FILE = lib/interwiki.map WARN_NONPUBLIC_INTERWIKIMAP = false KEYWORDS = "Category* OR Topic*" Modified: trunk/config/config-dist.ini =================================================================== --- trunk/config/config-dist.ini 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/config/config-dist.ini 2014-11-21 16:51:08 UTC (rev 9362) @@ -959,9 +959,6 @@ ; Default old behaviour, no digits as lowerchars. ;WIKI_NAME_REGEXP = "(?<![[:alnum:]])(?:[[:upper:]][[:lower:]]+){2,}(?![[:alnum:]])" -; Defaults to '/', but '.' was also used. -;SUBPAGE_SEPARATOR = / - ; InterWiki linking -- wiki-style links to other wikis on the web ; ; The map will be taken from a page name InterWikiMap. Modified: trunk/configurator.php =================================================================== --- trunk/configurator.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/configurator.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -1343,12 +1343,6 @@ Perl regexp for WikiNames (\"bumpy words\") (?<!..) & (?!...) used instead of '\b' because \b matches '_' as well"); -$properties["Subpage Separator"] = - new _define_optional('SUBPAGE_SEPARATOR', '"/"', " -One character which separates pages from subpages. Defaults to '/', but '.' or ':' were also used.", - "onchange=\"validate_ereg('Sorry, \'%s\' must be a single character. Currently only :, / or .', '^[/:.]$', 'SUBPAGE_SEPARATOR', this);\"" - ); - $properties["InterWiki Map File"] = new _define('INTERWIKI_MAP_FILE', 'lib/interwiki.map', " InterWiki linking -- wiki-style links to other wikis on the web Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/IniConfig.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -150,7 +150,7 @@ 'GROUP_METHOD', 'EDITING_POLICY', 'THEME', 'WIKI_PGSRC', 'DEFAULT_WIKI_PGSRC', - 'ALLOWED_PROTOCOLS', 'INLINE_IMAGES', 'SUBPAGE_SEPARATOR', /*'KEYWORDS',*/ + 'ALLOWED_PROTOCOLS', 'INLINE_IMAGES', /*'KEYWORDS',*/ // extra logic: //'DATABASE_PREFIX', 'DATABASE_DSN', 'DATABASE_TYPE', 'DATABASE_DBHANDLER', 'DATABASE_OPTIMISE_FREQUENCY', Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/InlineParser.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -350,14 +350,9 @@ /* Relatives links by Joel Schaubert. * Recognize [../bla] or [/bla] as relative links, without needing http:// - * but [ /link ] only if SUBPAGE_SEPERATOR is not "/". * Normally /Page links to the subpage /Page. */ - if (SUBPAGE_SEPARATOR == '/') { - if (preg_match('/^\.\.\//', $link)) { - return new Cached_ExternalLink($link, $label); - } - } elseif (preg_match('/^(\.\.\/|\/)/', $link)) { + if (preg_match('/^\.\.\//', $link)) { return new Cached_ExternalLink($link, $label); } Modified: trunk/lib/PageType.php =================================================================== --- trunk/lib/PageType.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/PageType.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -286,10 +286,10 @@ if (empty($map["Talk"])) { $pagename = $GLOBALS['request']->getArg('pagename'); // against PageName/Discussion/Discussion - if (string_ends_with($pagename, SUBPAGE_SEPARATOR . _("Discussion"))) + if (string_ends_with($pagename, '/' . _("Discussion"))) $map["Talk"] = "%s"; else - $map["Talk"] = "%s" . SUBPAGE_SEPARATOR . _("Discussion"); + $map["Talk"] = "%s" . '/' . _("Discussion"); } foreach (array('Upload', 'User', 'Talk') as $special) { Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/WikiTheme.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -103,21 +103,21 @@ // Todo: test external ImageLinks http://some/images/next.gif if (is_a($wikipage, 'WikiPageName') and !$label and - strchr(substr($wikipage->shortName, 1), SUBPAGE_SEPARATOR) + strchr(substr($wikipage->shortName, 1), '/') ) { - $parts = explode(SUBPAGE_SEPARATOR, $wikipage->shortName); + $parts = explode('/', $wikipage->shortName); $last_part = array_pop($parts); $sep = ''; $link = HTML::span(); foreach ($parts as $part) { $path[] = $part; - $parent = join(SUBPAGE_SEPARATOR, $path); + $parent = join('/', $path); if ($WikiTheme->_autosplitWikiWords) $part = " " . $part; if ($part) $link->pushContent($WikiTheme->linkExistingWikiWord($parent, $sep . $part)); $sep = $WikiTheme->_autosplitWikiWords - ? ' ' . SUBPAGE_SEPARATOR : SUBPAGE_SEPARATOR; + ? ' ' . '/' : '/'; } if ($exists) $link->pushContent($WikiTheme->linkExistingWikiWord($wikipage, $sep . $last_part, @@ -1549,7 +1549,7 @@ function calendarLink($date = false) { - return $this->calendarBase() . SUBPAGE_SEPARATOR . + return $this->calendarBase() . '/' . strftime("%Y-%m-%d", $date ? $date : time()); } @@ -1560,10 +1560,10 @@ if (!$UserCalPageTitle) $UserCalPageTitle = $request->_user->getId() . - SUBPAGE_SEPARATOR . _("Calendar"); + '/' . _("Calendar"); if (!$UserCalPageTitle) $UserCalPageTitle = (BLOG_EMPTY_DEFAULT_PREFIX ? '' - : ($request->_user->getId() . SUBPAGE_SEPARATOR)) . "Blog"; + : ($request->_user->getId() . '/')) . "Blog"; return $UserCalPageTitle; } @@ -1590,7 +1590,7 @@ // Get existing date entries for the current user require_once 'lib/TextSearchQuery.php'; - $iter = $dbi->titleSearch(new TextSearchQuery("^" . $this->calendarBase() . SUBPAGE_SEPARATOR, true, "auto")); + $iter = $dbi->titleSearch(new TextSearchQuery("^" . $this->calendarBase() . '/', true, "auto")); $existing = array(); while ($page = $iter->next()) { if ($page->exists()) Modified: trunk/lib/WikiUser/HttpAuth.php =================================================================== --- trunk/lib/WikiUser/HttpAuth.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/WikiUser/HttpAuth.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -118,8 +118,8 @@ ) { // allow domain\user, change userid to domain/user $username = str_ireplace("\\\\", "\\", $username); // php bug with _SERVER - $username = str_ireplace("\\", SUBPAGE_SEPARATOR, $username); - $this->_userid = str_ireplace("\\", SUBPAGE_SEPARATOR, $this->_userid); + $username = str_ireplace("\\", '/', $username); + $this->_userid = str_ireplace("\\", '/', $this->_userid); } // FIXME: if AUTH_TYPE = NTLM there's a domain\\name <> domain\name mismatch if (empty($username) Modified: trunk/lib/WikiUser/HttpAuthUpper.php =================================================================== --- trunk/lib/WikiUser/HttpAuthUpper.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/WikiUser/HttpAuthUpper.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -132,8 +132,8 @@ ) { // allow domain\user, change userid to domain/user $username = str_ireplace("\\\\", "\\", $username); // php bug with _SERVER - $username = str_ireplace("\\", SUBPAGE_SEPARATOR, $username); - $this->_userid = str_ireplace("\\", SUBPAGE_SEPARATOR, $this->_userid); + $username = str_ireplace("\\", '/', $username); + $this->_userid = str_ireplace("\\", '/', $this->_userid); } // FIXME: if AUTH_TYPE = NTLM there's a domain\\name <> domain\name mismatch if (empty($username) Modified: trunk/lib/display.php =================================================================== --- trunk/lib/display.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/display.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -265,19 +265,19 @@ } if (isSubPage($pagename)) { - $pages = explode(SUBPAGE_SEPARATOR, $pagename); + $pages = explode('/', $pagename); $last_page = array_pop($pages); // deletes last element from array as side-effect $pageheader = HTML::span(HTML::a(array('href' => WikiURL($pages[0]), 'class' => 'pagetitle' ), - $WikiTheme->maybeSplitWikiWord($pages[0] . SUBPAGE_SEPARATOR))); - $first_pages = $pages[0] . SUBPAGE_SEPARATOR; + $WikiTheme->maybeSplitWikiWord($pages[0] . '/'))); + $first_pages = $pages[0] . '/'; array_shift($pages); foreach ($pages as $p) { $pageheader->pushContent(HTML::a(array('href' => WikiURL($first_pages . $p), 'class' => 'backlinks'), - $WikiTheme->maybeSplitWikiWord($p . SUBPAGE_SEPARATOR))); - $first_pages .= $p . SUBPAGE_SEPARATOR; + $WikiTheme->maybeSplitWikiWord($p . '/'))); + $first_pages .= $p . '/'; } $backlink = HTML::a(array('href' => WikiURL($pagename, array('action' => __("BackLinks"))), Modified: trunk/lib/plugin/BlogArchives.php =================================================================== --- trunk/lib/plugin/BlogArchives.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/BlogArchives.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -82,7 +82,7 @@ else $args['user'] = ADMIN_USER; // "Admin/Blogs/day" pages } - $parent = (empty($args['user']) ? '' : $args['user'] . SUBPAGE_SEPARATOR); + $parent = (empty($args['user']) ? '' : $args['user'] . '/'); //$info = explode(',', $args['info']); //$pagelist = new PageList($args['info'], $args['exclude'], $args); @@ -90,7 +90,7 @@ // unset($pagelist->_columns['pagename']); if (!empty($args['month'])) { - $prefix = $parent . $this->blogPrefix('wikiblog') . SUBPAGE_SEPARATOR . $args['month']; + $prefix = $parent . $this->blogPrefix('wikiblog') . '/' . $args['month']; $pages = $dbi->titleSearch(new TextSearchQuery("^" . $prefix, true, 'posix')); $html = HTML::ul(); while ($page = $pages->next()) { Modified: trunk/lib/plugin/BlogJournal.php =================================================================== --- trunk/lib/plugin/BlogJournal.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/BlogJournal.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -79,12 +79,12 @@ $args['user'] = ADMIN_USER; // "Admin/Blogs/day" pages } } - $parent = (empty($args['user']) ? '' : $args['user'] . SUBPAGE_SEPARATOR); + $parent = (empty($args['user']) ? '' : $args['user'] . '/'); $prefix = $base = $parent . $this->blogPrefix('wikiblog'); if ($args['month']) - $prefix .= (SUBPAGE_SEPARATOR . $args['month']); - $pages = $dbi->titleSearch(new TextSearchQuery("^" . $prefix . SUBPAGE_SEPARATOR, true, 'posix')); + $prefix .= ('/' . $args['month']); + $pages = $dbi->titleSearch(new TextSearchQuery("^" . $prefix . '/', true, 'posix')); $html = HTML(); $i = 0; while (($page = $pages->next()) and $i < $args['count']) { Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/Calendar.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -46,7 +46,7 @@ function getDefaultArguments() { - return array('prefix' => '[pagename]' . SUBPAGE_SEPARATOR, + return array('prefix' => '[pagename]' . '/', 'date_format' => '%Y-%m-%d', 'year' => '', 'month' => '', Modified: trunk/lib/plugin/CalendarList.php =================================================================== --- trunk/lib/plugin/CalendarList.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/CalendarList.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -106,7 +106,7 @@ for ($i = 0; $i <= 180; $i++) { // loop thru 180 days, past or future $date_string = strftime($args['date_format'], $t); - $page_for_date = $args['prefix'] . SUBPAGE_SEPARATOR . $date_string; + $page_for_date = $args['prefix'] . '/' . $date_string; if ($dbi->isWikiPage($page_for_date)) { // if this date has any comments/events $timeTMP = $t; // capture the date of this event for return if ($n-- <= 0) break; // if we reached the limit, return the date @@ -123,7 +123,7 @@ $args = &$this->args; $date_string = strftime($args['date_format'], $time); - $page_for_date = $args['prefix'] . SUBPAGE_SEPARATOR . $date_string; + $page_for_date = $args['prefix'] . '/' . $date_string; if ($dbi->isWikiPage($page_for_date)) { // Extract the page contents for this date Modified: trunk/lib/plugin/CreatePage.php =================================================================== --- trunk/lib/plugin/CreatePage.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/CreatePage.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -71,7 +71,7 @@ if (!$s) { return $this->error(_("Cannot create page with empty name!")); } - // TODO: javascript warning if "/" or SUBPAGE_SEPARATOR in s + // TODO: javascript warning if "/" in s if ($verify) { $head = _("CreatePage failed"); if ($dbi->isWikiPage($verify)) { Modified: trunk/lib/plugin/GraphViz.php =================================================================== --- trunk/lib/plugin/GraphViz.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/GraphViz.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -216,7 +216,7 @@ $source = "digraph GraphViz {\n"; // } foreach ($argarray['pages'] as $name) { // support <!plugin-list !> pagelists // allow Page/SubPage - $url = str_replace(urlencode(SUBPAGE_SEPARATOR), SUBPAGE_SEPARATOR, + $url = str_replace(urlencode('/'), '/', rawurlencode($name)); $source .= " \"$name\" [URL=\"$url\"];\n"; } Modified: trunk/lib/plugin/ListSubpages.php =================================================================== --- trunk/lib/plugin/ListSubpages.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/ListSubpages.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -71,7 +71,7 @@ // FIXME: explodePageList from stdlib doesn't seem to work as // expected when there are no subpages. (see also // UnfoldSubPages plugin) - $subpages = explodePageList($pagename . SUBPAGE_SEPARATOR . '*'); + $subpages = explodePageList($pagename . '/' . '*'); if (!$subpages) { return HTML::p(array('class' => 'warning'), sprintf(_("%s has no subpages defined."), $pagename)); Modified: trunk/lib/plugin/TranslateText.php =================================================================== --- trunk/lib/plugin/TranslateText.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/TranslateText.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -82,7 +82,7 @@ //save translation in a users subpage $user = $request->getUser(); $homepage = $user->_HomePagehandle; - $transpagename = $homepage->getName() . SUBPAGE_SEPARATOR . _("ContributedTranslations"); + $transpagename = $homepage->getName() . '/' . _("ContributedTranslations"); $page = $dbi->getPage($transpagename); $current = $page->getCurrentRevision(); Modified: trunk/lib/plugin/UnfoldSubpages.php =================================================================== --- trunk/lib/plugin/UnfoldSubpages.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/UnfoldSubpages.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -82,7 +82,7 @@ $args = $this->getArgs($argstr, $request); extract($args); - $query = new TextSearchQuery($pagename . SUBPAGE_SEPARATOR . '*', true, 'glob'); + $query = new TextSearchQuery($pagename . '/' . '*', true, 'glob'); $subpages = $dbi->titleSearch($query, $sortby, $limit, $exclude); //if ($sortby) // $subpages = $subpages->applyFilters(array('sortby' => $sortby, 'limit' => $limit, 'exclude' => $exclude)); @@ -156,7 +156,7 @@ array_push($included_pages, $cpagename); if ($smalltitle) { - $pname = array_pop(explode(SUBPAGE_SEPARATOR, $cpagename)); // get last subpage name + $pname = array_pop(explode('/', $cpagename)); // get last subpage name // Use _("%s: %s") instead of .": ". for French punctuation $ct = TransformText(sprintf(_("%s: %s"), "[$pname|$cpagename]", $ct), $cpagename); Modified: trunk/lib/plugin/VisualWiki.php =================================================================== --- trunk/lib/plugin/VisualWiki.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/VisualWiki.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -449,7 +449,7 @@ $url = rawurlencode($name); // patch to allow Page/SubPage - $url = str_replace(urlencode(SUBPAGE_SEPARATOR), SUBPAGE_SEPARATOR, $url); + $url = str_replace(urlencode('/'), '/', $url); $nodename = ($label != 'name' ? $nametonumber[$name] + 1 : $name); $dot .= " \"$nodename\" [URL=\"$url\""; Modified: trunk/lib/plugin/WikiBlog.php =================================================================== --- trunk/lib/plugin/WikiBlog.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/plugin/WikiBlog.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -154,7 +154,7 @@ $prefix = ""; $parent = ''; // 'Forum'; } else { - $prefix = $parent . SUBPAGE_SEPARATOR; + $prefix = $parent . '/'; } //$request->finish(fmt("No pagename specified for %s",$type)); @@ -231,7 +231,7 @@ ); SavePage($request, $pageinfo, '', ''); } - $redirected = $prefix . $pagename . SUBPAGE_SEPARATOR . preg_replace("/T.*/", "", "$time"); + $redirected = $prefix . $pagename . '/' . preg_replace("/T.*/", "", "$time"); if (!$dbi->isWikiPage($redirected)) { if (!$parent) $parent = HOME_PAGE; require_once 'lib/loadsave.php'; @@ -243,8 +243,8 @@ SavePage($request, $pageinfo, '', ''); } - $p = $dbi->getPage($prefix . $pagename . SUBPAGE_SEPARATOR - . str_replace("T", SUBPAGE_SEPARATOR, "$time")); + $p = $dbi->getPage($prefix . $pagename . '/' + . str_replace("T", '/', "$time")); $pr = $p->getCurrentRevision(); // Version should be zero. If not, page already exists @@ -340,7 +340,7 @@ { $prefix = (empty($basepage) ? "" - : $basepage . SUBPAGE_SEPARATOR) . $this->blogPrefix($type); + : $basepage . '/') . $this->blogPrefix($type); $pages = $dbi->titleSearch(new TextSearchQuery('"' . $prefix . '"', true, 'none')); $blogs = array(); Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/lib/stdlib.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -827,7 +827,7 @@ // expand Talk or User, but not to absolute urls! if (strstr($url, '//')) { if ($moniker == 'Talk') - $name = $name . SUBPAGE_SEPARATOR . _("Discussion"); + $name = $name . '/' . _("Discussion"); } else { $name = $url; } @@ -835,7 +835,7 @@ } } // FIXME: We should really fix the cause for "/PageName" in the WikiDB - if ($name == '' or $name[0] == SUBPAGE_SEPARATOR) { + if ($name == '' or $name[0] == '/') { if ($basename) $name = $this->_pagename($basename) . $name; else { @@ -860,7 +860,7 @@ function getParent() { $name = $this->name; - if (!($tail = strrchr($name, SUBPAGE_SEPARATOR))) + if (!($tail = strrchr($name, '/'))) return false; return substr($name, 0, -strlen($tail)); } @@ -906,8 +906,8 @@ global $request; return $request->getArg('pagename'); } - assert($name[0] == SUBPAGE_SEPARATOR); - $this->_errors[] = sprintf(_("Leading %s not allowed"), SUBPAGE_SEPARATOR); + assert($name[0] == '/'); + $this->_errors[] = sprintf(_("Leading %s not allowed"), '/'); return substr($name, 1); } @@ -936,10 +936,10 @@ $pagename = trim($pagename); $orig = $pagename; - while ($pagename and $pagename[0] == SUBPAGE_SEPARATOR) + while ($pagename and $pagename[0] == '/') $pagename = substr($pagename, 1); if ($pagename != $orig) - $this->_errors[] = sprintf(_("Leading %s not allowed"), SUBPAGE_SEPARATOR); + $this->_errors[] = sprintf(_("Leading %s not allowed"), '/'); // ";" is urlencoded, so safe from php arg-delim problems /*if (strstr($pagename, ';')) { @@ -1026,7 +1026,7 @@ $RE[] = '/([[:lower:]])((?<!Mc|Di)[[:upper:]]|\d)/'; break; } - $sep = preg_quote(SUBPAGE_SEPARATOR, '/'); + $sep = preg_quote('/', '/'); // This the single-letter words 'I' and 'A' from any following // capitalized words. switch ($GLOBALS['LANG']) { @@ -1585,12 +1585,12 @@ function isSubPage($pagename) { - return (strstr($pagename, SUBPAGE_SEPARATOR)); + return (strstr($pagename, '/')); } function subPageSlice($pagename, $pos) { - $pages = explode(SUBPAGE_SEPARATOR, $pagename); + $pages = explode('/', $pagename); $pages = array_slice($pages, $pos, 1); return $pages[0]; } Modified: trunk/tests/unit/lib/TextSearchTest.php =================================================================== --- trunk/tests/unit/lib/TextSearchTest.php 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/tests/unit/lib/TextSearchTest.php 2014-11-21 16:51:08 UTC (rev 9362) @@ -9,7 +9,7 @@ global $request; // find subpages $pagename = "PgsrcTranslation"; - $query = new TextSearchQuery($pagename . SUBPAGE_SEPARATOR . '*', true, 'glob'); + $query = new TextSearchQuery($pagename . '/' . '*', true, 'glob'); $sortby = false; $limit = 20; $exclude = ""; $dbi = $request->getDbh(); $subpages = $dbi->titleSearch($query, $sortby, $limit, $exclude); Modified: trunk/themes/Crao/templates/head.tmpl =================================================================== --- trunk/themes/Crao/templates/head.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/Crao/templates/head.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -62,12 +62,12 @@ /* For signed-in users */ ?> <?php /* User's calendar page */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR ._("Calendar"); + $UserCalPageTitle = $user->getId() . '/' ._("Calendar"); $UserCalPageUrl = WikiURL($UserCalPageTitle); ?> <?php /* Today's calendar page for the user if it exists */ - $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); //FIXME + $UserCalPageTodayTitle = $UserCalPageTitle . '/' . strftime("%Y-%m-%d", time()); //FIXME $dbi = $request->getDbh(); if ($dbi->isWikiPage($UserCalPageTodayTitle)) { $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle); Modified: trunk/themes/Crao/templates/navbar.tmpl =================================================================== --- trunk/themes/Crao/templates/navbar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/Crao/templates/navbar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -23,7 +23,7 @@ <?php if (!empty($user)) { ?> <?php /* Today's calendar page for the user, if the Calender subpage is defined. */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar"); + $UserCalPageTitle = $user->getId() . '/' . _("Calendar"); $dbi = $request->getDbh(); if ($dbi->isWikiPage($UserCalPageTitle)) { $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); Modified: trunk/themes/MonoBook/templates/actionbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/actionbar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/MonoBook/templates/actionbar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -8,7 +8,7 @@ ?> <div class="portlet" id="p-cactions"> <ul> - <?php if (!string_ends_with($pagename, SUBPAGE_SEPARATOR._("Discussion"))) { ?> + <?php if (!string_ends_with($pagename, '/'._("Discussion"))) { ?> <?php $talk = new WikiPageName('Talk:'.$pagename); ?> <?php echo ActionButton(array(), $isActionPage ? _("ActionPage") : _("Article"), Modified: trunk/themes/Sidebar/templates/calendar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/calendar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/Sidebar/templates/calendar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -7,7 +7,7 @@ var d = calendar.date.getDate(); // integer, 1..31 m = m < 10 ? "0" + m : m; d = d < 10 ? "0" + d : d; - window.location = "' . WikiUrl($WikiTheme->calendarBase(),0,1) . SUBPAGE_SEPARATOR . '" + y + "-" + m + "-" + d; + window.location = "' . WikiUrl($WikiTheme->calendarBase(),0,1) . '/' . '" + y + "-" + m + "-" + d; } }; Calendar.setup({flat : "calendar", flatCallback : dateChanged, setDateStatusFunc : dateStatusFunc, weekNumbers : false})') ?> Modified: trunk/themes/Wordpress/templates/actionbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/actionbar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/Wordpress/templates/actionbar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -27,10 +27,10 @@ <?php if (!empty($user)) { ?> <?php /* Today's calendar page for the user, if the Calender subpage is defined. */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar"); + $UserCalPageTitle = $user->getId() . '/' . _("Calendar"); $dbi = $request->getDbh(); if ($dbi->isWikiPage($UserCalPageTitle)) { - $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); + $UserCalPageTodayTitle = $UserCalPageTitle . '/' . strftime("%Y-%m-%d", time()); ?> <li> <?php echo $SEP?><?php echo WikiLink($UserCalPageTodayTitle, "button", _("Today")) ?> Modified: trunk/themes/blog/templates/sidebar.tmpl =================================================================== --- trunk/themes/blog/templates/sidebar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/blog/templates/sidebar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -4,7 +4,7 @@ <div id="<?php echo $id?>"> <?php /* Today's Blogs page for the current or admin user, if the subpage is defined. */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Blog"); + $UserCalPageTitle = $user->getId() . '/' . _("Blog"); $dbi = $request->getDbh(); // display flat calender dhtml under the clock if (!$dbi->isWikiPage($UserCalPageTitle) and BLOG_DEFAULT_EMPTY_PREFIX) { Modified: trunk/themes/default/templates/head.tmpl =================================================================== --- trunk/themes/default/templates/head.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/default/templates/head.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -68,12 +68,12 @@ /* For signed-in users */ ?> <?php /* User's calendar page */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR ._("Calendar"); + $UserCalPageTitle = $user->getId() . '/' ._("Calendar"); $UserCalPageUrl = WikiURL($UserCalPageTitle); ?> <?php /* Today's calendar page for the user if it exists */ - $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); //FIXME + $UserCalPageTodayTitle = $UserCalPageTitle . '/' . strftime("%Y-%m-%d", time()); //FIXME $dbi = $request->getDbh(); if ($dbi->isWikiPage($UserCalPageTodayTitle)) { $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle); Modified: trunk/themes/default/templates/homepage.tmpl =================================================================== --- trunk/themes/default/templates/homepage.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/default/templates/homepage.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -11,7 +11,7 @@ $UserPreferencesMessage[1] = _("(Your preferences are stored as hidden data within this page.)"); -$CalendarSubpage = sprintf('[%s]', SUBPAGE_SEPARATOR . _("Calendar")); +$CalendarSubpage = sprintf('[%s]', '/' . _("Calendar")); $calendarMessage = sprintf(_("The %s subpage enables simple weblogging."), $CalendarSubpage); Modified: trunk/themes/default/templates/navbar.tmpl =================================================================== --- trunk/themes/default/templates/navbar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/default/templates/navbar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -2,7 +2,7 @@ <div id="navbuttons"> <?php if (ENABLE_DISCUSSION_LINK) { ?> <?php // This requires Talk: map to end in "/Discussion" - if (!string_ends_with($page->getName(), SUBPAGE_SEPARATOR._("Discussion"))) { ?> + if (!string_ends_with($page->getName(), '/'._("Discussion"))) { ?> <?php echo $SEP?><?php echo WikiLink(new WikiPagename('Talk:'.$page->getName(), $page->getName()), 'button', _("Discussion")) ?> <?php } else { ?> Modified: trunk/themes/fusionforge/templates/actionbar.tmpl =================================================================== --- trunk/themes/fusionforge/templates/actionbar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/fusionforge/templates/actionbar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -9,7 +9,7 @@ <nav id="actionbuttons"> <ul> - <?php if (!string_ends_with($pagename, SUBPAGE_SEPARATOR._("Discussion"))) { ?> + <?php if (!string_ends_with($pagename, '/'._("Discussion"))) { ?> <?php $talk = new WikiPageName('Talk:'.$pagename); ?> <li class="bold"> <?php echo Button(array(), $isActionPage ? _("Action Page") : _("Page"), $talk->getParent()) ?> Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/wikilens/templates/head.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -61,12 +61,12 @@ /* For signed-in users */ ?> <?php /* User's calendar page */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR ._("Calendar"); + $UserCalPageTitle = $user->getId() . '/' ._("Calendar"); $UserCalPageUrl = WikiURL($UserCalPageTitle); ?> <?php /* Today's calendar page for the user if it exists */ - $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); //FIXME + $UserCalPageTodayTitle = $UserCalPageTitle . '/' . strftime("%Y-%m-%d", time()); //FIXME $dbi = $request->getDbh(); if ($dbi->isWikiPage($UserCalPageTodayTitle)) { $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle); Modified: trunk/themes/wikilens/templates/navbar.tmpl =================================================================== --- trunk/themes/wikilens/templates/navbar.tmpl 2014-11-21 16:27:17 UTC (rev 9361) +++ trunk/themes/wikilens/templates/navbar.tmpl 2014-11-21 16:51:08 UTC (rev 9362) @@ -5,7 +5,7 @@ <div id="navbuttons"> <?php if (ENABLE_DISCUSSION_LINK) { ?> <?php // This requires Talk: map to end in "/Discussion" - if (!string_ends_with($page->getName(), SUBPAGE_SEPARATOR._("Discussion"))) { ?> + if (!string_ends_with($page->getName(), '/'._("Discussion"))) { ?> <?php echo $NSEP?><?php echo WikiLink(new WikiPagename('Talk:'.$page->getName(), $page->getName()), 'button', _("Discussion")) ?> <?php } else { ?> @@ -21,10 +21,10 @@ ?><?php echo $NSEP?><?php echo $WikiTheme->makeLinkButton($revision,_("BackLinks"),_("BackLinks")) ?><?php echo $NSEP?><?php echo WikiLink(_("UserPreferences"), 'button',_("Preferences")) ?><?php /* Today's calendar page for the user, if the Calender subpage is defined. */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar"); + $UserCalPageTitle = $user->getId() . '/' . _("Calendar"); $dbi = $request->getDbh(); if ($dbi->isWikiPage($UserCalPageTitle)) { - $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); + $UserCalPageTodayTitle = $UserCalPageTitle . '/' . strftime("%Y-%m-%d", time()); //$UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle); ?><?php echo $NSEP?><?php echo WikiLink($UserCalPageTodayTitle, "button", _("Today")) ?> <?php }} ?><?php if (!empty($user) && $user->isAdmin()) { ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-21 17:12:03
|
Revision: 9363 http://sourceforge.net/p/phpwiki/code/9363 Author: vargenau Date: 2014-11-21 17:11:59 +0000 (Fri, 21 Nov 2014) Log Message: ----------- Simpler message; update translations Modified Paths: -------------- trunk/lib/stdlib.php trunk/locale/de/LC_MESSAGES/phpwiki.mo trunk/locale/es/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.mo trunk/locale/it/LC_MESSAGES/phpwiki.mo trunk/locale/ja/LC_MESSAGES/phpwiki.mo trunk/locale/nl/LC_MESSAGES/phpwiki.mo trunk/locale/po/de.po trunk/locale/po/es.po trunk/locale/po/fr.po trunk/locale/po/it.po trunk/locale/po/ja.po trunk/locale/po/nl.po trunk/locale/po/phpwiki.pot trunk/locale/po/sv.po trunk/locale/po/zh.po trunk/locale/sv/LC_MESSAGES/phpwiki.mo trunk/locale/zh/LC_MESSAGES/phpwiki.mo Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/lib/stdlib.php 2014-11-21 17:11:59 UTC (rev 9363) @@ -907,7 +907,7 @@ return $request->getArg('pagename'); } assert($name[0] == '/'); - $this->_errors[] = sprintf(_("Leading %s not allowed"), '/'); + $this->_errors[] = _("Leading “/” not allowed"); return substr($name, 1); } @@ -939,14 +939,8 @@ while ($pagename and $pagename[0] == '/') $pagename = substr($pagename, 1); if ($pagename != $orig) - $this->_errors[] = sprintf(_("Leading %s not allowed"), '/'); + $this->_errors[] = _("Leading “/” not allowed"); - // ";" is urlencoded, so safe from php arg-delim problems - /*if (strstr($pagename, ';')) { - $this->_warnings[] = _("';' is deprecated"); - $pagename = str_replace(';', '', $pagename); - }*/ - // not only for SQL, also to restrict url length if (strlen($pagename) > MAX_PAGENAME_LENGTH) { $pagename = substr($pagename, 0, MAX_PAGENAME_LENGTH); Modified: trunk/locale/de/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/es/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/it/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/ja/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/nl/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/po/de.po =================================================================== --- trunk/locale/po/de.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/de.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2000-10-31 02:23+0200\n" "Last-Translator: Reini Urban <ru...@x-...>, Carsten Klapp " "<car...@us...>, Helmer Pardun <pardunpress@t-online." @@ -3208,7 +3208,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "Enthält den Inhalt alle UnterSeiten der aktuellen Seite." -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3251,20 +3251,16 @@ msgid "Only files with the extension %s are allowed." msgstr "Nur Dateien mit der Endung %s sind erlaubt." -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." -msgstr "" -"Dateinamen dürfen nur folgende Zeichen enthalten: alphanumerische Zeichen, " -"Punkt, Unterstrich, Leerzeichen und Bindestrich." +msgid "Sorry but this file is too big." +msgstr "Leider ist diese Datei zu groß." +msgid "Invalid filename." +msgstr "Ungültiger Dateiname." + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "Es existiert schon eine gleichnamige, hochgeladene Datei »%s«." -msgid "Sorry but this file is too big." -msgstr "Leider ist diese Datei zu groß." - msgid "File successfully uploaded." msgstr "Datei erfolgreich hochgeladen." @@ -4572,10 +4568,8 @@ msgid "“%s”: Bad page name: %s" msgstr "»%s«: Ungültiger Seitenname: %s" -# z.B. führende Leerzeichen -#, php-format -msgid "Leading %s not allowed" -msgstr "Führende %s nicht erlaubt" +msgid "Leading “/” not allowed" +msgstr "Führende »/« nicht erlaubt" msgid "White space converted to single space" msgstr "" @@ -5710,10 +5704,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" @@ -6049,6 +6041,13 @@ msgid "Edit this page" msgstr "Diese Seite bearbeiten" +#~ msgid "" +#~ "Invalid filename. File names may only contain alphanumeric characters and " +#~ "dot, underscore, space or dash." +#~ msgstr "" +#~ "Dateinamen dürfen nur folgende Zeichen enthalten: alphanumerische " +#~ "Zeichen, Punkt, Unterstrich, Leerzeichen und Bindestrich." + #~ msgid "Unable to open directory “%s” for reading" #~ msgstr "Konnte Verzeichnis »%s« nicht zum Lesen öffnen" Modified: trunk/locale/po/es.po =================================================================== --- trunk/locale/po/es.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/es.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2000-02-01 00:50-0500\n" "Last-Translator: Pablo Roca <pr...@cl...>\n" "Language-Team: \n" @@ -3117,7 +3117,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "" -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3159,18 +3159,16 @@ msgid "Only files with the extension %s are allowed." msgstr "" -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." +msgid "Sorry but this file is too big." msgstr "" +msgid "Invalid filename." +msgstr "Nombre de archivo inválido." + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "" -msgid "Sorry but this file is too big." -msgstr "" - msgid "File successfully uploaded." msgstr "" @@ -4448,8 +4446,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5564,10 +5561,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/po/fr.po =================================================================== --- trunk/locale/po/fr.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/fr.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2004-06-22 21:10+0200\n" "Last-Translator: Pierrick Meignen <mei...@wa...>, Roland " "Trique <rol...@fr...>, Stéphane Gourichon <stephane.gourichon@lip6." @@ -3156,8 +3156,8 @@ msgid "Include the content of all SubPages of the current page." msgstr "Pour inclure le contenu de toutes les sous-pages de la page actuelle." -msgid "Upload files to the local InterWiki Upload:<filename>" -msgstr "Transférer les fichiers vers Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" +msgstr "Transférer les fichiers vers [[Upload:fichier]]" msgid "You cannot upload files." msgstr "" @@ -3198,20 +3198,16 @@ msgid "Only files with the extension %s are allowed." msgstr "Seuls les fichiers avec les extensions %s sont autorisés." -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." -msgstr "" -"Nom de fichier incorrect. Les noms de fichiers sont formés de lettres, " -"chiffres, points, blancs soulignés, espaces ou tirets." +msgid "Sorry but this file is too big." +msgstr "Désolé, mais le fichier est trop gros." +msgid "Invalid filename." +msgstr "Nom de fichier incorrect." + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "Un fichier portant le nom « %s » existe déjà." -msgid "Sorry but this file is too big." -msgstr "Désolé, mais le fichier est trop gros." - msgid "File successfully uploaded." msgstr "Fichier téléchargé avec succès." @@ -4514,8 +4510,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5642,10 +5637,8 @@ msgid "Enable DoubleClick Edit" msgstr "Autoriser la modification par double clic" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" @@ -5963,6 +5956,13 @@ msgid "Edit this page" msgstr "Modifier cette page" +#~ msgid "" +#~ "Invalid filename. File names may only contain alphanumeric characters and " +#~ "dot, underscore, space or dash." +#~ msgstr "" +#~ "Nom de fichier incorrect. Les noms de fichiers sont formés de lettres, " +#~ "chiffres, points, blancs soulignés, espaces ou tirets." + #~ msgid "Unable to open directory “%s” for reading" #~ msgstr "Impossible d'ouvrir le répertoire « %s » en lecture" Modified: trunk/locale/po/it.po =================================================================== --- trunk/locale/po/it.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/it.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2005-02-12 16:23+0100\n" "Last-Translator: Antonio Bonifati ant[(at)]monitor.deis.unical.it\n" "Language-Team: \n" @@ -3090,7 +3090,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "" -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3132,18 +3132,16 @@ msgid "Only files with the extension %s are allowed." msgstr "" -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." +msgid "Sorry but this file is too big." msgstr "" +msgid "Invalid filename." +msgstr "" + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "" -msgid "Sorry but this file is too big." -msgstr "" - msgid "File successfully uploaded." msgstr "" @@ -4413,8 +4411,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5509,10 +5506,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/po/ja.po =================================================================== --- trunk/locale/po/ja.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/ja.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2003-06-07 09:01+0900\n" "Last-Translator: Tadashi Jokagi <web...@el...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -3131,7 +3131,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "" -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3173,18 +3173,17 @@ msgid "Only files with the extension %s are allowed." msgstr "" -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." +msgid "Sorry but this file is too big." msgstr "" +#, fuzzy +msgid "Invalid filename." +msgstr "インライン画像一覧" + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "" -msgid "Sorry but this file is too big." -msgstr "" - msgid "File successfully uploaded." msgstr "" @@ -4551,8 +4550,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5680,10 +5678,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/po/nl.po =================================================================== --- trunk/locale/po/nl.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/nl.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n" "Language-Team: Dutch <nl...@li...>\n" @@ -3082,7 +3082,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "" -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3124,18 +3124,16 @@ msgid "Only files with the extension %s are allowed." msgstr "" -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." +msgid "Sorry but this file is too big." msgstr "" +msgid "Invalid filename." +msgstr "" + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "" -msgid "Sorry but this file is too big." -msgstr "" - msgid "File successfully uploaded." msgstr "" @@ -4405,8 +4403,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5501,10 +5498,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/po/phpwiki.pot =================================================================== --- trunk/locale/po/phpwiki.pot 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/phpwiki.pot 2014-11-21 17:11:59 UTC (rev 9363) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki-1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2002-12-14 17:51-0500\n" "Last-Translator: Reini Urban <ru...@us...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -3074,7 +3074,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "" -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3116,18 +3116,16 @@ msgid "Only files with the extension %s are allowed." msgstr "" -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." +msgid "Sorry but this file is too big." msgstr "" +msgid "Invalid filename." +msgstr "" + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "" -msgid "Sorry but this file is too big." -msgstr "" - msgid "File successfully uploaded." msgstr "" @@ -4397,8 +4395,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5493,10 +5490,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/po/sv.po =================================================================== --- trunk/locale/po/sv.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/sv.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2001-01-27 01:58+0200\n" "Last-Translator: Jon Åslund <jo...@he...>\n" "Language-Team: \n" @@ -3075,7 +3075,7 @@ msgid "Include the content of all SubPages of the current page." msgstr "" -msgid "Upload files to the local InterWiki Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" msgstr "" msgid "You cannot upload files." @@ -3117,18 +3117,16 @@ msgid "Only files with the extension %s are allowed." msgstr "" -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." +msgid "Sorry but this file is too big." msgstr "" +msgid "Invalid filename." +msgstr "" + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "" -msgid "Sorry but this file is too big." -msgstr "" - msgid "File successfully uploaded." msgstr "" @@ -4398,8 +4396,7 @@ msgid "“%s”: Bad page name: %s" msgstr "" -#, php-format -msgid "Leading %s not allowed" +msgid "Leading “/” not allowed" msgstr "" msgid "White space converted to single space" @@ -5494,10 +5491,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/po/zh.po =================================================================== --- trunk/locale/po/zh.po 2014-11-21 16:51:08 UTC (rev 9362) +++ trunk/locale/po/zh.po 2014-11-21 17:11:59 UTC (rev 9363) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-19 11:21+0100\n" +"POT-Creation-Date: 2014-11-21 18:10+0100\n" "PO-Revision-Date: 2004-04-21 10:08+0800\n" "Last-Translator: DruryL <dr...@us...>\n" "Language-Team: DruryL <dr...@us...>\n" @@ -3206,8 +3206,8 @@ msgid "Include the content of all SubPages of the current page." msgstr "含括目前頁面所有子頁面的內容." -msgid "Upload files to the local InterWiki Upload:<filename>" -msgstr "上傳檔案到本地 InterWiki. Upload:<filename>" +msgid "Upload files to the local InterWiki [[Upload:filename]]" +msgstr "上傳檔案到本地 InterWiki. [[Upload:filename]]" #, fuzzy msgid "You cannot upload files." @@ -3249,19 +3249,18 @@ msgid "Only files with the extension %s are allowed." msgstr "副檔名 %s 不被允許." -msgid "" -"Invalid filename. File names may only contain alphanumeric characters and " -"dot, underscore, space or dash." -msgstr "" +#, fuzzy +msgid "Sorry but this file is too big." +msgstr "抱歉,因為檔案太大了." +#, fuzzy +msgid "Invalid filename." +msgstr "Inline 圖片" + #, php-format msgid "There is already a file with name “%s” uploaded." msgstr "已經有個名為 %s 的檔案存在." -#, fuzzy -msgid "Sorry but this file is too big." -msgstr "抱歉,因為檔案太大了." - msgid "File successfully uploaded." msgstr "檔案已經成功地上傳." @@ -4631,9 +4630,8 @@ msgid "“%s”: Bad page name: %s" msgstr "“%s”: 錯誤頁面名稱: %s" -#, php-format -msgid "Leading %s not allowed" -msgstr "前面的 %s 是不被允許的" +msgid "Leading “/” not allowed" +msgstr "前面的 / 是不被允許的" msgid "White space converted to single space" msgstr "空白空格轉換為單一空格" @@ -5780,10 +5778,8 @@ msgid "Enable DoubleClick Edit" msgstr "" -#, php-format msgid "" -"Enabled makes it hard to double-click words and sentences for cut and paste. " -"See %s." +"Enabled makes it hard to double-click words and sentences for cut and paste." msgstr "" msgid "Edit Area Size" Modified: trunk/locale/sv/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/zh/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-24 14:49:57
|
Revision: 9369 http://sourceforge.net/p/phpwiki/code/9369 Author: vargenau Date: 2014-11-24 14:49:45 +0000 (Mon, 24 Nov 2014) Log Message: ----------- Revert r9177: function posix_times does not exist on Windows (reported by jdebert) Revision Links: -------------- http://sourceforge.net/p/phpwiki/code/9177 Modified Paths: -------------- trunk/lib/prepend.php trunk/pgsrc/ReleaseNotes Modified: trunk/lib/prepend.php =================================================================== --- trunk/lib/prepend.php 2014-11-23 20:18:22 UTC (rev 9368) +++ trunk/lib/prepend.php 2014-11-24 14:49:45 UTC (rev 9369) @@ -69,7 +69,10 @@ function DebugTimer() { $this->_start = $this->microtime(); - $this->_times = posix_times(); + // Function 'posix_times' does not exist on Windows + if (function_exists('posix_times')) { + $this->_times = posix_times(); + } } /** @@ -96,6 +99,10 @@ function getStats() { + if (!isset($this->_times)) { + // posix_times() not available. + return sprintf("real: %.3f", $this->getTime('real')); + } $now = posix_times(); return sprintf("real: %.3f, user: %.3f, sys: %.3f", $this->getTime('real'), Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2014-11-23 20:18:22 UTC (rev 9368) +++ trunk/pgsrc/ReleaseNotes 2014-11-24 14:49:45 UTC (rev 9369) @@ -1,4 +1,4 @@ -Date: Fri, 21 Nov 2014 12:46:01 +0000 +Date: Mon, 24 Nov 2014 15:49:15 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.5.2) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -13,6 +13,7 @@ * easier file upload: forbidden characters in filename are replaced by dashes (instead of rejecting upload) * improve handling of image insertion icon in edit toolbar (icon did not always appear after image uploading) * bigger wikipaging font +* test again for function 'posix_times', it does not exist on Windows (reported by jdebert) * remove FPDF, lib/gif.php, lib/font (was not used) == 1.5.2 2014-10-10 Marc-Etienne Vargenau == This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-11-25 17:13:33
|
Revision: 9377 http://sourceforge.net/p/phpwiki/code/9377 Author: vargenau Date: 2014-11-25 17:13:29 +0000 (Tue, 25 Nov 2014) Log Message: ----------- Use smart quotes Modified Paths: -------------- trunk/lib/plugin/LinkSearch.php trunk/lib/plugin/RelatedChanges.php trunk/lib/plugin/WatchPage.php trunk/lib/stdlib.php trunk/locale/de/LC_MESSAGES/phpwiki.mo trunk/locale/es/LC_MESSAGES/phpwiki.mo trunk/locale/fr/LC_MESSAGES/phpwiki.mo trunk/locale/it/LC_MESSAGES/phpwiki.mo trunk/locale/ja/LC_MESSAGES/phpwiki.mo trunk/locale/nl/LC_MESSAGES/phpwiki.mo trunk/locale/po/de.po trunk/locale/po/es.po trunk/locale/po/fr.po trunk/locale/po/it.po trunk/locale/po/ja.po trunk/locale/po/nl.po trunk/locale/po/phpwiki.pot trunk/locale/po/sv.po trunk/locale/po/zh.po trunk/locale/sv/LC_MESSAGES/phpwiki.mo trunk/locale/zh/LC_MESSAGES/phpwiki.mo Modified: trunk/lib/plugin/LinkSearch.php =================================================================== --- trunk/lib/plugin/LinkSearch.php 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/lib/plugin/LinkSearch.php 2014-11-25 17:13:29 UTC (rev 9377) @@ -162,7 +162,7 @@ $pagelist->setCaption ( // on mozilla the form doesn't fit into the caption very well. HTML($noform ? '' : HTML($form, HTML::hr()), - fmt("LinkSearch result for \"%s\" in pages \"%s\", direction %s", $s, $page, $direction))); + fmt("LinkSearch result for “%s” in pages “%s”, direction %s", $s, $page, $direction))); } return $pagelist; } Modified: trunk/lib/plugin/RelatedChanges.php =================================================================== --- trunk/lib/plugin/RelatedChanges.php 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/lib/plugin/RelatedChanges.php 2014-11-25 17:13:29 UTC (rev 9377) @@ -35,7 +35,7 @@ function description() { return HTML::p(false, $this->pre_description(), - fmt(" (to pages linked from \"%s\")", $this->_args['page'])); + fmt(" (to pages linked from “%s”)", $this->_args['page'])); } } Modified: trunk/lib/plugin/WatchPage.php =================================================================== --- trunk/lib/plugin/WatchPage.php 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/lib/plugin/WatchPage.php 2014-11-25 17:13:29 UTC (rev 9377) @@ -80,7 +80,7 @@ if ($isNecessary) { $form->pushContent(HTML::p(_("New watchlist: "), $this->showWatchList($this->addpagelist($page, $pagelist))), - HTML::p(sprintf(_("Do you %s want to add this page \"%s\" to your WatchList?"), + HTML::p(sprintf(_("Do you %s want to add this page “%s” to your WatchList?"), ($verified ? _("really") : ""), $page)), HTML::p(Button('submit:add', _("Yes")), HTML::raw(' '), Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/lib/stdlib.php 2014-11-25 17:13:29 UTC (rev 9377) @@ -469,13 +469,13 @@ if (file_exists($file)) { $link = HTML::img(array('src' => $ori_url)); trigger_error( - sprintf(_("Invalid image link fixed %s => %s. Spaces must be quoted with %%20."), + sprintf(_("Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20."), $url, $ori_url), E_USER_WARNING); } elseif (string_starts_with($ori_url, getUploadDataPath())) { $file = substr($file, strlen(getUploadDataPath())); $path = getUploadFilePath() . $file; if (file_exists($path)) { - trigger_error(sprintf(_("Invalid image link fixed \"%s\" => \"%s\".\n Spaces must be quoted with %%20."), + trigger_error(sprintf(_("Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20."), $url, $ori_url), E_USER_WARNING); $link->setAttr('src', getUploadDataPath() . $file); $url = $ori_url; Modified: trunk/locale/de/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/es/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/fr/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/it/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/ja/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/nl/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/po/de.po =================================================================== --- trunk/locale/po/de.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/de.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2000-10-31 02:23+0200\n" "Last-Translator: Reini Urban <ru...@x-...>, Carsten Klapp " "<car...@us...>, Helmer Pardun <pardunpress@t-online." @@ -1913,7 +1913,7 @@ msgstr "Verweis" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2468,6 +2468,9 @@ msgid "%s is only allowed in locked pages." msgstr "%s wird/werden nur in gesperrten Seiten erlaubt." +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "BenutzerBewertungen" @@ -2690,8 +2693,8 @@ msgstr "Zeige Redirekt-Seite." #, php-format -msgid " (to pages linked from \"%s\")" -msgstr "(auf Seiten verlinkt von \"%s\")" +msgid " (to pages linked from “%s”)" +msgstr " (auf Seiten verlinkt von »%s«)" msgid "List of changes on all pages which are linked to from this page." msgstr "" @@ -3411,7 +3414,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4546,15 +4549,9 @@ msgstr "Ungültiger Parameter %s=%s für Bild %s" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "Ungültige Bildgröße" Modified: trunk/locale/po/es.po =================================================================== --- trunk/locale/po/es.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/es.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2000-02-01 00:50-0500\n" "Last-Translator: Pablo Roca <pr...@cl...>\n" "Language-Team: \n" @@ -1880,7 +1880,7 @@ msgstr "" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2404,6 +2404,9 @@ msgid "%s is only allowed in locked pages." msgstr "" +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "" @@ -2617,7 +2620,7 @@ msgstr "" #, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "" msgid "List of changes on all pages which are linked to from this page." @@ -3316,7 +3319,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4424,15 +4427,9 @@ msgstr "" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "" Modified: trunk/locale/po/fr.po =================================================================== --- trunk/locale/po/fr.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/fr.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2004-06-22 21:10+0200\n" "Last-Translator: Pierrick Meignen <mei...@wa...>, Roland " "Trique <rol...@fr...>, Stéphane Gourichon <stephane.gourichon@lip6." @@ -1892,7 +1892,7 @@ msgstr "Lien" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2424,6 +2424,9 @@ msgid "%s is only allowed in locked pages." msgstr "%s n'est autorisé que dans les pages verrouillées." +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "" @@ -2642,8 +2645,8 @@ msgstr "Voir la page de redirection." #, php-format -msgid " (to pages linked from \"%s\")" -msgstr " (aux pages liées à \"%s\")" +msgid " (to pages linked from “%s”)" +msgstr " (aux pages liées à « %s »)" msgid "List of changes on all pages which are linked to from this page." msgstr "" @@ -3361,7 +3364,7 @@ msgstr "Nouvelle liste de suivi : " #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "Voulez-vous %s ajouter la page « %s » à votre liste de suivi ?" msgid "really" @@ -4488,15 +4491,9 @@ msgstr "Attribut non valable %s=%s pour l'image %s" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "Taille d'image invalide" Modified: trunk/locale/po/it.po =================================================================== --- trunk/locale/po/it.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/it.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2005-02-12 16:23+0100\n" "Last-Translator: Antonio Bonifati ant[(at)]monitor.deis.unical.it\n" "Language-Team: \n" @@ -1862,7 +1862,7 @@ msgstr "" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2382,6 +2382,9 @@ msgid "%s is only allowed in locked pages." msgstr "" +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "" @@ -2590,7 +2593,7 @@ msgstr "" #, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "" msgid "List of changes on all pages which are linked to from this page." @@ -3289,7 +3292,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4389,15 +4392,9 @@ msgstr "" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "" Modified: trunk/locale/po/ja.po =================================================================== --- trunk/locale/po/ja.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/ja.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2003-06-07 09:01+0900\n" "Last-Translator: Tadashi Jokagi <web...@el...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -1883,7 +1883,7 @@ msgstr "ログイン" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2406,6 +2406,9 @@ msgid "%s is only allowed in locked pages." msgstr "" +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + #, fuzzy msgid "UserContribs" msgstr "ユーザー統計" @@ -2629,7 +2632,7 @@ msgstr "" #, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "" msgid "List of changes on all pages which are linked to from this page." @@ -3334,7 +3337,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4527,15 +4530,9 @@ msgstr "インライン画像一覧" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - #, fuzzy msgid "Invalid image size" msgstr "インライン画像一覧" Modified: trunk/locale/po/nl.po =================================================================== --- trunk/locale/po/nl.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/nl.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n" "Language-Team: Dutch <nl...@li...>\n" @@ -1853,7 +1853,7 @@ msgstr "" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2373,6 +2373,9 @@ msgid "%s is only allowed in locked pages." msgstr "" +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "" @@ -2582,7 +2585,7 @@ msgstr "" #, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "" msgid "List of changes on all pages which are linked to from this page." @@ -3281,7 +3284,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4381,15 +4384,9 @@ msgstr "" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "" Modified: trunk/locale/po/phpwiki.pot =================================================================== --- trunk/locale/po/phpwiki.pot 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/phpwiki.pot 2014-11-25 17:13:29 UTC (rev 9377) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki-1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2002-12-14 17:51-0500\n" "Last-Translator: Reini Urban <ru...@us...>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -1847,7 +1847,7 @@ msgstr "" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2367,6 +2367,9 @@ msgid "%s is only allowed in locked pages." msgstr "" +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "" @@ -2575,7 +2578,7 @@ msgstr "" #, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "" msgid "List of changes on all pages which are linked to from this page." @@ -3273,7 +3276,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4373,15 +4376,9 @@ msgstr "" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "" Modified: trunk/locale/po/sv.po =================================================================== --- trunk/locale/po/sv.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/sv.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2001-01-27 01:58+0200\n" "Last-Translator: Jon Åslund <jo...@he...>\n" "Language-Team: \n" @@ -1848,7 +1848,7 @@ msgstr "" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2368,6 +2368,9 @@ msgid "%s is only allowed in locked pages." msgstr "" +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + msgid "UserContribs" msgstr "" @@ -2576,7 +2579,7 @@ msgstr "" #, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "" msgid "List of changes on all pages which are linked to from this page." @@ -3274,7 +3277,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -4374,15 +4377,9 @@ msgstr "" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - msgid "Invalid image size" msgstr "" Modified: trunk/locale/po/zh.po =================================================================== --- trunk/locale/po/zh.po 2014-11-25 16:34:47 UTC (rev 9376) +++ trunk/locale/po/zh.po 2014-11-25 17:13:29 UTC (rev 9377) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.5.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-11-21 18:10+0100\n" +"POT-Creation-Date: 2014-11-25 17:59+0100\n" "PO-Revision-Date: 2004-04-21 10:08+0800\n" "Last-Translator: DruryL <dr...@us...>\n" "Language-Team: DruryL <dr...@us...>\n" @@ -1512,9 +1512,9 @@ msgid "CreatePage failed" msgstr "" -#, fuzzy, php-format +#, php-format msgid "Do you really want to create the page “%s”?" -msgstr "你確定你想要永久更名選定的檔案?" +msgstr "" msgid "The new page you want to create will be a subpage." msgstr "" @@ -1928,7 +1928,7 @@ msgstr "" #, php-format -msgid "LinkSearch result for \"%s\" in pages \"%s\", direction %s" +msgid "LinkSearch result for “%s” in pages “%s”, direction %s" msgstr "" msgid "List pages that are explicitly given as the pages argument." @@ -2468,6 +2468,9 @@ msgid "%s is only allowed in locked pages." msgstr "%s 只允許在鎖定的頁面中." +msgid "Cache output of RecentChanges called with default arguments." +msgstr "" + #, fuzzy msgid "UserContribs" msgstr "使用者統計" @@ -2695,7 +2698,7 @@ msgstr "查看重導向的頁面." #, fuzzy, php-format -msgid " (to pages linked from \"%s\")" +msgid " (to pages linked from “%s”)" msgstr "%s 個頁面連結到 %s:" #, fuzzy @@ -3417,7 +3420,7 @@ msgstr "" #, php-format -msgid "Do you %s want to add this page \"%s\" to your WatchList?" +msgid "Do you %s want to add this page “%s” to your WatchList?" msgstr "" msgid "really" @@ -3620,7 +3623,6 @@ msgid "Rename to" msgstr "更名為" -#, fuzzy msgid "Are you sure you want to rename the selected pages?" msgstr "你確定你想要永久更名選定的檔案?" @@ -4607,15 +4609,9 @@ msgstr "錯誤的顏色值: %s" #, php-format -msgid "Invalid image link fixed %s => %s. Spaces must be quoted with %%20." +msgid "Invalid image link fixed “%s” => “%s”. Spaces must be quoted with %%20." msgstr "" -#, php-format -msgid "" -"Invalid image link fixed \"%s\" => \"%s\".\n" -" Spaces must be quoted with %%20." -msgstr "" - #, fuzzy msgid "Invalid image size" msgstr "Inline 圖片" Modified: trunk/locale/sv/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) Modified: trunk/locale/zh/LC_MESSAGES/phpwiki.mo =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |