]> git.joonet.de Git - adminer.git/commitdiff
Unindent doc-comments
authorJakub Vrana <jakub@vrana.cz>
Thu, 11 Jan 2018 14:14:05 +0000 (15:14 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 11 Jan 2018 14:14:05 +0000 (15:14 +0100)
adminer/include/functions.inc.php
adminer/static/functions.js

index 8eb7f8521bf2729e6048f3289b88ddaf1a8c0b4c..fdca468a96bef3b50f35c68ccb5f88a0b2b6d438 100644 (file)
@@ -172,12 +172,12 @@ function html_select($name, $options, $value = "", $onchange = true, $labelled_b
 }
 
 /** Generate HTML <select> or <input> if $options are empty
- * @param string
- * @param array
- * @param string
- * @param string
- * @return string
- */
+* @param string
+* @param array
+* @param string
+* @param string
+* @return string
+*/
 function select_input($attrs, $options, $value = "", $placeholder = "") {
        return ($options
                ? "<select$attrs><option value=''>$placeholder" . optionlist($options, $value, true) . "</select>"
index e503e37d35498251e424cecf85c5417809a72815..8cdb7808dd61e14c3cb1a654885ca94b1fd3a3c1 100644 (file)
@@ -87,20 +87,20 @@ function selectValue(select) {
 }
 
 /** Verify if element has a specified tag name
- * @param HTMLElement
- * @param string regular expression
- * @return bool
- */
+* @param HTMLElement
+* @param string regular expression
+* @return bool
+*/
 function isTag(el, tag) {
        var re = new RegExp('^(' + tag + ')$', 'i');
        return re.test(el.tagName);
 }
 
 /** Get parent node with specified tag name
- * @param HTMLElement
- * @param string regular expression
- * @return HTMLElement
- */
+* @param HTMLElement
+* @param string regular expression
+* @return HTMLElement
+*/
 function parentTag(el, tag) {
        while (el && !isTag(el, tag)) {
                el = el.parentNode;
@@ -218,9 +218,9 @@ function tableClick(event, click) {
 var lastChecked;
 
 /** Shift-click on checkbox for multiple selection.
- * @param MouseEvent
- * @param HTMLInputElement
- */
+* @param MouseEvent
+* @param HTMLInputElement
+*/
 function checkboxClick(event, el) {
        if (!el.name) {
                return;
@@ -360,9 +360,9 @@ function selectSearchSearch(el) {
 
 
 /** Toggles column context menu
- * @param HTMLElement
- * @param [string] extra class name
- */
+* @param HTMLElement
+* @param [string] extra class name
+*/
 function columnMouse(el, className) {
        var spans = qsa('span', el);
        for (var i=0; i < spans.length; i++) {
@@ -375,8 +375,8 @@ function columnMouse(el, className) {
 
 
 /** Fill column in search field
- * @param string
- */
+* @param string
+*/
 function selectSearch(name) {
        var el = qs('#fieldset-search');
        el.className = '';