[FEATURE] Remove noBlur code
authordkd-egerer Sascha Egerer <sascha@sascha-egerer.de>
Sat, 14 Apr 2012 20:26:52 +0000 (22:26 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 28 Apr 2012 15:09:10 +0000 (17:09 +0200)
remove the old and ugly noBlur javascript stuff in menu rendering

Change-Id: Ifd4ca7bcb11058b0b4610cc9c3aa5f1dd15d8118
Resolves: #35827
Releases: 6.0
Reviewed-on: http://review.typo3.org/10504
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Kilian Hann
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_stdgraphic.php
typo3/sysext/cms/tslib/class.tslib_menu.php
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/css_styled_content/static/v3.9/setup.txt
typo3/sysext/css_styled_content/static/v4.2/setup.txt
typo3/sysext/css_styled_content/static/v4.3/setup.txt
typo3/sysext/css_styled_content/static/v4.4/setup.txt
typo3/sysext/css_styled_content/static/v4.5/setup.txt
typo3/sysext/css_styled_content/static/v4.6/setup.txt
typo3/sysext/t3editor/res/jslib/parse_typoscript/tokenizetyposcript.js
typo3/sysext/t3editor/res/tsref/tsref.xml

index 5cf51ce..b6c0940 100644 (file)
@@ -719,8 +719,6 @@ class t3lib_stdGraphic {
         * @see makeText(), calcTextCordsForMap()
         */
        function addToMap($cords, $conf) {
-               $JS = $conf['noBlur'] ? '' : ' onfocus="blurLink(this);"';
-
                $this->map .= '<area' .
                                          ' shape="poly"' .
                                          ' coords="' . implode(',', $cords) . '"' .
index d260dd7..9a31b80 100644 (file)
@@ -1802,11 +1802,6 @@ class tslib_tmenu extends tslib_menu {
                                        $this->I['linkHREF']['title'] = $titleAttrValue;
                                }
 
-                                       // Setting "blurlink()" function:
-                               if (!$this->mconf['noBlur'])    {
-                                       $this->I['linkHREF']['onFocus']='blurLink(this);';
-                               }
-
                                        // Make link:
                                if ($this->I['val']['RO'])      {
                                        $this->I['theName'] = $this->imgNamePrefix.$this->I['uid'].$this->I['INPfix'];
@@ -2487,10 +2482,6 @@ class tslib_gmenu extends tslib_menu {
                                        if (strlen($titleAttrValue))    {
                                                $this->I['linkHREF']['title'] = $titleAttrValue;
                                        }
-                                               // Setting "blurlink()" function:
-                                       if (!$this->mconf['noBlur'])    {
-                                               $this->I['linkHREF']['onFocus']='blurLink(this);';
-                                       }
 
                                                // Set rollover
                                        if ($this->result['RO'][$key] && !$this->I['noLink'])   {
@@ -2764,9 +2755,6 @@ class tslib_imgmenu extends tslib_menu {
                                                                        if ($theValArr['imgMap.']['target']=='')        {
                                                                                $theValArr['imgMap.']['target'] = $LD['target'];
                                                                        }
-                                                                       if ($theValArr['imgMap.']['noBlur']=='')        {
-                                                                               $theValArr['imgMap.']['noBlur'] = $this->mconf['noBlur'];
-                                                                       }
                                                                        if (is_array($theValArr['imgMap.']['altText.']))        {
                                                                                $cObj =t3lib_div::makeInstance('tslib_cObj');
                                                                                $cObj->start($cObjData,'pages');
index d903ea6..9daee2f 100644 (file)
@@ -1832,7 +1832,6 @@ tt_content.menu {
                                                        override.data = register:accessibility_bypass_text
                                                        trim = 1
                                                        htmlSpecialChars = 1
-                                                       noBlur = 1
                                                        typolink {
                                                                parameter {
                                                                        field = pid
@@ -1859,7 +1858,6 @@ tt_content.menu {
                                        wrapItemAndSub = <li>|</li>
                                        ATagTitle.field = description // title
                                }
-                               noBlur = 1
                        }
                }
 
@@ -1884,7 +1882,6 @@ tt_content.menu {
                                target < lib.parseTarget
                                target =
                                target.override = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO {
index e4d4f14..4144e6c 100644 (file)
@@ -1065,7 +1065,6 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO {
@@ -1094,7 +1093,6 @@ tt_content.menu {
                                trim = 1
                                field = header
                                htmlSpecialChars = 1
-                               noBlur = 1
                                wrap = <li class="csc-section">|</li>
                                typolink.parameter.field = pid
                                typolink.section.field = uid
index 084b579..9f92579 100644 (file)
@@ -1081,7 +1081,6 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO {
@@ -1110,7 +1109,6 @@ tt_content.menu {
                                trim = 1
                                field = header
                                htmlSpecialChars = 1
-                               noBlur = 1
                                wrap = <li class="csc-section">|</li>
                                typolink.parameter.field = pid
                                typolink.section.field = uid
index dcb40dd..90a2ae4 100644 (file)
@@ -1406,7 +1406,6 @@ tt_content.menu {
                                ACT.wrapItemAndSub = <li class="csc-menu-active">|</li>
                                CUR < .ACT
                                CUR.wrapItemAndSub = <li class="csc-menu-current">|</li>
-                               noBlur = 1
                        }
                }
 
@@ -1424,7 +1423,6 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO = 1
@@ -1458,7 +1456,6 @@ tt_content.menu {
                                trim = 1
                                field = header
                                htmlSpecialChars = 1
-                               noBlur = 1
                                wrap = <li class="csc-section">|</li>
                                typolink.parameter.field = pid
                                typolink.section.field = uid
index 1915d96..3cfeb35 100644 (file)
@@ -1410,7 +1410,6 @@ tt_content.menu {
                                        wrapItemAndSub = <li>|</li>
                                        ATagTitle.field = description // title
                                }
-                               noBlur = 1
                        }
                }
 
@@ -1428,7 +1427,6 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO {
@@ -1457,7 +1455,6 @@ tt_content.menu {
                                trim = 1
                                field = header
                                htmlSpecialChars = 1
-                               noBlur = 1
                                wrap = <li class="csc-section">|</li>
                                typolink.parameter.field = pid
                                typolink.section.field = uid
index 799bfea..654227d 100644 (file)
@@ -1419,7 +1419,6 @@ tt_content.menu {
                                        wrapItemAndSub = <li>|</li>
                                        ATagTitle.field = description // title
                                }
-                               noBlur = 1
                        }
                }
 
@@ -1437,7 +1436,6 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO {
@@ -1466,7 +1464,6 @@ tt_content.menu {
                                trim = 1
                                field = header
                                htmlSpecialChars = 1
-                               noBlur = 1
                                wrap = <li class="csc-section">|</li>
                                typolink.parameter.field = pid
                                typolink.section.field = uid
index fb6b7e0..669695b 100644 (file)
@@ -1369,7 +1369,6 @@ tt_content.menu {
                                        wrapItemAndSub = <li>|</li>
                                        ATagTitle.field = description // title
                                }
-                               noBlur = 1
                        }
                }
 
@@ -1387,7 +1386,6 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
                                NO {
@@ -1416,7 +1414,6 @@ tt_content.menu {
                                trim = 1
                                field = header
                                htmlSpecialChars = 1
-                               noBlur = 1
                                wrap = <li class="csc-section">|</li>
                                typolink.parameter.field = pid
                                typolink.section.field = uid
index ff3153c..7032cbb 100644 (file)
@@ -604,7 +604,6 @@ var typoscriptWords = {
        'no_cache': 'reserved',
        'no_search': 'reserved',
        'noAttrib': 'reserved',
-       'noBlur': 'reserved',
        'noCache': 'reserved',
        'noCols': 'reserved',
        'noCreateRecordsLink': 'reserved',
@@ -1949,7 +1948,6 @@ var typoscriptWords = {
        'no_cache': 'reserved',
        'no_search': 'reserved',
        'noAttrib': 'reserved',
-       'noBlur': 'reserved',
        'noCache': 'reserved',
        'noCols': 'reserved',
        'noCreateRecordsLink': 'reserved',
@@ -2687,4 +2685,4 @@ var tokenizeTypoScript = function() {
                        inValue: false
                };
        }
-} ();
\ No newline at end of file
+} ();
index 9db7682..67fbc53 100644 (file)
@@ -3404,12 +3404,6 @@ NOTE: Does not work with JSMENU's]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="noBlur" type="boolean">
-                       <description><![CDATA[Normally graphical links are "blurred" if the browser is MSIE. Blurring removes the ugly box around a clicked link.
-If this property is set, the link is NOT blurred (browser-default) with "onFocus".]]></description>
-                       <default><![CDATA[
-]]></default>
-               </property>
                <property name="overrideId" type="int">
                        <description><![CDATA[integer (page-id)
                        If set, then all links in the menu will point to this pageid. Instead the real uid of the page is sent by the parameter "&real_uid=[uid]".
@@ -4071,12 +4065,6 @@ NOTE: Does not work with JSMENU's]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="noBlur" type="boolean">
-                       <description><![CDATA[Normally graphical links are "blurred" if the browser is MSIE. Blurring removes the ugly box around a clicked link.
-If this property is set, the link is NOT blurred (browser-default) with "onFocus".]]></description>
-                       <default><![CDATA[
-]]></default>
-               </property>
                <property name="overrideId" type="int">
                        <description><![CDATA[integer (page-id)
                        If set, then all links in the menu will point to this pageid. Instead the real uid of the page is sent by the parameter "&real_uid=[uid]".
@@ -4546,12 +4534,6 @@ NOTE: Does not work with JSMENU's]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="noBlur" type="boolean">
-                       <description><![CDATA[Normally links are "blurred" if the browser is MSIE. Blurring removes the ugly box around a clicked link.
-If this property is set, the link is NOT blurred (browser-default) with "onFocus".]]></description>
-                       <default><![CDATA[
-]]></default>
-               </property>
                <property name="overrideId" type="int">
                        <description><![CDATA[integer (page-id)
                        If set, then all links in the menu will point to this pageid. Instead the real uid of the page is sent by the parameter "&real_uid=[uid]".
@@ -5116,11 +5098,6 @@ Additional Note: ONLY active if linkWrap is NOT set and file is NOT GIFBUILDER (
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="noBlur" type="boolean">
-                       <description><![CDATA[Normally graphical links are "blurred" if the browser is MSIE. This removes the ugly box around a link.
-If this property is set, the link is NOT blurred with "onFocus".]]></description>
-                       <default><![CDATA[For IMGMENU menu objects provided automatically]]></default>
-               </property>
                <property name="target" type="target">
                        <description><![CDATA[target for link]]></description>
                        <default><![CDATA[For IMGMENU menu objects provided automatically]]></default>
@@ -8459,4 +8436,4 @@ The userfunction must return an <A>-tag.]]></description>
 ]]></default>
                </property>
        </type>
-</tsRef>
\ No newline at end of file
+</tsRef>