commit
aba4af85a5
@ -298,10 +298,10 @@ if ($action == 'create') {
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
if (!empty($user->rights->accounting->fiscalyear->write)) {
|
||||
/*
|
||||
* Barre d'actions
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
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();
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
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
|
||||
|
||||
@ -349,8 +349,7 @@ if ($rowid && $action != 'edit') {
|
||||
print dol_get_fiche_end();
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -175,12 +175,9 @@ print dol_get_fiche_end();
|
||||
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
@ -153,12 +153,9 @@ if ($object->id) {
|
||||
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">'."\n";
|
||||
|
||||
if ($action != 'ajout_photo' && $user->rights->categorie->creer) {
|
||||
|
||||
@ -224,12 +224,9 @@ print dol_get_fiche_end();
|
||||
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print "\n<div class=\"tabsAction\">\n";
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
@ -2121,9 +2121,8 @@ if ($id > 0) {
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
$parameters = array();
|
||||
|
||||
@ -1334,9 +1334,8 @@ if ($object->id > 0) {
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
$parameters = array();
|
||||
|
||||
@ -777,7 +777,7 @@ if ($action == 'create') {
|
||||
print dol_get_fiche_end();
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -665,7 +665,7 @@ if ($id) {
|
||||
|
||||
|
||||
/*
|
||||
* Action buttons
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">'."\n";
|
||||
|
||||
|
||||
@ -463,9 +463,8 @@ if ($action == 'create') {
|
||||
print '</div>';
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if ($object->statut < Deplacement::STATUS_REFUNDED) { // if not refunded
|
||||
|
||||
@ -1634,8 +1634,8 @@ if ($action == 'create') {
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
/**
|
||||
* Barre d'actions
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -266,7 +266,7 @@ if ($id) {
|
||||
|
||||
|
||||
/*
|
||||
* Action buttons
|
||||
* Action bar
|
||||
*/
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
if ($object->rappro == 0) {
|
||||
|
||||
@ -225,12 +225,9 @@ if ($id) {
|
||||
print '</form>';
|
||||
}
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print "<div class=\"tabsAction\">";
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
@ -722,7 +722,7 @@ if ($id) {
|
||||
}
|
||||
|
||||
/*
|
||||
* Action buttons
|
||||
* Action bar
|
||||
*/
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
if ($action != 'edit') {
|
||||
|
||||
@ -1441,7 +1441,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
// Barre d'actions
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
$parameters = array();
|
||||
|
||||
@ -132,9 +132,8 @@ print dol_get_fiche_end();
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if (!empty($conf->global->LDAP_CONTACT_ACTIVE) && $conf->global->LDAP_CONTACT_ACTIVE != 'ldap2dolibarr') {
|
||||
|
||||
@ -308,7 +308,9 @@ if ($action == 'edit') {
|
||||
|
||||
|
||||
if ($action != 'edit') {
|
||||
// Barre d'actions
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
if ($user->socid == 0) {
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -2485,9 +2485,8 @@ if ($action == 'create') {
|
||||
}
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if ($action != 'create' && $action != 'edit') {
|
||||
|
||||
@ -619,7 +619,7 @@ if ($step == 2 && $datatoexport) {
|
||||
print '</div>';
|
||||
|
||||
/*
|
||||
* Barre d'action
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction tabsActionNoBottom">';
|
||||
|
||||
@ -793,7 +793,7 @@ if ($step == 3 && $datatoexport) {
|
||||
print '</div>';
|
||||
|
||||
/*
|
||||
* Barre d'action
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction tabsActionNoBottom">';
|
||||
// il n'est pas obligatoire de filtrer les champs
|
||||
@ -974,8 +974,7 @@ if ($step == 4 && $datatoexport) {
|
||||
print '</div>';
|
||||
|
||||
/*
|
||||
* Barre d'action
|
||||
*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -736,8 +736,8 @@ if ($action == 'create') {
|
||||
}
|
||||
print '</table>';
|
||||
|
||||
/**
|
||||
* Barre d'actions
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -808,7 +808,7 @@ if ($object->id > 0) {
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -412,9 +412,8 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
print dol_get_fiche_end();
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
*/
|
||||
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
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>';
|
||||
|
||||
@ -1203,7 +1203,7 @@ if ($step == 4 && $datatoimport) {
|
||||
}
|
||||
|
||||
/*
|
||||
* Barre d'action
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -354,7 +354,7 @@ print '</form>'."\n";
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -189,7 +189,9 @@ if ($action != 'create_updater' && $action != 'edit_updater') {
|
||||
print '</table>';
|
||||
|
||||
if (empty($action)) {
|
||||
//Action Buttons
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=create_variable">'.$langs->trans("AddVariable").'</a>';
|
||||
print '</div>';
|
||||
@ -277,7 +279,9 @@ if ($action != 'create_variable' && $action != 'edit_variable') {
|
||||
print '</table>';
|
||||
|
||||
if (empty($action)) {
|
||||
//Action Buttons
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=create_updater&token='.newToken().'">'.$langs->trans("AddUpdater").'</a>';
|
||||
print '</div>';
|
||||
|
||||
@ -2261,11 +2261,9 @@ if (empty($reshook)) {
|
||||
// Print form confirm
|
||||
print $formconfirm;
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
if ($action != 'create' && $action != 'edit') {
|
||||
print "\n".'<div class="tabsAction">'."\n";
|
||||
|
||||
|
||||
@ -1096,12 +1096,9 @@ print dol_get_fiche_end();
|
||||
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
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') {
|
||||
print "\n".'<div class="tabsAction">'."\n";
|
||||
|
||||
@ -478,12 +478,9 @@ if ($action == 'create') {
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
|
||||
$parameters = array();
|
||||
|
||||
@ -664,12 +664,9 @@ if ($resql) {
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
if ((empty($action) || $action == 'list') && $id > 0) {
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
|
||||
|
||||
@ -731,12 +731,9 @@ if ($resql) {
|
||||
}
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
if ((empty($action) || $action == 'list') && $id > 0) {
|
||||
print "<div class=\"tabsAction\">\n";
|
||||
|
||||
|
||||
@ -196,12 +196,9 @@ print dol_get_fiche_end();
|
||||
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print "\n".'<div class="tabsAction">'."\n";
|
||||
|
||||
if ($action == '') {
|
||||
|
||||
@ -882,8 +882,9 @@ if ($id) {
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
// Action buttons
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">'."\n";
|
||||
if ($action != 'edit') {
|
||||
// Reopen
|
||||
|
||||
@ -527,12 +527,9 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
||||
} else {
|
||||
// View mode
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* Barre d'action */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
/*
|
||||
* Action bar
|
||||
*/
|
||||
print "\n".'<div class="tabsAction">'."\n";
|
||||
|
||||
if ($user->rights->produit->creer || $user->rights->service->creer) {
|
||||
|
||||
@ -193,7 +193,7 @@ if ($id > 0) {
|
||||
print '</form>';
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
|
||||
@ -366,9 +366,8 @@ if ($action == 'create') {
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
$parameters = array();
|
||||
|
||||
@ -143,9 +143,8 @@ print dol_get_fiche_end();
|
||||
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if ($conf->global->LDAP_SYNCHRO_ACTIVE == 'dolibarr2ldap') {
|
||||
|
||||
@ -148,9 +148,8 @@ print '</div>';
|
||||
print dol_get_fiche_end();
|
||||
|
||||
/*
|
||||
* Barre d'actions
|
||||
* Action bar
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if ($conf->global->LDAP_SYNCHRO_ACTIVE == 'dolibarr2ldap') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user