mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
move index.php to front/example.php
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@109 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
2
hook.php
2
hook.php
@ -96,7 +96,7 @@ function plugin_example_giveItem($type,$ID,$data,$num){
|
||||
|
||||
switch ($table.'.'.$field){
|
||||
case "glpi_plugin_example.name" :
|
||||
$out= "<a href=\"".$CFG_GLPI["root_doc"]."/".$INFOFORM_PAGES[$type]."?ID=".$data['id']."\">";
|
||||
$out= "<a href=\"".$CFG_GLPI["root_doc"]."/".$INFOFORM_PAGES[$type]."?id=".$data['id']."\">";
|
||||
$out.= $data["ITEM_$num"];
|
||||
if ($_SESSION["glpiis_ids_visible"]||empty($data["ITEM_$num"])) $out.= " (".$data["id"].")";
|
||||
$out.= "</a>";
|
||||
|
Reference in New Issue
Block a user