[TASK] Use real boolean value for pi_getLL third param 93/22593/2
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 26 Jul 2013 13:24:53 +0000 (15:24 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 27 Jul 2013 23:21:13 +0000 (01:21 +0200)
Make use of boolean value TRUE as third parameter in
pi_getLL function.

Change-Id: I688187fcb5130b9d3b49fabeee36c67cf300e3dc
Resolves: #50469
Releases: 6.2
Reviewed-on: https://review.typo3.org/22593
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/felogin/Classes/Controller/FrontendLoginController.php
typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php

index 82e7c49..1875db6 100644 (file)
@@ -181,7 +181,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                // Process the redirect
                if (($this->logintype === 'login' || $this->logintype === 'logout') && $this->redirectUrl && !$this->noRedirect) {
                        if (!$GLOBALS['TSFE']->fe_user->cookieId) {
-                               $content .= $this->cObj->stdWrap($this->pi_getLL('cookie_warning', '', 1), $this->conf['cookieWarning_stdWrap.']);
+                               $content .= $this->cObj->stdWrap($this->pi_getLL('cookie_warning', '', TRUE), $this->conf['cookieWarning_stdWrap.']);
                        } else {
                                // Add hook for extra processing before redirect
                                if (
@@ -253,7 +253,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                                        $markerArray['###STATUS_MESSAGE###'] = $this->cObj->stdWrap($error, $this->conf['forgotErrorMessage_stdWrap.']);
                                } else {
                                        $markerArray['###STATUS_MESSAGE###'] = $this->cObj->stdWrap(
-                                               $this->pi_getLL('ll_forgot_reset_message_emailSent', '', 1),
+                                               $this->pi_getLL('ll_forgot_reset_message_emailSent', '', TRUE),
                                                $this->conf['forgotResetMessageEmailSentMessage_stdWrap.']
                                        );
                                }
@@ -267,15 +267,15 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                        $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('forgot_reset_message', $this->conf['forgotMessage_stdWrap.']);
                        $markerArray['###BACKLINK_LOGIN###'] = '';
                }
-               $markerArray['###BACKLINK_LOGIN###'] = $this->getPageLink($this->pi_getLL('ll_forgot_header_backToLogin', '', 1), array());
+               $markerArray['###BACKLINK_LOGIN###'] = $this->getPageLink($this->pi_getLL('ll_forgot_header_backToLogin', '', TRUE), array());
                $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('forgot_header', $this->conf['forgotHeader_stdWrap.']);
-               $markerArray['###LEGEND###'] = $this->pi_getLL('legend', $this->pi_getLL('reset_password', '', 1), 1);
+               $markerArray['###LEGEND###'] = $this->pi_getLL('legend', $this->pi_getLL('reset_password', '', TRUE), TRUE);
                $markerArray['###ACTION_URI###'] = $this->getPageLink('', array($this->prefixId . '[forgot]' => 1), TRUE);
-               $markerArray['###EMAIL_LABEL###'] = $this->pi_getLL('your_email', '', 1);
-               $markerArray['###FORGOT_PASSWORD_ENTEREMAIL###'] = $this->pi_getLL('forgot_password_enterEmail', '', 1);
+               $markerArray['###EMAIL_LABEL###'] = $this->pi_getLL('your_email', '', TRUE);
+               $markerArray['###FORGOT_PASSWORD_ENTEREMAIL###'] = $this->pi_getLL('forgot_password_enterEmail', '', TRUE);
                $markerArray['###FORGOT_EMAIL###'] = $this->prefixId . '[forgot_email]';
-               $markerArray['###SEND_PASSWORD###'] = $this->pi_getLL('reset_password', '', 1);
-               $markerArray['###DATA_LABEL###'] = $this->pi_getLL('ll_enter_your_data', '', 1);
+               $markerArray['###SEND_PASSWORD###'] = $this->pi_getLL('reset_password', '', TRUE);
+               $markerArray['###DATA_LABEL###'] = $this->pi_getLL('ll_enter_your_data', '', TRUE);
                $markerArray = array_merge($markerArray, $this->getUserFieldMarkers());
                // Generate hash
                $hash = md5($this->generatePassword(3));
@@ -365,7 +365,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                                                $done = TRUE;
                                                $subpartArray['###CHANGEPASSWORD_FORM###'] = '';
                                                $markerArray['###BACKLINK_LOGIN###'] = $this->getPageLink(
-                                                       $this->pi_getLL('ll_forgot_header_backToLogin', '', 1),
+                                                       $this->pi_getLL('ll_forgot_header_backToLogin', '', TRUE),
                                                        array($this->prefixId . '[redirectReferrer]' => 'off')
                                                );
                                        }
@@ -376,13 +376,13 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                                                $this->prefixId . '[user]' => $user['uid'],
                                                $this->prefixId . '[forgothash]' => $piHash
                                        ));
