Completed
Branch master (79581d)
by Michael
06:20
created
htdocs/class/xoopseditor/aloha/aloha/plugins/extra/proxy/adapter/proxy.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -199,6 +199,7 @@
 block discarded – undo
199 199
  * Parses a string containing multiple HTTP header lines into an array
200 200
  * of key => values.
201 201
  * Inspired by HTTP::Daemon (CPAN).
202
+ * @param string $header_str
202 203
  */
203 204
 function http_parse_headers($header_str) {
204 205
 	$headers = array();
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/aloha/formaloha.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Get initial content
90 90
      *
91
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
92 91
      * @return        string
93 92
      */
94 93
     function getValue() {
@@ -115,7 +114,7 @@  discard block
 block discarded – undo
115 114
     /**
116 115
      * prepare HTML for output
117 116
      *
118
-     * @return  sting HTML
117
+     * @return  string HTML
119 118
      */
120 119
     function render()
121 120
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/ckeditor/ckeditor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * prepare HTML for output
46 46
      *
47 47
      * @param   bool    decode content?
48
-     * @return  sting HTML
48
+     * @return  string HTML
49 49
      */
50 50
     function render($decode = true)
51 51
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/cleditor/formcleditor.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,6 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Get initial content
103 103
      *
104
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
105 104
      * @return        string
106 105
      */
107 106
     function getValue() {
@@ -130,7 +129,7 @@  discard block
 block discarded – undo
130 129
     /**
131 130
      * prepare HTML for output
132 131
      *
133
-     * @return  sting HTML
132
+     * @return  string HTML
134 133
      */
135 134
     function render()
136 135
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/codemirror/formcodemirror.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,6 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Get initial content
113 113
      *
114
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
115 114
      * @return        string
116 115
      */
117 116
     function getValue() {
@@ -123,7 +122,7 @@  discard block
 block discarded – undo
123 122
      * prepare HTML for output
124 123
      *
125 124
      * @param   bool    decode content?
126
-     * @return  sting HTML
125
+     * @return  string HTML
127 126
      */
128 127
     function render($decode = true)
129 128
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/codemirror2/formcodemirror2.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,6 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Get initial content
113 113
      *
114
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
115 114
      * @return        string
116 115
      */
117 116
     function getValue() {
@@ -122,7 +121,6 @@  discard block
 block discarded – undo
122 121
     /**
123 122
      * Get initial content
124 123
      *
125
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
126 124
      * @return        string
127 125
      */
128 126
     function renderGetValueJS() {
@@ -133,7 +131,7 @@  discard block
 block discarded – undo
133 131
      * prepare HTML for output
134 132
      *
135 133
      * @param   bool    decode content?
136
-     * @return  sting HTML
134
+     * @return  string HTML
137 135
      */
138 136
     function render($decode = true)
139 137
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/codemirror3/formcodemirror3.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,6 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Get initial content
144 144
      *
145
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
146 145
      * @return        string
147 146
      */
148 147
     function getValue() {
@@ -154,7 +153,7 @@  discard block
 block discarded – undo
154 153
      * prepare HTML for output
155 154
      *
156 155
      * @param   bool    decode content?
157
-     * @return  sting HTML
156
+     * @return  string HTML
158 157
      */
159 158
     function render($decode = true) {
160 159
         static $isCodemirror3JsLoaded;
@@ -177,6 +176,11 @@  discard block
 block discarded – undo
177 176
             $css.= ".cm-tab {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=); background-position: right; background-repeat: no-repeat;}\n"; // Visible tabs
178 177
             $css.= ".CodeMirror-foldmarker {color: blue; text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; font-family: arial;}\n";
179 178
             // Get available codemirror themes
179
+
180
+            /**
181
+             * @param string $d
182
+             * @param string $x
183
+             */
180 184
             function codemirror_filesList($d, $x){
181 185
                 foreach(array_diff(scandir($d), array('.', '..')) as $f) if (is_file($d . '/' . $f) && (($x) ? preg_match('/' . $x . '$/' , $f) : 1)) $l[] = $f;
182 186
                 return $l;
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/elrte/formelrte.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,6 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Get initial content
104 104
      *
105
-     * @param        bool    $encode To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
106 105
      * @return        string
107 106
      */
108 107
     function getValue() {
@@ -131,7 +130,7 @@  discard block
 block discarded – undo
131 130
     /**
132 131
      * prepare HTML for output
133 132
      *
134
-     * @return  sting HTML
133
+     * @return  string HTML
135 134
      */
136 135
     function render()
137 136
     {
Please login to merge, or discard this patch.
editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -29,18 +29,29 @@
 block discarded – undo
29 29
 }
30 30
 
31 31
 # make declarations for the text input index
32
+/**
33
+ * @param integer $text_input_idx
34
+ */
32 35
 function print_textindex_decl( $text_input_idx ) {
33 36
 	echo "words[$text_input_idx] = [];\n";
34 37
 	echo "suggs[$text_input_idx] = [];\n";
35 38
 }
36 39
 
37 40
 # set an element of the JavaScript 'words' array to a misspelled word
41
+/**
42
+ * @param integer $index
43
+ * @param integer $text_input_idx
44
+ */
38 45
 function print_words_elem( $word, $index, $text_input_idx ) {
39 46
 	echo "words[$text_input_idx][$index] = '" . escape_quote( $word ) . "';\n";
40 47
 }
41 48
 
42 49
 
43 50
 # set an element of the JavaScript 'suggs' array to a list of suggestions
51
+/**
52
+ * @param integer $index
53
+ * @param integer $text_input_idx
54
+ */
44 55
 function print_suggs_elem( $suggs, $index, $text_input_idx ) {
45 56
 	echo "suggs[$text_input_idx][$index] = [";
46 57
 	foreach( $suggs as $key=>$val ) {
Please login to merge, or discard this patch.