Fix: Minor change in look of project

This commit is contained in:
Laurent Destailleur 2010-03-18 19:51:50 +00:00
parent fc925f9544
commit 4249291d4b
4 changed files with 12 additions and 8 deletions

View File

@ -106,4 +106,5 @@ ConfirmCreateContact=Are you sure you want to create a Dolibarr account for this
ConfirmCreateLogin=Are you sure you want to create a Dolibarr account for this member ?
ConfirmCreateThirdParty=Are you sure you want to create a third party for this member ?
LoginToCreate=Login to create
NameToCreate=Name of third party to create
NameToCreate=Name of third party to create
YourRole=Your roles

View File

@ -106,4 +106,5 @@ ConfirmCreateContact=Êtes-vous sûr de vouloir créer un compte Dolibarr pour c
ConfirmCreateLogin=Êtes-vous sûr de vouloir créer un compte Dolibarr pour cet adhérent ?
ConfirmCreateThirdParty=Êtes-vous sûr de vouloir créer un tiers pour cet adhérent ?
LoginToCreate=Login à créer
NameToCreate=Nom du tiers à créer
NameToCreate=Nom du tiers à créer
YourRole=Vos rôles

View File

@ -52,12 +52,12 @@ function project_prepare_head($object)
$head[$h][2] = 'element';
$h++;
}
$head[$h][0] = DOL_URL_ROOT.'/projet/contact.php?id='.$object->id;
$head[$h][1] = $langs->trans("ProjectContact");
$head[$h][2] = 'contact';
$h++;
$head[$h][0] = DOL_URL_ROOT.'/projet/document.php?id='.$object->id;
/*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
@ -119,7 +119,7 @@ function task_prepare_head($object)
$head[$h][1] = $langs->trans("TimeSpent");
$head[$h][2] = 'time';
$h++;
$head[$h][0] = DOL_URL_ROOT.'/projet/tasks/document.php?id='.$object->id;
/*$filesdir = $conf->projet->dir_output . "/" . dol_sanitizeFileName($object->ref);
include_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
@ -233,7 +233,7 @@ function PLinesb(&$inc, $parent, $lines, &$level, &$projectsrole)
{
global $user, $bc, $langs;
global $form;
$lastprojectid=0;
$projectstatic = new Project($db);
@ -403,7 +403,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject, &$taskrole
print '<td>';
if ($showlineingray)
{
print '<i>'.$lines[$i]->id.'</i>';
print '<i>'.img_object('','projecttask').' '.$lines[$i]->id.'</i>';
}
else
{
@ -426,7 +426,7 @@ function PLines(&$inc, $parent, &$lines, &$level, $var, $showproject, &$taskrole
if ($showlineingray) print '</i>';
else print '</a>';
print "</td>\n";
// Progress
print '<td align="right">';
print $lines[$i]->progress.' %';

View File

@ -41,6 +41,8 @@ $result = restrictedArea($user, 'projet', $projectid);
$userAccess=0;
$langs->load("users");
/*
* Actions