Uniformize translation
This commit is contained in:
parent
f0d3c19d51
commit
03481a0197
@ -298,10 +298,10 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
print dol_get_fiche_end();
|
print dol_get_fiche_end();
|
||||||
|
|
||||||
if (!empty($user->rights->accounting->fiscalyear->write)) {
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
if (!empty($user->rights->accounting->fiscalyear->write)) {
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&token='.newToken().'&id='.$id.'">'.$langs->trans('Modify').'</a>';
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&token='.newToken().'&id='.$id.'">'.$langs->trans('Modify').'</a>';
|
||||||
|
|||||||
@ -131,9 +131,8 @@ print '</div>';
|
|||||||
print dol_get_fiche_end();
|
print dol_get_fiche_end();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if (!empty($conf->global->LDAP_MEMBER_ACTIVE) && $conf->global->LDAP_MEMBER_ACTIVE != 'ldap2dolibarr') {
|
if (!empty($conf->global->LDAP_MEMBER_ACTIVE) && $conf->global->LDAP_MEMBER_ACTIVE != 'ldap2dolibarr') {
|
||||||
|
|||||||
@ -639,7 +639,7 @@ if ($rowid > 0) {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Action buttons
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Button to create a new subscription if member no draft neither resiliated
|
// Button to create a new subscription if member no draft neither resiliated
|
||||||
|
|||||||
@ -175,12 +175,9 @@ print dol_get_fiche_end();
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
print "\n<div class=\"tabsAction\">\n";
|
print "\n<div class=\"tabsAction\">\n";
|
||||||
|
|
||||||
if ($action == '') {
|
if ($action == '') {
|
||||||
|
|||||||
@ -153,12 +153,9 @@ if ($object->id) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
print '<div class="tabsAction">'."\n";
|
print '<div class="tabsAction">'."\n";
|
||||||
|
|
||||||
if ($action != 'ajout_photo' && $user->rights->categorie->creer) {
|
if ($action != 'ajout_photo' && $user->rights->categorie->creer) {
|
||||||
|
|||||||
@ -665,7 +665,7 @@ if ($id) {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Action buttons
|
* Action bar
|
||||||
*/
|
*/
|
||||||
print '<div class="tabsAction">'."\n";
|
print '<div class="tabsAction">'."\n";
|
||||||
|
|
||||||
|
|||||||
@ -463,9 +463,8 @@ if ($action == 'create') {
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if ($object->statut < Deplacement::STATUS_REFUNDED) { // if not refunded
|
if ($object->statut < Deplacement::STATUS_REFUNDED) { // if not refunded
|
||||||
|
|||||||
@ -1634,8 +1634,8 @@ if ($action == 'create') {
|
|||||||
print dol_get_fiche_end();
|
print dol_get_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
|
|||||||
@ -722,7 +722,7 @@ if ($id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Action buttons
|
* Action bar
|
||||||
*/
|
*/
|
||||||
print "<div class=\"tabsAction\">\n";
|
print "<div class=\"tabsAction\">\n";
|
||||||
if ($action != 'edit') {
|
if ($action != 'edit') {
|
||||||
|
|||||||
@ -2485,9 +2485,8 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if ($action != 'create' && $action != 'edit') {
|
if ($action != 'create' && $action != 'edit') {
|
||||||
|
|||||||
@ -808,7 +808,7 @@ if ($object->id > 0) {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
|
|||||||
@ -412,9 +412,8 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||||||
print dol_get_fiche_end();
|
print dol_get_fiche_end();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&id='.$id.'">'.$langs->trans('Modify').'</a>';
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&id='.$id.'">'.$langs->trans('Modify').'</a>';
|
||||||
print '<a class="butActionDelete" href="'.$_SERVER["PHP_SELF"].'?action=delete&token='.newToken().'&id='.$id.'">'.$langs->trans('Delete').'</a>';
|
print '<a class="butActionDelete" href="'.$_SERVER["PHP_SELF"].'?action=delete&token='.newToken().'&id='.$id.'">'.$langs->trans('Delete').'</a>';
|
||||||
|
|||||||
@ -354,7 +354,7 @@ print '</form>'."\n";
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
|
|||||||
@ -189,7 +189,9 @@ if ($action != 'create_updater' && $action != 'edit_updater') {
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
if (empty($action)) {
|
if (empty($action)) {
|
||||||
//Action Buttons
|
/*
|
||||||
|
* Action bar
|
||||||
|
*/
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=create_variable">'.$langs->trans("AddVariable").'</a>';
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=create_variable">'.$langs->trans("AddVariable").'</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
@ -277,7 +279,9 @@ if ($action != 'create_variable' && $action != 'edit_variable') {
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
if (empty($action)) {
|
if (empty($action)) {
|
||||||
//Action Buttons
|
/*
|
||||||
|
* Action bar
|
||||||
|
*/
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=create_updater&token='.newToken().'">'.$langs->trans("AddUpdater").'</a>';
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=create_updater&token='.newToken().'">'.$langs->trans("AddUpdater").'</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|||||||
@ -2261,11 +2261,9 @@ if (empty($reshook)) {
|
|||||||
// Print form confirm
|
// Print form confirm
|
||||||
print $formconfirm;
|
print $formconfirm;
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
if ($action != 'create' && $action != 'edit') {
|
if ($action != 'create' && $action != 'edit') {
|
||||||
print "\n".'<div class="tabsAction">'."\n";
|
print "\n".'<div class="tabsAction">'."\n";
|
||||||
|
|
||||||
|
|||||||
@ -1096,12 +1096,9 @@ print dol_get_fiche_end();
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
if (!$action || $action == 'delete' || $action == 'showlog_customer_price' || $action == 'showlog_default_price' || $action == 'add_customer_price'
|
if (!$action || $action == 'delete' || $action == 'showlog_customer_price' || $action == 'showlog_default_price' || $action == 'add_customer_price'
|
||||||
|| $action == 'activate_price_by_qty' || $action == 'disable_price_by_qty') {
|
|| $action == 'activate_price_by_qty' || $action == 'disable_price_by_qty') {
|
||||||
print "\n".'<div class="tabsAction">'."\n";
|
print "\n".'<div class="tabsAction">'."\n";
|
||||||
|
|||||||
@ -478,12 +478,9 @@ if ($action == 'create') {
|
|||||||
print dol_get_fiche_end();
|
print dol_get_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
print "<div class=\"tabsAction\">\n";
|
print "<div class=\"tabsAction\">\n";
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
|
|||||||
@ -664,12 +664,9 @@ if ($resql) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
if ((empty($action) || $action == 'list') && $id > 0) {
|
if ((empty($action) || $action == 'list') && $id > 0) {
|
||||||
print "<div class=\"tabsAction\">\n";
|
print "<div class=\"tabsAction\">\n";
|
||||||
|
|
||||||
|
|||||||
@ -527,12 +527,9 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
|||||||
} else {
|
} else {
|
||||||
// View mode
|
// View mode
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/*
|
||||||
/* */
|
* Action bar
|
||||||
/* Barre d'action */
|
*/
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
print "\n".'<div class="tabsAction">'."\n";
|
print "\n".'<div class="tabsAction">'."\n";
|
||||||
|
|
||||||
if ($user->rights->produit->creer || $user->rights->service->creer) {
|
if ($user->rights->produit->creer || $user->rights->service->creer) {
|
||||||
|
|||||||
@ -366,9 +366,8 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
|
|||||||
@ -143,9 +143,8 @@ print dol_get_fiche_end();
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Barre d'actions
|
* Action bar
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if ($conf->global->LDAP_SYNCHRO_ACTIVE == 'dolibarr2ldap') {
|
if ($conf->global->LDAP_SYNCHRO_ACTIVE == 'dolibarr2ldap') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user