3
Quote:
sova wrote:
Thank you for your helping
Sad Face.
Try this..
in xnews/include/functions.php replace the function
le="color: #000000"><?php /** * Verify that the current user is a member of the Admin group */ function nw_is_admin_group() { global $xoopsUser, $xoopsModule; if(is_object($xoopsUser)) { if(in_array('1',$xoopsUser->getGroups())) { return true; } else { $mod_handler =& xoops_gethandler('module'); $xnewsModule = $mod_handler->getByDirname(NW_MODULE_DIR_NAME); if($xoopsUser->isAdmin($xnewsModule->mid())) { return true; } else { return false; } } } else { return false; } }
and in xnews/blocks/news_latestnews.php
change line 124
le="color: #000000"><?php $enddiv = 'alt="'.$thisstory->title.'" width="'.$imgwidth.'" '.$height.' /></a></div>';
so it looks like
le="color: #000000"><?php $enddiv = 'alt="'.$thisstory->title.'" width="'.$imgwidth.'" '.$imgheight.' /></a></div>';
i haven't tested this out..
CBB / LatestNews / Publisher / XM-Spotlight
(ノ◕ヮ◕)ノ*:・゚✧