[pmwiki-users] new version of MultiLanguage
    blues 
    blues4u at supereva.it
       
    Thu Jul  5 08:28:01 CDT 2007
    
    
  
a new version of the MultiLanguage recipe is available.
Change log:
1.1 - 05.07.2007
	Added new langinpage conditional.
	Added {$userlang} page variable (suggested by noskule).
	Fixed a problem with setting userlang cookie (fixed by SteP).
New documentation:
The page variable {$userlang} holds the currently selected language (eg.  
"en").
A new "langinpage" conditional is available, to test whether in a  
particular page a particular language is defined or not. The conditional  
takes two parameters, the language and the pagename.
eg.
(:if langinpage en MyGroup.MyPage:)
tests if in the page MyGroup.MyPage is defined the language 'en'.
eg.
(:pagelist if="langinpage {$userlang} {=$FullName}":)
lists all the pages in which is defined the language currently selected by  
the user.
blues
    
    
More information about the pmwiki-users
mailing list