sooo es hat geklappt man musste die datei akocommentbot.php folgendermassen umschreiben
Zeile 268
Code:
# If we are not on the content page
} else {
$replacementlink = ($ac_openingmode) ? "<a class=\"readon\" href=\"javascript:void window.open('".sefRelToAbs("index2.php?option=com_content&task=view&id=$row->id&pop=1&page=0")."', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');\">" : "<a class=\"pagenav\" href='".sefRelToAbs("index.php?option=com_content&task=view&id=$row->id")."'>";
if ($ac_mainmode == "0") {
$row->text = str_replace( "{moscomment}", "<p><img src='$mosConfig_live_site/components/com_akocomment/images/comment.png' hspace='5' align='absmiddle'>$replacementlink"._AKOCOMMENT_WRITECOMMENT." ($total "._AKOCOMMENT_COMMENTS.")</a></p>", $row->text );
} elseif (in_array ($row->sectionid, $seclistarray)) {
$row->text = str_replace( "{moscomment}", "", $row->text );
$row->text = $row->text."[$replacementlink"._AKOCOMMENT_WRITECOMMENT." ($total "._AKOCOMMENT_COMMENTS.")</a>]";
}
}
}
mit dem text ersetzen
Code:
# If we are not on the content page
} else {
$replacementlink = ($ac_openingmode) ? "<a class=\"readon\" href=\"javascript:void window.open('".sefRelToAbs("index2.php?option=com_content&task=view&id=$row->id&pop=1&page=0")."', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');\">" : "<a class=\"pagenav\" href='".sefRelToAbs("index.php?option=com_content&task=view&id=$row->id")."'>";
if ($ac_mainmode == "0") {
$row->text = str_replace( "{moscomment}", "<p><img src='$mosConfig_live_site/components/com_akocomment/images/comment.png' hspace='5' align='absmiddle'>$replacementlink"._AKOCOMMENT_WRITECOMMENT." ($total "._AKOCOMMENT_COMMENTS.")</a></p>", $row->text );
} elseif (in_array ($row->sectionid, $seclistarray)) {
$row->text = str_replace( "{moscomment}", "", $row->text );
$row->text = $row->text."[$replacementlink"._AKOCOMMENT_WRITECOMMENT." ($total "._AKOCOMMENT_COMMENTS.")</a>]";
}
}
}
danach sieht es folgendermassen aus [Kommentar schreiben (0 Kommentar(e))]
wen man jezt noch bei komentar(e)) das e wegmachen will muss man in der language datei folgendes ersetzen
Code:
DEFINE("_AKOCOMMENT_COMMENTS","Kommentar(e)");
durch
Code:
DEFINE("_AKOCOMMENT_COMMENTS","Kommentare");
finde das sieht besser aus jedoch jedmes seine eigene meinung
Lesezeichen