diff --git a/module/VuFind/src/VuFind/Auth/AbstractBase.php b/module/VuFind/src/VuFind/Auth/AbstractBase.php index 7ba872ab01325e3aa2a6da34ddbd0604cf0fbaaf..26a1eee63e55d030b01fddaeda2822598ffad7cf 100644 --- a/module/VuFind/src/VuFind/Auth/AbstractBase.php +++ b/module/VuFind/src/VuFind/Auth/AbstractBase.php @@ -349,6 +349,7 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface, * * @param string $password Password to verify * + * @return void * @throws AuthException */ protected function validatePasswordAgainstPolicy($password) @@ -379,12 +380,11 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface, /** * Translate a string * - * @todo Use TranslatorAwareTrait instead when it's implemented - * - * @param string $str String to translate - * @param array $tokens Tokens to inject into the translated string + * @param string $str String to translate + * @param array $tokens Tokens to inject into the translated string * * @return string + * @todo Use TranslatorAwareTrait instead when it's implemented */ public function translate($str, $tokens = array()) { diff --git a/module/VuFind/src/VuFind/Auth/Database.php b/module/VuFind/src/VuFind/Auth/Database.php index 5ff935a0b1cb49a4d2ab2966b4db4387a1bbf0c5..1813830709c19d0cf85ab3e2320cfa1750111340 100644 --- a/module/VuFind/src/VuFind/Auth/Database.php +++ b/module/VuFind/src/VuFind/Auth/Database.php @@ -303,7 +303,7 @@ class Database extends AbstractBase return true; } - /** + /** * Password policy for a new password (e.g. minLength, maxLength) * * @return array diff --git a/themes/bootstrap3/js/advanced_search_eds.js b/themes/bootstrap3/js/advanced_search_eds.js index af458d71d46de65be59d8cba96729ffe11a6d748..a6cc4f6ac70e86e922dbca9e6bfd1e1124f4877e 100644 --- a/themes/bootstrap3/js/advanced_search_eds.js +++ b/themes/bootstrap3/js/advanced_search_eds.js @@ -41,7 +41,9 @@ function addSearch(group, term, field, op) newSearch += ">" + searchFields[key] + "</option>"; } newSearch += '</select></div> <a href="#" onClick="deleteSearch('+group+','+inputIndex+')" class="col-sm-1 help-block delete'; - if(inputIndex == 0) newSearch += ' hidden'; + if(inputIndex == 0) { + newSearch += ' hidden'; + } newSearch += '">×</a></div>'; // Insert it