Hi all,

When a user is facing the ?action=rename form, he can see the whole list 
of existing groups, even the groups he's not allowed to view (and so to 
move the page in).

I'd like the form to show only the groups the user has the permission to 
view. Where has the rename.php script to be modified ?
I guess it is in the lines following but i'm not able to do it :

SDV($PageRenameFmt,
     "<h1 class='wikiaction'>$[Rename] <a 
href='\$PageUrl'>\$FullName</a></h1>
     <form action='\$PageUrl' method='post'>
     <input type='hidden' name='n' value='\$FullName' />
     <input type='hidden' name='action' value='postrename' />
     \$RenameGroup
     <input type='text' name='renametext' value='\$Name' size='25' /><br/>
     $[Add:] <input type='radio' name='addgroup' value='' 
checked='checked' /><em>$[nothing]</em>
     <input type='radio' name='addgroup' value='\$Group' /><em>\$Group</em>
     <input type='radio' name='addgroup' value='new' /><em>$[new 
group]</em> $[to any Unqualified Links]
     <input type='submit' value='$[Rename]' /></form>
     <p class='vspace'></p><p>$[Unqualified Links]:</p>
     \$UnqualifiedLinks");

Thank you for any help.
-- 
Nicolas Poulain
http://exomatik.net

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to