History of ApiChangelog

Version 2

ApiChangelog

Changes to the API and source files

Created by: spiderr, Last modification: 23 Dec 2004 (16:51 UTC) by spiderr
DateChangeWho
23-DEC-2004 replace $gTikiUser->hasPermission( 'tiki_p_admin' ) with $gTikiUser->isAdmin() - 3rd party integrations might have different criteria than simply a tiki_p_admin assignment
shell commands {CODE(in=>bash)}
find . -name "*.php" -exec perl -i -wpe "s/gTikiUser->hasPermission\( 'tiki_p_admin' \)/gTikiUser->isAdmin()/g" {} \;
{CODE}
23-DEC-2004 replace $tiki_p_some_perm global vars (in smarty & php) to use $gTikiUser->hasPermission( 'tiki_p_some_perm' )
shell commands {CODE(in=>bash)}
find . -name "*.php" -exec perl -i -wpe "s/\\\$(tiki_p_A-Za-z_*) != 'y'/\!\\\$gTikiUser->hasPermission( '\1' )/g" {} \;
find . -name "*.php" -exec perl -i -wpe "s/\\\$(tiki_p_A-Za-z_*) == 'y'/\\\$gTikiUser->hasPermission( '\1' )/g" {} \;
find . -name "*.tpl" -exec perl -i -wpe "s/(tiki_p_A-Za-z_*) (eq==) 'y'/gTikiUser->hasPermission( '\1' )/g" {} \;
{CODE}

Page History
Date/CommentUserIPVersion
12 Sep 2006 (20:33 UTC)
registerAppMenu
xing194.152.164.4513
Current • Source
xing194.152.164.4512
View • Compare • Difference • Source
xing194.152.164.4511
View • Compare • Difference • Source
spiderr66.194.217.22010
View • Compare • Difference • Source
spiderr66.194.217.2219
View • Compare • Difference • Source
xing194.152.164.458
View • Compare • Difference • Source
xing194.152.164.457
View • Compare • Difference • Source
xing194.152.164.456
View • Compare • Difference • Source
xing194.152.164.455
View • Compare • Difference • Source
xing194.152.164.454
View • Compare • Difference • Source
xing194.152.164.453
View • Compare • Difference • Source
spiderr65.187.230.1192
View • Compare • Difference • Source