hallo leute wollte mal das user avatar einfüger und das mitels tooztip.js
ich habe in der obigen date view.php folgende ergänzungen gemacht.
Code:
// Display comments found in the database.
$mouseover = "onmouseover=\"this.T_LEFT=true;this.T_WIDTH=60;return";
$usr_avatar = "escape('<img src=\'images/comprofiler/tn".$row->avatar."\' alt=\'photo\' border=\'0\'>')\">".$username->username."";
$usr_noimg = "escape('<img src=\'components/com_comprofiler/images/english/tnnophoto.jpg\' alt=\'no photo\' border=\'0\'>')\">".$username->username."";
$content.= "<b>$mouseover $usr_avatar </b>";
foreach ($zoom1->_gallery->_images[$key]->_comments as $comment) {
if ($count>1) {
$colour=$zoom1->_tabclass[0];
$count=0;
} else {
$colour=$zoom1->_tabclass[1];
}
$cmtrow = "";
if ($zoom1->_isAdmin) {
// the adminstrator is able to delete comments directly through the hyperlin...
$cmtrow = "<tr><td width=\"125\" align=\"left\"><a href='index.php?option=com_comprofiler&task=userProfile&user=".$comment->getName()."'>".$comment->getName()."</b></a>: </td><td align=\"left\"><font color=\"#ff0000\">".$comment->getComment($dir_prefix)."</font> (".$comment->getDate().")</td><td width=\"50\">\n";
if (!$zoom1->_CONFIG['popUpImages']) {
$cmtrow .= "<a href=\"index.php?option=com_zoom1&page=view&Itemid=".$Itemid;
aber irgenwas habe ich faltsch gemacht ..
vieleicht weiss ein profi was ich da faltsch gemacht habe und noch einfügen muss??
grüessli
Lesezeichen