3
try
find in popup.php
le="color: #000000"><?php $xoopsTpl = new XoopsTpl();
add right after:
le="color: #000000"><?php global $xoopsUser; if (is_object($xoopsUser) { $is_user = 1; $xoopsTpl->assign('is_user', $is_user);
then near the end of file, find
le="color: #000000"><?php $xoopsTpl->assign("maintheme", xoops_getcss($xoopsConfig['theme_set']));
add right Before:
le="color: #000000"><?php } else { $is_user = 0; $xoopsTpl->assign('is_user', $is_user); $xoopsTpl->assign('need_login', 'You must be logged in to play radio'); }
then in the template debaser_radiopopup.html
find:
le="color: #000000"><?php <table class="outer"><tr><td class="odd">
add right Before:
le="color: #000000"><?php <{if $is_user !== 1}>
find
le="color: #000000"><?php </td></tr></table>
add right After
le="color: #000000"><?php <{else}> <div><{$need_login}></div> <{/if}>
not tried it at all, but worth a try