Completed
Push — 1.10.x ( e79d2f...52e3a4 )
by Angel Fernando Quiroz
144:06 queued 85:47
created
main/inc/lib/pear/HTML/QuickForm/date.php 1 patch
Spacing   +141 added lines, -141 removed lines patch added patch discarded remove patch
@@ -71,161 +71,161 @@  discard block
 block discarded – undo
71 71
     * @var      array
72 72
     */
73 73
     var $_locale = array(
74
-        'en' => array (
75
-            'weekdays_short'=> array ('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'),
76
-            'weekdays_long' => array ('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'),
77
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'),
78
-            'months_long'   => array ('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December')
74
+        'en' => array(
75
+            'weekdays_short'=> array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'),
76
+            'weekdays_long' => array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'),
77
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'),
78
+            'months_long'   => array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December')
79 79
         ),
80
-        'de' => array (
81
-            'weekdays_short'=> array ('So', 'Mon', 'Di', 'Mi', 'Do', 'Fr', 'Sa'),
82
-            'weekdays_long' => array ('Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'),
83
-            'months_short'  => array ('Jan', 'Feb', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dez'),
84
-            'months_long'   => array ('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember')
80
+        'de' => array(
81
+            'weekdays_short'=> array('So', 'Mon', 'Di', 'Mi', 'Do', 'Fr', 'Sa'),
82
+            'weekdays_long' => array('Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'),
83
+            'months_short'  => array('Jan', 'Feb', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dez'),
84
+            'months_long'   => array('Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember')
85 85
         ),
86
-        'fr' => array (
87
-            'weekdays_short'=> array ('Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'),
88
-            'weekdays_long' => array ('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'),
89
-            'months_short'  => array ('Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Août', 'Sep', 'Oct', 'Nov', 'Déc'),
90
-            'months_long'   => array ('Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre')
86
+        'fr' => array(
87
+            'weekdays_short'=> array('Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'),
88
+            'weekdays_long' => array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'),
89
+            'months_short'  => array('Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Août', 'Sep', 'Oct', 'Nov', 'Déc'),
90
+            'months_long'   => array('Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre')
91 91
         ),
92
-        'hu'    => array (
93
-            'weekdays_short'=> array ('V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'),
94
-            'weekdays_long' => array ('vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'),
95
-            'months_short'  => array ('jan', 'feb', 'márc', 'ápr', 'máj', 'jún', 'júl', 'aug', 'szept', 'okt', 'nov', 'dec'),
96
-            'months_long'   => array ('január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december')
92
+        'hu'    => array(
93
+            'weekdays_short'=> array('V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'),
94
+            'weekdays_long' => array('vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat'),
95
+            'months_short'  => array('jan', 'feb', 'márc', 'ápr', 'máj', 'jún', 'júl', 'aug', 'szept', 'okt', 'nov', 'dec'),
96
+            'months_long'   => array('január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december')
97 97
         ),
98
-        'pl'    => array (
99
-            'weekdays_short'=> array ('Nie', 'Pn', 'Wt', 'Śr', 'Czw', 'Pt', 'Sob'),
100
-            'weekdays_long' => array ('Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'),
101
-            'months_short'  => array ('Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'),
102
-            'months_long'   => array ('Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec', 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień')
98
+        'pl'    => array(
99
+            'weekdays_short'=> array('Nie', 'Pn', 'Wt', 'Śr', 'Czw', 'Pt', 'Sob'),
100
+            'weekdays_long' => array('Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'),
101
+            'months_short'  => array('Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'),
102
+            'months_long'   => array('Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec', 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień')
103 103
         ),
104
-        'sl'    => array (
105
-            'weekdays_short'=> array ('Ned', 'Pon', 'Tor', 'Sre', 'Cet', 'Pet', 'Sob'),
106
-            'weekdays_long' => array ('Nedelja', 'Ponedeljek', 'Torek', 'Sreda', 'Cetrtek', 'Petek', 'Sobota'),
107
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'),
108
-            'months_long'   => array ('Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij', 'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December')
104
+        'sl'    => array(
105
+            'weekdays_short'=> array('Ned', 'Pon', 'Tor', 'Sre', 'Cet', 'Pet', 'Sob'),
106
+            'weekdays_long' => array('Nedelja', 'Ponedeljek', 'Torek', 'Sreda', 'Cetrtek', 'Petek', 'Sobota'),
107
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'),
108
+            'months_long'   => array('Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij', 'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December')
109 109
         ),
110
-        'ru'    => array (
111
-            'weekdays_short'=> array ('Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'),
112
-            'weekdays_long' => array ('Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота'),
113
-            'months_short'  => array ('Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'),
114
-            'months_long'   => array ('Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь')
110
+        'ru'    => array(
111
+            'weekdays_short'=> array('Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'),
112
+            'weekdays_long' => array('Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота'),
113
+            'months_short'  => array('Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'),
114
+            'months_long'   => array('Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь')
115 115
         ),
116
-        'es'    => array (
117
-            'weekdays_short'=> array ('Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'),
118
-            'weekdays_long' => array ('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'),
119
-            'months_short'  => array ('Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'),
120
-            'months_long'   => array ('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre')
116
+        'es'    => array(
117
+            'weekdays_short'=> array('Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sáb'),
118
+            'weekdays_long' => array('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'),
119
+            'months_short'  => array('Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'),
120
+            'months_long'   => array('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre')
121 121
         ),
122
-        'da'    => array (
123
-            'weekdays_short'=> array ('Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'),
124
-            'weekdays_long' => array ('Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'),
125
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
126
-            'months_long'   => array ('Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December')
122
+        'da'    => array(
123
+            'weekdays_short'=> array('Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'),
124
+            'weekdays_long' => array('Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'),
125
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
126
+            'months_long'   => array('Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December')
127 127
         ),
128
-        'is'    => array (
129
-            'weekdays_short'=> array ('Sun', 'Mán', 'Þri', 'Mið', 'Fim', 'Fös', 'Lau'),
130
-            'weekdays_long' => array ('Sunnudagur', 'Mánudagur', 'Þriðjudagur', 'Miðvikudagur', 'Fimmtudagur', 'Föstudagur', 'Laugardagur'),
131
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Maí', 'Jún', 'Júl', 'Ágú', 'Sep', 'Okt', 'Nóv', 'Des'),
132
-            'months_long'   => array ('Janúar', 'Febrúar', 'Mars', 'Apríl', 'Maí', 'Júní', 'Júlí', 'Ágúst', 'September', 'Október', 'Nóvember', 'Desember')
128
+        'is'    => array(
129
+            'weekdays_short'=> array('Sun', 'Mán', 'Þri', 'Mið', 'Fim', 'Fös', 'Lau'),
130
+            'weekdays_long' => array('Sunnudagur', 'Mánudagur', 'Þriðjudagur', 'Miðvikudagur', 'Fimmtudagur', 'Föstudagur', 'Laugardagur'),
131
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Maí', 'Jún', 'Júl', 'Ágú', 'Sep', 'Okt', 'Nóv', 'Des'),
132
+            'months_long'   => array('Janúar', 'Febrúar', 'Mars', 'Apríl', 'Maí', 'Júní', 'Júlí', 'Ágúst', 'September', 'Október', 'Nóvember', 'Desember')
133 133
         ),
134
-        'it'    => array (
135
-            'weekdays_short'=> array ('Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'),
136
-            'weekdays_long' => array ('Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'),
137
-            'months_short'  => array ('Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic'),
138
-            'months_long'   => array ('Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre')
134
+        'it'    => array(
135
+            'weekdays_short'=> array('Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'),
136
+            'weekdays_long' => array('Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'),
137
+            'months_short'  => array('Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic'),
138
+            'months_long'   => array('Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre')
139 139
         ),
140
-        'sk'    => array (
141
-            'weekdays_short'=> array ('Ned', 'Pon', 'Uto', 'Str', 'Štv', 'Pia', 'Sob'),
142
-            'weekdays_long' => array ('Nedeža', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok', 'Sobota'),
143
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Máj', 'Jún', 'Júl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
144
-            'months_long'   => array ('Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December')
140
+        'sk'    => array(
141
+            'weekdays_short'=> array('Ned', 'Pon', 'Uto', 'Str', 'Štv', 'Pia', 'Sob'),
142
+            'weekdays_long' => array('Nedeža', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok', 'Sobota'),
143
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Máj', 'Jún', 'Júl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
144
+            'months_long'   => array('Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December')
145 145
         ),
146
-        'cs'    => array (
147
-            'weekdays_short'=> array ('Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'),
148
-            'weekdays_long' => array ('Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'),
149
-            'months_short'  => array ('Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čen', 'Čec', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'),
150
-            'months_long'   => array ('Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec')
146
+        'cs'    => array(
147
+            'weekdays_short'=> array('Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'),
148
+            'weekdays_long' => array('Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'),
149
+            'months_short'  => array('Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čen', 'Čec', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'),
150
+            'months_long'   => array('Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec')
151 151
         ),
152
-        'hy'    => array (
153
-            'weekdays_short'=> array ('Կրկ', 'Երկ', 'Երք', 'Չրք', 'Հնգ', 'Ուր', 'Շբթ'),
154
-            'weekdays_long' => array ('Կիրակի', 'Երկուշաբթի', 'Երեքշաբթի', 'Չորեքշաբթի', 'Հինգշաբթի', 'Ուրբաթ', 'Շաբաթ'),
155
-            'months_short'  => array ('Հնվ', 'Փտր', 'Մրտ', 'Ապր', 'Մյս', 'Հնս', 'Հլս', 'Օգս', 'Սպտ', 'Հկտ', 'Նյմ', 'Դկտ'),
156
-            'months_long'   => array ('Հունվար', 'Փետրվար', 'Մարտ', 'Ապրիլ', 'Մայիս', 'Հունիս', 'Հուլիս', 'Օգոստոս', 'Սեպտեմբեր', 'Հոկտեմբեր', 'Նոյեմբեր', 'Դեկտեմբեր')
152
+        'hy'    => array(
153
+            'weekdays_short'=> array('Կրկ', 'Երկ', 'Երք', 'Չրք', 'Հնգ', 'Ուր', 'Շբթ'),
154
+            'weekdays_long' => array('Կիրակի', 'Երկուշաբթի', 'Երեքշաբթի', 'Չորեքշաբթի', 'Հինգշաբթի', 'Ուրբաթ', 'Շաբաթ'),
155
+            'months_short'  => array('Հնվ', 'Փտր', 'Մրտ', 'Ապր', 'Մյս', 'Հնս', 'Հլս', 'Օգս', 'Սպտ', 'Հկտ', 'Նյմ', 'Դկտ'),
156
+            'months_long'   => array('Հունվար', 'Փետրվար', 'Մարտ', 'Ապրիլ', 'Մայիս', 'Հունիս', 'Հուլիս', 'Օգոստոս', 'Սեպտեմբեր', 'Հոկտեմբեր', 'Նոյեմբեր', 'Դեկտեմբեր')
157 157
         ),
158
-        'nl'    => array (
159
-            'weekdays_short'=> array ('Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za'),
160
-            'weekdays_long' => array ('Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag'),
161
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
162
-            'months_long'   => array ('Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December')
158
+        'nl'    => array(
159
+            'weekdays_short'=> array('Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za'),
160
+            'weekdays_long' => array('Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag'),
161
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
162
+            'months_long'   => array('Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December')
163 163
         ),
164
-        'et'    => array (
165
-            'weekdays_short'=> array ('P', 'E', 'T', 'K', 'N', 'R', 'L'),
166
-            'weekdays_long' => array ('Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'),
167
-            'months_short'  => array ('Jaan', 'Veebr', 'Märts', 'Aprill', 'Mai', 'Juuni', 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'),
168
-            'months_long'   => array ('Jaanuar', 'Veebruar', 'Märts', 'Aprill', 'Mai', 'Juuni', 'Juuli', 'August', 'September', 'Oktoober', 'November', 'Detsember')
164
+        'et'    => array(
165
+            'weekdays_short'=> array('P', 'E', 'T', 'K', 'N', 'R', 'L'),
166
+            'weekdays_long' => array('Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'),
167
+            'months_short'  => array('Jaan', 'Veebr', 'Märts', 'Aprill', 'Mai', 'Juuni', 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'),
168
+            'months_long'   => array('Jaanuar', 'Veebruar', 'Märts', 'Aprill', 'Mai', 'Juuni', 'Juuli', 'August', 'September', 'Oktoober', 'November', 'Detsember')
169 169
         ),
170
-        'tr'    => array (
171
-            'weekdays_short'=> array ('Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'),
172
-            'weekdays_long' => array ('Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'),
173
-            'months_short'  => array ('Ock', 'Şbt', 'Mrt', 'Nsn', 'Mys', 'Hzrn', 'Tmmz', 'Ağst', 'Eyl', 'Ekm', 'Ksm', 'Arlk'),
174
-            'months_long'   => array ('Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık')
170
+        'tr'    => array(
171
+            'weekdays_short'=> array('Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cts'),
172
+            'weekdays_long' => array('Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'),
173
+            'months_short'  => array('Ock', 'Şbt', 'Mrt', 'Nsn', 'Mys', 'Hzrn', 'Tmmz', 'Ağst', 'Eyl', 'Ekm', 'Ksm', 'Arlk'),
174
+            'months_long'   => array('Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık')
175 175
         ),
176
-        'no'    => array (
177
-            'weekdays_short'=> array ('Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'),
178
-            'weekdays_long' => array ('Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'),
179
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'),
180
-            'months_long'   => array ('Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember')
176
+        'no'    => array(
177
+            'weekdays_short'=> array('Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'),
178
+            'weekdays_long' => array('Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'),
179
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'),
180
+            'months_long'   => array('Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember')
181 181
         ),
182
-        'eo'    => array (
183
-            'weekdays_short'=> array ('Dim', 'Lun', 'Mar', 'Mer', 'Ĵaŭ', 'Ven', 'Sab'),
184
-            'weekdays_long' => array ('Dimanĉo', 'Lundo', 'Mardo', 'Merkredo', 'Ĵaŭdo', 'Vendredo', 'Sabato'),
185
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aŭg', 'Sep', 'Okt', 'Nov', 'Dec'),
186
-            'months_long'   => array ('Januaro', 'Februaro', 'Marto', 'Aprilo', 'Majo', 'Junio', 'Julio', 'Aŭgusto', 'Septembro', 'Oktobro', 'Novembro', 'Decembro')
182
+        'eo'    => array(
183
+            'weekdays_short'=> array('Dim', 'Lun', 'Mar', 'Mer', 'Ĵaŭ', 'Ven', 'Sab'),
184
+            'weekdays_long' => array('Dimanĉo', 'Lundo', 'Mardo', 'Merkredo', 'Ĵaŭdo', 'Vendredo', 'Sabato'),
185
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aŭg', 'Sep', 'Okt', 'Nov', 'Dec'),
186
+            'months_long'   => array('Januaro', 'Februaro', 'Marto', 'Aprilo', 'Majo', 'Junio', 'Julio', 'Aŭgusto', 'Septembro', 'Oktobro', 'Novembro', 'Decembro')
187 187
         ),
188
-        'ua'    => array (
188
+        'ua'    => array(
189 189
             'weekdays_short'=> array('Ндл', 'Пнд', 'Втр', 'Срд', 'Чтв', 'Птн', 'Сбт'),
190 190
             'weekdays_long' => array('Неділя', 'Понеділок', 'Вівторок', 'Середа', 'Четвер', 'П\'ятниця', 'Субота'),
191 191
             'months_short'  => array('Січ', 'Лют', 'Бер', 'Кві', 'Тра', 'Чер', 'Лип', 'Сер', 'Вер', 'Жов', 'Лис', 'Гру'),
192 192
             'months_long'   => array('Січень', 'Лютий', 'Березень', 'Квітень', 'Травень', 'Червень', 'Липень', 'Серпень', 'Вересень', 'Жовтень', 'Листопад', 'Грудень')
193 193
         ),
194
-        'ro'    => array (
195
-            'weekdays_short'=> array ('Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'),
196
-            'weekdays_long' => array ('Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'),
197
-            'months_short'  => array ('Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'),
198
-            'months_long'   => array ('Ianuarie', 'Februarie', 'Martie', 'Aprilie', 'Mai', 'Iunie', 'Iulie', 'August', 'Septembrie', 'Octombrie', 'Noiembrie', 'Decembrie')
194
+        'ro'    => array(
195
+            'weekdays_short'=> array('Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sam'),
196
+            'weekdays_long' => array('Duminica', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sambata'),
197
+            'months_short'  => array('Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'),
198
+            'months_long'   => array('Ianuarie', 'Februarie', 'Martie', 'Aprilie', 'Mai', 'Iunie', 'Iulie', 'August', 'Septembrie', 'Octombrie', 'Noiembrie', 'Decembrie')
199 199
         ),
200
-        'he'    => array (
201
-            'weekdays_short'=> array ('ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת'),
202
-            'weekdays_long' => array ('יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'שבת'),
203
-            'months_short'  => array ('ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'),
204
-            'months_long'   => array ('ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר')
200
+        'he'    => array(
201
+            'weekdays_short'=> array('ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת'),
202
+            'weekdays_long' => array('יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום שישי', 'שבת'),
203
+            'months_short'  => array('ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'),
204
+            'months_long'   => array('ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר')
205 205
         ),
206
-        'sv'    => array (
207
-            'weekdays_short'=> array ('Sön', 'Mån', 'Tis', 'Ons', 'Tor', 'Fre', 'Lör'),
208
-            'weekdays_long' => array ('Söndag', 'Måndag', 'Tisdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lördag'),
209
-            'months_short'  => array ('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
210
-            'months_long'   => array ('Januari', 'Februari', 'Mars', 'April', 'Maj', 'Juni', 'Juli', 'Augusti', 'September', 'Oktober', 'November', 'December')
206
+        'sv'    => array(
207
+            'weekdays_short'=> array('Sön', 'Mån', 'Tis', 'Ons', 'Tor', 'Fre', 'Lör'),
208
+            'weekdays_long' => array('Söndag', 'Måndag', 'Tisdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lördag'),
209
+            'months_short'  => array('Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'),
210
+            'months_long'   => array('Januari', 'Februari', 'Mars', 'April', 'Maj', 'Juni', 'Juli', 'Augusti', 'September', 'Oktober', 'November', 'December')
211 211
         ),
212
-        'pt'    => array (
213
-            'weekdays_short'=> array ('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'),
214
-            'weekdays_long' => array ('Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado'),
215
-            'months_short'  => array ('Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'),
216
-            'months_long'   => array ('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro')
212
+        'pt'    => array(
213
+            'weekdays_short'=> array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'),
214
+            'weekdays_long' => array('Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado'),
215
+            'months_short'  => array('Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'),
216
+            'months_long'   => array('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro')
217 217
         ),
218
-        'tw'    => array (
219
-            'weekdays_short'=> array ('週日','週一', '週二','週三', '週四','週五', '週六'),
220
-            'weekdays_long' => array ('星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'),
221
-            'months_short'  => array ('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'),
222
-            'months_long'   => array ('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月')
218
+        'tw'    => array(
219
+            'weekdays_short'=> array('週日', '週一', '週二', '週三', '週四', '週五', '週六'),
220
+            'weekdays_long' => array('星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'),
221
+            'months_short'  => array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'),
222
+            'months_long'   => array('一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月')
223 223
         ),
224
-        'pt-br' => array (
225
-            'weekdays_short'=> array ('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'),
226
-            'weekdays_long' => array ('Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'),
227
-            'months_short'  => array ('Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'),
228
-            'months_long'   => array ('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro')
224
+        'pt-br' => array(
225
+            'weekdays_short'=> array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'),
226
+            'weekdays_long' => array('Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado'),
227
+            'months_short'  => array('Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'),
228
+            'months_long'   => array('Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro')
229 229
         )
230 230
     );
231 231
 
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
         if (is_array($options)) {
285 285
             foreach ($options as $name => $value) {
286 286
                 if ('language' == $name) {
287
-                    $this->_options['language'] = isset($this->_locale[$value])? $value: 'en';
287
+                    $this->_options['language'] = isset($this->_locale[$value]) ? $value : 'en';
288 288
                 } elseif (isset($this->_options[$name])) {
289 289
                     if (is_array($value) && is_array($this->_options[$name])) {
290 290
                         $this->_options[$name] = @array_merge($this->_options[$name], $value);
@@ -299,9 +299,9 @@  discard block
 block discarded – undo
299 299
     function _createElements()
300 300
     {
301 301
         $this->_separator = $this->_elements = array();
302
-        $separator =  '';
303
-        $locale    =& $this->_locale[$this->_options['language']];
304
-        $backslash =  false;
302
+        $separator = '';
303
+        $locale    = & $this->_locale[$this->_options['language']];
304
+        $backslash = false;
305 305
         // Modified by Ivan Tcholakov, 16-MAR-2010.
306 306
         for ($i = 0, $length = api_strlen($this->_options['format']); $i < $length; $i++) {
307 307
             $sign = api_substr($this->_options['format'], $i, 1);
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
                         break;
325 325
                     case 'M':
326 326
                         $options = $locale['months_short'];
327
-                        array_unshift($options , '');
327
+                        array_unshift($options, '');
328 328
                         unset($options[0]);
329 329
                         break;
330 330
                     case 'm':
@@ -332,23 +332,23 @@  discard block
 block discarded – undo
332 332
                         break;
333 333
                     case 'F':
334 334
                         $options = $locale['months_long'];
335
-                        array_unshift($options , '');
335
+                        array_unshift($options, '');
336 336
                         unset($options[0]);
337 337
                         break;
338 338
                     case 'Y':
339 339
                         $options = $this->_createOptionList(
340 340
                             $this->_options['minYear'],
341 341
                             $this->_options['maxYear'],
342
-                            $this->_options['minYear'] > $this->_options['maxYear']? -1: 1
342
+                            $this->_options['minYear'] > $this->_options['maxYear'] ? -1 : 1
343 343
                         );
344 344
                         break;
345 345
                     case 'y':
346 346
                         $options = $this->_createOptionList(
347 347
                             $this->_options['minYear'],
348 348
                             $this->_options['maxYear'],
349
-                            $this->_options['minYear'] > $this->_options['maxYear']? -1: 1
349
+                            $this->_options['minYear'] > $this->_options['maxYear'] ? -1 : 1
350 350
                         );
351
-                        array_walk($options, create_function('&$v,$k','$v = substr($v,-2);'));
351
+                        array_walk($options, create_function('&$v,$k', '$v = substr($v,-2);'));
352 352
                         break;
353 353
                     case 'h':
354 354
                         $options = $this->_createOptionList(1, 12);
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
                         $loadSelect = false;
381 381
                         break;
382 382
                     default:
383
-                        $separator .= (' ' == $sign? '&nbsp;': $sign);
383
+                        $separator .= (' ' == $sign ? '&nbsp;' : $sign);
384 384
                         $loadSelect = false;
385 385
                 }
386 386
 
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
                 }
407 407
             }
408 408
         }
409
-        $this->_wrap[1] = $separator . ($backslash? '\\': '');
409
+        $this->_wrap[1] = $separator.($backslash ? '\\' : '');
410 410
     }
411 411
 
412 412
     // }}}
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
     */
424 424
     function _createOptionList($start, $end, $step = 1)
425 425
     {
426
-        for ($i = $start, $options = array(); $start > $end? $i >= $end: $i <= $end; $i += $step) {
426
+        for ($i = $start, $options = array(); $start > $end ? $i >= $end : $i <= $end; $i += $step) {
427 427
             $options[$i] = sprintf('%02d', $i);
428 428
         }
429 429
         return $options;
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
             return $str;
445 445
         }
446 446
         $trimmed = ltrim($str, '0');
447
-        return strlen($trimmed)? $trimmed: '0';
447
+        return strlen($trimmed) ? $trimmed : '0';
448 448
     }
449 449
 
450 450
     // }}}
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
                 $value = strtotime($value);
460 460
             }
461 461
             // might be a unix epoch, then we fill all possible values
462
-            $arr = explode('-', date('w-j-n-Y-g-G-i-s-a-A-W', (int)$value));
462
+            $arr = explode('-', date('w-j-n-Y-g-G-i-s-a-A-W', (int) $value));
463 463
             $value = array(
464 464
                 'D' => $arr[0],
465 465
                 'l' => $arr[0],
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
         $renderer = new HTML_QuickForm_Renderer_Default();
494 494
         $renderer->setElementTemplate('{element}');
495 495
         parent::accept($renderer);
496
-        return $this->_wrap[0] . $renderer->toHtml() . $this->_wrap[1];
496
+        return $this->_wrap[0].$renderer->toHtml().$this->_wrap[1];
497 497
     }
498 498
 
499 499
     // }}}
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      * @access    public
48 48
      * @return    void
49 49
      */
50
-    function HTML_QuickForm_image($elementName=null, $src='', $attributes=null)
50
+    function HTML_QuickForm_image($elementName = null, $src = '', $attributes = null)
51 51
     {
52 52
         parent::__construct($elementName, null, $attributes);
53 53
         $this->setType('image');
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
         if ($this->_flagFrozen) {
239 239
             return $this->getFrozenHtml();
240 240
         } else {
241
-            return '<input ' . $this->_getAttrString($this->_attributes) . ' />';
241
+            return '<input '.$this->_getAttrString($this->_attributes).' />';
242 242
         }
243 243
     }
244 244
 }
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/Page.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     */
77 77
     function addAction($actionName, &$action)
78 78
     {
79
-        $this->_actions[$actionName] =& $action;
79
+        $this->_actions[$actionName] = & $action;
80 80
     }
81 81
 
82 82
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     */
110 110
     function getButtonName($actionName)
111 111
     {
112
-        return '_qf_' . $this->getAttribute('id') . '_' . $actionName;
112
+        return '_qf_'.$this->getAttribute('id').'_'.$actionName;
113 113
     }
114 114
 
115 115
 
@@ -174,10 +174,10 @@  discard block
 block discarded – undo
174 174
     function setDefaultAction($actionName)
175 175
     {
176 176
         if ($this->elementExists('_qf_default')) {
177
-            $element =& $this->getElement('_qf_default');
178
-            $element->setValue($this->getAttribute('id') . ':' . $actionName);
177
+            $element = & $this->getElement('_qf_default');
178
+            $element->setValue($this->getAttribute('id').':'.$actionName);
179 179
         } else {
180
-            $this->addElement('hidden', '_qf_default', $this->getAttribute('id') . ':' . $actionName);
180
+            $this->addElement('hidden', '_qf_default', $this->getAttribute('id').':'.$actionName);
181 181
         }
182 182
     }
183 183
 
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/textarea.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @access    public
59 59
      * @return    void
60 60
      */
61
-    public function __construct($elementName=null, $elementLabel=null, $attributes=null)
61
+    public function __construct($elementName = null, $elementLabel = null, $attributes = null)
62 62
     {
63 63
         $attributes['class'] = isset($attributes['class']) ? $attributes['class'] : 'form-control';
64 64
         $columnsSize = isset($attributes['cols-size']) ? $attributes['cols-size'] : null;
@@ -193,12 +193,12 @@  discard block
 block discarded – undo
193 193
         if ($this->_flagFrozen) {
194 194
             return $this->getFrozenHtml();
195 195
         } else {
196
-            return $this->_getTabs() .
197
-                   '<textarea' . $this->_getAttrString($this->_attributes) . '>' .
196
+            return $this->_getTabs().
197
+                   '<textarea'.$this->_getAttrString($this->_attributes).'>'.
198 198
                    // because we wrap the form later we don't want the text indented
199 199
                    // Modified by Ivan Tcholakov, 16-MAR-2010.
200 200
                    //preg_replace("/(\r\n|\n|\r)/", '&#010;', htmlspecialchars($this->_value)) .
201
-                   preg_replace("/(\r\n|\n|\r)/", '&#010;', @htmlspecialchars($this->_value, ENT_COMPAT, HTML_Common::charset())) .
201
+                   preg_replace("/(\r\n|\n|\r)/", '&#010;', @htmlspecialchars($this->_value, ENT_COMPAT, HTML_Common::charset())).
202 202
                    //
203 203
                    '</textarea>';
204 204
         }
@@ -218,11 +218,11 @@  discard block
 block discarded – undo
218 218
         $value = @htmlspecialchars($this->getValue(), ENT_COMPAT, HTML_Common::charset());
219 219
         //
220 220
         if ($this->getAttribute('wrap') == 'off') {
221
-            $html = $this->_getTabs() . '<pre>' . $value."</pre>\n";
221
+            $html = $this->_getTabs().'<pre>'.$value."</pre>\n";
222 222
         } else {
223 223
             $html = nl2br($value)."\n";
224 224
         }
225
-        return $html . $this->_getPersistantData();
225
+        return $html.$this->_getPersistantData();
226 226
     }
227 227
     
228 228
     /**
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     * @access public
62 62
     * @return void
63 63
     */
64
-    function accept(&$renderer, $required=false, $error=null)
64
+    function accept(&$renderer, $required = false, $error = null)
65 65
     {
66 66
         $renderer->renderHeader($this);
67 67
     } // end func accept
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/link.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * @return    void
61 61
      * @throws
62 62
      */
63
-    function HTML_QuickForm_link($elementName=null, $elementLabel=null, $href=null, $text=null, $attributes=null)
63
+    function HTML_QuickForm_link($elementName = null, $elementLabel = null, $href = null, $text = null, $attributes = null)
64 64
     {
65 65
         parent::__construct($elementName, $elementLabel, $attributes);
66 66
         $this->_persistantFreeze = false;
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/button.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,14 +94,14 @@
 block discarded – undo
94 94
             $icon = $this->getIcon();
95 95
 
96 96
             if (!empty($icon)) {
97
-                $icon = '<em class="' . $this->getIcon() . '"></em> ';
97
+                $icon = '<em class="'.$this->getIcon().'"></em> ';
98 98
             }
99 99
 
100 100
             $class = $this->getClass().' '.$this->getStyle().' '.$this->getSize();
101 101
 
102 102
             return
103
-                $this->_getTabs() . '
104
-                <button class="'.$class.'" ' . $this->_getAttrString($this->_attributes) . '>'.
103
+                $this->_getTabs().'
104
+                <button class="'.$class.'" '.$this->_getAttrString($this->_attributes).'>'.
105 105
                 $icon.
106 106
                 $value.
107 107
                 '</button>';
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/advmultiselect.php 1 patch
Spacing   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
         $sort = null
281 281
     ) {
282 282
         $opts = $options;
283
-        $options = null;  // prevent to use the default select element load options
283
+        $options = null; // prevent to use the default select element load options
284 284
 
285 285
         parent::__construct($elementName, $elementLabel, $options, $attributes);
286 286
 
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
 
312 312
         //$this->_tableAttributes = $this->_getAttrString($attr);
313 313
         $this->removeAttribute('class');
314
-        $this->setAttribute('class','form-control');
314
+        $this->setAttribute('class', 'form-control');
315 315
 
316 316
         // set default add button attributes
317 317
         $this->setButtonAttributes('add');
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
     function setButtonAttributes($button, $attributes = null)
401 401
     {
402 402
         if (!is_string($button)) {
403
-            return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::' .
403
+            return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::'.
404 404
                 'setButtonAttributes is not a string',
405 405
                 HTML_QUICKFORM_ADVMULTISELECT_ERROR_INVALID_INPUT,
406 406
                 array('level' => 'exception'));
@@ -514,7 +514,7 @@  discard block
 block discarded – undo
514 514
                 }
515 515
                 break;
516 516
             default;
517
-                return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::' .
517
+                return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::'.
518 518
                     'setButtonAttributes has unexpected value',
519 519
                     HTML_QUICKFORM_ADVMULTISELECT_ERROR_INVALID_INPUT,
520 520
                     array('level' => 'error'));
@@ -580,12 +580,12 @@  discard block
 block discarded – undo
580 580
         $css = str_replace('{id}', $id, $this->_elementCSS);
581 581
 
582 582
         if ($raw !== true) {
583
-            $css = '<style type="text/css">' . PHP_EOL
583
+            $css = '<style type="text/css">'.PHP_EOL
584 584
                 // Modified by Chamilo team, 16-MAR-2010.
585 585
                 //. '<!--' . $css . '// -->'  . PHP_EOL
586
-                . '/*<![CDATA[*/' . PHP_EOL
587
-                . $css . PHP_EOL
588
-                . '/*]]>*/'  . PHP_EOL
586
+                . '/*<![CDATA[*/'.PHP_EOL
587
+                . $css.PHP_EOL
588
+                . '/*]]>*/'.PHP_EOL
589 589
                 //
590 590
                 . '</style>';
591 591
         }
@@ -609,9 +609,9 @@  discard block
 block discarded – undo
609 609
         $tab = $this->_getTab();
610 610
 
611 611
         $selectId       = $this->getName();
612
-        $selectName     = $this->getName() . '[]';
613
-        $selectNameFrom = $this->getName() . '-f[]';
614
-        $selectNameTo   = $this->getName() . '-t[]';
612
+        $selectName     = $this->getName().'[]';
613
+        $selectNameFrom = $this->getName().'-f[]';
614
+        $selectNameTo   = $this->getName().'-t[]';
615 615
         $selected_count = 0;
616 616
 
617 617
         // placeholder {unselected} existence determines if we will render
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
 
622 622
             $id = $this->getAttribute('name');
623 623
 
624
-            $strHtmlSelected  = $tab . '<div id="qfams_'.$id.'">'  . PHP_EOL;
624
+            $strHtmlSelected  = $tab.'<div id="qfams_'.$id.'">'.PHP_EOL;
625 625
             $unselected_count = count($this->_options);
626 626
             $checkbox_id_suffix = 0;
627 627
 
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
                 }
638 638
 
639 639
                 if (is_array($this->_values)
640
-                    && in_array((string)$option['attr']['value'], $this->_values)) {
640
+                    && in_array((string) $option['attr']['value'], $this->_values)) {
641 641
                     // The items is *selected*
642 642
                     $checked = ' checked="checked"';
643 643
                     $selected_count++;
@@ -648,16 +648,16 @@  discard block
 block discarded – undo
648 648
                 $checkbox_id_suffix++;
649 649
                 $strHtmlSelected .= $tab
650 650
                     .  '<label'
651
-                    .  $this->_getAttrString($labelAttributes) .'>'
651
+                    .  $this->_getAttrString($labelAttributes).'>'
652 652
                     .  '<input type="checkbox"'
653
-                    .  ' id="'.$selectId . $checkbox_id_suffix.'"'
653
+                    .  ' id="'.$selectId.$checkbox_id_suffix.'"'
654 654
                     .  ' name="'.$selectName.'"'
655 655
                     .  $checked
656 656
                     .  $this->_getAttrString($option['attr'])
657
-                    .  ' />' .  $option['text'] . '</label>'
657
+                    .  ' />'.$option['text'].'</label>'
658 658
                     .  PHP_EOL;
659 659
             }
660
-            $strHtmlSelected .= $tab . '</div>'. PHP_EOL;
660
+            $strHtmlSelected .= $tab.'</div>'.PHP_EOL;
661 661
 
662 662
             $strHtmlHidden     = '';
663 663
             $strHtmlUnselected = '';
@@ -665,25 +665,25 @@  discard block
 block discarded – undo
665 665
             $strHtmlRemove     = '';
666 666
 
667 667
             // build the select all button with all its attributes
668
-            $jsName     = $this->_jsPrefix . $this->_jsPostfix;
669
-            $attributes = array('onclick' => $jsName ."('". $selectId ."', 1);");
668
+            $jsName     = $this->_jsPrefix.$this->_jsPostfix;
669
+            $attributes = array('onclick' => $jsName."('".$selectId."', 1);");
670 670
             $this->_allButtonAttributes = array_merge($this->_allButtonAttributes, $attributes);
671 671
             $attrStrAll = $this->_getAttrString($this->_allButtonAttributes);
672
-            $strHtmlAll = "<input$attrStrAll />". PHP_EOL;
672
+            $strHtmlAll = "<input$attrStrAll />".PHP_EOL;
673 673
 
674 674
             // build the select none button with all its attributes
675
-            $attributes = array('onclick' => $jsName ."('". $selectId ."', 0);");
675
+            $attributes = array('onclick' => $jsName."('".$selectId."', 0);");
676 676
             $this->_noneButtonAttributes
677 677
                 = array_merge($this->_noneButtonAttributes, $attributes);
678 678
             $attrStrNone = $this->_getAttrString($this->_noneButtonAttributes);
679
-            $strHtmlNone = "<input$attrStrNone />". PHP_EOL;
679
+            $strHtmlNone = "<input$attrStrNone />".PHP_EOL;
680 680
 
681 681
             // build the toggle selection button with all its attributes
682
-            $attributes = array('onclick' => $jsName .
683
-                "('". $selectId ."', 2);");
682
+            $attributes = array('onclick' => $jsName.
683
+                "('".$selectId."', 2);");
684 684
             $this->_toggleButtonAttributes = array_merge($this->_toggleButtonAttributes, $attributes);
685 685
             $attrStrToggle = $this->_getAttrString($this->_toggleButtonAttributes);
686
-            $strHtmlToggle = "<input$attrStrToggle />". PHP_EOL;
686
+            $strHtmlToggle = "<input$attrStrToggle />".PHP_EOL;
687 687
 
688 688
             $strHtmlMoveUp      = '';
689 689
             $strHtmlMoveDown    = '';
@@ -691,21 +691,21 @@  discard block
 block discarded – undo
691 691
             $strHtmlMoveBottom  = '';
692 692
 
693 693
             // default selection counters
694
-            $strHtmlSelectedCount = $selected_count . '/' . $unselected_count;
694
+            $strHtmlSelectedCount = $selected_count.'/'.$unselected_count;
695 695
         } else {
696 696
             // ... or a dual multi-select
697 697
             $this->_jsPostfix = 'moveSelection';
698
-            $jsName           = $this->_jsPrefix . $this->_jsPostfix;
698
+            $jsName           = $this->_jsPrefix.$this->_jsPostfix;
699 699
 
700 700
             // set name of Select From Box
701 701
             $this->_attributesUnselected
702
-                = array('id' => $selectId . '-f',
702
+                = array('id' => $selectId.'-f',
703 703
                 'name' => $selectNameFrom,
704
-                'ondblclick' => $jsName .
704
+                'ondblclick' => $jsName.
705 705
                     "('{$selectId}', ".
706
-                    "this.form.elements['" . $selectNameFrom . "'], " .
707
-                    "this.form.elements['" . $selectNameTo . "'], " .
708
-                    "this.form.elements['" . $selectName . "'], " .
706
+                    "this.form.elements['".$selectNameFrom."'], ".
707
+                    "this.form.elements['".$selectNameTo."'], ".
708
+                    "this.form.elements['".$selectName."'], ".
709 709
                     "'add', '{$this->_sort}')");
710 710
             $this->_attributesUnselected
711 711
                 = array_merge($this->_attributes, $this->_attributesUnselected);
@@ -713,13 +713,13 @@  discard block
 block discarded – undo
713 713
 
714 714
             // set name of Select To Box
715 715
             $this->_attributesSelected
716
-                = array('id' => $selectId . '-t',
716
+                = array('id' => $selectId.'-t',
717 717
                 'name' => $selectNameTo,
718
-                'ondblclick' => $jsName .
719
-                    "('{$selectId}', " .
720
-                    "this.form.elements['" . $selectNameFrom . "'], " .
721
-                    "this.form.elements['" . $selectNameTo . "'], ".
722
-                    "this.form.elements['" . $selectName . "'], " .
718
+                'ondblclick' => $jsName.
719
+                    "('{$selectId}', ".
720
+                    "this.form.elements['".$selectNameFrom."'], ".
721
+                    "this.form.elements['".$selectNameTo."'], ".
722
+                    "this.form.elements['".$selectName."'], ".
723 723
                     "'remove', '{$this->_sort}')");
724 724
             $this->_attributesSelected
725 725
                 = array_merge($this->_attributes, $this->_attributesSelected);
@@ -728,7 +728,7 @@  discard block
 block discarded – undo
728 728
             // set name of Select hidden Box
729 729
             $this->_attributesHidden
730 730
                 = array('name' => $selectName,
731
-                'style' => 'overflow: hidden; visibility: hidden; ' .
731
+                'style' => 'overflow: hidden; visibility: hidden; '.
732 732
                     'width: 1px; height: 0;');
733 733
             $this->_attributesHidden
734 734
                 = array_merge($this->_attributes, $this->_attributesHidden);
@@ -749,7 +749,7 @@  discard block
 block discarded – undo
749 749
 
750 750
                 foreach ($this->_options as $option) {
751 751
                     if (is_array($this->_values)
752
-                        && in_array((string)$option['attr']['value'],
752
+                        && in_array((string) $option['attr']['value'],
753 753
                             $this->_values)) {
754 754
                         // Get the post order
755 755
                         $key = array_search($option['attr']['value'],
@@ -787,13 +787,13 @@  discard block
 block discarded – undo
787 787
                     = array_merge($this->_attributes, $this->_attributesUnselected);
788 788
                 $attrUnselected = $this->_getAttrString($this->_attributesUnselected);
789 789
             }
790
-            $strHtmlUnselected = "<select$attrUnselected>". PHP_EOL;
790
+            $strHtmlUnselected = "<select$attrUnselected>".PHP_EOL;
791 791
             if ($unselected_count > 0) {
792 792
                 foreach ($arrHtmlUnselected as $data) {
793 793
                     $strHtmlUnselected
794
-                        .= $tabs . $tab
795
-                        . '<option' . $this->_getAttrString($data['attr']) . '>'
796
-                        . $data['text'] . '</option>' . PHP_EOL;
794
+                        .= $tabs.$tab
795
+                        . '<option'.$this->_getAttrString($data['attr']).'>'
796
+                        . $data['text'].'</option>'.PHP_EOL;
797 797
                 }
798 798
             } else {
799 799
                 $strHtmlUnselected .= '<option value="">&nbsp;</option>';
@@ -813,19 +813,19 @@  discard block
 block discarded – undo
813 813
             $strHtmlSelected = "<select$attrSelected>";
814 814
             if ($selected_count > 0) {
815 815
                 foreach ($arrHtmlSelected as $data) {
816
-                    $attribute  = null;
816
+                    $attribute = null;
817 817
                     if (isset($data['attr'])) {
818 818
                         $attribute = $this->_getAttrString($data['attr']);
819 819
                     }
820 820
 
821
-                    $text  = null;
821
+                    $text = null;
822 822
                     if (isset($data['text'])) {
823 823
                         $text = $data['text'];
824 824
                     }
825 825
                     $strHtmlSelected
826
-                        .= $tabs . $tab
827
-                        . '<option' . $attribute. '>'
828
-                        . $text . '</option>';
826
+                        .= $tabs.$tab
827
+                        . '<option'.$attribute.'>'
828
+                        . $text.'</option>';
829 829
                 }
830 830
             } else {
831 831
                 $strHtmlSelected .= '<option value="">&nbsp;</option>';
@@ -835,32 +835,32 @@  discard block
 block discarded – undo
835 835
             $strHtmlSelected = '<input placeholder="'.get_lang('Search').'" id="'.$selectId.'-t-filter" type="text" class="form-control search-query select_class_filter"><br />'.$strHtmlSelected;
836 836
 
837 837
             // The 'hidden' multi-select
838
-            $strHtmlHidden = "<select$attrHidden>". PHP_EOL;
838
+            $strHtmlHidden = "<select$attrHidden>".PHP_EOL;
839 839
             if (count($arrHtmlHidden) > 0) {
840 840
                 foreach ($arrHtmlHidden as $data) {
841
-                    $attribute  = null;
841
+                    $attribute = null;
842 842
                     if (isset($data['attr'])) {
843 843
                         $attribute = $this->_getAttrString($data['attr']);
844 844
                     }
845
-                    $text  = null;
845
+                    $text = null;
846 846
                     if (isset($data['text'])) {
847 847
                         $text = $data['text'];
848 848
                     }
849 849
                     $strHtmlHidden
850
-                        .= $tabs . $tab
851
-                        . '<option' . $attribute . '>'
852
-                        . $text . '</option>' . PHP_EOL;
850
+                        .= $tabs.$tab
851
+                        . '<option'.$attribute.'>'
852
+                        . $text.'</option>'.PHP_EOL;
853 853
                 }
854 854
             }
855 855
             $strHtmlHidden .= '</select>';
856 856
 
857 857
             // build the remove button with all its attributes
858 858
             $attributes
859
-                = array('onclick' => $jsName .
860
-                "('{$selectId}', " .
861
-                "this.form.elements['" . $selectNameFrom . "'], " .
862
-                "this.form.elements['" . $selectNameTo . "'], " .
863
-                "this.form.elements['" . $selectName . "'], " .
859
+                = array('onclick' => $jsName.
860
+                "('{$selectId}', ".
861
+                "this.form.elements['".$selectNameFrom."'], ".
862
+                "this.form.elements['".$selectNameTo."'], ".
863
+                "this.form.elements['".$selectName."'], ".
864 864
                 "'remove', '{$this->_sort}'); return false;");
865 865
             $this->_removeButtonAttributes
866 866
                 = array_merge($this->_removeButtonAttributes, $attributes);
@@ -869,11 +869,11 @@  discard block
 block discarded – undo
869 869
 
870 870
             // build the add button with all its attributes
871 871
             $attributes
872
-                = array('onclick' => $jsName .
873
-                "('{$selectId}', " .
874
-                "this.form.elements['" . $selectNameFrom . "'], " .
875
-                "this.form.elements['" . $selectNameTo . "'], " .
876
-                "this.form.elements['" . $selectName . "'], " .
872
+                = array('onclick' => $jsName.
873
+                "('{$selectId}', ".
874
+                "this.form.elements['".$selectNameFrom."'], ".
875
+                "this.form.elements['".$selectNameTo."'], ".
876
+                "this.form.elements['".$selectName."'], ".
877 877
                 "'add', '{$this->_sort}'); return false;");
878 878
             $this->_addButtonAttributes = array_merge($this->_addButtonAttributes, $attributes);
879 879
             $attrStrAdd = $this->_getAttrString($this->_addButtonAttributes);
@@ -881,93 +881,93 @@  discard block
 block discarded – undo
881 881
 
882 882
             // build the select all button with all its attributes
883 883
             $attributes
884
-                = array('onclick' => $jsName .
885
-                "('{$selectId}', " .
886
-                "this.form.elements['" . $selectNameFrom . "'], " .
887
-                "this.form.elements['" . $selectNameTo . "'], " .
888
-                "this.form.elements['" . $selectName . "'], " .
884
+                = array('onclick' => $jsName.
885
+                "('{$selectId}', ".
886
+                "this.form.elements['".$selectNameFrom."'], ".
887
+                "this.form.elements['".$selectNameTo."'], ".
888
+                "this.form.elements['".$selectName."'], ".
889 889
                 "'all', '{$this->_sort}'); return false;");
890 890
             $this->_allButtonAttributes = array_merge($this->_allButtonAttributes, $attributes);
891 891
             $attrStrAll = $this->_getAttrString($this->_allButtonAttributes);
892
-            $strHtmlAll = "<input$attrStrAll />". PHP_EOL;
892
+            $strHtmlAll = "<input$attrStrAll />".PHP_EOL;
893 893
 
894 894
             // build the select none button with all its attributes
895 895
             $attributes
896
-                = array('onclick' => $jsName .
897
-                "('{$selectId}', " .
898
-                "this.form.elements['" . $selectNameFrom . "'], " .
899
-                "this.form.elements['" . $selectNameTo . "'], " .
900
-                "this.form.elements['" . $selectName . "'], " .
896
+                = array('onclick' => $jsName.
897
+                "('{$selectId}', ".
898
+                "this.form.elements['".$selectNameFrom."'], ".
899
+                "this.form.elements['".$selectNameTo."'], ".
900
+                "this.form.elements['".$selectName."'], ".
901 901
                 "'none', '{$this->_sort}'); return false;");
902 902
             $this->_noneButtonAttributes
903 903
                 = array_merge($this->_noneButtonAttributes, $attributes);
904 904
             $attrStrNone = $this->_getAttrString($this->_noneButtonAttributes);
905
-            $strHtmlNone = "<input$attrStrNone />". PHP_EOL;
905
+            $strHtmlNone = "<input$attrStrNone />".PHP_EOL;
906 906
 
907 907
             // build the toggle button with all its attributes
908 908
             $attributes
909
-                = array('onclick' => $jsName .
910
-                "('{$selectId}', " .
911
-                "this.form.elements['" . $selectNameFrom . "'], " .
912
-                "this.form.elements['" . $selectNameTo . "'], " .
913
-                "this.form.elements['" . $selectName . "'], " .
909
+                = array('onclick' => $jsName.
910
+                "('{$selectId}', ".
911
+                "this.form.elements['".$selectNameFrom."'], ".
912
+                "this.form.elements['".$selectNameTo."'], ".
913
+                "this.form.elements['".$selectName."'], ".
914 914
                 "'toggle', '{$this->_sort}'); return false;");
915 915
             $this->_toggleButtonAttributes
916 916
                 = array_merge($this->_toggleButtonAttributes, $attributes);
917 917
             $attrStrToggle = $this->_getAttrString($this->_toggleButtonAttributes);
918
-            $strHtmlToggle = "<input$attrStrToggle />". PHP_EOL;
918
+            $strHtmlToggle = "<input$attrStrToggle />".PHP_EOL;
919 919
 
920 920
             // build the move up button with all its attributes
921 921
             $attributes
922
-                = array('onclick' => "{$this->_jsPrefix}moveUp" .
923
-                "(this.form.elements['" . $selectNameTo . "'], " .
924
-                "this.form.elements['" . $selectName . "']); " .
922
+                = array('onclick' => "{$this->_jsPrefix}moveUp".
923
+                "(this.form.elements['".$selectNameTo."'], ".
924
+                "this.form.elements['".$selectName."']); ".
925 925
                 "return false;");
926 926
             $this->_upButtonAttributes
927 927
                 = array_merge($this->_upButtonAttributes, $attributes);
928 928
             $attrStrUp     = $this->_getAttrString($this->_upButtonAttributes);
929
-            $strHtmlMoveUp = "<input$attrStrUp />". PHP_EOL;
929
+            $strHtmlMoveUp = "<input$attrStrUp />".PHP_EOL;
930 930
 
931 931
             // build the move down button with all its attributes
932 932
             $attributes
933
-                = array('onclick' => "{$this->_jsPrefix}moveDown" .
934
-                "(this.form.elements['" . $selectNameTo . "'], " .
935
-                "this.form.elements['" . $selectName . "']); " .
933
+                = array('onclick' => "{$this->_jsPrefix}moveDown".
934
+                "(this.form.elements['".$selectNameTo."'], ".
935
+                "this.form.elements['".$selectName."']); ".
936 936
                 "return false;");
937 937
             $this->_downButtonAttributes
938 938
                 = array_merge($this->_downButtonAttributes, $attributes);
939 939
             $attrStrDown     = $this->_getAttrString($this->_downButtonAttributes);
940
-            $strHtmlMoveDown = "<input$attrStrDown />". PHP_EOL;
940
+            $strHtmlMoveDown = "<input$attrStrDown />".PHP_EOL;
941 941
 
942 942
             // build the move top button with all its attributes
943 943
             $attributes
944
-                = array('onclick' => "{$this->_jsPrefix}moveTop" .
945
-                "(this.form.elements['" . $selectNameTo . "'], " .
946
-                "this.form.elements['" . $selectName . "']); " .
944
+                = array('onclick' => "{$this->_jsPrefix}moveTop".
945
+                "(this.form.elements['".$selectNameTo."'], ".
946
+                "this.form.elements['".$selectName."']); ".
947 947
                 "return false;");
948 948
             $this->_topButtonAttributes
949 949
                 = array_merge($this->_topButtonAttributes, $attributes);
950 950
             $attrStrTop     = $this->_getAttrString($this->_topButtonAttributes);
951
-            $strHtmlMoveTop = "<input$attrStrTop />". PHP_EOL;
951
+            $strHtmlMoveTop = "<input$attrStrTop />".PHP_EOL;
952 952
 
953 953
             // build the move bottom button with all its attributes
954 954
             $attributes
955
-                = array('onclick' => "{$this->_jsPrefix}moveBottom" .
956
-                "(this.form.elements['" . $selectNameTo . "'], " .
957
-                "this.form.elements['" . $selectName . "']); " .
955
+                = array('onclick' => "{$this->_jsPrefix}moveBottom".
956
+                "(this.form.elements['".$selectNameTo."'], ".
957
+                "this.form.elements['".$selectName."']); ".
958 958
                 "return false;");
959 959
             $this->_bottomButtonAttributes
960 960
                 = array_merge($this->_bottomButtonAttributes, $attributes);
961 961
             $attrStrBottom     = $this->_getAttrString($this->_bottomButtonAttributes);
962
-            $strHtmlMoveBottom = "<input$attrStrBottom />". PHP_EOL;
962
+            $strHtmlMoveBottom = "<input$attrStrBottom />".PHP_EOL;
963 963
 
964 964
             // default selection counters
965 965
             $strHtmlSelectedCount = $selected_count;
966 966
         }
967 967
         $strHtmlUnselectedCount = $unselected_count;
968 968
 
969
-        $strHtmlSelectedCountId   = $selectId .'_selected';
970
-        $strHtmlUnselectedCountId = $selectId .'_unselected';
969
+        $strHtmlSelectedCountId   = $selectId.'_selected';
970
+        $strHtmlUnselectedCountId = $selectId.'_unselected';
971 971
 
972 972
         // render all part of the multi select component with the template
973 973
         $strHtml = $this->_elementTemplate;
@@ -980,7 +980,7 @@  discard block
 block discarded – undo
980 980
         // render extra labels, if any
981 981
         if (is_array($labels)) {
982 982
             foreach ($labels as $key => $text) {
983
-                $key     = is_int($key)? $key + 2: $key;
983
+                $key     = is_int($key) ? $key + 2 : $key;
984 984
                 $strHtml = str_replace("{label_{$key}}", $text, $strHtml);
985 985
                 $strHtml = str_replace("<!-- BEGIN label_{$key} -->", '', $strHtml);
986 986
                 $strHtml = str_replace("<!-- END label_{$key} -->", '', $strHtml);
@@ -1051,7 +1051,7 @@  discard block
 block discarded – undo
1051 1051
         $comment = $this->getComment();
1052 1052
 
1053 1053
         if (!empty($comment)) {
1054
-            $strHtml = $tabs . '<!-- ' . $comment . " //-->" . PHP_EOL . $strHtml;
1054
+            $strHtml = $tabs.'<!-- '.$comment." //-->".PHP_EOL.$strHtml;
1055 1055
         }
1056 1056
 
1057 1057
 
@@ -1087,10 +1087,10 @@  discard block
 block discarded – undo
1087 1087
 
1088 1088
         if ($raw !== true) {
1089 1089
             $js = '<script type="text/javascript">'
1090
-                . PHP_EOL . '//<![CDATA['
1091
-                . PHP_EOL . $js
1092
-                . PHP_EOL . '//]]>'
1093
-                . PHP_EOL . '</script>'
1090
+                . PHP_EOL.'//<![CDATA['
1091
+                . PHP_EOL.$js
1092
+                . PHP_EOL.'//]]>'
1093
+                . PHP_EOL.'</script>'
1094 1094
                 . PHP_EOL;
1095 1095
         }
1096 1096
 
@@ -1144,7 +1144,7 @@  discard block
 block discarded – undo
1144 1144
     function loadArray($arr, $values = null)
1145 1145
     {
1146 1146
         if (!is_array($arr)) {
1147
-            return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::' .
1147
+            return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::'.
1148 1148
                 'loadArray is not a valid array',
1149 1149
                 HTML_QUICKFORM_ADVMULTISELECT_ERROR_INVALID_INPUT,
1150 1150
                 array('level' => 'exception'));
@@ -1181,7 +1181,7 @@  discard block
 block discarded – undo
1181 1181
     function setPersistantOptions($optionValues, $persistant = true)
1182 1182
     {
1183 1183
         if (!is_bool($persistant)) {
1184
-            return PEAR::throwError('Argument 2 of HTML_QuickForm_advmultiselect::' .
1184
+            return PEAR::throwError('Argument 2 of HTML_QuickForm_advmultiselect::'.
1185 1185
                 'setPersistantOptions is not a boolean',
1186 1186
                 HTML_QUICKFORM_ADVMULTISELECT_ERROR_INVALID_INPUT,
1187 1187
                 array('level' => 'exception'));
@@ -1190,7 +1190,7 @@  discard block
 block discarded – undo
1190 1190
             $optionValues = array($optionValues);
1191 1191
         }
1192 1192
         if (!is_array($optionValues)) {
1193
-            return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::' .
1193
+            return PEAR::throwError('Argument 1 of HTML_QuickForm_advmultiselect::'.
1194 1194
                 'setPersistantOptions is not a valid array',
1195 1195
                 HTML_QUICKFORM_ADVMULTISELECT_ERROR_INVALID_INPUT,
1196 1196
                 array('level' => 'exception'));
Please login to merge, or discard this patch.