ENGLISH:
I've reworked the code again.
He pointed to errors in the error log, because the edit.png
And you no longer have lands on the page, click on the image for editing.
Search
Codefunction render_news($subject, $news, $info) {
and add below
Codeglobal $locale, $settings, $aidlink;
and Searche
Codeecho "<div id='news-".$info['news_id']."' class='news-feed'>\n";
and add below
Codeecho "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='c-links float-right'>";
if (iADMIN && checkrights("N")) {
echo "<a href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$info['news_id']."'><img src='".THEME."images/news_edit.png' alt='".$locale['global_076']."' title='".$locale['global_076']."' border='0' /></a>\n"; }
echo "<a href='".BASEDIR."print.php?type=N&item_id=".$info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>";
echo "</div><span class='century'>".$subject."</span></td>\n";
echo "</tr>\n</table>\n";
GERMAN:
Ich habe den Code nochmal überarbeitet.
Im Fehlerlog zeigte er fehler an, wegen dem edit.png
Und man landet nicht mehr auf der weisen Seite, bei klick auf das Bearbeiten bild.
Suche
Codefunction render_news($subject, $news, $info) {
und füge darunter ein
Codeglobal $locale, $settings, $aidlink;
Suche nun
Codeecho "<div id='news-".$info['news_id']."' class='news-feed'>\n";
Und füge darunter ein
Codeecho "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'><div class='c-links float-right'>";
if (iADMIN && checkrights("N")) {
echo "<a href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$info['news_id']."'><img src='".THEME."images/news_edit.png' alt='".$locale['global_076']."' title='".$locale['global_076']."' border='0' /></a>\n"; }
echo "<a href='".BASEDIR."print.php?type=N&item_id=".$info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>";
echo "</div><span class='century'>".$subject."</span></td>\n";
echo "</tr>\n</table>\n";
Selfmade is Not Easy 
[img]http://erodynamic.de/images/header_new.png[/img] is not a valid Image.
|