Fixed bug #12872: Use "strong" instead of "b": typo3/
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 29 May 2010 21:31:03 +0000 (21:31 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 29 May 2010 21:31:03 +0000 (21:31 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7756 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_menu.php
typo3/class.alt_menu_functions.inc
typo3/class.file_list.inc
typo3/class.show_rechis.inc
typo3/move_el.php
typo3/template.php

index 58e8bfa..3627496 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-05-29  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #12872: Use "strong" instead of "b" (Thanks to Steffen Kamper and Stefano Kowalke)
        * Fixed bug #14517: Set focus on pagetree filter input field (Thanks to Sebastian Gebhard)
        * Fixed bug #14513: Improve rendering of icons in t3-row-header (Thanks to Steffen Gebert)
        * Follow-up to feature #14490: Add missing styles of login box (Thanks to Steffen Gebert)
index a502437..e31e5b5 100644 (file)
@@ -149,7 +149,7 @@ class SC_alt_menu {
                                // Header: Admin functions
                        $this->content.='
                                        <tr class="c-mainitem">
-                                               <td colspan="2"><span class="c-label"><b>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.adminFunctions',1).'</b>&nbsp;</span><span class="c-iconCollapse"></span></td>
+                                               <td colspan="2"><span class="c-label"><strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.adminFunctions',1).'</strong>&nbsp;</span><span class="c-iconCollapse"></span></td>
                                        </tr>';
 
                        $rows=array();
index 4e0ffd9..32d55bc 100644 (file)
@@ -206,7 +206,7 @@ class alt_menu_functions {
                        }
 
                        $selectItems[] = '<option value="top.goToModule(\''.$moduleName.'\');">'.htmlspecialchars($LANG->moduleLabels['tabs'][$moduleKey]).'</option>';
-                       $label='&nbsp;<b>'.$label.'</b>&nbsp;';
+                       $label='&nbsp;<strong>'.$label.'</strong>&nbsp;';
 
 
                                // make menu collapsable
index 560be25..ddf9819 100644 (file)
@@ -180,7 +180,7 @@ class fileList extends t3lib_recordList {
                                if ($this->clickMenus) $otherMarkers['PAGE_ICON'] = $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($otherMarkers['PAGE_ICON'],$path);
 
                                $buttons['level_up'] .= $this->linkWrapDir(t3lib_iconWorks::getSpriteIcon('actions-view-go-up', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.upOneLevel', 1))), $theFile['path']);
-                               $otherMarkers['TITLE'] .= t3lib_div::removeXSS(t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20)));    // No HTML specialchars here - HTML like <b> </b> is allowed
+                               $otherMarkers['TITLE'] .= t3lib_div::removeXSS(t3lib_div::fixed_lgd_cs($title,-($this->fixedL+20)));    // No HTML specialchars here - HTML like <strong> </strong> is allowed
 
                                // this is the root page
                        } else {
index 0ffa5d8..9510278 100644 (file)
@@ -324,7 +324,7 @@ class recordHistory {
                        // get link to page history if the element history is shown
                $elParts = explode(':',$this->element);
                if ($elParts[0] != 'pages')     {
-                       $content .= '<b>'.$LANG->getLL('elementHistory',1).'</b><br />';
+                       $content .= '<strong>'.$LANG->getLL('elementHistory',1).'</strong><br />';
                        $pid = t3lib_BEfunc::getRecordRaw($elParts[0],'uid='.intval($elParts[1]));
                        $content .= $this->linkPage($LANG->getLL('elementHistory_link',1),array('element' => 'pages:'.$pid['pid']));
                }
@@ -389,7 +389,7 @@ class recordHistory {
 
                                $lines[] = '
                                <tr class="bgColor4-20">
-                                       <td colspan="7"><b>'.$LANG->getLL('consistenceWarning',1).'</b></td>
+                                       <td colspan="7"><strong>'.$LANG->getLL('consistenceWarning',1).'</strong></td>
                                </tr>';
                        }
 
@@ -501,10 +501,10 @@ class recordHistory {
                                $elParts = explode(':',$key);
                                        // turn around diff because it should be a "rollback preview"
                                if ($diff['insertsDeletes'][$key] == 1) {       // insert
-                                       $record .= '<b>'.$LANG->getLL('delete',1).'</b>';
+                                       $record .= '<strong>'.$LANG->getLL('delete',1).'</strong>';
                                        $record .= '<br />';
                                } elseif ($diff['insertsDeletes'][$key] == -1)  {
-                                       $record .= '<b>'.$LANG->getLL('insert',1).'</b>';
+                                       $record .= '<strong>'.$LANG->getLL('insert',1).'</strong>';
                                        $record .= '<br />';
                                }
                                        // build up temporary diff array
index 96b7e78..0783f4c 100644 (file)
@@ -199,7 +199,7 @@ class ext_posMap_tt_content extends t3lib_positionMap {
         * @return      string          Wrapped title string.
         */
        function wrapRecordTitle($str,$row)     {
-               if ($GLOBALS['SOBE']->moveUid==$row['uid'])     $str = '<b>'.$str.'</b>';
+               if ($GLOBALS['SOBE']->moveUid==$row['uid'])     $str = '<strong>'.$str.'</strong>';
                return parent::wrapRecordTitle($str,$row);
        }
 }
index dd41001..c42b4b3 100644 (file)
@@ -474,7 +474,7 @@ class template {
         */
        function getFileheader($title,$path,$iconfile)  {
                $fileInfo = t3lib_div::split_fileref($title);
-               $title = htmlspecialchars(t3lib_div::fixed_lgd_cs($fileInfo['path'],-35)).'<b>'.htmlspecialchars($fileInfo['file']).'</b>';
+               $title = htmlspecialchars(t3lib_div::fixed_lgd_cs($fileInfo['path'],-35)).'<strong>'.htmlspecialchars($fileInfo['file']).'</strong>';
                return '<span class="typo3-moduleHeader"><img'.t3lib_iconWorks::skinImg($this->backPath,$iconfile,'width="18" height="16"').' title="'.htmlspecialchars($path).'" alt="" />'.$title.'</span>';
        }
 
@@ -1838,11 +1838,11 @@ $str.=$this->docBodyTagBegin().
 
                                                // Controls:
                                        if ($id==$onlineId)     {
-                                               $controls = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/blinkarrow_left.gif','width="5" height="9"').' class="absmiddle" alt="" /> <b>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.online',1).'</b>';
+                                               $controls = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/blinkarrow_left.gif','width="5" height="9"').' class="absmiddle" alt="" /> <strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.online',1).'</strong>';
                                        } elseif (!$noAction) {
                                                $controls = '<a href="'.$this->issueCommand('&cmd[pages]['.$onlineId.'][version][swapWith]='.$id.'&cmd[pages]['.$onlineId.'][version][action]=swap',t3lib_div::linkThisScript(array('id'=>$onlineId))).'" class="nobr">'.
                                                                '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/insert1.gif','width="14" height="14"').' style="margin-right: 2px;" class="absmiddle" alt="" title="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.swapPage',1).'" />'.
-                                                               '<b>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.swap',1).'</b></a>';
+                                                               '<strong>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.swap',1).'</strong></a>';
                                        }
 
                                                // Write out HTML code: