[TYPO3-german] BE_USER Edit Panel
Matze Hoppe
mat.hoppe at gmx.de
Sun Mar 4 23:58:31 CET 2007
Hallo!
Das Frontend-Editing habe ich jetzt fast im Griff.
Typo3 generiert mir folgenden HTML-Code:
<!-- BE_USER Edit Panel: -->
<form name="TSFE_EDIT_FORM_0547" action="/index.php?id=29" method="post"
enctype="multipart/form-data" onsubmit="return TBE_EDITOR_checkSubmit(1);"
style="margin: 0 0 0 0;">
<input type="hidden" name="TSFE_EDIT[cmd]" value="" />
<input type="hidden" name="TSFE_EDIT[record]" value="tt_content:11" />
<table border="0" cellpadding="0" cellspacing="0" border="1"
bordercolor="black" class="typo3-editPanel">
<tr>
<td nowrap="nowrap" bgcolor="#ABBBB4"
class="typo3-editPanel-controls">
<a href="#"
onclick="vHWin=window.open('http://luedo1.spd-dortmund.de/typo3/alt_doc.php?
edit[tt_content][11]=edit&noView=0&returnUrl=close.html','FEquickEdi
tWindow','width=540,height=400,status=0,menubar=0,scrollbars=1,resizable=1')
;vHWin.focus();return false;"><img src="typo3/gfx/edit2.gif" width="11"
height="12" hspace="2" border="0" title="Datensatz bearbeiten" align="top"
alt="" title="" /></a>
<a href="#"
onclick="document.TSFE_EDIT_FORM_0547['TSFE_EDIT[cmd]'].value='up';
document.TSFE_EDIT_FORM_0547.submit(); return false;"><img
src="typo3/gfx/button_up.gif" width="11" height="10" vspace="1" hspace="2"
border="0" title="Nach oben verschieben" align="top" alt="" title="" /></a>
<a href="#"
onclick="document.TSFE_EDIT_FORM_0547['TSFE_EDIT[cmd]'].value='down';
document.TSFE_EDIT_FORM_0547.submit(); return false;"><img
src="typo3/gfx/button_down.gif" width="11" height="10" vspace="1" hspace="2"
border="0" title="Nach unten verschieben" align="top" alt="" title="" /></a>
<a href="#" onclick="if (confirm('Das Verstecken eines Datensatzes
macht diesen auf der Webseite unsichtbar. Um den Datensatz zu bearbeiten
m&#xfc;sen Sie entweder das Backend benutzen oder bei der
Frontend-Eingabe die Vorschau einschalten.
Fortfahren?')){document.TSFE_EDIT_FORM_0547['TSFE_EDIT[cmd]'].value='hide';
document.TSFE_EDIT_FORM_0547.submit();} return false;"><img
src="typo3/gfx/button_hide.gif" width="11" height="10" vspace="1" hspace="2"
border="0" title="Ausblenden" align="top" alt="" title="" /></a>
<a href="#"
onclick="vHWin=window.open('http://luedo1.spd-dortmund.de/typo3/alt_doc.php?
edit[tt_content][-11]=new&noView=0&returnUrl=close.html','FEquickEdi
tWindow','width=540,height=400,status=0,menubar=0,scrollbars=1,resizable=1')
;vHWin.focus();return false;"><img src="typo3/gfx/new_record.gif" width="16"
height="12" vspace="1" hspace="2" border="0" title="Neuen Datensatz nach"
align="top" alt="" title="" /></a>
<a href="#" onclick="if (confirm('Wollen Sie diesen Datensatz
wirklich
l&#xf6;schen?')){document.TSFE_EDIT_FORM_0547['TSFE_EDIT[cmd]'].value='d
elete'; document.TSFE_EDIT_FORM_0547.submit();} return false;"><img
src="typo3/gfx/delete_record.gif" width="12" height="12" vspace="1"
hspace="2" border="0" title="Löschen" align="top" alt="" title=""
/></a>
</td>
<td nowrap="nowrap" bgcolor="#F6F2E6" class="typo3-editPanel-label">
<font face="verdana" size="1" color="black"> Über
Uns </font>
</td>
</tr>
</table>
</form>
<img src="clear.gif" width="1" height="5" alt="" title="" /><br />
<table border="0" cellpadding="0" cellspacing="0" width="100%"
bgcolor="black" style="border: 0px;">
<tr style="border: 0px;">
<td style="border: 0px;"><img src="clear.gif" width="1" height="1"
alt="" title="" /></td>
</tr>
</table>
<br />
Fragen:
=====
class="typo3-editPanel" und weitere tauchen nirgendwo auf. Warum?
Mhmm, dann kann ich die Klassen auch selber definieren.
Wie bekomme ich die überflüssige Tabelle am Ende weg, da sie mein Layout
zerschlägt.
Wo kommt dieser Code überhaupt her?
Danke!
More information about the TYPO3-german
mailing list