From e6cca75875cf2dd08ab1cf51501ee01f505a54c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 27 Apr 2012 11:32:47 +0200 Subject: [PATCH] Cleanup spacing after @param --- js/common.js | 12 +- js/config.js | 4 +- js/functions.js | 82 ++--- js/jquery/jquery-ui-1.8.16.custom.js | 68 ++-- js/jquery/jquery.svg.js | 414 +++++++++++----------- js/jquery/timepicker.js | 2 +- js/keyhandler.js | 2 +- js/navigation.js | 20 +- js/rte/routines.js | 10 +- js/server_privileges.js | 8 +- js/server_synchronize.js | 20 +- js/sql.js | 2 +- js/tbl_change.js | 8 +- js/tbl_structure.js | 4 +- libraries/auth/cookie.auth.lib.php | 8 +- libraries/auth/swekey/swekey.php | 20 +- libraries/config/ConfigFile.class.php | 16 +- libraries/config/Form.class.php | 10 +- libraries/config/FormDisplay.class.php | 12 +- libraries/config/config_functions.lib.php | 4 +- libraries/dbi/mysql.dbi.lib.php | 10 +- libraries/engines/innodb.lib.php | 2 +- libraries/engines/pbxt.lib.php | 2 +- libraries/rte/rte_events.lib.php | 8 +- libraries/rte/rte_export.lib.php | 4 +- libraries/rte/rte_footer.lib.php | 6 +- libraries/rte/rte_list.lib.php | 16 +- libraries/rte/rte_routines.lib.php | 28 +- libraries/rte/rte_triggers.lib.php | 6 +- libraries/rte/rte_words.lib.php | 2 +- scripts/decode_bug.php | 2 +- user_password.php | 28 +- 32 files changed, 420 insertions(+), 420 deletions(-) diff --git a/js/common.js b/js/common.js index 718763c9f3..79453153cb 100644 --- a/js/common.js +++ b/js/common.js @@ -17,7 +17,7 @@ var query_to_load = ''; /** * sets current selected db * - * @param string db name + * @param string db name */ function setDb(new_db) { @@ -50,7 +50,7 @@ function setDb(new_db) /** * sets current selected table (called from navigation.php) * - * @param string table name + * @param string table name */ function setTable(new_table) { @@ -77,7 +77,7 @@ function setTable(new_table) /** * reloads main frame * - * @param string url name of page to be loaded + * @param string url name of page to be loaded */ function refreshMain(url) { @@ -101,7 +101,7 @@ function refreshMain(url) /** * reloads navigation frame * - * @param boolean force force reloading + * @param boolean force force reloading */ function refreshNavigation(force) { @@ -296,8 +296,8 @@ function refreshQuerywindow( url ) * opens new url in target frame, with default being left frame * valid is 'main' and 'querywindow' all others leads to 'left' * - * @param string targeturl new url to load - * @param string target frame where to load the new url + * @param string targeturl new url to load + * @param string target frame where to load the new url */ function goTo(targeturl, target) { diff --git a/js/config.js b/js/config.js index 038cc8b0b5..440fc56468 100644 --- a/js/config.js +++ b/js/config.js @@ -274,8 +274,8 @@ function validateField(id, type, onKeyUp, params) /** * Returns valdiation functions associated with form field * - * @param {String} field_id form field id - * @param {boolean} onKeyUpOnly see validateField + * @param {String} field_id form field id + * @param {boolean} onKeyUpOnly see validateField * @type Array * @return array of [function, paramseters to be passed to function] */ diff --git a/js/functions.js b/js/functions.js index 8da237d057..03a0b54f17 100644 --- a/js/functions.js +++ b/js/functions.js @@ -60,7 +60,7 @@ $.ajaxPrefilter(function (options, originalOptions, jqXHR) { * Add a hidden field to the form to indicate that this will be an * Ajax request (only if this hidden field does not exist) * - * @param object the form + * @param object the form */ function PMA_prepareForAjaxRequest($form) { @@ -72,7 +72,7 @@ function PMA_prepareForAjaxRequest($form) /** * Generate a new password and copy it to the password input areas * - * @param object the form that holds the password fields + * @param object the form that holds the password fields * * @return boolean always true */ @@ -179,7 +179,7 @@ function displayPasswordGenerateButton() /* * Adds a date/time picker to an element * - * @param object $this_element a jQuery object pointing to the element + * @param object $this_element a jQuery object pointing to the element */ function PMA_addDatepicker($this_element, options) { @@ -219,10 +219,10 @@ function PMA_addDatepicker($this_element, options) /** * selects the content of a given object, f.e. a textarea * - * @param object element element of which the content will be selected - * @param var lock variable which holds the lock for this element + * @param object element element of which the content will be selected + * @param var lock variable which holds the lock for this element * or true, if no lock exists - * @param boolean only_once if true this is only done once + * @param boolean only_once if true this is only done once * f.e. only on first focus */ function selectContent( element, lock, only_once ) @@ -244,8 +244,8 @@ function selectContent( element, lock, only_once ) * Displays a confirmation box before submitting a "DROP/DELETE/ALTER" query. * This function is called while clicking links * - * @param object the link - * @param object the sql query to submit + * @param object the link + * @param object the sql query to submit * * @return boolean whether to run the query or not */ @@ -282,8 +282,8 @@ function confirmLink(theLink, theSqlQuery) * sumitting it if required. * This function is called by the 'checkSqlQuery()' js function. * - * @param object the form - * @param object the sql query textarea + * @param object the form + * @param object the sql query textarea * * @return boolean whether to run the query or not * @@ -349,7 +349,7 @@ function confirmQuery(theForm1, sqlQuery1) * Displays an error message if the user submitted the sql query form with no * sql query, else checks for "DROP/DELETE/ALTER" statements * - * @param object the form + * @param object the form * * @return boolean always false * @@ -407,8 +407,8 @@ function checkSqlQuery(theForm) * Check if a form's element is empty. * An element containing only spaces is also considered empty * - * @param object the form - * @param string the name of the form field to put the focus on + * @param object the form + * @param string the name of the form field to put the focus on * * @return boolean whether the form field is empty or not */ @@ -423,8 +423,8 @@ function emptyCheckTheField(theForm, theFieldName) /** * Check whether a form field is empty or not * - * @param object the form - * @param string the name of the form field to put the focus on + * @param object the form + * @param string the name of the form field to put the focus on * * @return boolean whether the form field is empty or not */ @@ -441,10 +441,10 @@ function emptyFormElements(theForm, theFieldName) /** * Ensures a value submitted in a form is numeric and is in a range * - * @param object the form - * @param string the name of the form field to check - * @param integer the minimum authorized value - * @param integer the maximum authorized value + * @param object the form + * @param string the name of the form field to check + * @param integer the minimum authorized value + * @param integer the maximum authorized value * * @return boolean whether a valid number has been submitted or not */ @@ -671,7 +671,7 @@ var marked_row = new Array; * marks all rows and selects its first checkbox inside the given element * the given element is usaly a table or a div containing the table or tables * - * @param container DOM element + * @param container DOM element */ function markAllRows(container_id) { @@ -685,7 +685,7 @@ function markAllRows(container_id) * marks all rows and selects its first checkbox inside the given element * the given element is usaly a table or a div containing the table or tables * - * @param container DOM element + * @param container DOM element */ function unMarkAllRows(container_id) { @@ -698,8 +698,8 @@ function unMarkAllRows(container_id) /** * Checks/unchecks all checkbox in given conainer (f.e. a form, fieldset or div) * - * @param string container_id the container id - * @param boolean state new value for checkbox (true or false) + * @param string container_id the container id + * @param boolean state new value for checkbox (true or false) * @return boolean always true */ function setCheckboxes(container_id, state) @@ -712,9 +712,9 @@ function setCheckboxes(container_id, state) /** * Checks/unchecks all options of a