|
@@ -311,15 +311,15 @@ else
|
|
|
print '<table class="border" width="100%">';
|
|
|
|
|
|
// Ref
|
|
|
- print '<tr><td width="25%">'.$langs->trans("Ref").'</td>';
|
|
|
- print '<td colspan="2">';
|
|
|
+ print '<tr><td class="titlefield">'.$langs->trans("Ref").'</td>';
|
|
|
+ print '<td>';
|
|
|
print $form->showrefnav($object,'id','',$user->rights->user->user->lire || $user->admin);
|
|
|
print '</td>';
|
|
|
print '</tr>';
|
|
|
|
|
|
// Name
|
|
|
- print '<tr><td width="25%">'.$langs->trans("Name").'</td>';
|
|
|
- print '<td width="75%" class="valeur">'.$object->name;
|
|
|
+ print '<tr><td>'.$langs->trans("Name").'</td>';
|
|
|
+ print '<td class="valeur">'.$object->name;
|
|
|
if (empty($object->entity))
|
|
|
{
|
|
|
print img_picto($langs->trans("GlobalGroup"),'redstar');
|
|
@@ -331,12 +331,12 @@ else
|
|
|
{
|
|
|
$mc->getInfo($object->entity);
|
|
|
print "<tr>".'<td class="tdtop">'.$langs->trans("Entity").'</td>';
|
|
|
- print '<td width="75%" class="valeur">'.$mc->label;
|
|
|
+ print '<td class="valeur">'.$mc->label;
|
|
|
print "</td></tr>\n";
|
|
|
}
|
|
|
|
|
|
// Note
|
|
|
- print '<tr><td width="25%" class="tdtop">'.$langs->trans("Description").'</td>';
|
|
|
+ print '<tr><td class="tdtop">'.$langs->trans("Description").'</td>';
|
|
|
print '<td class="valeur">'.dol_htmlentitiesbr($object->note).' </td>';
|
|
|
print "</tr>\n";
|
|
|
|
|
@@ -397,8 +397,8 @@ else
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
|
print '<input type="hidden" name="action" value="adduser">';
|
|
|
print '<table class="noborder" width="100%">'."\n";
|
|
|
- print '<tr class="liste_titre"><td class="liste_titre" width="25%">'.$langs->trans("NonAffectedUsers").'</td>'."\n";
|
|
|
- print '<td>';
|
|
|
+ print '<tr class="liste_titre"><td class="titlefield liste_titre">'.$langs->trans("NonAffectedUsers").'</td>'."\n";
|
|
|
+ print '<td class="liste_titre">';
|
|
|
print $form->select_dolusers('', 'user', 1, $exclude, 0, '', '', $object->entity, 0, 0, '', 0, '', 'maxwidth300');
|
|
|
print ' ';
|
|
|
// Multicompany
|
|
@@ -491,7 +491,7 @@ else
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- print '<tr><td colspan=2 class="opacitymedium">'.$langs->trans("None").'</td></tr>';
|
|
|
+ print '<tr><td colspan="6" class="opacitymedium">'.$langs->trans("None").'</td></tr>';
|
|
|
}
|
|
|
print "</table>";
|
|
|
print "<br>";
|
|
@@ -509,8 +509,8 @@ else
|
|
|
dol_fiche_head($head, 'group', $title, 0, 'group');
|
|
|
|
|
|
print '<table class="border" width="100%">';
|
|
|
- print '<tr><td width="25%" valign="top" class="fieldrequired">'.$langs->trans("Name").'</td>';
|
|
|
- print '<td width="75%" class="valeur"><input size="15" type="text" name="group" value="'.$object->name.'">';
|
|
|
+ print '<tr><td class="titlefield fieldrequired">'.$langs->trans("Name").'</td>';
|
|
|
+ print '<td class="valeur"><input size="15" type="text" name="group" value="'.$object->name.'">';
|
|
|
print "</td></tr>\n";
|
|
|
|
|
|
// Multicompany
|
|
@@ -528,7 +528,7 @@ else
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- print '<tr><td width="25%" valign="top">'.$langs->trans("Description").'</td>';
|
|
|
+ print '<tr><td class="tdtop">'.$langs->trans("Description").'</td>';
|
|
|
print '<td class="valeur">';
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
|
|
$doleditor=new DolEditor('note',$object->note,'',240,'dolibarr_notes','',true,false,$conf->global->FCKEDITOR_ENABLE_SOCIETE,ROWS_8,'90%');
|
|
@@ -536,7 +536,7 @@ else
|
|
|
print '</td>';
|
|
|
print "</tr>\n";
|
|
|
// Other attributes
|
|
|
- $parameters=array('colspan' => ' colspan="2"');
|
|
|
+ $parameters=array();
|
|
|
$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
|
|
|
if (empty($reshook) && ! empty($extrafields->attribute_label))
|
|
|
{
|