Inherits t3lib_TCEforms.
Public Member Functions | |
wrapLabels ($str) | |
Function for wrapping labels. | |
printPalette ($palArr) | |
Prints the palette in the frontend editing (forms-on-page?). | |
setFancyDesign () | |
Sets the fancy front-end design of the editor. |
Definition at line 4859 of file class.t3lib_tceforms.php.
|
Prints the palette in the frontend editing (forms-on-page?).
Definition at line 4877 of file class.t3lib_tceforms.php. 04877 { 04878 $out=''; 04879 reset($palArr); 04880 $bgColor=' bgcolor="#D6DAD0"'; 04881 while(list(,$content)=each($palArr)) { 04882 $hRow[]='<td'.$bgColor.'><font face="verdana" size="1"> </font></td><td nowrap="nowrap"'.$bgColor.'><font color="#666666" face="verdana" size="1">'.$content['NAME'].'</font></td>'; 04883 $iRow[]='<td valign="top">'. 04884 '<img name="req_'.$content['TABLE'].'_'.$content['ID'].'_'.$content['FIELD'].'" src="clear.gif" width="10" height="10" alt="" />'. 04885 '<img name="cm_'.$content['TABLE'].'_'.$content['ID'].'_'.$content['FIELD'].'" src="clear.gif" width="7" height="10" alt="" />'. 04886 '</td><td nowrap="nowrap" valign="top">'.$content['ITEM'].$content['HELP_ICON'].'</td>'; 04887 } 04888 $out='<table border="0" cellpadding="0" cellspacing="0"> 04889 <tr><td><img src="clear.gif" width="'.intval($this->paletteMargin).'" height="1" alt="" /></td>'.implode('',$hRow).'</tr> 04890 <tr><td></td>'.implode('',$iRow).'</tr> 04891 </table>'; 04892 04893 return $out; 04894 }
|
|
Sets the fancy front-end design of the editor. Frontend
Definition at line 4902 of file class.t3lib_tceforms.php. References table(). 04902 { 04903 $this->fieldTemplate=' 04904 <tr> 04905 <td nowrap="nowrap" bgcolor="#F6F2E6">###FIELD_HELP_ICON###<font face="verdana" size="1" color="black"><b>###FIELD_NAME###</b></font>###FIELD_HELP_TEXT###</td> 04906 </tr> 04907 <tr> 04908 <td nowrap="nowrap" bgcolor="#ABBBB4"><img name="req_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" width="10" height="10" alt="" /><img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" width="7" height="10" alt="" /><font face="verdana" size="1" color="black">###FIELD_ITEM###</font>###FIELD_PAL_LINK_ICON###</td> 04909 </tr> '; 04910 04911 $this->totalWrap='<table border="0" cellpadding="1" cellspacing="0" bgcolor="black"><tr><td><table border="0" cellpadding="2" cellspacing="0">|</table></td></tr></table>'; 04912 04913 $this->palFieldTemplate=' 04914 <tr> 04915 <td nowrap="nowrap" bgcolor="#ABBBB4"><font face="verdana" size="1" color="black">###FIELD_PALETTE###</font></td> 04916 </tr> '; 04917 $this->palFieldTemplateHeader=' 04918 <tr> 04919 <td nowrap="nowrap" bgcolor="#F6F2E6"><font face="verdana" size="1" color="black"><b>###FIELD_HEADER###</b></font></td> 04920 </tr> '; 04921 }
|
|
Function for wrapping labels.
Definition at line 4867 of file class.t3lib_tceforms.php. 04867 { 04868 return '<font face="verdana" size="1" color="black">'.$str.'</font>'; 04869 }
|