2
X_SITEURL
I believe that just one available.
Check class/xoopsblock.php function getContent()
You could hack it to add extra vars if you want.
This is what goes fo html custom block
if ( $c_type == 'H' ) {
return str_replace('{X_SITEURL}', XOOPS_URL.'/', $this->getVar('content', 'N'));
}
You could use something like this to add vars
if ( $c_type == 'H' ) {
$content = $this->getVar('content', 'N');
$content = str_replace('{X_SITEURL}', XOOPS_URL.'/', $content);
if (is_object($xoopsUser) && $xoopsUser->getVar('uid') > 0){
$content = str_replace('{X_USERURL}', XOOPS_URL.'/userinfo.php?uid='.$xoopsUser->getVar('uid'), $content);
$content = str_replace('{X_USERID}', $xoopsUser->getVar('uid'), $content);
} else {
$content = str_replace('{X_USERURL}', '', $content);
$content = str_replace('{X_USERID}', 0, $content);
}
return $content;
}