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:
@@ -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>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user