You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As example call the tpl_link_array with $available_actions. If subscribe is disabled, the tpl_link_array output $array_pre and $array_after in return=fals mode. This wontfix! A workaround is to use a self created $available_actions or use the function in return=true mode and check for a concatination of $array_pre.$array_after and delete it from string. Then echo.
As example call the tpl_link_array with $available_actions. If subscribe is disabled, the tpl_link_array output $array_pre and $array_after in return=fals mode. This wontfix! A workaround is to use a self created $available_actions or use the function in return=true mode and check for a concatination of $array_pre.$array_after and delete it from string. Then echo.
Workaround:
$types = array(
array(
'type' => 'login',
'pre' => '',
'suf' => '',
'inner' => ''
)
);
if($blextra) {
if(isset($_SERVER['REMOTE_USER'])) {
$types = $blextra->available_actions;
}
$array_pre = '
$array_after = '
$actionlinks = $blextra->tpl_actionlink_array($types,$array_pre,$array_after,true);
$actionlinks = str_replace ($array_pre.$array_after,'',$actionlinks);
echo $actionlinks;
}
The text was updated successfully, but these errors were encountered: