Passed
Push — development ( 588a17...03c51b )
by Nils
04:14
created
admin.settings.load.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -220,9 +220,9 @@  discard block
 block discarded – undo
220 220
                         if (val[4] !== "") {
221 221
                             newList += '<span id="encryt_data_'+val[1]+'" style="margin-left:4px; cursor:pointer;">';
222 222
                             if (val[4] === "1") {
223
-                                newList += '<i class="fa fa-key tip" title="<?php echo $LANG['encrypted_data'];?>"></i>';
223
+                                newList += '<i class="fa fa-key tip" title="<?php echo $LANG['encrypted_data']; ?>"></i>';
224 224
                             } else if (val[4] === "0") {
225
-                                newList += '<span class="fa-stack tip" title="<?php echo $LANG['not_encrypted_data'];?>">'+
225
+                                newList += '<span class="fa-stack tip" title="<?php echo $LANG['not_encrypted_data']; ?>">'+
226 226
                                     '<span class="fa fa-key fa-stack-1x"></span><span class="fa fa-ban fa-stack-1x fa-lg" style="color:red;"></span></span>';
227 227
                             }
228 228
                             newList += '</span>'
@@ -231,20 +231,20 @@  discard block
 block discarded – undo
231 231
                         if (val[6] !== "") {
232 232
                             newList += '<span style="margin-left:4px;">';
233 233
                             if (val[6] === "text") {
234
-                                newList += '<span class="fa fa-paragraph tip" title="<?php echo $LANG['text'];?>"></span>';
234
+                                newList += '<span class="fa fa-paragraph tip" title="<?php echo $LANG['text']; ?>"></span>';
235 235
                             } else if (val[6] === "textarea") {
236
-                                newList += '<span class="fa fa-align-justify tip" title="<?php echo $LANG['textarea'];?>"></span>';
236
+                                newList += '<span class="fa fa-align-justify tip" title="<?php echo $LANG['textarea']; ?>"></span>';
237 237
                             }
238 238
 
239 239
                             if (val[7] === "1") {
240
-                                newList += '&nbsp;<span class="fa fa-eye-slash tip" title="<?php echo $LANG['data_is_masked'];?>"></ispan>';
240
+                                newList += '&nbsp;<span class="fa fa-eye-slash tip" title="<?php echo $LANG['data_is_masked']; ?>"></ispan>';
241 241
                             }
242 242
                             newList += '</span>'
243 243
                         }
244 244
 
245 245
                         // Manage display Roles visibility
246 246
                         newList += '<td colspan="1" style="border-bottom:1px solid #a0a0a0;">' +
247
-                            '<?php echo $LANG['visible_by'];?>: <span style="font-family:italic;">' + val[8] +
247
+                            '<?php echo $LANG['visible_by']; ?>: <span style="font-family:italic;">' + val[8] +
248 248
                             '</span><input type="hidden" id="roleVisibilityList_'+val[1]+'" value="' + val[9] + '" /></td></tr>';
249 249
                     }
250 250
                 });
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
                 $("#categories_list").html(newList);
256 256
             } else {
257 257
                 $("#no_category")
258
-                    .html("<?php echo addslashes($LANG['no_category_defined']);?>")
258
+                    .html("<?php echo addslashes($LANG['no_category_defined']); ?>")
259 259
                     .removeClass("hidden");
260 260
             }
261 261
             $('.tip').tooltipster({multiple: true});
@@ -1101,8 +1101,8 @@  discard block
 block discarded – undo
