Fixed bug #3569: <legend>Search form</legend> is hardcoded (Thanks to Krystian Szymuk...
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 29 May 2009 23:24:17 +0000 (23:24 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 29 May 2009 23:24:17 +0000 (23:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5515 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php
typo3/sysext/indexed_search/pi/locallang.xml
typo3/sysext/indexed_search/pi/template_css.tmpl

index a3e559b..e8288b7 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-30  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #3569: <legend>Search form</legend> is hardcoded (Thanks to Krystian Szymukowicz)
+
 2009-05-29  Jeff Segars  <jeff@webempoweredchurch.org>
 
        * Fixed bug #11166: loadPrototype() called in frontend editing without a valid doc instance.
index 18a0f4e..a7ce2d7 100755 (executable)
@@ -1326,7 +1326,7 @@ class tx_indexedsearch extends tslib_pibase {
                $html = $this->cObj->getSubpart($this->templateCode, '###SEARCH_FORM###');
 
                        // Multilangual text
-               $substituteArray = array('searchFor', 'extResume', 'atATime', 'orderBy', 'fromSection', 'searchIn', 'match', 'style', 'freeIndexUid');
+               $substituteArray = array('legend', 'searchFor', 'extResume', 'atATime', 'orderBy', 'fromSection', 'searchIn', 'match', 'style', 'freeIndexUid');
                foreach ($substituteArray as $marker)   {
                        $markerArray['###FORM_'.t3lib_div::strtoupper($marker).'###'] = $this->pi_getLL('form_'.$marker,'',1);
                }
index ea50cd8..e2380f5 100755 (executable)
@@ -44,6 +44,7 @@
                        <label index="opt_RL1ALL">All pages on level 1</label>
                        <label index="opt_RL2">- Level 2:</label>
                        <label index="opt_RL2ALL">- All pages on level 2</label>
+                       <label index="form_legend">Search form</label>
                        <label index="form_searchFor">Search for:</label>
                        <label index="form_extResume">Extended resume</label>
                        <label index="form_atATime">at a time</label>
index f6eb839..1cca626 100644 (file)
@@ -27,7 +27,7 @@
        </div>
 
        <fieldset>
-               <legend>Search form</legend>
+               <legend>###FORM_LEGEND###</legend>
 
                <div class="tx-indexedsearch-form">
                        <label for="tx-indexedsearch-searchbox-sword">###FORM_SEARCHFOR###</label>