From: Even H. <ho...@us...> - 2004-03-01 13:26:43
|
Update of /cvsroot/tavi/tavi/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32658 Modified Files: defaults.php init.php Log Message: Fixed TaviBug:907484 regarding no use of $AuthorDiff Also fixed missing quotes on LANGUAGE_CODES in init.php Index: defaults.php =================================================================== RCS file: /cvsroot/tavi/tavi/lib/defaults.php,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- defaults.php 2 Dec 2003 22:33:14 -0000 1.18 +++ defaults.php 1 Mar 2004 13:15:41 -0000 1.19 @@ -96,11 +96,6 @@ // preferences. $TimeZoneOff = 0; -// $AuthorDiff indicates whether history pages should show a diff for the last -// edit (zero), or for all edits made by the same author (not zero). The -// default here is used if the user has not set their preferences. -$AuthorDiff = 1; - // $DayLimit determines how many days worth of changes show in a category list. // This default is used if the user has not set their preferences. $DayLimit = 14; Index: init.php =================================================================== RCS file: /cvsroot/tavi/tavi/lib/init.php,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- init.php 16 Dec 2003 20:33:59 -0000 1.14 +++ init.php 1 Mar 2004 13:15:42 -0000 1.15 @@ -40,7 +40,7 @@ ? $HTTP_COOKIE_VARS[$CookieName] : ''; // Choose a textual language for this wiki -if (defined(LANGUAGE_CODE)) { +if (defined('LANGUAGE_CODE')) { require('lang/lang_'. LANGUAGE_CODE . '.php'); } else { require('lang/default.php'); @@ -56,8 +56,6 @@ { $UserName = urldecode($result[1]); } if(ereg("days=([[:digit:]]+)", $prefstr, $result)) { $DayLimit = $result[1]; } - if(ereg("auth=([[:digit:]]+)", $prefstr, $result)) - { $AuthorDiff = $result[1]; } if(ereg("min=([[:digit:]]+)", $prefstr, $result)) { $MinEntries = $result[1]; } if(ereg("hist=([[:digit:]]+)", $prefstr, $result)) |