-                                       $markerArray['###LEGEND###'] = $this->pi_getLL('change_password', '', 1);
-                                       $markerArray['###NEWPASSWORD1_LABEL###'] = $this->pi_getLL('newpassword_label1', '', 1);
-                                       $markerArray['###NEWPASSWORD2_LABEL###'] = $this->pi_getLL('newpassword_label2', '', 1);
+                                       $markerArray['###LEGEND###'] = $this->pi_getLL('change_password', '', TRUE);
+                                       $markerArray['###NEWPASSWORD1_LABEL###'] = $this->pi_getLL('newpassword_label1', '', TRUE);
+                                       $markerArray['###NEWPASSWORD2_LABEL###'] = $this->pi_getLL('newpassword_label2', '', TRUE);
                                        $markerArray['###NEWPASSWORD1###'] = $this->prefixId . '[password1]';
                                        $markerArray['###NEWPASSWORD2###'] = $this->prefixId . '[password2]';
                                        $markerArray['###STORAGE_PID###'] = $this->spid;
-                                       $markerArray['###SEND_PASSWORD###'] = $this->pi_getLL('change_password', '', 1);
+                                       $markerArray['###SEND_PASSWORD###'] = $this->pi_getLL('change_password', '', TRUE);
                                        $markerArray['###FORGOTHASH###'] = $piHash;
                                }
                        }
@@ -434,7 +434,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                        // No prefix is set, return the error
                        return $this->pi_getLL('ll_change_password_nolinkprefix_message');
                }
-               $msg = sprintf($this->pi_getLL('ll_forgot_validate_reset_password', '', 0), $user['username'], $link, $validEndString);
+               $msg = sprintf($this->pi_getLL('ll_forgot_validate_reset_password'), $user['username'], $link, $validEndString);
                // Add hook for extra processing of mail message
                if (
                        isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['forgotPasswordMail'])
@@ -471,13 +471,13 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('status_header', $this->conf['logoutHeader_stdWrap.']);
                $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('status_message', $this->conf['logoutMessage_stdWrap.']);
                $this->cObj->stdWrap($this->flexFormValue('message', 's_status'), $this->conf['logoutMessage_stdWrap.']);
-               $markerArray['###LEGEND###'] = $this->pi_getLL('logout', '', 1);
+               $markerArray['###LEGEND###'] = $this->pi_getLL('logout', '', TRUE);
                $markerArray['###ACTION_URI###'] = $this->getPageLink('', array(), TRUE);
-               $markerArray['###LOGOUT_LABEL###'] = $this->pi_getLL('logout', '', 1);
+               $markerArray['###LOGOUT_LABEL###'] = $this->pi_getLL('logout', '', TRUE);
                $markerArray['###NAME###'] = htmlspecialchars($GLOBALS['TSFE']->fe_user->user['name']);
                $markerArray['###STORAGE_PID###'] = $this->spid;
                $markerArray['###USERNAME###'] = htmlspecialchars($GLOBALS['TSFE']->fe_user->user['username']);
-               $markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', 1);
+               $markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', TRUE);
                $markerArray['###NOREDIRECT###'] = $this->noRedirect ? '1' : '0';
                $markerArray['###PREFIXID###'] = $this->prefixId;
                $markerArray = array_merge($markerArray, $this->getUserFieldMarkers());
@@ -498,7 +498,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGIN###');
                $subpartArray = ($linkpartArray = ($markerArray = array()));
                $gpRedirectUrl = '';
