diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php
index 3200513d11d..e9e11b656b9 100644
--- a/htdocs/categories/categorie.php
+++ b/htdocs/categories/categorie.php
@@ -621,8 +621,17 @@ function formCategory($db,$object,$typeid,$socid=0,$showclassifyform=1)
if ($typeid == 3) $title = $langs->trans("MembersCategoriesShort");
if ($typeid == 4) $title = $langs->trans("ContactCategoriesShort");
+ $linktocreate='';
+ if ($showclassifyform && $user->rights->categorie->creer)
+ {
+ $linktocreate='id.'&type='.$typeid).'">';
+ $linktocreate.=$langs->trans("CreateCat").' ';
+ $linktocreate.=img_picto($langs->trans("Create"),'filenew');
+ $linktocreate.="";
+ }
+
print '
';
- print_fiche_titre($title,'','');
+ print_fiche_titre($title,$linktocreate,'');
// Form to add record into a category
if ($showclassifyform)
@@ -636,17 +645,8 @@ function formCategory($db,$object,$typeid,$socid=0,$showclassifyform=1)
print '
| ';
print ''.$langs->trans("ClassifyInCategory").' ';
print $form->select_all_categories($typeid,'auto');
- print ' | ';
- print ' | ';
- if ($user->rights->categorie->creer)
- {
- print '';
- print 'id.'&type='.$typeid).'">';
- print $langs->trans("CreateCat").' ';
- print img_picto($langs->trans("Create"),'filenew');
- print "";
- print ' | ';
- }
+ print '';
+ print ' | ';
print '
';
print '';
print '';
@@ -679,10 +679,7 @@ function formCategory($db,$object,$typeid,$socid=0,$showclassifyform=1)
print "";
// Categorie
- print "| ";
- //$c->id=;
- //print $c->getNomUrl(1);
- print img_object('','category').' '.$way." | ";
+ print "".img_object('','category').' '.$way." | ";
// Link to delete from category
print '';
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 3d2e138dd73..8dde34aa105 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -832,9 +832,9 @@ foreach($mainmenuusedarray as $val)
.bodylogin
{
background: #f0f0f0;
- -moz-box-shadow: inset 0 0 10px #000000;
+ /*-moz-box-shadow: inset 0 0 10px #000000;
-webkit-box-shadow: inset 0 0 10px #000000;
- box-shadow: inset 0 0 10px #000000;
+ box-shadow: inset 0 0 10px #000000;*/
}
.login_vertical_align {
padding: 10px;
|