Modif lien vers les fichiers relatifs aux projets

This commit is contained in:
Rodolphe Quiedeville
2003-09-04 11:15:13 +00:00
parent abaf05a074
commit 5ee092f015
2 changed files with 6 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ if ($socid > 0) {
print "<td align=\"center\"><a href=\"docsoc.php?socid=$objsoc->idp\">Documents</a></td>";
print "<td align=\"center\"><a href=\"index.php?socidp=$objsoc->idp&action=add_bookmark\">[Bookmark]</a></td>";
if ($user->rights->projet->creer)
print "<td align=\"center\"><a href=\"projet/fiche.php3?socidp=$objsoc->idp&action=create\">[Projet]</a></td>";
print "<td align=\"center\"><a href=\"../projet/fiche.php?socidp=$objsoc->idp&action=create\">[Projet]</a></td>";
if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER)
{
@@ -243,13 +243,13 @@ if ($socid > 0) {
$num = $db->num_rows();
if ($num > 0) {
$tag = !$tag; print "<tr $bc[$tag]>";
print "<td colspan=\"2\"><a href=\"projet/index.php?socidp=$objsoc->idp\">liste des projets ($num)</td></tr>";
print "<td colspan=\"2\"><a href=\"../projet/index.php?socidp=$objsoc->idp\">liste des projets ($num)</td></tr>";
}
while ($i < $num && $i < 5) {
$obj = $db->fetch_object( $i);
$tag = !$tag;
print "<tr $bc[$tag]>";
print '<td><a href="projet/fiche.php3?id='.$obj->rowid.'">'.$obj->title.'</a></td>';
print '<td><a href="../projet/fiche.php?id='.$obj->rowid.'">'.$obj->title.'</a></td>';
print "<td align=\"right\">".$obj->ref ."</td></tr>";
$i++;
@@ -282,7 +282,7 @@ if ($socid > 0) {
}
print '<td align="center" width="20%">-</td>';
print '<td align="center" width="20%"><a href="projet/fiche.php3?socidp='.$socid.'&action=create">Cr<43>er un projet</a></td>';
print '<td align="center" width="20%"><a href="../projet/fiche.php?socidp='.$socid.'&action=create">Cr<43>er un projet</a></td>';
print '<td align="center" width="20%">-</td>';
print '</tr></table>';

View File

@@ -292,13 +292,13 @@ if ($socid > 0)
$num = $db->num_rows();
if ($num > 0) {
$tag = !$tag; print "<tr $bc[$tag]>";
print "<td colspan=\"2\"><a href=\"projet/index.php?socidp=$objsoc->idp\">liste des projets ($num)</td></tr>";
print "<td colspan=\"2\"><a href=\"../projet/index.php?socidp=$objsoc->idp\">liste des projets ($num)</td></tr>";
}
while ($i < $num && $i < 5) {
$obj = $db->fetch_object( $i);
$tag = !$tag;
print "<tr $bc[$tag]>";
print '<td><a href="projet/fiche.php3?id='.$obj->rowid.'">'.$obj->title.'</a></td>';
print '<td><a href="../projet/fiche.php?id='.$obj->rowid.'">'.$obj->title.'</a></td>';
print "<td align=\"right\">".strftime("%d %b %Y", $obj->do) ."</td></tr>";
$i++;