Add ficheinter in GetElementURL for action
This commit is contained in:
parent
fefb21a56e
commit
181ce52223
@ -2517,6 +2517,9 @@ abstract class CommonObject
|
|||||||
if ($objecttype == 'cabinetmed_cons') {
|
if ($objecttype == 'cabinetmed_cons') {
|
||||||
$classpath = 'cabinetmed/class'; $module='cabinetmed'; $subelement='cabinetmedcons';
|
$classpath = 'cabinetmed/class'; $module='cabinetmed'; $subelement='cabinetmedcons';
|
||||||
}
|
}
|
||||||
|
if ($objecttype == 'ficheinter') {
|
||||||
|
$classpath = 'fichinter/class'; $module='ficheinter'; $subelement='fichinter';
|
||||||
|
}
|
||||||
|
|
||||||
//print "objecttype=".$objecttype." module=".$module." subelement=".$subelement;
|
//print "objecttype=".$objecttype." module=".$module." subelement=".$subelement;
|
||||||
|
|
||||||
|
|||||||
@ -526,7 +526,7 @@ class Fichinter extends CommonObject
|
|||||||
* @param int $withpicto 0=_No picto, 1=Includes the picto in the linkn, 2=Picto only
|
* @param int $withpicto 0=_No picto, 1=Includes the picto in the linkn, 2=Picto only
|
||||||
* @return string String with URL
|
* @return string String with URL
|
||||||
*/
|
*/
|
||||||
function getNomUrl($withpicto=0)
|
function getNomUrl($withpicto=0,$option='')
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user