diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index ab6bfcc0704..fb147750e0b 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -82,9 +82,11 @@ if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter_x") || GETP
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('membertypecard','globalcard'));
+
/*
* Actions
*/
+
if ($action == 'add' && $user->rights->adherent->configurer)
{
if (! $cancel)
@@ -308,12 +310,13 @@ if ($rowid > 0)
$head = member_type_prepare_head($object);
- dol_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group');
+ dol_fiche_head($head, 'card', $langs->trans("MemberType"), -1, 'group');
$linkback = ''.$langs->trans("BackToList").' ';
dol_banner_tab($object, 'rowid', $linkback);
+ print '
';
print '
';
print '
';
@@ -342,7 +345,8 @@ if ($rowid > 0)
}
print '
';
-
+ print '
';
+
dol_fiche_end();
diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php
index dd37e4987e5..013be811b5b 100644
--- a/htdocs/admin/defaultvalues.php
+++ b/htdocs/admin/defaultvalues.php
@@ -172,9 +172,6 @@ if ($action == 'delete')
-
-
-
/*
* View
*/
@@ -323,7 +320,9 @@ else
print '';
print ' ';
}
-print ' ';
+$disabled='';
+if (empty($conf->global->MAIN_ENABLE_DEFAULT_VALUES)) $disabled=' disabled="disabled"';
+print ' ';
print " \n";
print '';
diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index 739a6fa4c88..cfa08f003ea 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -362,13 +362,6 @@ if ($action == 'edit') // Edit
print ' ';
print '';
- // Hide helpcenter link on login page
- print ''.$langs->trans("DisableLinkToHelpCenter").' ';
- print $form->selectyesno('MAIN_HELPCENTER_DISABLELINK',isset($conf->global->MAIN_HELPCENTER_DISABLELINK)?$conf->global->MAIN_HELPCENTER_DISABLELINK:0,1);
- print ' ';
- print ' ';
- print ' ';
-
// Message of the day on home page
print ''.$langs->trans("MessageOfDay").' ';
@@ -393,8 +386,14 @@ if ($action == 'edit') // Edit
$doleditor->Create();
print ' '."\n";
- // Background
+ // Hide helpcenter link on login page
+ print ''.$langs->trans("DisableLinkToHelpCenter").' ';
+ print $form->selectyesno('MAIN_HELPCENTER_DISABLELINK',isset($conf->global->MAIN_HELPCENTER_DISABLELINK)?$conf->global->MAIN_HELPCENTER_DISABLELINK:0,1);
+ print ' ';
+ print ' ';
+ print ' ';
+ // Background
print ''.$langs->trans("BackgroundImageLogin").' (png,jpg) ';
print '';
print ' ';
@@ -531,11 +530,6 @@ else // Show
// Link to wiki help
print '
'.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/helpdoc.png','',1)).' ';
print yn((isset($conf->global->MAIN_HELP_DISABLELINK)?$conf->global->MAIN_HELP_DISABLELINK:0),1);
- print ' ';
-
- // Link to help center
- print ''.$langs->trans("DisableLinkToHelpCenter").' ';
- print yn((isset($conf->global->MAIN_HELPCENTER_DISABLELINK)?$conf->global->MAIN_HELPCENTER_DISABLELINK:0),1);
print ' ';
// Message of the day
@@ -558,8 +552,12 @@ else // Show
else print ' ';
print ''."\n";
+ // Link to help center
+ print ''.$langs->trans("DisableLinkToHelpCenter").' ';
+ print yn((isset($conf->global->MAIN_HELPCENTER_DISABLELINK)?$conf->global->MAIN_HELPCENTER_DISABLELINK:0),1);
+ print ' ';
+
// Background login
-
print ''.$langs->trans("BackgroundImageLogin").' ';
print '';
print $conf->global->MAIN_LOGIN_BACKGROUND;
diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php
index c51d1c2435d..44387bc2041 100644
--- a/htdocs/admin/translation.php
+++ b/htdocs/admin/translation.php
@@ -264,7 +264,9 @@ if ($mode == 'overwrite')
print '
';
print ' ';
//}
- print ' ';
+ $disabled='';
+ if (empty($conf->global->MAIN_ENABLE_OVERWRITE_TRANSLATION)) $disabled=' disabled="disabled"';
+ print ' ';
print " \n";
print ' ';
diff --git a/htdocs/langs/en_US/modulebuilder.lang b/htdocs/langs/en_US/modulebuilder.lang
index 81a34b66b85..da734ea1356 100644
--- a/htdocs/langs/en_US/modulebuilder.lang
+++ b/htdocs/langs/en_US/modulebuilder.lang
@@ -1,7 +1,7 @@
# Dolibarr language file - Source file is en_US - loan
ModuleBuilderDesc=This tools give you utilites to build or edit your own module.
-ModuleBuilderDesc2=Path were modules are generated/edited (first alternative directory defined into %s): %s .
-ModuleBuilderDesc3=Modules found: %s (they are detected as editable when the file %s exists in root of module directory).
+ModuleBuilderDesc2=Path were modules are generated/edited (first alternative directory defined into %s): %s
+ModuleBuilderDesc3=Generated/editable modules found: %s (they are detected as editable when the file %s exists in root of module directory).
NewModule=New module
ModuleKey=Key for new module