Fix: why no link ?
This commit is contained in:
parent
3843925023
commit
bcefd7006b
@ -31,7 +31,7 @@ require("../main.inc.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/categories/class/categorie.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/categories/class/categorie.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/treeview.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/treeview.lib.php");
|
||||||
|
|
||||||
$type=isset($_GET['type'])?$_GET['type']:(isset($_POST['type'])?$_POST['type']:0);
|
$type=(GETPOST('type') ? GETPOST('type') : 0);
|
||||||
|
|
||||||
if (!$user->rights->categorie->lire) accessforbidden();
|
if (!$user->rights->categorie->lire) accessforbidden();
|
||||||
|
|
||||||
@ -259,13 +259,13 @@ foreach($fulltree as $key => $val)
|
|||||||
// Show link
|
// Show link
|
||||||
print '<td valign="middle">';
|
print '<td valign="middle">';
|
||||||
//if ($section == $val['id']) print ' <u>';
|
//if ($section == $val['id']) print ' <u>';
|
||||||
/* We don't want a link
|
// We don't want a link ... why ?
|
||||||
$categstatic->id=$val['id'];
|
$categstatic->id=$val['id'];
|
||||||
$categstatic->ref=$val['label'];
|
$categstatic->ref=$val['label'];
|
||||||
$categstatic->type=$type;
|
$categstatic->type=$type;
|
||||||
print $categstatic->getNomUrl(0,'',28);
|
print $categstatic->getNomUrl(0,'',28);
|
||||||
*/
|
|
||||||
print ' '.dol_trunc($val['label'],28);
|
//print ' '.dol_trunc($val['label'],28);
|
||||||
//if ($section == $val['id']) print '</u>';
|
//if ($section == $val['id']) print '</u>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr></table>';
|
print '</tr></table>';
|
||||||
@ -306,15 +306,11 @@ if ($nbofentries == 0)
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ----- End of section -----
|
// ----- End of section -----
|
||||||
// --------------------------
|
// --------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user