Follow-up to bugfix #12728: Fixed size of icon indicating required fields
authorOliver Hader <oliver.hader@typo3.org>
Wed, 25 Nov 2009 20:04:14 +0000 (20:04 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 25 Nov 2009 20:04:14 +0000 (20:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6549 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php
typo3/stylesheet.css
typo3/template.php

index 0d4ff30..0062ed2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,7 @@
        * Follow-up to bugfix #12420: Removed deprecation logging from methods that are still used in the TYPO3 Core
        * Fixed bug #12755: Update to ADOdb 5.10
        * Fixed bug #12629: XSS in sysext scheduler possible (thanks to Georg Ringer)
        * Follow-up to bugfix #12420: Removed deprecation logging from methods that are still used in the TYPO3 Core
        * Fixed bug #12755: Update to ADOdb 5.10
        * Fixed bug #12629: XSS in sysext scheduler possible (thanks to Georg Ringer)
+       * Follow-up to bugfix #12728: Fixed size of icon indicating required fields (thanks to Steffen Ritter)
 
 2009-11-24  Stanislas Rolland  <typo3@sjbr.ca>
 
 
 2009-11-24  Stanislas Rolland  <typo3@sjbr.ca>
 
index 7322ad6..c8c908f 100644 (file)
@@ -4766,7 +4766,7 @@ class t3lib_TCEforms      {
                                <td width="99%"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><b>###FIELD_NAME###</b></span>###FIELD_HELP_TEXT###</td>
                        </tr>
                        <tr ###BGCOLOR######CLASSATTR_1###>
                                <td width="99%"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><b>###FIELD_NAME###</b></span>###FIELD_HELP_TEXT###</td>
                        </tr>
                        <tr ###BGCOLOR######CLASSATTR_1###>
-                               <td nowrap="nowrap"><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="" /></td>
+                               <td nowrap="nowrap"><img name="req_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-reqImg" alt="" /><img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-contentchangedImg" alt="" /></td>
                                <td valign="top">###FIELD_ITEM######FIELD_PAL_LINK_ICON###</td>
                        </tr>';
 
                                <td valign="top">###FIELD_ITEM######FIELD_PAL_LINK_ICON###</td>
                        </tr>';
 
@@ -4975,8 +4975,8 @@ class t3lib_TCEforms      {
                                                '</span>'.
                                        '</td>';
                                $iRow[$row][] = '<td valign="top">' .
                                                '</span>'.
                                        '</td>';
                                $iRow[$row][] = '<td valign="top">' .
-                                               '<img name="req_'.$content['TABLE'].'_'.$content['ID'].'_'.$content['FIELD'].'" src="clear.gif" width="10" height="10" vspace="4" alt="" />'.
-                                               '<img name="cm_'.$content['TABLE'].'_'.$content['ID'].'_'.$content['FIELD'].'" src="clear.gif" width="7" height="10" vspace="4" alt="" />'.
+                                               '<img name="req_'.$content['TABLE'].'_'.$content['ID'].'_'.$content['FIELD'].'" src="clear.gif" class="t3-TCEforms-reqPaletteImg"alt="" />'.
+                                               '<img name="cm_'.$content['TABLE'].'_'.$content['ID'].'_'.$content['FIELD'].'" src="clear.gif" class="t3-TCEforms-contentchangedPaletteImg" alt="" />'.
                                        '</td>
                                        <td nowrap="nowrap" valign="top">'.
                                                $content['ITEM'].
                                        '</td>
                                        <td nowrap="nowrap" valign="top">'.
                                                $content['ITEM'].
index 14d52c1..7f71e65 100644 (file)
@@ -1053,7 +1053,37 @@ ul.tree li.active ul, ul.tree ul li.active ul {
 TCEforms
 
 - - - - - - - - - - - - - - - - - - - - - */
 TCEforms
 
 - - - - - - - - - - - - - - - - - - - - - */
+img.t3-TCEforms-reqImg {
+       display:inline-block;
+       margin-right:3px;
+       margin-top:4px;
+       margin-left:3px;
+       width:16px;
+       height:16px;
 
 
+}
+img.t3-TCEforms-reqTabImg {
+       margin-left:4px;
+       margin-bottom:-3px;
+       width:16px;
+       height:16px;
+
+}
+img.t3-TCEforms-contentchangedImg {
+       display:inline-block;
+       margin-bottom:2px;
+       width: 7px;
+}
+img.t3-TCEforms-reqPaletteImg {
+       display:inline-block;
+       margin-right:2px;
+       width:16px;
+       height:16px;
+
+}
+img.t3-TCEforms-contentchangedPaletteImg {
+       width: 7px;
+}
 table.typo3-TCEforms {
        width: 93%;
        border-collapse: collapse;
 table.typo3-TCEforms {
        width: 93%;
        border-collapse: collapse;
@@ -1069,6 +1099,7 @@ table.typo3-TCEforms tr.typo3-TCEforms-recHeaderRow td {
        border: 0;
 }
 
        border: 0;
 }
 
+
 table.typo3-TCEforms span.typo3-TCEforms-newToken {
        font-weight: bold;
        color: #990000;
 table.typo3-TCEforms span.typo3-TCEforms-newToken {
        font-weight: bold;
        color: #990000;
index 80fa059..3179302 100644 (file)
@@ -1556,7 +1556,7 @@ $str.=$this->docBodyTagBegin().
                                }
 
                                $mouseOverOut = ' onmouseover="DTM_mouseOver(this);" onmouseout="DTM_mouseOut(this);"';
                                }
 
                                $mouseOverOut = ' onmouseover="DTM_mouseOver(this);" onmouseout="DTM_mouseOut(this);"';
-                               $requiredIcon = '<img name="' . $id . '-' . $index . '-REQ" src="' . $GLOBALS['BACK_PATH'] . 'gfx/clear.gif" width="10" height="10" hspace="4" alt="" />';
+                               $requiredIcon = '<img name="' . $id . '-' . $index . '-REQ" src="' . $GLOBALS['BACK_PATH'] . 'gfx/clear.gif" class="t3-TCEforms-reqTabImg" alt="" />';
 
                                if (!$foldout)  {
                                                // Create TAB cell:
 
                                if (!$foldout)  {
                                                // Create TAB cell: