Witam,
mam problem, z jednym z modułów. Chodzi o mod pmsnotify 1.0.2. Nie potrafię zmienić kolorów tak, bym kolor tekstu mógł ustawić sobie sam, a nie żeby brał ten kolor z css templatki. Może ktoś pomóc. Oto ten kod, będę pomocny za sugestię, bo już kombinuję pół dnia i nic

<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

define('PMS_BASEPATH_ADMINISTRATOR', dirname(__FILE__).'/../administrator/components/com_pms');
define('PMSNOTIFY_BASEPATH', dirname(__FILE__));

$my_id = $my->id;

$message = $params->get('message');
$inbox = $params->get('inbox');
$sent_items = $params->get('sent_items');
$trash = $params->get('trash');
$write = $params->get('write');

require_once(PMS_BASEPATH_ADMINISTRATOR.'/config.pms.php');

if(file_exists(PMSNOTIFY_BASEPATH.'/mod_pmsnotify/language/'.$mosConfig_lang.'.php')) require_once(PMSNOTIFY_BASEPATH.'/mod_pmsnotify/language/'.$mosConfig_lang.'.php');
else require_once(PMSNOTIFY_BASEPATH.'/mod_pmsnotify/language/english.php');

if(file_exists(PMS_BASEPATH_ADMINISTRATOR.'/language/'.$mosConfig_lang.'.php')) require_once(PMS_BASEPATH_ADMINISTRATOR.'/language/'.$mosConfig_lang.'.php');
else require_once(PMS_BASEPATH_ADMINISTRATOR.'/language/english.php');

// get menu-id for PMS-component
$database->setQuery("SELECT id FROM #__menu WHERE link='index.php?option=com_pms' AND published>=1 LIMIT 1");
$pms_menuid = $database->loadResult();

//get Itemid of PMS enhanced
$database->setQuery("SELECT t1.id FROM #__menu AS t1, #__components AS t2 WHERE t1.componentid=t2.id AND t1.link='index.php?option=com_pms' AND t2.link='option=com_pms' AND t1.published=1");
$pms_itemid = $database->loadResult();

echo '<form action="mod_pmsnotify.php" method="post" name="pmsnotify">';

if($message)
{
// check for unread PMs
$database->setQuery("SELECT count(id) FROM #__pms WHERE recip_id=$my_id AND readstate%2=0 AND inbox=1");
$unread = $database->loadResult();
if($unread==0) echo '<a href="index.php?option=com_pms&Itemid='.$pms_itemi d.'">'._PMSNOTIFY_MODULE_TEXT.' '.$unread.' <img src="./modules/mod_pmsnotify/images/no_new_pm.png" border="0" /></a>';
else echo '<a href="index.php?option=com_pms&Itemid='.$pms_itemi d.'">'._PMSNOTIFY_MODULE_TEXT.' '.$unread.' <img src="./modules/mod_pmsnotify/images/new_pm.gif" border="0" /></a>';
#echo '</form>';
}
if(($inbox OR $sent_items OR $trash OR $write) AND $message) echo '<br /><br />';
if($inbox)
{
// check how many PMs are in the inbox
$database->setQuery("SELECT count(t1.id) FROM #__pms AS t1, #__users AS t2 WHERE t1.recip_id=$my_id AND inbox=1 AND t1.sender_id=t2.id");
$pm_in_inbox = $database->loadResult();
echo '<a href="index.php?option=com_pms&Itemid='.$pms_menui d.'&page=inbox" title="'._PMS_INBOX.'"><img src="./modules/mod_pmsnotify/images/inbox.png" border="0" alt="'._PMS_INBOX.'" />&nbsp;'._PMS_INBOX.'&nbsp;('.$pm_in_inbox.')</a><br />';
}
if($sent_items)
{
// check how many PMs are in the sent items
$database->setQuery("SELECT count(t1.id) FROM #__pms AS t1, #__users AS t2 WHERE t1.sender_id=$my_id AND sent_items=1 AND t1.recip_id=t2.id");
$pm_in_sent_items = $database->loadResult();
echo '<a href="index.php?option=com_pms&Itemid='.$pms_menui d.'&page=sent_items" title="'._PMS_SENT_ITEMS.'"><img src="./modules/mod_pmsnotify/images/sent_items.png" border="0" alt="'._PMS_SENT_ITEMS.'" />&nbsp;'._PMS_SENT_ITEMS.'&nbsp;('.$pm_in_sent_ite ms.')</a><br />';
}
if($trash)
{
// check how many PMs are in the trash
$database->setQuery("SELECT count(t1.id) FROM #__pms AS t1, #__users AS t2 WHERE (t1.recip_id=$my_id AND t1.inbox=0 AND t1.sender_id=t2.id) OR (t1.sender_id=$my_id AND t1.sent_items=0 AND t1.recip_id=t2.id)");
$pm_in_trash = $database->loadResult();
echo '<a href="index.php?option=com_pms&Itemid='.$pms_menui d.'&page=trash" title="'._PMS_TRASH.'"><img src="./modules/mod_pmsnotify/images/trash.png" border="0" alt="'._PMS_TRASH.'" />&nbsp;'._PMS_TRASH.'&nbsp;('.$pm_in_trash.')</a><br />';
}
if($write)
{
echo '<a href="index.php?option=com_pms&Itemid='.$pms_menui d.'&page=new" title="'._PMS_WRITE.'"><img src="./modules/mod_pmsnotify/images/write.png" border="0" alt="'._PMS_WRITE.'" />&nbsp;'._PMS_WRITE.'</a>';
}

echo '</form>';

?>