@@ -241,7 +241,7 @@ discard block |
||
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 |
||
460 | 460 | <input type="text" id="catOrd_'.$field['id'].'" size="1" class="category_order" value="'.$field['order'].'" /> |
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") { |
@@ -13,7 +13,7 @@ |
||
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', |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | */ |
15 | 15 | global $LANG; |
16 | -$LANG = array ( |
|
16 | +$LANG = array( |
|
17 | 17 | 'visible_by' => 'Visible by', |
18 | 18 | 'restrict_visibility_to' => 'Restrict visibility to', |
19 | 19 | 'every_roles' => 'Every roles', |
@@ -13,7 +13,7 @@ |
||
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', |
18 | 18 | 'visible_by' => 'Visible par', |
19 | 19 | 'restrict_visibility_to' => 'Uniquement visible par', |
@@ -13,7 +13,7 @@ |
||
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', |
@@ -13,7 +13,7 @@ |
||
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', |
@@ -13,7 +13,7 @@ |
||
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', |
@@ -13,7 +13,7 @@ |
||
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', |
@@ -13,7 +13,7 @@ |
||
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', |