diff --git a/htdocs/langs/en_US/projects.lang b/htdocs/langs/en_US/projects.lang index 1a35eda4b9c..e61c86d2999 100644 --- a/htdocs/langs/en_US/projects.lang +++ b/htdocs/langs/en_US/projects.lang @@ -7,7 +7,7 @@ ProjectsArea=Projects Area ProjectStatus=Project status SharedProject=Everybody PrivateProject=Project contacts -ProjectsImContactFor=Projects for I am explicitly a contact +ProjectsImContactFor=Projects for which I am explicitly a contact AllAllowedProjects=All project I can read (mine + public) AllProjects=All projects MyProjectsDesc=This view is limited to projects you are a contact for diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php index 03aac96db68..860a6b6b92f 100644 --- a/htdocs/projet/class/project.class.php +++ b/htdocs/projet/class/project.class.php @@ -1096,23 +1096,14 @@ class Project extends CommonObject $linkclose .= ' alt="'.dol_escape_htmltag($label, 1).'"'; } $linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"'; - $linkclose .= ' class="classfortooltip"'; - - /* - $hookmanager->initHooks(array('projectdao')); - $parameters=array('id'=>$this->id); - // Note that $action and $object may have been modified by some hooks - $reshook=$hookmanager->executeHooks('getnomurltooltip',$parameters,$this,$action); - if ($reshook > 0) - $linkclose = $hookmanager->resPrint; - */ + $linkclose .= ' class="classfortooltip'.($morecss ? ' '.$morecss : '').'"'; } + else $linkclose = ($morecss ? ' class="'.$morecss.'"' : ''); $picto = 'projectpub'; if (!$this->public) $picto = 'project'; $linkstart = ''; $linkend = ''; diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index f9cab81f43c..f931354fbac 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -364,7 +364,7 @@ print ''; if (empty($conf->global->PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA)) { // This list can be very long, so we allow to hide it to prefer to use the list page. - // Add constant PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA to show this list + // Add constant PROJECT_HIDE_PROJECT_LIST_ON_PROJECT_AREA to hide this list print '
';