diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 9ac3d03cf35c1bff329126b69c08cfe68941273e..681aa2b4e7354bc863b690f525df330746ed88bf 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -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>'; diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php index 1620f29a8838665cbfbed41801fbdca03e820d90..f5ca13e3a17d4e707d3645ab5c3b7aedbcde6c91 100644 --- a/htdocs/adherents/note.php +++ b/htdocs/adherents/note.php @@ -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>"; diff --git a/htdocs/adherents/options.php b/htdocs/adherents/options.php index 8188e1120b5957b452b42344afa1288e1ed77f1d..f48e7db9ab124ea7f223d872c0f3049b1ae9a978 100644 --- a/htdocs/adherents/options.php +++ b/htdocs/adherents/options.php @@ -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>"; } diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 44b90d0d79bf316231770484306bdb27c52e8d09..edafa985c2001efb28abaf4e655df7017e0d8499 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -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>'; diff --git a/htdocs/admin/delais.php b/htdocs/admin/delais.php index 6c825abc8b6d9164b5de54a8d8d83a9f564c2a47..9e540a71d953e818e7da0f9970012f10293a6f57 100644 --- a/htdocs/admin/delais.php +++ b/htdocs/admin/delais.php @@ -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>'; } diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index f95908c566bbdc71658cbf81132eedc1d953b47e..d601d19cdc45a5dcc353597d8240b922f34af324 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -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>'; } diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php index 9b42e6b7ce68352c9ddfd66eeeeecaae7849ca71..67468eac3418c895dfcc01ab61f6d6d0901a470b 100644 --- a/htdocs/admin/ldap.php +++ b/htdocs/admin/ldap.php @@ -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') diff --git a/htdocs/admin/ldap_contacts.php b/htdocs/admin/ldap_contacts.php index 86032570e7358907abfbaf82644513bf61013255..5bf8b914820ebb5a9151008a1ba33da3161e577d 100644 --- a/htdocs/admin/ldap_contacts.php +++ b/htdocs/admin/ldap_contacts.php @@ -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>'; } diff --git a/htdocs/admin/ldap_groups.php b/htdocs/admin/ldap_groups.php index 4fc80a9fe58a43fd32629b5a16609c754f4238b6..0842607cbd1f137ea9cef46f5a1588fa8327f05b 100644 --- a/htdocs/admin/ldap_groups.php +++ b/htdocs/admin/ldap_groups.php @@ -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>'; } diff --git a/htdocs/admin/ldap_members.php b/htdocs/admin/ldap_members.php index 873ccd6b46061f5ae27012e61978c1b6d28e273a..f90f10ff59b12d0c18cc31b3f042954fd6407644 100644 --- a/htdocs/admin/ldap_members.php +++ b/htdocs/admin/ldap_members.php @@ -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>'; } diff --git a/htdocs/admin/ldap_users.php b/htdocs/admin/ldap_users.php index b64cd0f3af38a0d3b40583d0abaaab5bc35bf05a..51515b726b559f34a8fb374660f47ad6f9a5408c 100644 --- a/htdocs/admin/ldap_users.php +++ b/htdocs/admin/ldap_users.php @@ -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>'; } diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php index 979031017a397b8e30c7e1a320416d1ae04ed951..2529e4908d3fa1e4bcf9444e9d1288b71e2c9efd 100644 --- a/htdocs/admin/menus.php +++ b/htdocs/admin/menus.php @@ -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>'; } diff --git a/htdocs/boutique/notification/fiche.php b/htdocs/boutique/notification/fiche.php index 7115aff7219d29ce00791f863e0aa9b272f8bef9..2561e4ac9aacf7c184b4626870697ca8e2d9f006 100644 --- a/htdocs/boutique/notification/fiche.php +++ b/htdocs/boutique/notification/fiche.php @@ -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>'; diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php index 521b27f4e764b455f6b78950eb741e00e1af5068..70cdf6844bdaefa879746f68c1cc776719160776 100644 --- a/htdocs/comm/propal/note.php +++ b/htdocs/comm/propal/note.php @@ -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>'; } diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index fbdef7155340811efe1737f309417083391443b1..5f72dd3071e32e6f0f1cf8c1d0265bab3bccc0c3 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -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>'; diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php index 7951e94e13d49f8b2991f33ae2aa80631316f7e4..2c4aedb579b49be5445b696d0cd582f40cf7e489 100644 --- a/htdocs/commande/note.php +++ b/htdocs/commande/note.php @@ -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>"; diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 3c80d159ad949ed4517769060539151d094216a4..6b404ff448b7bf5e89a2cd4af8b305d119fa265a 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -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>'; diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php index 4b837b3778e06cb9036d33274746c0829f395113..a2f77e9c4763d2c0429f67dacfb6a6ba40c40db1 100644 --- a/htdocs/compta/bank/index.php +++ b/htdocs/compta/bank/index.php @@ -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>"; diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 7177a0d7fa17ee295410f9188a486c0f236fa3fb..da69f5bc5d6bb7ade880852e78cc5d098e2776b5 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -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>'; diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php index 2867e2c66d78aaaea198179fef8b72e7c667d8ad..bf801d2b943f2fff801964c3e8b0bd57d50c835c 100644 --- a/htdocs/compta/deplacement/fiche.php +++ b/htdocs/compta/deplacement/fiche.php @@ -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>'; diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php index 0c348b80a43ab78fb3ee548ff92cc72af698b326..d907583af42c80211b9a4fb8921315992626bfaa 100644 --- a/htdocs/compta/facture/note.php +++ b/htdocs/compta/facture/note.php @@ -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>"; diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 6ad2e54c24ef0cdaf4176ef6576244a4f7c7918d..2d903257b8fa958b4c2d206655243ea408c6963b 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -358,12 +358,12 @@ if ($socid > 0) // Si soci�t� cliente ou prospect, on affiche bouton "Cr�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>'; diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php index 4aa5055a6b81a9e74cd7c85e61f39ab1aae8f427..78da89cec4e1bf435ffb011e30664683b474562e 100644 --- a/htdocs/compta/paiement/cheque/fiche.php +++ b/htdocs/compta/paiement/cheque/fiche.php @@ -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>'; diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php index d055cb172dd01751e80cb5c97503ab830a6629ca..ac00be9b1cca5134c8af103ff9c5690538a2aaec 100644 --- a/htdocs/compta/prelevement/create.php +++ b/htdocs/compta/prelevement/create.php @@ -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"; } diff --git a/htdocs/compta/prelevement/fiche.php b/htdocs/compta/prelevement/fiche.php index 953f6606f5d93eb76d5582ff69450196858984a4..c2945e1ec65a7ab47505f3e6e3535cfee3565890 100644 --- a/htdocs/compta/prelevement/fiche.php +++ b/htdocs/compta/prelevement/fiche.php @@ -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�dit�")."</a>"; + print "<a class=\"butAction\" href=\"fiche.php?action=credite&id=$bon->id\">".$langs->trans("Classer cr�dit�")."</a>"; } diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php index 1536a291e2e900d9db1b4cb223cf5474ec7a055e..9520cd713575e9017fa3fb3cc51ab61b927a4959 100644 --- a/htdocs/compta/prelevement/ligne.php +++ b/htdocs/compta/prelevement/ligne.php @@ -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>"; } } diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php index 6ecda7a897365b92f396e47ca3170ffe9edd29e6..3ca8210ea75681a2ffb2ea8dd7ea11eb22b15a69 100644 --- a/htdocs/compta/sociales/charges.php +++ b/htdocs/compta/sociales/charges.php @@ -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�' 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>"; diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index 81c2a5f2ced3da32a8444ced0f8c2ccea6f712bc..32f744c99b24b40b4bd43ddd1239cb1a5fbe429d 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -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>"; diff --git a/htdocs/contrat/note.php b/htdocs/contrat/note.php index 21f607e046e4b807e40356373468c0d0e66c23c5..768cabc8bf35e3093c70ced4035d526958015522 100644 --- a/htdocs/contrat/note.php +++ b/htdocs/contrat/note.php @@ -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>"; diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 3e52a75e1ed4028bb41915102ad508b9f048db0e..82835479edbda9f24506e2db489c254a73071e70 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -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>'; diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php index 5af9235353b3c2eb7ddb6c59ddff4ddd52f544d4..476539a93a5924cc65ee78934b105b048f203558 100644 --- a/htdocs/fourn/facture/note.php +++ b/htdocs/fourn/facture/note.php @@ -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>"; diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 657760100983124e3fa0efb93409cb95c6891d62..aae778bde75733a93333c7e5c8349239436487be 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -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>'; diff --git a/htdocs/fourn/paiement/fiche.php b/htdocs/fourn/paiement/fiche.php index 2485425bb79006419ceef11e46ac9577c515ab34..b86b36645679866e33a79edef381fab849668edf 100644 --- a/htdocs/fourn/paiement/fiche.php +++ b/htdocs/fourn/paiement/fiche.php @@ -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>'; } } diff --git a/htdocs/fourn/product/fiche.php b/htdocs/fourn/product/fiche.php index 762f430a1a41ae87f3873aedbbfae1ddb5df03f1..769f86528dbc9d357c31a9e7a11daa74e24fa0fb 100644 --- a/htdocs/fourn/product/fiche.php +++ b/htdocs/fourn/product/fiche.php @@ -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>'; } diff --git a/htdocs/fourn/product/fourn.php b/htdocs/fourn/product/fourn.php index eeb449fddd516499d7246fee7127f052943e5beb..4ea0d43e318524a783df6f2570ac36f387095e30 100644 --- a/htdocs/fourn/product/fourn.php +++ b/htdocs/fourn/product/fourn.php @@ -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>'; } } diff --git a/htdocs/fourn/product/photos.php b/htdocs/fourn/product/photos.php index b878e7aa5c3223b5ca7175de646f33065b3acc97..3a5b1f51439a63b1dfd5d14f71660373725407ca 100644 --- a/htdocs/fourn/product/photos.php +++ b/htdocs/fourn/product/photos.php @@ -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>'; } } diff --git a/htdocs/lolix/societe/fiche.php b/htdocs/lolix/societe/fiche.php index afc07ef2143c0f83421149b0273f151273774cc3..24a1d76feea357ba7573ef11f8f08f871e016759 100644 --- a/htdocs/lolix/societe/fiche.php +++ b/htdocs/lolix/societe/fiche.php @@ -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>'; } diff --git a/htdocs/oscommerce_ws/clients/fiche.php b/htdocs/oscommerce_ws/clients/fiche.php index acae47d72f0ddcfd5aad30b2fd3940646c5b4f44..ffb9d165d9994dea425ee88756a0e36211d3eef5 100644 --- a/htdocs/oscommerce_ws/clients/fiche.php +++ b/htdocs/oscommerce_ws/clients/fiche.php @@ -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� mise � jour � pr�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�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); diff --git a/htdocs/oscommerce_ws/commandes/fiche.php b/htdocs/oscommerce_ws/commandes/fiche.php index ebdce70da878286ef68f266559723d3155a04ad3..1d16676caaf24e4fd6e4e260bf3e8ef3a9243b61 100644 --- a/htdocs/oscommerce_ws/commandes/fiche.php +++ b/htdocs/oscommerce_ws/commandes/fiche.php @@ -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�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>'; } } diff --git a/htdocs/oscommerce_ws/produits/fiche.php b/htdocs/oscommerce_ws/produits/fiche.php index 27ba76fe580e881f6f621ef6c20e9086d37909d5..7d2c74a53722562d024217ca86ad120df890f37f 100644 --- a/htdocs/oscommerce_ws/produits/fiche.php +++ b/htdocs/oscommerce_ws/produits/fiche.php @@ -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�ation r�ussie produit '.$id.' r�f�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>'; } } } diff --git a/htdocs/postnuke/articles/fiche.php b/htdocs/postnuke/articles/fiche.php index 3d354bddb66ac02b60087832840e6b080df0c2aa..4320deb1100895bce69cd8d4a1a05242879da884 100644 --- a/htdocs/postnuke/articles/fiche.php +++ b/htdocs/postnuke/articles/fiche.php @@ -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>'; diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 51bc7e43f489d69a9e3dd8e58ede69b3ab0466fb..3bd0d86ab84841836a86d59f9b98007d2a28bed8 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -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>'; } */ diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 1edbe523c3c5044ed138da0c22b0fa017026ff08..0be31e6dec00eff7e5d4a157a9623a880791be7c 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -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>'; } diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php index 2efbc93ceee5a3c3508b19ba9b921ac3400ca25b..1c06c551290e25623c7b2a4769bd414454b38f41 100644 --- a/htdocs/product/photos.php +++ b/htdocs/product/photos.php @@ -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>'; } diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 74eee0bb7baca2be0967b9e24f9ef86218bfacaf..e786d1d1cc4cf6947986dcbdd65bf802cfa5b9e9 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -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>'; } } diff --git a/htdocs/product/sousproduits/fiche.php b/htdocs/product/sousproduits/fiche.php index 2b0f2673a9196bb8372b6d5e071b7fb8e940d4f9..671cc59c6a0d0b64a40f6009d40f5dc4ce7d5de8 100644 --- a/htdocs/product/sousproduits/fiche.php +++ b/htdocs/product/sousproduits/fiche.php @@ -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>'; } diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index b97b65eb4613bbb541c163fbfbd7c1bcbc87129e..aa5d89b3b4ad7dad99bf22a871af0e13f999bf07 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -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>"; diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 3fde7855cd3721fc22c0093f0c90226dd98bc624..395191d71f44ba7f7975076c74b48f1706ff816e 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -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>'; diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index 1f2b9b6ea60c211141e352f7df604a4035959a7b..a9e6c39fe8418d4151915457ed5bbc40abae57e1 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -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"; diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index 31a35986c806cce3877d7928e01550f4476778b6..fcfc81eb06674fb883c0412ee949139371338d88 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -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>'; diff --git a/htdocs/telephonie/adsl/fiche.php b/htdocs/telephonie/adsl/fiche.php index 6e397a85d768f4e590e0cf4bbeccae3f0e154d91..6a4c3ec71366f08d83508ad880c48552f4ca2d42 100644 --- a/htdocs/telephonie/adsl/fiche.php +++ b/htdocs/telephonie/adsl/fiche.php @@ -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�siliation")."</a>"; + print "<a class=\"butAction\" href=\"fiche.php?action=annuleresilier&id=$ligne->id\">".$langs->trans("Annuler la demande de r�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>"; } } diff --git a/htdocs/telephonie/client/commentaires.php b/htdocs/telephonie/client/commentaires.php index c0ce8c844b5510d943b2295f762bd80ef14bd38b..5f63939e276dc2237c99b31f7ba1beedca0e43ef 100644 --- a/htdocs/telephonie/client/commentaires.php +++ b/htdocs/telephonie/client/commentaires.php @@ -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>"; */ diff --git a/htdocs/telephonie/client/facture.php b/htdocs/telephonie/client/facture.php index d7daf10141616788e07bcb270b21632291c24b2f..1c640c7692832372cf068755a7f2f969cfb7b2c4 100644 --- a/htdocs/telephonie/client/facture.php +++ b/htdocs/telephonie/client/facture.php @@ -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"; } */ diff --git a/htdocs/telephonie/contrat/fiche.php b/htdocs/telephonie/contrat/fiche.php index 80dcb595603fc56521bd6925d3113029eb868840..aa99307b27d3d0e30132d570bf3a5192917e3429 100644 --- a/htdocs/telephonie/contrat/fiche.php +++ b/htdocs/telephonie/contrat/fiche.php @@ -870,7 +870,7 @@ else print "</textarea></td></tr>"; print '<tr><td align="center" colspan="3"><input type="submit" value="Mettre � 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>"; } } diff --git a/htdocs/telephonie/distributeurs/comm/commercial.php b/htdocs/telephonie/distributeurs/comm/commercial.php index b99a96495666d53e0882b8c95fbd323b334e67c9..7c9b3dd532b9a47cbb5269cac546010e20dee203 100644 --- a/htdocs/telephonie/distributeurs/comm/commercial.php +++ b/htdocs/telephonie/distributeurs/comm/commercial.php @@ -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>"; diff --git a/htdocs/telephonie/distributeurs/distributeur.php b/htdocs/telephonie/distributeurs/distributeur.php index 4b05e7486d5ba02af641781c70e117e9247d74ea..b2de131f3c363c2da1c77ae6226bf698b458ff51 100644 --- a/htdocs/telephonie/distributeurs/distributeur.php +++ b/htdocs/telephonie/distributeurs/distributeur.php @@ -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>"; diff --git a/htdocs/telephonie/distributeurs/index.php b/htdocs/telephonie/distributeurs/index.php index a43de3f1ae14a6f026c7a8a03a883431700067a9..0e754075d3f6e7660d8c0f5c34834e6427ae6b2b 100644 --- a/htdocs/telephonie/distributeurs/index.php +++ b/htdocs/telephonie/distributeurs/index.php @@ -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>"; diff --git a/htdocs/telephonie/fournisseur/fiche.php b/htdocs/telephonie/fournisseur/fiche.php index a6372a8fb6e882dc58ca0c479cef1d48a8640523..7580adb2701fa999598d1a935a3ccda72f11e6b0 100644 --- a/htdocs/telephonie/fournisseur/fiche.php +++ b/htdocs/telephonie/fournisseur/fiche.php @@ -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>'; } } diff --git a/htdocs/telephonie/ligne/commande/fiche.php b/htdocs/telephonie/ligne/commande/fiche.php index 2da429d96c272b0b67564fb086569423f476bfae..38f682020ba49341dc1d03ec22faa43e581f20df 100644 --- a/htdocs/telephonie/ligne/commande/fiche.php +++ b/htdocs/telephonie/ligne/commande/fiche.php @@ -108,7 +108,7 @@ if ($result) } else { - print '<a class="tabAction" href="fiche.php?action=create&fournid='.$row[1].'">Cr�er la commande</a>'; + print '<a class="butAction" href="fiche.php?action=create&fournid='.$row[1].'">Cr�er la commande</a>'; } print "</td><td>\n"; print $fournisseur->email_commande; diff --git a/htdocs/telephonie/ligne/commentaires.php b/htdocs/telephonie/ligne/commentaires.php index 5bc65a94f79c865503fa8e8994e7dd7cd886fb8b..b0639390964b1a9b2227289bb9fb98f827e34729 100644 --- a/htdocs/telephonie/ligne/commentaires.php +++ b/htdocs/telephonie/ligne/commentaires.php @@ -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>"; */ diff --git a/htdocs/telephonie/ligne/fiche.php b/htdocs/telephonie/ligne/fiche.php index e445216793e6969ef0e3cfa4e79bc9e24a5b0b0f..0a0a4538e73f7a95d59be06d37bd33694c4c9b3f 100644 --- a/htdocs/telephonie/ligne/fiche.php +++ b/htdocs/telephonie/ligne/fiche.php @@ -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�siliation")."</a>"; + print "<a class=\"butAction\" href=\"fiche.php?action=resilier&id=$ligne->id\">".$langs->trans("Demander la r�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�siliation")."</a>"; + print "<a class=\"butAction\" href=\"fiche.php?action=annuleresilier&id=$ligne->id\">".$langs->trans("Annuler la demande de r�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>"; } } diff --git a/htdocs/telephonie/ligne/infoc.php b/htdocs/telephonie/ligne/infoc.php index b8aaf317dbe25b89915f615bf8cf86e48204486d..c6cb2340f126191efb88bc95c74136021d1d4a65 100644 --- a/htdocs/telephonie/ligne/infoc.php +++ b/htdocs/telephonie/ligne/infoc.php @@ -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>"; diff --git a/htdocs/telephonie/service/fiche.php b/htdocs/telephonie/service/fiche.php index 228ce8a607cf2b8ba066d1ba6c03cd48e0b2f1fb..617ce4398b4ab4e3563cc5bceacd0de2c25f029a 100644 --- a/htdocs/telephonie/service/fiche.php +++ b/htdocs/telephonie/service/fiche.php @@ -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>"; } diff --git a/htdocs/theme/auguria/auguria.css.php b/htdocs/theme/auguria/auguria.css.php index baf7c7ccb709a01b835bb6f6c672408e85a1e868..638f6bd9d033f1c7206fbac47760366ad0c3936a 100644 --- a/htdocs/theme/auguria/auguria.css.php +++ b/htdocs/theme/auguria/auguria.css.php @@ -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 */ /* ============================================================================== */ diff --git a/htdocs/theme/dev/dev.css b/htdocs/theme/dev/dev.css index 346824df1c1cc8037b6c7958907d4b41a24c8195..49e7675e8f092430c2119541cf9cac926534f2ca 100644 --- a/htdocs/theme/dev/dev.css +++ b/htdocs/theme/dev/dev.css @@ -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 */ diff --git a/htdocs/theme/dolibarr/dolibarr.css b/htdocs/theme/dolibarr/dolibarr.css index 2a7cdb5b984fbf3e92a09ec62a7b10775549fb05..00d8165f24468167103f556612756b60ecc019e1 100644 --- a/htdocs/theme/dolibarr/dolibarr.css +++ b/htdocs/theme/dolibarr/dolibarr.css @@ -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 */ /* ============================================================================== */ diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index 3e5785361d8fa249a92a6bfb1e22d9b11609c553..f5900589bdbb9afbc5e8c57c3b6d2cd334d1e91d 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -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 */ /* ============================================================================== */ diff --git a/htdocs/theme/freelug/freelug.css.php b/htdocs/theme/freelug/freelug.css.php index 0712c3c370afbe63963733a4fb47aa2285456c62..59d1e70b551acfc1e921dab803b961b8db4f965e 100644 --- a/htdocs/theme/freelug/freelug.css.php +++ b/htdocs/theme/freelug/freelug.css.php @@ -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 */ /* ============================================================================== */ diff --git a/htdocs/theme/rodolphe/rodolphe.css b/htdocs/theme/rodolphe/rodolphe.css index 1771b48d4e9dfd0973e5ef1f1c0d117e319501e1..6bbfe74af81383a0ee59852d94237f3d1daa0ad8 100644 --- a/htdocs/theme/rodolphe/rodolphe.css +++ b/htdocs/theme/rodolphe/rodolphe.css @@ -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 */ diff --git a/htdocs/theme/yellow/yellow.css.php b/htdocs/theme/yellow/yellow.css.php index b23fed4947119df13ac03bcd8f16ff5c4973c900..730cb5969842208b073e114e4451b07d8284ae2f 100644 --- a/htdocs/theme/yellow/yellow.css.php +++ b/htdocs/theme/yellow/yellow.css.php @@ -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 */ diff --git a/htdocs/user/addon.php b/htdocs/user/addon.php index abac132026d1befa7841f17c159917372fde3b3e..ccb494f145e32c328da47636ce1fc0f5b92318f4 100644 --- a/htdocs/user/addon.php +++ b/htdocs/user/addon.php @@ -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�er login Bookmark4u").'</a>'; + print '<a class="butAction" href="addon.php?id='.$fuser->id.'&action=create_bk4u_login">'.$langs->trans("Cr�er login Bookmark4u").'</a>'; } print "</div>\n"; diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php index 7053a89f6b16af6882d5a0087f7e5e6cdb2f7b31..7df7ba81535087c13c95a30706e4912e74285f5f 100644 --- a/htdocs/user/clicktodial.php +++ b/htdocs/user/clicktodial.php @@ -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"; diff --git a/htdocs/user/group/fiche.php b/htdocs/user/group/fiche.php index e310b5ec74b04175391d796492ddd40c26c6253d..f8d823d5c063074b73c2e8f649435e0adb67d165 100644 --- a/htdocs/user/group/fiche.php +++ b/htdocs/user/group/fiche.php @@ -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"; diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index 4224397e8547251159a39cccf9815331b32546af..7ecdd596d15a8687f8c03ff3a199b55637025c53 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -176,7 +176,7 @@ else print '<div class="tabsAction">'; if (($fuser->id == $user->id) || $user->admin) // Si utilisateur �dit� = 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>';