Skip to content
Snippets Groups Projects
Commit b090a4d2 authored by Florian Henry's avatar Florian Henry Committed by Jean-François Ferry
Browse files

fix pb

parent 9de6368b
No related branches found
No related tags found
No related merge requests found
......@@ -184,12 +184,12 @@ else
if ( $mode == 'add' && $resource_obj == $resource_type)
{
//print '/'.$element_prop['module'].'/core/tpl/resource_'.$element_prop['element'].'_'.$mode.'.tpl.php';
//print '/'.$element_prop['module'].'/core/tpl/resource_'.$element_prop['element'].'_'.$mode.'.tpl.php'.'<BR>';
$path = '';
$path = $element_prop['module'];
if(strpos($element_prop['module'],'@'))
$path .= '/'.$element_prop['module'];
// If we have a specific template we use it
if(file_exists(dol_buildpath($path.'/core/tpl/resource_'.$element_prop['element'].'_'.$mode.'.tpl.php')))
{
......
MenuResourceIndex=Resources
MenuResourcePlanning=Resource planning
DeleteResource=Delete resource
ConfirmDeleteResourceElement=Confirm delete the resource for this element
NoResourceInDatabase=Aucune resource en base de données.
NoResourceLinked=No resource linked
ResourcePageIndex=Resources list
ResourcesLinkedToElement=Resources linked to element
RessourceLineSuccessfullyUpdated=Resource successfully updated
RessourceLineSuccessfullyDeleted=Resource successfully deleted
ShowResourcePlanning=Show resource planning
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment