forked from Wavyzz/dolibarr
Qual: Uniformisation des noms de boutons actions en butAction et butActionDelete. Suppression des tabAction et butDelete qui faisait double emploi et compliqu les feuilles de styles.
This commit is contained in:
@@ -1026,7 +1026,7 @@ if ($rowid && $action != 'edit')
|
||||
{
|
||||
if (! $adh->user_id)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?rowid='.$adh->id.'&action=create_user">'.$langs->trans("CreateDolibarrLogin").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?rowid='.$adh->id.'&action=create_user">'.$langs->trans("CreateDolibarrLogin").'</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1044,10 +1044,10 @@ if ($rowid && $action != 'edit')
|
||||
$isinglasnost=$adh->is_in_glasnost();
|
||||
if ($isinglasnost == 1)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?rowid=$adh->id&action=del_glasnost\">Suppression dans Glasnost</a>\n";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?rowid=$adh->id&action=del_glasnost\">Suppression dans Glasnost</a>\n";
|
||||
}
|
||||
if ($isinglasnost == 0) {
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?rowid=$adh->id&action=add_glasnost\">Ajout dans Glasnost</a>\n";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?rowid=$adh->id&action=add_glasnost\">Ajout dans Glasnost</a>\n";
|
||||
}
|
||||
if ($isinglasnost == -1) {
|
||||
print '<br><font class="error">Failed to connect to SPIP: '.$adh->error.'</font>';
|
||||
@@ -1060,11 +1060,11 @@ if ($rowid && $action != 'edit')
|
||||
$isinspip=$adh->is_in_spip();
|
||||
if ($isinspip == 1)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?rowid=$adh->id&action=del_spip\">Suppression dans Spip</a>\n";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?rowid=$adh->id&action=del_spip\">Suppression dans Spip</a>\n";
|
||||
}
|
||||
if ($isinspip == 0)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?rowid=$adh->id&action=add_spip\">Ajout dans Spip</a>\n";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?rowid=$adh->id&action=add_spip\">Ajout dans Spip</a>\n";
|
||||
}
|
||||
if ($isinspip == -1) {
|
||||
print '<br><font class="error">Failed to connect to SPIP: '.$adh->error.'</font>';
|
||||
|
||||
@@ -161,7 +161,7 @@ if ($id)
|
||||
|
||||
if ($user->rights->adherent->creer && $action != 'edit')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"note.php?id=$adh->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
print "<a class=\"butAction\" href=\"note.php?id=$adh->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -123,7 +123,7 @@ print "</table>";
|
||||
if ($_GET["action"] != 'create')
|
||||
{
|
||||
print '<div class="tabsAction">';
|
||||
print "<a class=\"tabAction\" href=\"options.php?action=create\">".$langs->trans("NewAttribute")."</a>";
|
||||
print "<a class=\"butAction\" href=\"options.php?action=create\">".$langs->trans("NewAttribute")."</a>";
|
||||
print "</div>";
|
||||
}
|
||||
|
||||
|
||||
@@ -566,7 +566,7 @@ else
|
||||
|
||||
// Boutons d'action
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '</div>';
|
||||
|
||||
print '<br>';
|
||||
|
||||
@@ -283,7 +283,7 @@ else
|
||||
|
||||
// Boutons d'action
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="delais.php?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="delais.php?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '</div>';
|
||||
|
||||
}
|
||||
|
||||
@@ -299,7 +299,7 @@ else
|
||||
print '</table>';
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '</div>';
|
||||
|
||||
}
|
||||
|
||||
@@ -250,7 +250,7 @@ if (function_exists("ldap_connect"))
|
||||
{
|
||||
if ($conf->global->LDAP_SERVER_HOST)
|
||||
{
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=test">'.$langs->trans("LDAPTestConnect").'</a><br><br>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=test">'.$langs->trans("LDAPTestConnect").'</a><br><br>';
|
||||
}
|
||||
|
||||
if ($_GET["action"] == 'test')
|
||||
|
||||
@@ -232,7 +232,7 @@ if (function_exists("ldap_connect"))
|
||||
if ($conf->global->LDAP_SERVER_HOST)
|
||||
{
|
||||
print '<br>';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=test">'.$langs->trans("LDAPTestSynchroContact").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=test">'.$langs->trans("LDAPTestSynchroContact").'</a>';
|
||||
print '<br><br>';
|
||||
}
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ if (function_exists("ldap_connect"))
|
||||
if ($conf->global->LDAP_SERVER_HOST && $conf->global->LDAP_SYNCHRO_ACTIVE == 'dolibarr2ldap')
|
||||
{
|
||||
print '<br>';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=testgroup">'.$langs->trans("LDAPTestSynchroGroup").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testgroup">'.$langs->trans("LDAPTestSynchroGroup").'</a>';
|
||||
print '<br><br>';
|
||||
}
|
||||
|
||||
|
||||
@@ -371,8 +371,8 @@ if (function_exists("ldap_connect"))
|
||||
if ($conf->global->LDAP_SERVER_HOST && $conf->global->LDAP_MEMBER_ACTIVE)
|
||||
{
|
||||
print '<br>';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=testmember">'.$langs->trans("LDAPTestSynchroMember").'</a>';
|
||||
// print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=testtype">'.$langs->trans("LDAPTestSynchroTypeMember").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testmember">'.$langs->trans("LDAPTestSynchroMember").'</a>';
|
||||
// print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testtype">'.$langs->trans("LDAPTestSynchroTypeMember").'</a>';
|
||||
print '<br><br>';
|
||||
}
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@ if (function_exists("ldap_connect"))
|
||||
if ($conf->global->LDAP_SERVER_HOST && $conf->global->LDAP_SYNCHRO_ACTIVE == 'dolibarr2ldap')
|
||||
{
|
||||
print '<br>';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=testuser">'.$langs->trans("LDAPTestSynchroUser").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testuser">'.$langs->trans("LDAPTestSynchroUser").'</a>';
|
||||
print '<br><br>';
|
||||
}
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ print '</div>';
|
||||
if (! isset($_GET["action"]) || $_GET["action"] != 'edit')
|
||||
{
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ else
|
||||
print '<div class="tabsAction">';
|
||||
if ($action != 'create')
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?action=edit&id='.$id.'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=edit&id='.$id.'">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ if ($_GET['propalid'])
|
||||
print '<div class="tabsAction">';
|
||||
if ($user->rights->propale->creer && $_GET['action'] <> 'edit')
|
||||
{
|
||||
print '<a class="tabAction" href="note.php?propalid='.$propal->id.'&action=edit">'.$langs->trans('Edit').'</a>';
|
||||
print '<a class="butAction" href="note.php?propalid='.$propal->id.'&action=edit">'.$langs->trans('Edit').'</a>';
|
||||
}
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
@@ -221,19 +221,19 @@ if ($socid > 0)
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$societe->id.'&action=create">'.$langs->trans("AddContact").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$societe->id.'&action=create">'.$langs->trans("AddContact").'</a>';
|
||||
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&socid='.$socid.'&afaire=1">'.$langs->trans("AddAction").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&socid='.$socid.'&afaire=1">'.$langs->trans("AddAction").'</a>';
|
||||
|
||||
|
||||
if ($conf->propal->enabled && defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/comm/addpropal.php?socid='.$societe->id.'&action=create">'.$langs->trans("AddProp").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/addpropal.php?socid='.$societe->id.'&action=create">'.$langs->trans("AddProp").'</a>';
|
||||
}
|
||||
|
||||
if ($conf->projet->enabled && $user->rights->projet->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/projet/fiche.php?socid='.$socid.'&action=create">'.$langs->trans("AddProject").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/projet/fiche.php?socid='.$socid.'&action=create">'.$langs->trans("AddProject").'</a>';
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ if ($_GET["id"])
|
||||
|
||||
if ($user->rights->commande->creer && $_GET["action"] <> 'edit')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"note.php?id=$commande->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
print "<a class=\"butAction\" href=\"note.php?id=$commande->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -611,12 +611,12 @@ if ($account > 0)
|
||||
|
||||
if ($user->rights->banque->modifier && $acct->type != 2 && $acct->rappro) // Si non compte cash et rapprochable
|
||||
{
|
||||
print '<a class="tabAction" href="rappro.php?account='.$acct->id.'">'.$langs->trans("Conciliate").'</a>';
|
||||
print '<a class="butAction" href="rappro.php?account='.$acct->id.'">'.$langs->trans("Conciliate").'</a>';
|
||||
}
|
||||
|
||||
if ($user->rights->banque->modifier)
|
||||
{
|
||||
print '<a class="tabAction" href="account.php?action=addline&account='.$acct->id.'&page='.$page.'">'.$langs->trans("AddBankRecord").'</a>';
|
||||
print '<a class="butAction" href="account.php?action=addline&account='.$acct->id.'&page='.$page.'">'.$langs->trans("AddBankRecord").'</a>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
@@ -219,8 +219,8 @@ print "</table>";
|
||||
*/
|
||||
print "<br><div class=\"tabsAction\">\n";
|
||||
if ($user->rights->banque->configurer) {
|
||||
print '<a class="tabAction" href="fiche.php?action=create">'.$langs->trans("NewFinancialAccount").'</a>';
|
||||
print '<a class="tabAction" href="categ.php">'.$langs->trans("Categories").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=create">'.$langs->trans("NewFinancialAccount").'</a>';
|
||||
print '<a class="butAction" href="categ.php">'.$langs->trans("Categories").'</a>';
|
||||
}
|
||||
print "</div>";
|
||||
|
||||
|
||||
@@ -467,7 +467,7 @@ if ($orig_account)
|
||||
{
|
||||
$acct=new Account($db,$orig_account);
|
||||
$acct->fetch($orig_account);
|
||||
print '<a class="tabAction" href="rappro.php?account='.$orig_account.'">'.$langs->trans("BackToConciliate",$acct->label).'</a>';
|
||||
print '<a class="butAction" href="rappro.php?account='.$orig_account.'">'.$langs->trans("BackToConciliate",$acct->label).'</a>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
@@ -233,8 +233,8 @@ print '<div class="tabsAction">';
|
||||
|
||||
if ($_GET["action"] != 'create' && $_GET["action"] != 'edit')
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?action=edit&id='.$id.'">'.$langs->trans('Edit').'</a>';
|
||||
print '<a class="butDelete" href="fiche.php?action=delete&id='.$id.'">'.$langs->trans('Delete').'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=edit&id='.$id.'">'.$langs->trans('Edit').'</a>';
|
||||
print '<a class="butActionDelete" href="fiche.php?action=delete&id='.$id.'">'.$langs->trans('Delete').'</a>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
@@ -167,7 +167,7 @@ if ($_GET["facid"])
|
||||
|
||||
if ($user->rights->facture->creer && $_GET["action"] <> 'edit')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"note.php?facid=$fac->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
print "<a class=\"butAction\" href=\"note.php?facid=$fac->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -358,12 +358,12 @@ if ($socid > 0)
|
||||
// Si soci<63>t<EFBFBD> cliente ou prospect, on affiche bouton "Cr<43>er facture client"
|
||||
if ($societe->client != 0 && $conf->facture->enabled && $user->rights->facture->creer) {
|
||||
$langs->load("bills");
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/facture.php?action=create&socid=$societe->id\">".$langs->trans("AddBill")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/facture.php?action=create&socid=$societe->id\">".$langs->trans("AddBill")."</a>";
|
||||
}
|
||||
|
||||
if ($conf->deplacement->enabled) {
|
||||
$langs->load("trips");
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/deplacement/fiche.php?socid=$societe->id&action=create\">".$langs->trans("AddTrip")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/deplacement/fiche.php?socid=$societe->id&action=create\">".$langs->trans("AddTrip")."</a>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -371,7 +371,7 @@ if ($socid > 0)
|
||||
|
||||
if ($user->rights->societe->contact->creer)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">".$langs->trans("AddContact")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">".$langs->trans("AddContact")."</a>";
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
@@ -263,7 +263,7 @@ if ($_GET['action'] == 'new')
|
||||
print "</table>";
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="fiche.php?action=create&accountid='.$bid.'">';
|
||||
print '<a class="butAction" href="fiche.php?action=create&accountid='.$bid.'">';
|
||||
print $langs->trans('NewCheckDepositOn',$account_label);
|
||||
print '</a>';
|
||||
print '</div><br />';
|
||||
@@ -402,17 +402,17 @@ print '<div class="tabsAction">';
|
||||
|
||||
if ($user->societe_id == 0 && sizeof($accounts) == 1 && $_GET['action'] == 'new')
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?action=create&accountid='.$account_id.'">'.$langs->trans('NewCheckReceipt').'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=create&accountid='.$account_id.'">'.$langs->trans('NewCheckReceipt').'</a>';
|
||||
}
|
||||
|
||||
if ($user->societe_id == 0 && $remisecheque->statut == 0 && $_GET['action'] == '')
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET['id'].'&facid='.$objp->facid.'&action=valide">'.$langs->trans('Valid').'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$_GET['id'].'&facid='.$objp->facid.'&action=valide">'.$langs->trans('Valid').'</a>';
|
||||
}
|
||||
|
||||
if ($user->societe_id == 0 && $remisecheque->statut == 0 && $_GET['action'] == '')
|
||||
{
|
||||
print '<a class="butDelete" href="fiche.php?id='.$_GET['id'].'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
print '<a class="butActionDelete" href="fiche.php?id='.$_GET['id'].'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
@@ -95,9 +95,9 @@ if ($nb)
|
||||
{
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
|
||||
if ($nb) print '<a class="tabAction" href="create.php?action=create">'.$langs->trans("Create")."</a>\n";
|
||||
if ($nb1) print '<a class="tabAction" href="create.php?action=create&banque=1&guichet=1">'.$langs->trans("CreateGuichet")."</a>\n";
|
||||
if ($nb11) print '<a class="tabAction" href="create.php?action=create&banque=1">'.$langs->trans("CreateBanque")."</a>\n";
|
||||
if ($nb) print '<a class="butAction" href="create.php?action=create">'.$langs->trans("Create")."</a>\n";
|
||||
if ($nb1) print '<a class="butAction" href="create.php?action=create&banque=1&guichet=1">'.$langs->trans("CreateGuichet")."</a>\n";
|
||||
if ($nb11) print '<a class="butAction" href="create.php?action=create&banque=1">'.$langs->trans("CreateBanque")."</a>\n";
|
||||
|
||||
print "</div>\n";
|
||||
}
|
||||
|
||||
@@ -239,7 +239,7 @@ if ($_GET["action"] == '')
|
||||
|
||||
if ($bon->credite == 0)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=credite&id=$bon->id\">".$langs->trans("Classer cr<EFBFBD>dit<EFBFBD>")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=credite&id=$bon->id\">".$langs->trans("Classer cr<EFBFBD>dit<EFBFBD>")."</a>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ if ($_GET["id"])
|
||||
|
||||
if ($bon->credite == 1 && $lipre->statut == 2)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"ligne.php?action=rejet&id=$lipre->id\">".$langs->trans("Emmetre un rejet")."</a>";
|
||||
print "<a class=\"butAction\" href=\"ligne.php?action=rejet&id=$lipre->id\">".$langs->trans("Emmetre un rejet")."</a>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -250,25 +250,25 @@ if ($chid > 0)
|
||||
// Editer
|
||||
if ($cha->paye == 0 && $user->rights->tax->charges->creer)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/sociales/charges.php?id=$cha->id&action=edit\">".$langs->trans("Edit")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/sociales/charges.php?id=$cha->id&action=edit\">".$langs->trans("Edit")."</a>";
|
||||
}
|
||||
|
||||
// Emettre paiement
|
||||
if ($cha->paye == 0 && round($resteapayer) > 0 && $user->rights->tax->charges->creer)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/paiement_charge.php?id=$cha->id&action=create\">".$langs->trans("DoPayment")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/paiement_charge.php?id=$cha->id&action=create\">".$langs->trans("DoPayment")."</a>";
|
||||
}
|
||||
|
||||
// Classer 'pay<61>'
|
||||
if ($cha->paye == 0 && round($resteapayer) <=0 && $user->rights->tax->charges->creer)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT."/compta/sociales/charges.php?id=$cha->id&action=payed\">".$langs->trans("ClassifyPayed")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT."/compta/sociales/charges.php?id=$cha->id&action=payed\">".$langs->trans("ClassifyPayed")."</a>";
|
||||
}
|
||||
|
||||
// Supprimer
|
||||
if ($cha->paye == 0 && $totalpaye <=0 && $user->rights->tax->charges->supprimer)
|
||||
{
|
||||
print "<a class=\"butDelete\" href=\"".DOL_URL_ROOT."/compta/sociales/charges.php?id=$cha->id&action=delete\">".$langs->trans("Delete")."</a>";
|
||||
print "<a class=\"butActionDelete\" href=\"".DOL_URL_ROOT."/compta/sociales/charges.php?id=$cha->id&action=delete\">".$langs->trans("Delete")."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -607,17 +607,17 @@ if ($_GET["id"] && $_GET["action"] != 'edit')
|
||||
|
||||
if ($user->rights->societe->contact->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$contact->id.'&action=edit">'.$langs->trans('Edit').'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$contact->id.'&action=edit">'.$langs->trans('Edit').'</a>';
|
||||
}
|
||||
|
||||
if (! $contact->user_id && $user->rights->user->user->creer && $contact->socid > 0)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$contact->id.'&action=create_user">'.$langs->trans("CreateDolibarrLogin").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$contact->id.'&action=create_user">'.$langs->trans("CreateDolibarrLogin").'</a>';
|
||||
}
|
||||
|
||||
if ($user->rights->societe->contact->supprimer)
|
||||
{
|
||||
print '<a class="butDelete" href="fiche.php?id='.$contact->id.'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
print '<a class="butActionDelete" href="fiche.php?id='.$contact->id.'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
}
|
||||
|
||||
print "</div><br>";
|
||||
|
||||
@@ -199,7 +199,7 @@ if ($_GET["id"])
|
||||
|
||||
if ($user->rights->contrat->creer && $_GET["action"] <> 'edit')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"note.php?id=".$contrat->id."&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
print "<a class=\"butAction\" href=\"note.php?id=".$contrat->id."&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -392,12 +392,12 @@ elseif ($_GET["id"] > 0)
|
||||
|
||||
if ($fichinter->statut == 0)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET["id"].'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$_GET["id"].'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
|
||||
if ($fichinter->statut == 0)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET["id"].'&action=valid">'.$langs->trans("Valid").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$_GET["id"].'&action=valid">'.$langs->trans("Valid").'</a>';
|
||||
}
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
@@ -162,7 +162,7 @@ if ($_GET["facid"])
|
||||
|
||||
if ($user->rights->fournisseur->facture->creer && $_GET["action"] <> 'edit')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"note.php?facid=$fac->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
print "<a class=\"butAction\" href=\"note.php?facid=$fac->id&action=edit\">".$langs->trans('Edit')."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -273,20 +273,20 @@ if ( $societe->fetch($socid) )
|
||||
if ($user->rights->fournisseur->commande->creer)
|
||||
{
|
||||
$langs->load("orders");
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/fourn/commande/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("AddOrder").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/fourn/commande/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("AddOrder").'</a>';
|
||||
}
|
||||
|
||||
if ($user->rights->fournisseur->facture->creer)
|
||||
{
|
||||
$langs->load("bills");
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("AddBill").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("AddBill").'</a>';
|
||||
}
|
||||
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("AddAction").'</a>';
|
||||
|
||||
if ($user->rights->societe->contact->creer)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">".$langs->trans("AddContact")."</a>";
|
||||
print "<a class=\"butAction\" href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">".$langs->trans("AddContact")."</a>";
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
@@ -240,7 +240,7 @@ if ($user->societe_id == 0 && $paiement->statut == 0 && $_GET['action'] == '')
|
||||
{
|
||||
if ($user->rights->fournisseur->facture->valider)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET['id'].'&action=valide">'.$langs->trans('Valid').'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$_GET['id'].'&action=valide">'.$langs->trans('Valid').'</a>';
|
||||
|
||||
}
|
||||
}
|
||||
@@ -248,7 +248,7 @@ if ($user->societe_id == 0 && $allow_delete && $paiement->statut == 0 && $_GET['
|
||||
{
|
||||
if ($user->rights->fournisseur->facture->supprimer)
|
||||
{
|
||||
print '<a class="butDelete" href="fiche.php?id='.$_GET['id'].'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
print '<a class="butActionDelete" href="fiche.php?id='.$_GET['id'].'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -578,12 +578,12 @@ else
|
||||
{
|
||||
if ( $user->rights->produit->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?action=edit&id='.$product->id.'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=edit&id='.$product->id.'">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
|
||||
if ($product->isproduct() && $conf->stock->enabled)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/stock/product.php?id='.$product->id.'&action=correction">'.$langs->trans("CorrectStock").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/stock/product.php?id='.$product->id.'&action=correction">'.$langs->trans("CorrectStock").'</a>';
|
||||
}
|
||||
|
||||
print '<a class="butAction" href="fiche.php?id='.$product->id.'&action=ajout_fourn">'.$langs->trans("AddSupplier").'</a>';
|
||||
@@ -591,7 +591,7 @@ else
|
||||
if ($product->isproduct() && $user->rights->commande->creer)
|
||||
{
|
||||
$langs->load('orders');
|
||||
print '<a class="tabAction" href="fiche.php?action=fastappro&id='.$product->id.'">';
|
||||
print '<a class="butAction" href="fiche.php?action=fastappro&id='.$product->id.'">';
|
||||
print $langs->trans("CreateOrder").'</a>';
|
||||
}
|
||||
|
||||
|
||||
@@ -207,7 +207,7 @@ if ($_GET["id"])
|
||||
|
||||
if ( $user->rights->produit->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="fourn.php?action=edit&id='.$product->id.'&id_fourn='.$product->fourn->id.'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="fourn.php?action=edit&id='.$product->id.'&id_fourn='.$product->fourn->id.'">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ if ($_GET["id"])
|
||||
{
|
||||
if ( $user->rights->produit->creer && $product->isproduct() && $conf->upload)
|
||||
{
|
||||
print '<a class="tabAction" href="photos.php?action=ajout_photo&id='.$product->id.'">';
|
||||
print '<a class="butAction" href="photos.php?action=ajout_photo&id='.$product->id.'">';
|
||||
print $langs->trans("AddPhoto").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ print '<div class="tabsAction">';
|
||||
|
||||
if ($soc->active == 0)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$_GET["id"].'&action=activer">Activer</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$_GET["id"].'&action=activer">Activer</a>';
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -52,9 +52,9 @@ if ($action == '' && !$cancel) {
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ( $user->rights->societe->creer) {
|
||||
print '<a class="tabAction" href="fiche.php?action=import&custid='.$osc_cust->osc_custid.'">'.$langs->trans("Import").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=import&custid='.$osc_cust->osc_custid.'">'.$langs->trans("Import").'</a>';
|
||||
}
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
// seule action importer
|
||||
|
||||
@@ -64,7 +64,7 @@ if ($action == '' && !$cancel) {
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print "<p>ERROR 1c</p>\n";
|
||||
dolibarr_print_error('',"erreur webservice ".$osc_cust->error);
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ if ($action == '' && !$cancel) {
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print "<p>ERROR 1b</p>\n";
|
||||
print "Error";
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
}
|
||||
@@ -93,7 +93,7 @@ if ($action == '' && !$cancel) {
|
||||
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print '<br>erreur 1</br>';
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ if ($action == '' && !$cancel) {
|
||||
{
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print '<p>Ce client existe d<>j<EFBFBD> mise <20> jour <20> pr<70>voir</p>';
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
else {
|
||||
@@ -132,7 +132,7 @@ if ($action == '' && !$cancel) {
|
||||
print '<p>cr<63>ation r<>ussie nouveau client/prospect : '.$societe->nom;
|
||||
$res = $osc_cust->transcode($osc_cust->osc_custid,$societe->id);
|
||||
print ' : Id Dolibarr '.$societe->id.' , Id osc : '.$osc_cust->osc_custid.'</p>';
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
else
|
||||
@@ -151,7 +151,7 @@ if ($action == '' && !$cancel) {
|
||||
{
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print '<br>erreur 1</br>';
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
$idp = $societe_control->fetch($socid = $osc_cust->osc_ref);
|
||||
|
||||
@@ -62,9 +62,9 @@ if ($action == '' && !$cancel) {
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ( $user->rights->commande->creer) {
|
||||
print '<a class="tabAction" href="fiche.php?action=import&orderid='.$osc_order->osc_orderid.'">'.$langs->trans("Import").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=import&orderid='.$osc_order->osc_orderid.'">'.$langs->trans("Import").'</a>';
|
||||
}
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
// seule action importer
|
||||
|
||||
@@ -74,7 +74,7 @@ if ($action == '' && !$cancel) {
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print "<p>ERROR 1c</p>\n";
|
||||
dolibarr_print_error('',"erreur webservice ".$osc_order->error);
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ if ($action == '' && !$cancel) {
|
||||
{
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print "<p>ERROR 1b</p>\n";
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
}
|
||||
@@ -116,7 +116,7 @@ if ($action == '' && !$cancel) {
|
||||
{
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
print '<br>erreur 1</br>';
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
}
|
||||
/* initialisation */
|
||||
@@ -171,7 +171,7 @@ if ($action == '' && !$cancel) {
|
||||
print '<br>cr<63>ation r<>ussie nouvelle commande '.$id;
|
||||
$res = $osc_order->transcode($osc_order->osc_orderid,$id);
|
||||
print 'pour la commande osc : '.$osc_order->osc_orderid.'</p>';
|
||||
print '<p><a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a></p>';
|
||||
print '<p><a class="butAction" href="index.php">'.$langs->trans("Retour").'</a></p>';
|
||||
print "\n</div><br>\n";
|
||||
|
||||
if ($id > 0) exit;
|
||||
@@ -203,7 +203,7 @@ if ($action == '' && !$cancel) {
|
||||
}
|
||||
else print '<br>update impossible $id : '.$id.' </br>';
|
||||
}
|
||||
print '<p><a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a></p>';
|
||||
print '<p><a class="butAction" href="index.php">'.$langs->trans("Retour").'</a></p>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,10 +52,10 @@ if ($action == '' && !$cancel) {
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ( $user->rights->produit->creer) {
|
||||
print '<a class="tabAction" href="fiche.php?action=import&id='.$osc_prod->osc_id.'">'.$langs->trans("Import").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=import&id='.$osc_prod->osc_id.'">'.$langs->trans("Import").'</a>';
|
||||
}
|
||||
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
// seule action importer
|
||||
|
||||
@@ -106,7 +106,7 @@ if ($action == '' && !$cancel) {
|
||||
print '<p>cr<63>ation r<>ussie produit '.$id.' r<>f<EFBFBD>rence : '.$product->ref;
|
||||
$res = $osc_prod->transcode($osc_prod->osc_id,$product->id);
|
||||
print ' Id osc : '.$osc_prod->osc_id.'</p>';
|
||||
print '<a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print '<a class="butAction" href="index.php">'.$langs->trans("Retour").'</a>';
|
||||
print "\n</div><br>\n";
|
||||
$id_entrepot = OSC_ENTREPOT;
|
||||
$id = $product->create_stock($id_entrepot,$osc_prod->osc_stock);
|
||||
@@ -147,7 +147,7 @@ if ($action == '' && !$cancel) {
|
||||
{
|
||||
print '<p>erreur'.$product->error().'</p>';
|
||||
}
|
||||
print '<p><a class="tabAction" href="index.php">'.$langs->trans("Retour").'</a></p>';
|
||||
print '<p><a class="butAction" href="index.php">'.$langs->trans("Retour").'</a></p>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ if ($id)
|
||||
print '<div class="tabsAction">';
|
||||
if ($action != 'create')
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?action=edit&id='.$id.'">'.$langs->trans('Edit').'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=edit&id='.$id.'">'.$langs->trans('Edit').'</a>';
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
|
||||
@@ -959,24 +959,24 @@ if ($_GET["action"] == '')
|
||||
if ( $user->rights->produit->creer)
|
||||
{
|
||||
if ($product->no_button_edit <> 1)
|
||||
print '<a class="tabAction" href="fiche.php?action=edit&id='.$product->id.'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=edit&id='.$product->id.'">'.$langs->trans("Edit").'</a>';
|
||||
|
||||
if ($product->no_button_copy <> 1)
|
||||
print '<a class="tabAction" href="fiche.php?action=clone&id='.$product->id.'">'.$langs->trans("CreateCopy").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=clone&id='.$product->id.'">'.$langs->trans("CreateCopy").'</a>';
|
||||
}
|
||||
|
||||
/*
|
||||
if ($product->isproduct() && $user->rights->commande->creer)
|
||||
{
|
||||
$langs->load('orders');
|
||||
print '<a class="tabAction" href="fiche.php?action=fastappro&id='.$product->id.'">';
|
||||
print '<a class="butAction" href="fiche.php?action=fastappro&id='.$product->id.'">';
|
||||
print $langs->trans("CreateCustomerOrder").'</a>';
|
||||
}
|
||||
|
||||
if ($product->isproduct() && $user->rights->fournisseur->commande->creer)
|
||||
{
|
||||
$langs->load('orders');
|
||||
print '<a class="tabAction" href="fiche.php?action=fastappro&id='.$product->id.'">';
|
||||
print '<a class="butAction" href="fiche.php?action=fastappro&id='.$product->id.'">';
|
||||
print $langs->trans("CreateSupplierOrder").'</a>';
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -264,7 +264,7 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
|
||||
if ($user->rights->produit->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/fournisseurs.php?id='.$product->id.'&action=add_price">';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/fournisseurs.php?id='.$product->id.'&action=add_price">';
|
||||
print $langs->trans("AddSupplier").'</a>';
|
||||
}
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
|
||||
if ($_GET["action"] != 'ajout_photo' && $user->rights->produit->creer && $conf->upload)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/photos.php?action=ajout_photo&id='.$product->id.'">';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/photos.php?action=ajout_photo&id='.$product->id.'">';
|
||||
print $langs->trans("AddPhoto").'</a>';
|
||||
}
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@ if ($_GET["action"] == '')
|
||||
{
|
||||
if ($user->rights->produit->modifier || $user->rights->produit->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/price.php?action=edit_price&id='.$product->id.'">'.$langs->trans("UpdatePrice").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/price.php?action=edit_price&id='.$product->id.'">'.$langs->trans("UpdatePrice").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -368,7 +368,7 @@ if ($action == '')
|
||||
|
||||
if ( $user->rights->produit->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/sousproduits/fiche.php?action=edit&id='.$product->id.'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/sousproduits/fiche.php?action=edit&id='.$product->id.'">'.$langs->trans("Edit").'</a>';
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -296,7 +296,7 @@ else
|
||||
|
||||
if ($_GET["action"] == '')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=edit&id=".$entrepot->id."\">".$langs->trans("Edit")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=edit&id=".$entrepot->id."\">".$langs->trans("Edit")."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -344,12 +344,12 @@ if ($_GET["action"] == '' )
|
||||
{
|
||||
if ($user->rights->stock->mouvement->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="product.php?id='.$product->id.'&action=transfert">'.$langs->trans("StockMovement").'</a>';
|
||||
print '<a class="butAction" href="product.php?id='.$product->id.'&action=transfert">'.$langs->trans("StockMovement").'</a>';
|
||||
}
|
||||
|
||||
if ($user->rights->stock->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="product.php?id='.$product->id.'&action=correction">'.$langs->trans("StockCorrection").'</a>';
|
||||
print '<a class="butAction" href="product.php?id='.$product->id.'&action=correction">'.$langs->trans("StockCorrection").'</a>';
|
||||
}
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
@@ -236,8 +236,8 @@ print "\n<div class=\"tabsAction\">\n";
|
||||
if ($_GET["action"] == '')
|
||||
if ($user->rights->produit->modifier || $user->rights->produit->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/traduction.php?action=edit&id='.$product->id.'">'.$langs->trans("Update").'</a>';
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/traduction.php?action=add&id='.$product->id.'">'.$langs->trans("Add").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/traduction.php?action=edit&id='.$product->id.'">'.$langs->trans("Update").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/product/traduction.php?action=add&id='.$product->id.'">'.$langs->trans("Add").'</a>';
|
||||
}
|
||||
|
||||
print "\n</div>\n";
|
||||
|
||||
@@ -187,7 +187,7 @@ if ($_GET["socid"] && $_GET["action"] != 'edit')
|
||||
|
||||
if ($user->rights->societe->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="rib.php?socid='.$soc->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="rib.php?socid='.$soc->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
@@ -807,24 +807,24 @@ if ($_GET["action"] == '')
|
||||
|
||||
if ( $user->rights->telephonie->adsl->requete && $ligne->statut == -1)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=ordertech&id=$ligne->id\">".$langs->trans("Commander")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=ordertech&id=$ligne->id\">".$langs->trans("Commander")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->adsl->requete && $ligne->statut == 1)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=cancelordertech&id=$ligne->id\">".$langs->trans("Annuler la commande")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=cancelordertech&id=$ligne->id\">".$langs->trans("Annuler la commande")."</a>";
|
||||
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->adsl->requete && $ligne->statut == 5)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=annuleresilier&id=$ligne->id\">".$langs->trans("Annuler la demande de r<EFBFBD>siliation")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=annuleresilier&id=$ligne->id\">".$langs->trans("Annuler la demande de r<EFBFBD>siliation")."</a>";
|
||||
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->adsl->creer && $ligne->statut == -1)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=delete&id=$ligne->id\">".$langs->trans("Delete")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=delete&id=$ligne->id\">".$langs->trans("Delete")."</a>";
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ print '</div>';
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
print "\n<br>\n<div class=\"tabsAction\">\n";
|
||||
print "<a class=\"tabAction\" href=\"commentaires.php?action=add&id=$soc->id\">".$langs->trans("Ajouter un commentaire")."</a>";
|
||||
print "<a class=\"butAction\" href=\"commentaires.php?action=add&id=$soc->id\">".$langs->trans("Ajouter un commentaire")."</a>";
|
||||
print "</div>";
|
||||
*/
|
||||
|
||||
|
||||
@@ -496,14 +496,14 @@ if ($_GET["facid"] > 0)
|
||||
// Envoyer
|
||||
if ($fac->statut == 1 && $user->rights->facture->envoyer)
|
||||
{
|
||||
print " <a class=\"tabAction\" href=\"".$_SERVER["PHP_SELF"]."?facid=$fac->id&action=presend\">".$langs->trans("Send")."</a>\n";
|
||||
print " <a class=\"butAction\" href=\"".$_SERVER["PHP_SELF"]."?facid=$fac->id&action=presend\">".$langs->trans("Send")."</a>\n";
|
||||
}
|
||||
|
||||
// Envoyer une relance
|
||||
/*
|
||||
if ($fac->statut == 1 && price($resteapayer) > 0 && $user->rights->facture->envoyer)
|
||||
{
|
||||
print " <a class=\"tabAction\" href=\"".$_SERVER["PHP_SELF"]."?facid=$fac->id&action=prerelance\">".$langs->trans("SendRemind")."</a>\n";
|
||||
print " <a class=\"butAction\" href=\"".$_SERVER["PHP_SELF"]."?facid=$fac->id&action=prerelance\">".$langs->trans("SendRemind")."</a>\n";
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
@@ -870,7 +870,7 @@ else
|
||||
print "</textarea></td></tr>";
|
||||
|
||||
print '<tr><td align="center" colspan="3"><input type="submit" value="Mettre <20> jour">';
|
||||
print '<a class="tabAction" href="fiche.php?id='.$contrat->id.'">Annuler</a></td></tr>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$contrat->id.'">Annuler</a></td></tr>';
|
||||
print '</table>'."\n";
|
||||
print '</form>'."\n";
|
||||
|
||||
@@ -1007,26 +1007,26 @@ else
|
||||
{
|
||||
if ($user->rights->telephonie->ligne->creer && $contrat->statut <> 6)
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/telephonie/ligne/fiche.php?action=create&contratid='.$contrat->id.'">Nouvelle ligne</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/telephonie/ligne/fiche.php?action=create&contratid='.$contrat->id.'">Nouvelle ligne</a>';
|
||||
}
|
||||
|
||||
if ($user->rights->telephonie->ligne->creer && $contrat->statut <> 6)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=contact&id=$contrat->id\">".$langs->trans("Contact")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=contact&id=$contrat->id\">".$langs->trans("Contact")."</a>";
|
||||
}
|
||||
|
||||
if ($user->rights->telephonie->ligne->creer && $po == 0 && $contrat->statut <> 6)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=po&id=$contrat->id\">Ajouter une prise d'ordre</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=po&id=$contrat->id\">Ajouter une prise d'ordre</a>";
|
||||
}
|
||||
if ($user->rights->telephonie->ligne->creer && $contrat->statut <> 6)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=edit&id=$contrat->id\">".$langs->trans("Edit")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=edit&id=$contrat->id\">".$langs->trans("Edit")."</a>";
|
||||
}
|
||||
|
||||
if ($user->rights->telephonie->ligne->creer && $numlignes == 0 && $contrat->statut <> 6)
|
||||
{
|
||||
print "<a class=\"butDelete\" href=\"fiche.php?action=delete&id=$contrat->id\">".$langs->trans("Delete")."</a>";
|
||||
print "<a class=\"butActionDelete\" href=\"fiche.php?action=delete&id=$contrat->id\">".$langs->trans("Delete")."</a>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ if ($_GET["id"] && $_GET["did"])
|
||||
|
||||
if ($_GET["action"] == '' && $user->admin)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=create_commercial&distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=create_commercial&distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
|
||||
}
|
||||
|
||||
print "</div><br>";
|
||||
|
||||
@@ -276,7 +276,7 @@ if ($_GET["id"])
|
||||
|
||||
if ($_GET["action"] == '' && $user->admin)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=create_commercial&distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=create_commercial&distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
|
||||
}
|
||||
|
||||
print "</div><br>";
|
||||
|
||||
@@ -99,7 +99,7 @@ print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ($_GET["action"] == '' && $user->admin)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=create\">".$langs->trans("Nouveau")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=create\">".$langs->trans("Nouveau")."</a>";
|
||||
}
|
||||
|
||||
print "</div><br>";
|
||||
|
||||
@@ -261,7 +261,7 @@ if ($_GET["action"] == '')
|
||||
if($user->rights->telephonie->fournisseur->config)
|
||||
|
||||
{
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/telephonie/fournisseur/fiche.php?action=edit&id='.$fourn->id.'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/telephonie/fournisseur/fiche.php?action=edit&id='.$fourn->id.'">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ if ($result)
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?action=create&fournid='.$row[1].'">Cr<43>er la commande</a>';
|
||||
print '<a class="butAction" href="fiche.php?action=create&fournid='.$row[1].'">Cr<43>er la commande</a>';
|
||||
}
|
||||
print "</td><td>\n";
|
||||
print $fournisseur->email_commande;
|
||||
|
||||
@@ -228,7 +228,7 @@ print '</div>';
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
print "\n<br>\n<div class=\"tabsAction\">\n";
|
||||
print "<a class=\"tabAction\" href=\"commentaires.php?action=add&id=$soc->id\">".$langs->trans("Ajouter un commentaire")."</a>";
|
||||
print "<a class=\"butAction\" href=\"commentaires.php?action=add&id=$soc->id\">".$langs->trans("Ajouter un commentaire")."</a>";
|
||||
print "</div>";
|
||||
*/
|
||||
|
||||
|
||||
@@ -1330,37 +1330,37 @@ if ($_GET["action"] == '' && $result == 1 && $client_comm->perm_read)
|
||||
|
||||
if ( $user->rights->telephonie->ligne->resilier && $ligne->statut == 3 && $ligne->techno == 'presel')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=resilier&id=$ligne->id\">".$langs->trans("Demander la r<EFBFBD>siliation")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=resilier&id=$ligne->id\">".$langs->trans("Demander la r<EFBFBD>siliation")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->ligne->resilier && $ligne->statut == 4 && $ligne->techno == 'presel')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=annuleresilier&id=$ligne->id\">".$langs->trans("Annuler la demande de r<EFBFBD>siliation")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=annuleresilier&id=$ligne->id\">".$langs->trans("Annuler la demande de r<EFBFBD>siliation")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->ligne_activer && $ligne->statut <> 6)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=contact&id=$ligne->id\">".$langs->trans("Contact")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=contact&id=$ligne->id\">".$langs->trans("Contact")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->ligne->creer && $ligne->statut < 4)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=chgcontrat&id=$ligne->id\">".$langs->trans("Changer de contrat")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=chgcontrat&id=$ligne->id\">".$langs->trans("Changer de contrat")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->ligne->creer && $ligne->statut < 4)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=editremise&id=$ligne->id\">".$langs->trans("Changer la remise")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=editremise&id=$ligne->id\">".$langs->trans("Changer la remise")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->ligne_activer && $ligne->statut == -1)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=edit&id=$ligne->id\">".$langs->trans("Edit")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=edit&id=$ligne->id\">".$langs->trans("Edit")."</a>";
|
||||
}
|
||||
|
||||
if ( $user->rights->telephonie->ligne->creer && $ligne->statut == -1)
|
||||
{
|
||||
print "<a class=\"butDelete\" href=\"fiche.php?action=delete&id=$ligne->id\">".$langs->trans("Delete")."</a>";
|
||||
print "<a class=\"butActionDelete\" href=\"fiche.php?action=delete&id=$ligne->id\">".$langs->trans("Delete")."</a>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ if ($_GET["id"] or $_GET["numero"])
|
||||
|
||||
if ($_GET["action"] == '')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"infoc.php?action=edit&id=$ligne->id\">".$langs->trans("Edit")."</a>";
|
||||
print "<a class=\"butAction\" href=\"infoc.php?action=edit&id=$ligne->id\">".$langs->trans("Edit")."</a>";
|
||||
}
|
||||
|
||||
print "</div>";
|
||||
|
||||
@@ -229,13 +229,13 @@ print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ($_GET["action"] == '' && $service->statut == 0)
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=active&id=$service->id\">".$langs->trans("Active")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=active&id=$service->id\">".$langs->trans("Active")."</a>";
|
||||
}
|
||||
|
||||
|
||||
if ($_GET["action"] == '')
|
||||
{
|
||||
print "<a class=\"tabAction\" href=\"fiche.php?action=edit&id=$service->id\">".$langs->trans("Edit")."</a>";
|
||||
print "<a class=\"butAction\" href=\"fiche.php?action=edit&id=$service->id\">".$langs->trans("Edit")."</a>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -703,19 +703,6 @@ a.butActionDelete:visited { font-weight: bold; background: white; border: 1px s
|
||||
a.butActionDelete:hover { font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #red; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/* Ancienne syntaxe. A supprimer quand remplace par butXxx */
|
||||
|
||||
a.tabAction:link { font-weight: bold; background: #68ACCF; border: 1px solid #8CACBB; color: #FFFFFF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:visited { font-weight: bold; background: #68ACCF; border: 1px solid #8CACBB; color: #FFFFFF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:active { font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #6198BA; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:hover { font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #6198BA; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
a.butDelete:link { font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:active { font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:visited { font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:hover { font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
/* ============================================================================== */
|
||||
|
||||
@@ -500,40 +500,6 @@ a.butActionDelete:hover {
|
||||
white-space: nowrap; }
|
||||
|
||||
|
||||
/*
|
||||
* Historique
|
||||
* A supprimer quand remplace par butXxx
|
||||
*/
|
||||
|
||||
a.tabAction:link {
|
||||
background: white; border: 1px outset #8CACBB;
|
||||
color: #436976;
|
||||
font: 105% Bold;
|
||||
padding: 0em 1em;
|
||||
margin: 0em 0.5em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
a.tabAction:visited {
|
||||
background: white; border: 1px outset #8CACBB;
|
||||
color: #436976;
|
||||
font: 105% Bold;
|
||||
padding: 0em 1em;
|
||||
margin: 0em 0.5em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
a.tabAction:hover {
|
||||
background: #dcdcd3;
|
||||
text-decoration: none;
|
||||
padding: 0em 1em;
|
||||
}
|
||||
|
||||
a.butDelete:link { background: white; border: 1px outset #997777; color: #436976; padding: 0em 1em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:active { background: white; border: 1px outset #997777; color: #436976; padding: 0em 1em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:visited { background: white; border: 1px outset #997777; color: #436976; padding: 0em 1em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:hover { background: #FFe7ec; border: 1px outset #997777; color: #436976; padding: 0em 1em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
|
||||
@@ -340,27 +340,6 @@ a.butActionDelete:active { background: white; border: 1px solid #8CACBB; color:
|
||||
a.butActionDelete:hover { background: #dee7ec; }
|
||||
|
||||
|
||||
/*
|
||||
* Historique
|
||||
* A supprimer quand remplace par butXxx
|
||||
*/
|
||||
|
||||
a.tabAction {
|
||||
background: white;
|
||||
border: 1px solid #8CACBB;
|
||||
color: #436976;
|
||||
font: 105% Bold;
|
||||
padding: 0em 1em;
|
||||
margin: 0em 0.2em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
a.tabAction:hover {
|
||||
background: #dee7ec;
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
/* ============================================================================== */
|
||||
|
||||
@@ -723,19 +723,6 @@ a.butActionDelete:visited { font: 12px helvetica, verdana, arial, sans-serif; fo
|
||||
a.butActionDelete:hover { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/* Ancienne syntaxe. A supprimer quand remplace par butXxx */
|
||||
|
||||
a.tabAction:link { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #8CACBB; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:visited { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #8CACBB; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:active { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #8CACBB; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:hover { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: #dee7ec; border: 1px solid #8CACBB; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
a.butDelete:link { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:active { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:visited { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:hover { font: 12px helvetica, verdana, arial, sans-serif; font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
/* ============================================================================== */
|
||||
|
||||
@@ -481,19 +481,6 @@ a.butActionDelete:hover { font: helvetica, verdana, arial, sans-serif;
|
||||
white-space: nowrap; }
|
||||
|
||||
|
||||
/* Ancienne syntaxe. A supprimer quand remplace par butXxx */
|
||||
|
||||
a.tabAction:link { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:active { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:hover { font: helvetica, verdana, arial, sans-serif; background: #eeeedd; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
a.butDelete:link { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:active { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:hover { font: helvetica, verdana, arial, sans-serif; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
/* ============================================================================== */
|
||||
|
||||
@@ -399,21 +399,6 @@ a.butActionDelete:active { font: helvetica, verdana, arial, sans-serif; backgro
|
||||
a.butActionDelete:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butActionDelete:hover { font: helvetica, verdana, arial, sans-serif; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/*
|
||||
* Historique
|
||||
* A supprimer quand remplace par butXxx
|
||||
*/
|
||||
|
||||
a.tabAction:link { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:active { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:hover { font: helvetica, verdana, arial, sans-serif; background: #78746d; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
a.butDelete:link { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:active { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:hover { font: helvetica, verdana, arial, sans-serif; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
|
||||
@@ -425,22 +425,7 @@ a.butActionDelete:active { font: helvetica, verdana, arial, sans-serif; backgro
|
||||
a.butActionDelete:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butActionDelete:hover { font: helvetica, verdana, arial, sans-serif; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
/*
|
||||
* Historique
|
||||
* A supprimer quand remplace par butXxx
|
||||
*/
|
||||
|
||||
a.tabAction:link { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:active { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.tabAction:hover { font: helvetica, verdana, arial, sans-serif; background: #eeeecc; border: 1px solid #999999; color: #436969; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
a.butDelete:link { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:active { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:visited { font: helvetica, verdana, arial, sans-serif; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
a.butDelete:hover { font: helvetica, verdana, arial, sans-serif; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
|
||||
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Tables */
|
||||
|
||||
@@ -130,7 +130,7 @@ if ($_GET["id"])
|
||||
|
||||
if ($user->admin)
|
||||
{
|
||||
print '<a class="tabAction" href="addon.php?id='.$fuser->id.'&action=create_bk4u_login">'.$langs->trans("Cr<EFBFBD>er login Bookmark4u").'</a>';
|
||||
print '<a class="butAction" href="addon.php?id='.$fuser->id.'&action=create_bk4u_login">'.$langs->trans("Cr<EFBFBD>er login Bookmark4u").'</a>';
|
||||
}
|
||||
|
||||
print "</div>\n";
|
||||
|
||||
@@ -146,12 +146,12 @@ if ($_GET["id"])
|
||||
|
||||
if ($user->admin && $_GET["action"] <> 'edit')
|
||||
{
|
||||
print '<a class="tabAction" href="clicktodial.php?id='.$fuser->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="clicktodial.php?id='.$fuser->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
|
||||
if ($user->admin && $_GET["action"] == 'edit')
|
||||
{
|
||||
print '<a class="tabAction" href="clicktodial.php?id='.$fuser->id.'">'.$langs->trans("Cancel").'</a>';
|
||||
print '<a class="butAction" href="clicktodial.php?id='.$fuser->id.'">'.$langs->trans("Cancel").'</a>';
|
||||
}
|
||||
|
||||
print "</div>\n";
|
||||
|
||||
@@ -248,12 +248,12 @@ else
|
||||
|
||||
if ($caneditperms)
|
||||
{
|
||||
print '<a class="tabAction" href="fiche.php?id='.$group->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="fiche.php?id='.$group->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
|
||||
if ($candisableperms)
|
||||
{
|
||||
print '<a class="butDelete" href="fiche.php?action=delete&id='.$group->id.'">'.$langs->trans("DeleteGroup").'</a>';
|
||||
print '<a class="butActionDelete" href="fiche.php?action=delete&id='.$group->id.'">'.$langs->trans("DeleteGroup").'</a>';
|
||||
}
|
||||
|
||||
print "</div>\n";
|
||||
|
||||
@@ -176,7 +176,7 @@ else
|
||||
print '<div class="tabsAction">';
|
||||
if (($fuser->id == $user->id) || $user->admin) // Si utilisateur <20>dit<69> = utilisateur courant ou admin
|
||||
{
|
||||
print '<a class="tabAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&id='.$_GET["id"].'">'.$langs->trans("Edit").'</a>';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&id='.$_GET["id"].'">'.$langs->trans("Edit").'</a>';
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user