-               $markerArray['###LEGEND###'] = $this->pi_getLL('oLabel_header_welcome', '', 1);
+               $markerArray['###LEGEND###'] = $this->pi_getLL('oLabel_header_welcome', '', TRUE);
                if ($this->logintype === 'login') {
                        if ($this->userIsLoggedIn) {
                                // login success
@@ -587,20 +587,20 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                $markerArray['###ACTION_URI###'] = $this->getPageLink('', array(), TRUE);
                // Used by kb_md5fepw extension...
                $markerArray['###EXTRA_HIDDEN###'] = $extraHidden;
-               $markerArray['###LEGEND###'] = $this->pi_getLL('login', '', 1);
-               $markerArray['###LOGIN_LABEL###'] = $this->pi_getLL('login', '', 1);
+               $markerArray['###LEGEND###'] = $this->pi_getLL('login', '', TRUE);
+               $markerArray['###LOGIN_LABEL###'] = $this->pi_getLL('login', '', TRUE);
                // Used by kb_md5fepw extension...
                $markerArray['###ON_SUBMIT###'] = $onSubmit;
-               $markerArray['###PASSWORD_LABEL###'] = $this->pi_getLL('password', '', 1);
+               $markerArray['###PASSWORD_LABEL###'] = $this->pi_getLL('password', '', TRUE);
                $markerArray['###STORAGE_PID###'] = $this->spid;
-               $markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', 1);
+               $markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', TRUE);
                $markerArray['###REDIRECT_URL###'] = htmlspecialchars($gpRedirectUrl);
                $markerArray['###NOREDIRECT###'] = $this->noRedirect ? '1' : '0';
                $markerArray['###PREFIXID###'] = $this->prefixId;
                $markerArray = array_merge($markerArray, $this->getUserFieldMarkers());
                if ($this->flexFormValue('showForgotPassword', 'sDEF') || $this->conf['showForgotPasswordLink']) {
                        $linkpartArray['###FORGOT_PASSWORD_LINK###'] = explode('|', $this->getPageLink('|', array($this->prefixId . '[forgot]' => 1)));
-                       $markerArray['###FORGOT_PASSWORD###'] = $this->pi_getLL('ll_forgot_header', '', 1);
+                       $markerArray['###FORGOT_PASSWORD###'] = $this->pi_getLL('ll_forgot_header', '', TRUE);
                } else {
                        $subpartArray['###FORGOTP_VALID###'] = '';
                }
@@ -611,7 +611,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
                        && GeneralUtility::inList('0,1', $GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'])
                        && $GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'] > 0
                ) {
-                       $markerArray['###PERMALOGIN###'] = $this->pi_getLL('permalogin', '', 1);
+                       $markerArray['###PERMALOGIN###'] = $this->pi_getLL('permalogin', '', TRUE);
                        if ($GLOBALS['TYPO3_CONF_VARS']['FE']['permalogin'] == 1) {
                                $markerArray['###PERMALOGIN_HIDDENFIELD_ATTRIBUTES###'] = 'disabled="disabled"';
                                $markerArray['###PERMALOGIN_CHECKBOX_ATTRIBUTES###'] = 'checked="checked"';
@@ -911,7 +911,7 @@ class FrontendLoginController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin
         * @return string label text
         */
        protected function getDisplayText($label, $stdWrapArray = array()) {
-               $text = $this->flexFormValue($label, 's_messages') ? $this->cObj->stdWrap($this->flexFormValue($label, 's_messages'), $stdWrapArray) : $this->cObj->stdWrap($this->pi_getLL('ll_' . $label, '', 1), $stdWrapArray);
+               $text = $this->flexFormValue($label, 's_messages') ? $this->cObj->stdWrap($this->flexFormValue($label, 's_messages'), $stdWrapArray) : $this->cObj->stdWrap($this->pi_getLL('ll_' . $label, '', TRUE), $stdWrapArray);
                $replace = $this->getUserFieldMarkers();
                return strtr($text, $replace);
        }
index 082aa80..2741524 100644 (file)
@@ -691,14 +691,14 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                        if ($resData['count']) {
                                $content = $browseBox1 . $rowcontent . $browseBox2;
                        } else {
-                               $content = '<p' . $this->pi_classParam('noresults') . '>' . $this->pi_getLL('noResults', '', 1) . '</p>';
+                               $content = '<p' . $this->pi_classParam('noresults') . '>' . $this->pi_getLL('noResults', '', TRUE) . '</p>';
                        }
                        $GLOBALS['TT']->pull();
                } else {
-                       $content .= '<p' . $this->pi_classParam('noresults') . '>' . $this->pi_getLL('noResults', '', 1) . '</p>';
+                       $content .= '<p' . $this->pi_classParam('noresults') . '>' . $this->pi_getLL('noResults', '', TRUE) . '</p>';
                }
                // Print a message telling which words we searched for, and in which sections etc.
-               $what = $this->tellUsWhatIsSeachedFor($sWArr) . (substr($this->piVars['sections'], 0, 2) == 'rl' ? ' ' . $this->pi_getLL('inSection', '', 1) . ' "' . substr($this->getPathFromPageId(substr($this->piVars['sections'], 4)), 1) . '"' : '');
+               $what = $this->tellUsWhatIsSeachedFor($sWArr) . (substr($this->piVars['sections'], 0, 2) == 'rl' ? ' ' . $this->pi_getLL('inSection', '', TRUE) . ' "' . substr($this->getPathFromPageId(substr($this->piVars['sections'], 4)), 1) . '"' : '');
                $what = '<div' . $this->pi_classParam('whatis') . '>' . $this->cObj->stdWrap($what, $this->conf['whatis_stdWrap.']) . '</div>';
                $content = $what . $content;
                // Return content:
@@ -758,7 +758,7 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                                                        $sectionName = substr($sectionName, 1);
                                                }
                                                if (!trim($sectionName)) {
-                                                       $sectionTitleLinked = $this->pi_getLL('unnamedSection', '', 1) . ':';
+                                                       $sectionTitleLinked = $this->pi_getLL('unnamedSection', '', TRUE) . ':';
                                                } else {
                                                        $onclick = 'document.' . $this->prefixId . '[\'' . $this->prefixId . '[_sections]\'].value=\'' . $theRLid . '\';document.' . $this->prefixId . '.submit();return false;';
                                                        $sectionTitleLinked = '<a href="#" onclick="' . htmlspecialchars($onclick) . '">' . htmlspecialchars($sectionName) . ':</a>';
@@ -1316,16 +1316,16 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                // Multilangual text
                $substituteArray = array('legend', 'searchFor', 'extResume', 'atATime', 'orderBy', 'fromSection', 'searchIn', 'match', 'style', 'freeIndexUid');
                foreach ($substituteArray as $marker) {
-                       $markerArray['###FORM_' . GeneralUtility::strtoupper($marker) . '###'] = $this->pi_getLL('form_' . $marker, '', 1);
+                       $markerArray['###FORM_' . GeneralUtility::strtoupper($marker) . '###'] = $this->pi_getLL('form_' . $marker, '', TRUE);
                }
-               $markerArray['###FORM_SUBMIT###'] = $this->pi_getLL('submit_button_label', '', 1);
+               $markerArray['###FORM_SUBMIT###'] = $this->pi_getLL('submit_button_label', '', TRUE);
                // Adding search field value
                $markerArray['###SWORD_VALUE###'] = htmlspecialchars($this->piVars['sword']);
                // Additonal keyword => "Add to current search words"
                if ($this->conf['show.']['clearSearchBox'] && $this->conf['show.']['clearSearchBox.']['enableSubSearchCheckBox']) {
                        $markerArray['###SWORD_PREV_VALUE###'] = htmlspecialchars($this->conf['show.']['clearSearchBox'] ? '' : $this->piVars['sword']);
                        $markerArray['###SWORD_PREV_INCLUDE_CHECKED###'] = $this->piVars['sword_prev_include'] ? ' checked="checked"' : '';
-                       $markerArray['###ADD_TO_CURRENT_SEARCH###'] = $this->pi_getLL('makerating_addToCurrentSearch', '', 1);
+                       $markerArray['###ADD_TO_CURRENT_SEARCH###'] = $this->pi_getLL('makerating_addToCurrentSearch', '', TRUE);
                } else {
                        $html = $this->cObj->substituteSubpart($html, '###ADDITONAL_KEYWORD###', '');
                }
@@ -1422,7 +1422,7 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                }
                if ($this->conf['show.']['advancedSearchLink']) {
                        $linkToOtherMode = $this->piVars['ext'] ? $this->pi_getPageLink($GLOBALS['TSFE']->id, $GLOBALS['TSFE']->sPre, array($this->prefixId . '[ext]' => 0)) : $this->pi_getPageLink($GLOBALS['TSFE']->id, $GLOBALS['TSFE']->sPre, array($this->prefixId . '[ext]' => 1));
-                       $markerArray['###LINKTOOTHERMODE###'] = '<a href="' . htmlspecialchars($linkToOtherMode) . '">' . $this->pi_getLL(($this->piVars['ext'] ? 'link_regularSearch' : 'link_advancedSearch'), '', 1) . '</a>';
+                       $markerArray['###LINKTOOTHERMODE###'] = '<a href="' . htmlspecialchars($linkToOtherMode) . '">' . $this->pi_getLL(($this->piVars['ext'] ? 'link_regularSearch' : 'link_advancedSearch'), '', TRUE) . '</a>';
                } else {
                        $markerArray['###LINKTOOTHERMODE###'] = '';
                }
@@ -1464,8 +1464,8 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
        public function printRules() {
                if ($this->conf['show.']['rules']) {
                        $html = $this->cObj->getSubpart($this->templateCode, '###RULES###');
-                       $markerArray['###RULES_HEADER###'] = $this->pi_getLL('rules_header', '', 1);
-                       $markerArray['###RULES_TEXT###'] = nl2br(trim($this->pi_getLL('rules_text', '', 1)));
+                       $markerArray['###RULES_HEADER###'] = $this->pi_getLL('rules_header', '', TRUE);
+                       $markerArray['###RULES_TEXT###'] = nl2br(trim($this->pi_getLL('rules_text', '', TRUE)));
                        $substitutedContent = $this->cObj->substituteMarkerArrayCached($html, $markerArray, array(), array());
                        return $this->cObj->stdWrap($substitutedContent, $this->conf['rules_stdWrap.']);
                }
@@ -1485,7 +1485,7 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                        foreach ($this->resultSections as $id => $dat) {
                                $markerArray = array();
                                $aBegin = '<a href="' . htmlspecialchars(($GLOBALS['TSFE']->anchorPrefix . '#anchor_' . md5($id))) . '">';
-                               $aContent = htmlspecialchars((trim($dat[0]) ? trim($dat[0]) : $this->pi_getLL('unnamedSection'))) . ' (' . $dat[1] . ' ' . $this->pi_getLL(($dat[1] > 1 ? 'word_pages' : 'word_page'), '', 1) . ')';
+                               $aContent = htmlspecialchars((trim($dat[0]) ? trim($dat[0]) : $this->pi_getLL('unnamedSection'))) . ' (' . $dat[1] . ' ' . $this->pi_getLL(($dat[1] > 1 ? 'word_pages' : 'word_page'), '', TRUE) . ')';
                                $aEnd = '</a>';
                                $markerArray['###LINK###'] = $aBegin . $aContent . $aEnd;
                                $links[] = $this->cObj->substituteMarkerArrayCached($item, $markerArray, array(), array());
@@ -1546,21 +1546,21 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                                }
                        }
                        // Description text
-                       $markerArray['###TEXT_ITEM_SIZE###'] = $this->pi_getLL('res_size', '', 1);
-                       $markerArray['###TEXT_ITEM_CRDATE###'] = $this->pi_getLL('res_created', '', 1);
-                       $markerArray['###TEXT_ITEM_MTIME###'] = $this->pi_getLL('res_modified', '', 1);
-                       $markerArray['###TEXT_ITEM_PATH###'] = $this->pi_getLL('res_path', '', 1);
+                       $markerArray['###TEXT_ITEM_SIZE###'] = $this->pi_getLL('res_size', '', TRUE);
+                       $markerArray['###TEXT_ITEM_CRDATE###'] = $this->pi_getLL('res_created', '', TRUE);
+                       $markerArray['###TEXT_ITEM_MTIME###'] = $this->pi_getLL('res_modified', '', TRUE);
+                       $markerArray['###TEXT_ITEM_PATH###'] = $this->pi_getLL('res_path', '', TRUE);
                        $html = $this->cObj->substituteMarkerArrayCached($html, $markerArray, array(), array());
                        // If there are subrows (eg. subpages in a PDF-file or if a duplicate page is selected due to user-login (phash_grouping))
                        if (is_array($row['_sub'])) {
                                if ($this->multiplePagesType($row['item_type'])) {
-                                       $html = str_replace('###TEXT_ROW_SUB###', $this->pi_getLL('res_otherMatching', '', 1), $html);
+                                       $html = str_replace('###TEXT_ROW_SUB###', $this->pi_getLL('res_otherMatching', '', TRUE), $html);
                                        foreach ($row['_sub'] as $subRow) {
                                                $html .= $this->printResultRow($subRow, 1);
                                        }
                                } else {
-                                       $markerArray['###TEXT_ROW_SUB###'] = $this->pi_getLL('res_otherMatching', '', 1);
-                                       $html = str_replace('###TEXT_ROW_SUB###', $this->pi_getLL('res_otherPageAsWell', '', 1), $html);
+                                       $markerArray['###TEXT_ROW_SUB###'] = $this->pi_getLL('res_otherMatching', '', TRUE);
+                                       $html = str_replace('###TEXT_ROW_SUB###', $this->pi_getLL('res_otherPageAsWell', '', TRUE), $html);
                                }
                        }
                        return $html;
@@ -1592,7 +1592,7 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                        // Make browse-table/links:
                        if ($pointer > 0) {
                                // all pages after the 1st one
-                               $links[] = '<li>' . $this->makePointerSelector_link($this->pi_getLL('pi_list_browseresults_prev', '< Previous', 1), ($pointer - 1), $freeIndexUid) . '</li>';
+                               $links[] = '<li>' . $this->makePointerSelector_link($this->pi_getLL('pi_list_browseresults_prev', '< Previous', TRUE), ($pointer - 1), $freeIndexUid) . '</li>';
                        }
                        for ($a = 0; $a < $pageCount; $a++) {
                                $min = max(0, $pointer + 1 - ceil($maxPages / 2));
@@ -1604,12 +1604,12 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                                        if ($a == $pointer) {
                                                $links[] = '<li' . $this->pi_classParam('browselist-currentPage') . '><strong>' . $this->makePointerSelector_link(trim(($this->pi_getLL('pi_list_browseresults_page', 'Page', 1) . ' ' . ($a + 1))), $a, $freeIndexUid) . '</strong></li>';
                                        } else {
-                                               $links[] = '<li>' . $this->makePointerSelector_link(trim(($this->pi_getLL('pi_list_browseresults_page', 'Page', 1) . ' ' . ($a + 1))), $a, $freeIndexUid) . '</li>';
+                                               $links[] = '<li>' . $this->makePointerSelector_link(trim(($this->pi_getLL('pi_list_browseresults_page', 'Page', TRUE) . ' ' . ($a + 1))), $a, $freeIndexUid) . '</li>';
                                        }
                                }
                        }
                        if ($pointer + 1 < $pageCount) {
-                               $links[] = '<li>' . $this->makePointerSelector_link($this->pi_getLL('pi_list_browseresults_next', 'Next >', 1), ($pointer + 1), $freeIndexUid) . '</li>';
+                               $links[] = '<li>' . $this->makePointerSelector_link($this->pi_getLL('pi_list_browseresults_next', 'Next >', TRUE), ($pointer + 1), $freeIndexUid) . '</li>';
                        }
                }
                $pR1 = $pointer * $results_at_a_time + 1;
