<<O>> Difference Topic TWikiFuncModule (r1.3 - 02 Feb 2003 - PeterThoeny) |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 157 to 157 | ||||||||
Functions: User Handling and Access Control | ||||||||
Changed: | ||||||||
< < |
getDefaultUserName( ) ==> $user | |||||||
> > |
getDefaultUserName( ) ==> $loginName | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
getWikiName( ) ==> $wikiName | ||||||||
Line: 196 to 196 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
checkAccessPermission( $type, $user, $text, $topic, $web ) ==> $flag | |||||||
> > |
checkAccessPermission( $type, $wikiName, $text, $topic, $web ) ==> $flag | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 221 to 221 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
getRevisionInfo( $web, $topic ) ==> ( $date, $user, $rev ) | |||||||
> > |
getRevisionInfo( $web, $topic ) ==> ( $date, $loginName, $rev ) | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
checkTopicEditLock( $web, $topic ) ==> ( $oopsUrl, $loginName, $unlockTime ) | ||||||||
Line: 274 to 274 | ||||||||
TWiki::Func::redirectCgiQuery( $query, $text ); return; } | ||||||||
Changed: | ||||||||
< < |
# do topic manipulation like: | |||||||
> > |
# do topic text manipulation like: | |||||||
$text =~ s/old/new/g; | ||||||||
Added: | ||||||||
> > |
# do meta data manipulation like: $text =~ s/(META\:FIELD.*?name\=\"TopicClassification\".*?value\=\")[^\"]*/$1BugResolved/; | |||||||
$oopsUrl = TWiki::Func::saveTopicText( $web, $topic, $text ); # save topic text TWiki::Func::setTopicEditLock( $web, $topic, 0 ); # unlock topic if( $oopsUrl ) { |
Topic TWikiFuncModule . { View | Diffs | r1.3 | > | r1.2 | > | r1.1 | More } |
Revision r1.2 - 31 Dec 2002 - 08:03 - PeterThoeny Revision r1.3 - 02 Feb 2003 - 01:02 - PeterThoeny |
Copyright © 1999-2024 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki.Tukro? Send feedback. |