mod/etherpad/views/default/etherpad/icon.php 1 location
|
@@ 19-21 (lines=3) @@
|
| 16 |
|
} |
| 17 |
|
|
| 18 |
|
// Get size |
| 19 |
|
if (!in_array($vars['size'], array('small', 'medium', 'large', 'tiny', 'master', 'topbar'))) { |
| 20 |
|
$vars['size'] = "medium"; |
| 21 |
|
} |
| 22 |
|
|
| 23 |
|
?> |
| 24 |
|
|
mod/groups/icon.php 1 location
|
@@ 27-28 (lines=2) @@
|
| 24 |
|
} |
| 25 |
|
|
| 26 |
|
$size = strtolower(get_input('size')); |
| 27 |
|
if (!in_array($size, array('large', 'medium', 'small', 'tiny', 'master', 'topbar'))) |
| 28 |
|
$size = "medium"; |
| 29 |
|
|
| 30 |
|
$success = false; |
| 31 |
|
|
mod/pages/views/default/pages/icon.php 1 location
|
@@ 17-19 (lines=3) @@
|
| 14 |
|
$entity = get_entity($annotation->entity_guid); |
| 15 |
|
|
| 16 |
|
// Get size |
| 17 |
|
if (!in_array($vars['size'], array('small', 'medium', 'large', 'tiny', 'master', 'topbar'))) { |
| 18 |
|
$vars['size'] = "medium"; |
| 19 |
|
} |
| 20 |
|
|
| 21 |
|
?> |
| 22 |
|
|
mod/profile/icondirect.php 1 location
|
@@ 37-39 (lines=3) @@
|
| 34 |
|
$size = "medium"; |
| 35 |
|
if (!empty($_GET['size'])) { |
| 36 |
|
$size = strtolower($_GET['size']); |
| 37 |
|
if (!in_array($size, array('large', 'medium', 'small', 'tiny', 'master', 'topbar'))) { |
| 38 |
|
$size = "medium"; |
| 39 |
|
} |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
$path = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR; |
mod/tasks/views/default/tasks/icon.php 1 location
|
@@ 17-19 (lines=3) @@
|
| 14 |
|
$entity = get_entity($annotation->entity_guid); |
| 15 |
|
|
| 16 |
|
// Get size |
| 17 |
|
if (!in_array($vars['size'], array('small', 'medium', 'large', 'tiny', 'master', 'topbar'))) { |
| 18 |
|
$vars['size'] = "medium"; |
| 19 |
|
} |
| 20 |
|
|
| 21 |
|
|
| 22 |
|
// Ajout Fx pour traiter la cas ou pas d'annotations (ce qui est curieux en fait) |
pages/avatar/view.php 1 location
|
@@ 11-13 (lines=3) @@
|
| 8 |
|
|
| 9 |
|
// Get the size |
| 10 |
|
$size = strtolower(get_input('size')); |
| 11 |
|
if (!in_array($size, array('master', 'large', 'medium', 'small', 'tiny', 'topbar'))) { |
| 12 |
|
$size = 'medium'; |
| 13 |
|
} |
| 14 |
|
|
| 15 |
|
// If user doesn't exist, return default icon |
| 16 |
|
if (!$user) { |
mod/pleio/start.php 1 location
|
@@ 168-170 (lines=3) @@
|
| 165 |
|
return $value; |
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
if (!in_array($size, ["large", "medium", "small", "tiny", "master", "topbar"])) { |
| 169 |
|
$size = "medium"; |
| 170 |
|
} |
| 171 |
|
|
| 172 |
|
$dbprefix = elgg_get_config("dbprefix"); |
| 173 |
|
$guid = (int) $entity->guid; |