";
print_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields.tpl.php';
-
- print '
\n";
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
diff --git a/htdocs/societe/admin/contact_extrafields.php b/htdocs/societe/admin/contact_extrafields.php
index 8accb58f138..baed4711c32 100755
--- a/htdocs/societe/admin/contact_extrafields.php
+++ b/htdocs/societe/admin/contact_extrafields.php
@@ -88,6 +88,7 @@ print '
';
print "\n";
@@ -95,11 +96,12 @@ $var=True;
foreach($extrafields->attribute_type as $key => $value)
{
$var=!$var;
- print "
";
@@ -110,10 +112,8 @@ print "";
dol_fiche_end();
-/*
- * Barre d'actions
- *
- */
+
+// Buttons
if ($action != 'create' && $action != 'edit')
{
print '
';
@@ -133,31 +133,7 @@ if ($action == 'create')
print "
";
print_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields.tpl.php';
-
- print '
\n";
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
diff --git a/htdocs/societe/admin/societe_extrafields.php b/htdocs/societe/admin/societe_extrafields.php
index 1b053ea4b50..8d964f7d264 100755
--- a/htdocs/societe/admin/societe_extrafields.php
+++ b/htdocs/societe/admin/societe_extrafields.php
@@ -88,6 +88,7 @@ print '
'.$langs->trans("Label").' | ';
print '
'.$langs->trans("AttributeCode").' | ';
print '
'.$langs->trans("Type").' | ';
print '
'.$langs->trans("Size").' | ';
+print '
'.$langs->trans("Unique").' | ';
print '
| ';
print "\n";
@@ -95,11 +96,12 @@ $var=True;
foreach($extrafields->attribute_type as $key => $value)
{
$var=!$var;
- print "
";
+ print "
";
print "| ".$extrafields->attribute_label[$key]." | \n";
print "".$key." | \n";
print "".$type2label[$extrafields->attribute_type[$key]]." | \n";
print ''.$extrafields->attribute_size[$key]." | \n";
+ print ''.yn($extrafields->attribute_unique[$key])." | \n";
print ''.img_edit().'';
print " ".img_delete()." | \n";
print "
";
@@ -110,10 +112,8 @@ print "";
dol_fiche_end();
-/*
- * Barre d'actions
- *
- */
+
+// Buttons
if ($action != 'create' && $action != 'edit')
{
print '
';
@@ -133,31 +133,7 @@ if ($action == 'create')
print "
";
print_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields.tpl.php';
-
- print '
\n";
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/* ************************************************************************** */
@@ -170,42 +146,7 @@ if ($action == 'edit' && ! empty($attrname))
print "
";
print_titre($langs->trans("FieldEdition", $attrname));
- /*
- * formulaire d'edition
- */
- print '
";
-
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
llxFooter();
diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php
index 86f84f2e5a9..a8ccc913f2a 100644
--- a/htdocs/theme/amarok/style.css.php
+++ b/htdocs/theme/amarok/style.css.php
@@ -92,6 +92,14 @@ input, textarea {
margin-bottom:6px;
}
+.valignmiddle {
+ vertical-align: middle;
+}
+.centpercent {
+ width: 100%;
+}
+
+
/* boutons : */
.button, .butAction {background: #999;border: solid 1px #666;}
.butActionRefused {background: #ccc;}
@@ -144,7 +152,7 @@ td.formdocbutton {padding-top:6px;}
color-stop(0, rgba(0,0,0,.3))
);
}
-
+
global->MAIN_BUTTON_HIDE_UNAUTHORIZED)) { ?>
.butActionRefused {
display: none;
diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php
index 8ac5fde2fe4..8f232b4219a 100644
--- a/htdocs/theme/auguria/style.css.php
+++ b/htdocs/theme/auguria/style.css.php
@@ -161,6 +161,13 @@ div.float
{
float:;
}
+.valignmiddle {
+ vertical-align: middle;
+}
+.centpercent {
+ width: 100%;
+}
+
/* ============================================================================== */
/* Styles to hide objects */
diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php
index 26f8993c354..bad4dd11af1 100644
--- a/htdocs/theme/bureau2crea/style.css.php
+++ b/htdocs/theme/bureau2crea/style.css.php
@@ -183,6 +183,13 @@ form {
padding: 0em 0em 0em 0em;
margin: 0em 0em 0em 0em;
}
+.valignmiddle {
+ vertical-align: middle;
+}
+.centpercent {
+ width: 100%;
+}
+
/* ============================================================================== */
/* Styles to hide objects */
diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php
index 54880874716..085e5227251 100644
--- a/htdocs/theme/cameleo/style.css.php
+++ b/htdocs/theme/cameleo/style.css.php
@@ -166,6 +166,13 @@ div.float
{
float:;
}
+.valignmiddle {
+ vertical-align: middle;
+}
+.centpercent {
+ width: 100%;
+}
+
/* ============================================================================== */
/* Styles to hide objects */
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index cc91d44c1e9..84c50773057 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -303,6 +303,10 @@ th .button {
.valignmiddle {
vertical-align: middle;
}
+.centpercent {
+ width: 100%;
+}
+
/* ============================================================================== */
/* Styles to hide objects */