a new little star is born. http://www.phpwcms.de/forum/viewtopic.php?p=65187#65187
[en] peri wrote:This mod displays at the frontend an edit link for articles inside the visual mode block (only visible as an admin). This makes the work for large pages ultrafastly! The mod is 100% secure. Made by OG.
Replace the index.php simply and try out!
If u need it ...
...get it here: http://www.kirschteam.biz/mods/fe_edit.zip
index.php line 184 [new][de] peri wrote:Ich habe von oli sowas in der art bekommen.
im visual mode block ( nur sichtbar als admin) erscheint im frontend ein editierlink. Macht das arbeiten bei großen Seiten superschnell!!!!!
Das ganze ist Sicher!
Einfach die index.php ersetzen und ausprobieren!
Wers braucht....
....guckst Du hier: http://www.kirschteam.biz/mods/fe_edit.zip
----------------------------------
if(VISIBLE_MODE == 1 || VISIBLE_MODE == 2) {
$content['page_end'] = '<div id="VisualMODE" style="position:absolute;left:5px;bottom:5px;padding:5px;z-index:1;background-color:#FF3300;color:#FFFFFF;border:1px solid #000000;">';
$content['page_end'] .= VISIBLE_MODE == 1 ? 'user: ' : 'admin: ';
$content['page_end'] .= html_specialchars($_SESSION['wcs_user']);
$content['page_end'] .= ' <a href="phpwcms.php?do=articles&p=2&s=1&id='.$aktion[1].'" target="_blank" title="edit article">';
$content['page_end'] .= '<img src="img/symbols/fe_page_edit.gif" width="16" height="16" alt="edit article" border="0" style="vertical-align:middle" />';
$content['page_end'] .= "</a></div>\n</body>\n</html>";
} else {
$content['page_end'] = "</body>\n</html>";
}
----------------------------------