@@ -1706,17 +1706,17 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                        if ($c) {
                                switch ($v['oper']) {
                                        case 'OR':
-                                               $searchingFor .= ' ' . $this->pi_getLL('searchFor_or', '', 1) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
+                                               $searchingFor .= ' ' . $this->pi_getLL('searchFor_or', '', TRUE) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
                                                break;
                                        case 'AND NOT':
-                                               $searchingFor .= ' ' . $this->pi_getLL('searchFor_butNot', '', 1) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
+                                               $searchingFor .= ' ' . $this->pi_getLL('searchFor_butNot', '', TRUE) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
                                                break;
                                        default:
                                                // AND...
-                                               $searchingFor .= ' ' . $this->pi_getLL('searchFor_and', '', 1) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
+                                               $searchingFor .= ' ' . $this->pi_getLL('searchFor_and', '', TRUE) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
                                }
                        } else {
-                               $searchingFor = $this->pi_getLL('searchFor', '', 1) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
+                               $searchingFor = $this->pi_getLL('searchFor', '', TRUE) . ' ' . $this->wrapSW($this->utf8_to_currentCharset($v['sword']));
                        }
                        $c++;
                }
@@ -1900,7 +1900,7 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
                        }
                        $output = $this->utf8_to_currentCharset($outputStr ? $outputStr : $markedSW);
                } else {
-                       $output = '<span class="noResume">' . $this->pi_getLL('res_noResume', '', 1) . '</span>';
+                       $output = '<span class="noResume">' . $this->pi_getLL('res_noResume', '', TRUE) . '</span>';
                }
                return $output;
        }
@@ -2098,7 +2098,7 @@ class SearchFormController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
         */
        public function makeAccessIndication($id) {
                if (is_array($this->fe_groups_required[$id]) && count($this->fe_groups_required[$id])) {
-                       return '<img src="' . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath('indexed_search') . 'pi/res/locked.gif" width="12" height="15" vspace="5" title="' . sprintf($this->pi_getLL('res_memberGroups', '', 1), implode(',', array_unique($this->fe_groups_required[$id]))) . '" alt="" />';
+                       return '<img src="' . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath('indexed_search') . 'pi/res/locked.gif" width="12" height="15" vspace="5" title="' . sprintf($this->pi_getLL('res_memberGroups', '', TRUE), implode(',', array_unique($this->fe_groups_required[$id]))) . '" alt="" />';
                }
        }