ajout de DOL_URL_ROOT quand a manquait ...
This commit is contained in:
parent
5215e8ed0e
commit
080ad5da9e
@ -84,9 +84,9 @@ if ($action == 'update' && !$cancel) {
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
|
||||
print '<td><a href="/boutique/commande/fiche.php?id='.$objp->orders_id.'"><img src="/theme/'.$conf->theme.'/img/filenew.png" border="0" alt="Fiche"></a> ';
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/boutique/commande/fiche.php?id='.$objp->orders_id.'"><img src="/theme/'.$conf->theme.'/img/filenew.png" border="0" alt="Fiche"></a> ';
|
||||
|
||||
print "<a href=\"/boutique/commande/fiche.php?id=$objp->orders_id\">".strftime("%d %B %Y",$objp->date_purchased)."</a></TD>\n";
|
||||
print "<a href=\"".DOL_URL_ROOT."/boutique/commande/fiche.php?id=$objp->orders_id\">".strftime("%d %B %Y",$objp->date_purchased)."</a></TD>\n";
|
||||
|
||||
print "</TR>\n";
|
||||
$i++;
|
||||
|
||||
@ -44,7 +44,7 @@ if ($id)
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<tr><td width="20%">Date</td><td width="80%" colspan="2">'.$commande->date.'</td></tr>';
|
||||
print '<td width="20%">Client</td><td width="80%" colspan="2"><a href="/boutique/client/fiche.php?id='.$commande->client_id.'">'.$commande->client_name.'</a></td></tr>';
|
||||
print '<td width="20%">Client</td><td width="80%" colspan="2"><a href="'.DOL_URL_ROOT.'/boutique/client/fiche.php?id='.$commande->client_id.'">'.$commande->client_name.'</a></td></tr>';
|
||||
|
||||
print '<td width="20%">Paiement</td><td width="80%" colspan="2">'.$commande->payment_method.'</td></tr>';
|
||||
|
||||
|
||||
@ -265,7 +265,7 @@ class Livre {
|
||||
}
|
||||
if ($test)
|
||||
{
|
||||
print '<a href="/boutique/livre/fiche.php?id='.$this->id.'&action=delcat&catid='.$key.'">';
|
||||
print '<a href="'.DOL_URL_ROOT.'/boutique/livre/fiche.php?id='.$this->id.'&action=delcat&catid='.$key.'">';
|
||||
print '<img src="/theme/'.$conf->theme.'/img/editdelete.png" height="16" width="16" alt="Supprimer" border="0">';
|
||||
print "</a><b>$value</b><br>";
|
||||
}
|
||||
|
||||
@ -64,7 +64,7 @@ if ( $db->query($sql) )
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print "<TD width='70%'><a href=\"fiche.php?id=$objp->rowid\">$objp->customers_firstname $objp->customers_lastname</a></TD>\n";
|
||||
print '<td><a href="/boutique/livre/fiche.php?oscid='.$objp->products_id.'">'.$objp->products_name."</a></td>";
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/boutique/livre/fiche.php?oscid='.$objp->products_id.'">'.$objp->products_name."</a></td>";
|
||||
print "</TR>\n";
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -63,7 +63,7 @@ if ( $db->query($sql) )
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
|
||||
print '<td><a href="/boutique/livre/fiche.php?oscid='.$objp->products_id.'">'.$objp->products_name."</a></td>";
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/boutique/livre/fiche.php?oscid='.$objp->products_id.'">'.$objp->products_name."</a></td>";
|
||||
print '<td align="center">'.$objp->nb.'</td>';
|
||||
|
||||
print '<td align="center"><a href="index.php?products_id='.$objp->products_id.'">Voir les clients</td>';
|
||||
|
||||
@ -237,7 +237,7 @@ else
|
||||
|
||||
print '<TD width="20%">';
|
||||
|
||||
print ' <a href="/comm/fiche.php3?socid='.$obj->socidp.'">'.$obj->societe.'</A></TD>';
|
||||
print ' <a href="'.DOL_URL_ROOT.'/comm/fiche.php3?socid='.$obj->socidp.'">'.$obj->societe.'</A></TD>';
|
||||
|
||||
print '<TD width="30%"><a href="fiche.php3?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
|
||||
/*
|
||||
@ -248,7 +248,7 @@ else
|
||||
{
|
||||
$cont = new Contact($db);
|
||||
$cont->fetch($obj->fk_contact);
|
||||
print '<a href="/comm/contact.php3?id='.$cont->id.'">'.$cont->fullname.'</a>';
|
||||
print '<a href="'.DOL_URL_ROOT.'/comm/contact.php3?id='.$cont->id.'">'.$cont->fullname.'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -119,7 +119,7 @@ if ($result)
|
||||
|
||||
print "<TR $bc[$var]>";
|
||||
|
||||
print '<TD><a href="/comm/people.php3?contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.$obj->name.'</a></TD>';
|
||||
print '<TD><a href="'.DOL_URL_ROOT.'/comm/people.php3?contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.$obj->name.'</a></TD>';
|
||||
print "<TD>$obj->firstname</TD>";
|
||||
|
||||
print '<TD><a href="contact.php3?socid='.$obj->idp.'"><img src="/theme/'.$conf->theme.'/img/filter.png" border="0" alt="filtrer"></a> ';
|
||||
|
||||
@ -49,7 +49,7 @@ class Commande {
|
||||
$this->id = $result["rowid"];
|
||||
$this->client_name = $result["customers_name"];
|
||||
|
||||
$this->nom_url = '<a href="/commande/fiche.php?id='.$result["rowid"].'">'.$result["nom"].'</a>';
|
||||
$this->nom_url = '<a href="'.DOL_URL_ROOT.'/commande/fiche.php?id='.$result["rowid"].'">'.$result["nom"].'</a>';
|
||||
|
||||
}
|
||||
$this->db->free();
|
||||
|
||||
@ -119,11 +119,11 @@ if ($result)
|
||||
|
||||
print "<TR $bc[$var]>";
|
||||
|
||||
print '<TD><a href="/comm/people.php3?contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.$obj->name.'</a></TD>';
|
||||
print '<TD><a href="'.DOL_URL_ROOT.'/comm/people.php3?contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.$obj->name.'</a></TD>';
|
||||
print "<TD>$obj->firstname</TD>";
|
||||
|
||||
print '<TD><a href="contact.php?socid='.$obj->idp.'"><img src="/theme/'.$conf->theme.'/img/filter.png" border="0"></a> ';
|
||||
print "<a href=\"/comm/fiche.php3?socid=$obj->idp\">$obj->nom</A></td>\n";
|
||||
print "<a href=\"".DOL_URL_ROOT."/comm/fiche.php3?socid=$obj->idp\">$obj->nom</A></td>\n";
|
||||
|
||||
print '<td><a href="action/fiche.php3?action=create&actionid=4&contactid='.$obj->cidp.'&socid='.$obj->idp.'">'.$obj->email.'</a> </td>';
|
||||
|
||||
|
||||
@ -221,7 +221,7 @@ if ($action == 'create')
|
||||
print '</select>';
|
||||
if ($numprojet==0) {
|
||||
print 'Cette société n\'a pas de projet. ';
|
||||
print '<a href=/comm/projet/fiche.php3?socidp='.$socidp.'&action=create>Créer un projet</a>';
|
||||
print '<a href='.DOL_URL_ROOT.'/comm/projet/fiche.php3?socidp='.$socidp.'&action=create>Créer un projet</a>';
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
@ -292,7 +292,7 @@ if ($action == 'edit')
|
||||
if (sizeof($listeprj) == 0)
|
||||
{
|
||||
print 'Cette société n\'a pas de projet. ';
|
||||
print '<a href=/comm/projet/fiche.php3?socidp='.$socidp.'&action=create>Créer un projet</a>';
|
||||
print '<a href='.DOL_URL_ROOT.'/comm/projet/fiche.php3?socidp='.$socidp.'&action=create>Créer un projet</a>';
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
|
||||
@ -321,7 +321,7 @@ if ($socid > 0) {
|
||||
if ( $db->query($sql) )
|
||||
{
|
||||
print "<table width=\"100%\" cellspacing=0 border=0 cellpadding=2>\n";
|
||||
print '<tr><td><a href="/comm/action/index.php3?socid='.$objsoc->idp.'">Actions</a></td></tr>';
|
||||
print '<tr><td><a href="'.DOL_URL_ROOT.'/comm/action/index.php3?socid='.$objsoc->idp.'">Actions</a></td></tr>';
|
||||
|
||||
$i = 0 ; $num = $db->num_rows(); $tag = True;
|
||||
while ($i < $num)
|
||||
@ -374,7 +374,7 @@ if ($socid > 0) {
|
||||
}
|
||||
/*
|
||||
*/
|
||||
print '<td width="20%"><a href="/user/fiche.php3?id='.$obj->fk_user_author.'">'.$obj->code.'</a></td>';
|
||||
print '<td width="20%"><a href="'.DOL_URL_ROOT.'/user/fiche.php3?id='.$obj->fk_user_author.'">'.$obj->code.'</a></td>';
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
$tag = !$tag;
|
||||
|
||||
@ -80,8 +80,8 @@ if ($id)
|
||||
$objp = $db->fetch_object( $i);
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print '<TD><a href="/boutique/livre/fiche.php?id='.$objp->rowid.'">'.$objp->ref.'</a></TD>';
|
||||
print '<TD width="70%"><a href="/boutique/livre/fiche.php?id='.$objp->rowid.'">'.$objp->title.'</a></TD>';
|
||||
print '<TD><a href="'.DOL_URL_ROOT.'/boutique/livre/fiche.php?id='.$objp->rowid.'">'.$objp->ref.'</a></TD>';
|
||||
print '<TD width="70%"><a href="'.DOL_URL_ROOT.'/boutique/livre/fiche.php?id='.$objp->rowid.'">'.$objp->title.'</a></TD>';
|
||||
|
||||
|
||||
if ($objp->status == 1)
|
||||
|
||||
@ -98,7 +98,7 @@ class LieuConcert {
|
||||
$this->ville = $result["ville"];
|
||||
$this->description = $result["description"];
|
||||
|
||||
$this->nom_url = '<a href="/product/concert/fichelieu.php?id='.$result["rowid"].'">'.$result["nom"].'</a>';
|
||||
$this->nom_url = '<a href="'.DOL_URL_ROOT.'/product/concert/fichelieu.php?id='.$result["rowid"].'">'.$result["nom"].'</a>';
|
||||
}
|
||||
$this->db->free();
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ if ( $db->query($sql) ) {
|
||||
$objp = $db->fetch_object( $i);
|
||||
$var=!$var;
|
||||
print "<TR $bc[$var]>";
|
||||
print '<TD><a href="/boutique/livre/fiche.php?oscid='.$objp->products_id.'">'.$objp->products_model.'</a></TD>';
|
||||
print '<TD><a href="'.DOL_URL_ROOT.'/boutique/livre/fiche.php?oscid='.$objp->products_id.'">'.$objp->products_model.'</a></TD>';
|
||||
print '<TD align="center">'.$objp->rat."</TD>\n";
|
||||
print '<TD align="center">'.$objp->products_quantity."</TD>\n";
|
||||
print '<TD align="center">'.$objp->products_status."</TD>\n";
|
||||
|
||||
@ -90,7 +90,7 @@ class Groupart {
|
||||
$this->id = $result["rowid"];
|
||||
$this->nom = $result["nom"];
|
||||
|
||||
$this->nom_url = '<a href="/product/groupart/fiche.php?id='.$result["rowid"].'">'.$result["nom"].'</a>';
|
||||
$this->nom_url = '<a href="'.DOL_URL_ROOT.'/product/groupart/fiche.php?id='.$result["rowid"].'">'.$result["nom"].'</a>';
|
||||
|
||||
}
|
||||
$this->db->free();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user