1101 1101
         function(data) {
1102 1102
             data = prepareExchangedData(data , "decode", "<?php echo $_SESSION['key']; ?>");
1103 1103
 
1104
-            var html_admin_by = '<option value="">-- <?php echo addslashes($LANG['select']);?> --</option>',
1105
-                html_roles = '<option value="">-- <?php echo addslashes($LANG['select']);?> --</option>',
1104
+            var html_admin_by = '<option value="">-- <?php echo addslashes($LANG['select']); ?> --</option>',
1105
+                html_roles = '<option value="">-- <?php echo addslashes($LANG['select']); ?> --</option>',
1106 1106
                 selected_admin_by = 0,
1107 1107
                 selected_role = 0;
1108 1108
 
@@ -1113,7 +1113,7 @@  discard block
 block discarded – undo
1113 1113
                 if (data[i].selected_role === 1) {
1114 1114
                     selected_role = data[i].id;
1115 1115
                 }
1116
-                html_admin_by += '<option value="'+data[i].id+'"><?php echo addslashes($LANG['managers_of']." ");?>'+data[i].title+'</option>';
1116
+                html_admin_by += '<option value="'+data[i].id+'"><?php echo addslashes($LANG['managers_of']." "); ?>'+data[i].title+'</option>';
1117 1117
                 html_roles += '<option value="'+data[i].id+'">'+data[i].title+'</option>';
1118 1118
             }
1119 1119
             $("#ldap_new_user_is_administrated_by").append(html_admin_by);
Please login to merge, or discard this patch.
sources/categories.queries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
                             $roleVisibility = $LANG['every_roles'];
242 242
                         } else {
243 243
                             $roleVisibility = '';
244
-                            foreach(explode(',', $field['role_visibility']) as $role) {
244
+                            foreach (explode(',', $field['role_visibility']) as $role) {
245 245
                                 $data = DB::queryFirstRow(
246 246
                                     "SELECT title
247 247
                                     FROM ".$pre."roles_title
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
         <input type="text" id="catOrd_'.$field['id'].'" size="1" class="category_order" value="'.$field['order'].'" />&nbsp;
461 461
         <input type="radio" name="sel_item" id="item_'.$field['id'].'_cat" />
462 462
         <label for="item_'.$field['id'].'_cat" id="item_'.$field['id'].'">'.($field['title']).'</label>
463
-        <span id="encryt_data_'.$field['id'].'" style="margin-left:4px; cursor:pointer;">'. (isset($field['encrypted_data']) && $field['encrypted_data'] === "1") ? '<i class="fa fa-key tip" title="'.$LANG['encrypted_data'].'" onclick="changeEncrypMode(\''.$field['id'].'\', \'1\')"></i>' : '<span class="fa-stack" title="'.$LANG['not_encrypted_data'].'" onclick="changeEncrypMode(\''.$field['id'].'\', \'0\')"><i class="fa fa-key fa-stack-1x"></i><i class="fa fa-ban fa-stack-1x fa-lg" style="color:red;"></i></span>'. '
463
+        <span id="encryt_data_'.$field['id'].'" style="margin-left:4px; cursor:pointer;">'.(isset($field['encrypted_data']) && $field['encrypted_data'] === "1") ? '<i class="fa fa-key tip" title="'.$LANG['encrypted_data'].'" onclick="changeEncrypMode(\''.$field['id'].'\', \'1\')"></i>' : '<span class="fa-stack" title="'.$LANG['not_encrypted_data'].'" onclick="changeEncrypMode(\''.$field['id'].'\', \'0\')"><i class="fa fa-key fa-stack-1x"></i><i class="fa fa-ban fa-stack-1x fa-lg" style="color:red;"></i></span>'.'
464 464
         </span>';
465 465
                             if (isset($field['type'])) {
466 466
                                 if ($field['type'] === "text") {
Please login to merge, or discard this patch.
includes/language/greek.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.
includes/language/norwegian.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.
includes/language/german.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.
includes/language/japanese.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.
includes/language/portuguese.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.
includes/language/dutch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.
includes/language/turkish.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 14
  */
15 15
 global $LANG;
16
-$LANG = array (
16
+$LANG = array(
17 17
     'position_in_list' => 'Position in list',
18 18
     'visible_by' => 'Visible by',
19 19
     'restrict_visibility_to' => 'Restrict visibility to',
Please login to merge, or discard this patch.