Index: trunk/phpwiki/fpw/wikiUser.php |
— | — | @@ -140,6 +140,7 @@ |
141 | 141 | if ( $this->options["encoding"] == "") $this->options["encoding"] = 0; |
142 | 142 | if ( $this->options["numberHeadings"] == "" ) $this->options["numberHeadings"] = "no" ; |
143 | 143 | if ( $this->options["viewFrames"] == "" ) $this->options["viewFrames"] = "no" ; |
| 144 | + if ( $this->options["viewRecentChanges"] == "" ) $this->options["viewRecentChanges"] = "50" ; |
144 | 145 | |
145 | 146 | # if ( $this->options["showStructure"] == "" ) # NO SUBPAGES ANYMORE |
146 | 147 | $this->options["showStructure"] = "no" ; |
Index: trunk/phpwiki/fpw/special_editusersettings.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | |
11 | 11 | if ( isset ( $ButtonSave ) ) { |
12 | 12 | unset ( $ButtonSave ) ; |
13 | | - global $QuickBar , $NewTopics , $UnderlineLinks , $ShowHover , $ROWS , $COLS , $doSkin ; |
| 13 | + global $QuickBar , $NewTopics , $UnderlineLinks , $ShowHover , $ROWS , $COLS , $doSkin , $VIEWRC ; |
14 | 14 | global $OLDPASSWORD , $NEWPASSWORD , $RETYPEPASSWORD , $EMAIL , $RESULTSPERPAGE , $doJustify , $ChangesLayout ; |
15 | 15 | global $SHOWSTRUCTURE , $HOURDIFF , $NumberHeadings , $ViewFrames , $encoding , $HideMinor ; |
16 | 16 | if ( $RESULTSPERPAGE < 2 ) $RESULTSPERPAGE = 20 ; |
— | — | @@ -40,6 +40,7 @@ |
41 | 41 | $user->email = $EMAIL ; |
42 | 42 | $user->options["hourDiff"] = $HOURDIFF ; |
43 | 43 | $user->options["encoding"] = $encoding ; |
| 44 | + $user->options["viewRecentChanges"] = $VIEWRC ; |
44 | 45 | |
45 | 46 | if ( $OLDPASSWORD == $user->password ) { |
46 | 47 | global $wikiUserSettingsNewPasswordError ; |
— | — | @@ -52,7 +53,7 @@ |
53 | 54 | $msg = $wikiUserSettingsSaved ; |
54 | 55 | } |
55 | 56 | |
56 | | - global $wikiLoggedInAs , $wikiID_Help ; |
| 57 | + global $wikiLoggedInAs , $wikiID_Help , $wikiViewRecentChanges ; |
57 | 58 | global $wikiQuickBarSettings , $wikiSettingsNone , $wikiSettingsStandard , $wikiSettingsLeft , $wikiSettingsRight ; |
58 | 59 | global $wikiOldPassword , $wikiNewPassword , $wikiYourPasswordAgain , $wikiSkin , $wikiStarTrek ; |
59 | 60 | global $wikiShowHoverBox , $wikiUnderlineLinks , $wikiNewTopicsRed , $wikiJustifyParagraphs , $wikiShowRecentChangesTable ; |
— | — | @@ -142,7 +143,9 @@ |
143 | 144 | $n = explode ( "$1" , $wikiResultsPerPage ) ; |
144 | 145 | $ret .= "<font face=courier>".$n[0]."</font><INPUT TYPE=text NAME=RESULTSPERPAGE VALUE=\"".$user->options["resultsPerPage"]."\" SIZE=4>".$n[1]."<br>\n" ; |
145 | 146 | $n = explode ( "$1" , $wikiTimeDiff ) ; |
146 | | - $ret .= "<font face=courier>".$n[0]."</font><INPUT TYPE=text NAME=HOURDIFF VALUE=\"".$user->options["hourDiff"]."\" SIZE=4>".$n[1]."\n" ; |
| 147 | + $ret .= "<font face=courier>".$n[0]."</font><INPUT TYPE=text NAME=HOURDIFF VALUE=\"".$user->options["hourDiff"]."\" SIZE=4>".$n[1]."<br>\n" ; |
| 148 | + $n = explode ( "$1" , $wikiViewRecentChanges ) ; |
| 149 | + $ret .= "<font face=courier>".$n[0]."</font><INPUT TYPE=text NAME=VIEWRC VALUE=\"".$user->options["viewRecentChanges"]."\" SIZE=4>".$n[1]."\n" ; |
147 | 150 | |
148 | 151 | # Encoding |
149 | 152 | if(count($wikiEncodingNames) > 1) { |
Index: trunk/phpwiki/fpw/special_recentchanges.php |
— | — | @@ -7,7 +7,8 @@ |
8 | 8 | global $wikiRecentChangesLastDays , $wikiRecentChangesSince , $wikiViewLastDays , $wikiViewMaxNum , $wikiListOnlyNewChanges ; |
9 | 9 | $vpage->special ( $wikiRecentChangesTitle ) ; |
10 | 10 | $vpage->makeSecureTitle() ; |
11 | | - if ( !isset ( $maxcnt ) ) $maxcnt = 50 ; |
| 11 | + if ( !isset ( $maxcnt ) ) $maxcnt = $user->options["viewRecentChanges"] ; |
| 12 | + if ( $maxcnt == "" ) $maxcnt = 50 ; |
12 | 13 | if ( !isset ( $daysAgo ) ) $daysAgo = 3 ; |
13 | 14 | |
14 | 15 | $from2 = substr ( $from , 0 , 4 ) . "-" . substr ( $from , 4 , 2 ) . "-" . substr ( $from , 6 , 2 ) ; |
Index: trunk/phpwiki/fpw/wikiTextEn.php |
— | — | @@ -214,6 +214,7 @@ |
215 | 215 | $wikiYourEmail = "Your email : " ; |
216 | 216 | $wikiResultsPerPage = "Return up to $1 search results per page" ; |
217 | 217 | $wikiTimeDiff = "Time diff. : $1 hours" ; |
| 218 | +$wikiViewRecentChanges = "See the last $1 changes on ''Recent Changes''" ; |
218 | 219 | $wikiOutputEncoding = "Output encoding : "; |
219 | 220 | |
220 | 221 | # Misc |