mirror of
https://github.com/pluginsGLPI/example.git
synced 2026-10-13 13:17:21 +02:00
Add tags and display for plugins on GLPI External links & minor fixes
This commit is contained in:
1 parent
946224b913
commit
285a86be4e
4 files changed
+51
-9
No files matched your search
@@ -87,8 +87,8 @@ function plugin_example_giveItem($type,$ID,$data,$num) {
|
||||
switch ($table.'.'.$field) {
|
||||
case "glpi_plugin_example_examples.name" :
|
||||
$out = "<a href='".Toolbox::getItemTypeFormURL('PluginExampleExample')."?id=".$data['id']."'>";
|
||||
$out .= $data["ITEM_$num"];
|
||||
if ($_SESSION["glpiis_ids_visible"] || empty($data["ITEM_$num"])) {
|
||||
$out .= $data[$num][0]['name'];
|
||||
if ($_SESSION["glpiis_ids_visible"] || empty($data[$num][0]['name'])) {
|
||||
$out .= " (".$data["id"].")";
|
||||
}
|
||||
$out .= "</a>";
|
||||
|
||||
Reference in new issue
Block a user