global->MAIN_OPTIMIZEFORTEXTBROWSER)?' style="display:none"':'').'>';
@@ -5711,7 +5709,7 @@ class Form
//print "paramid=$paramid,morehtml=$morehtml,shownav=$shownav,$fieldid,$fieldref,$morehtmlref,$moreparam";
$object->load_previous_next_ref((isset($object->next_prev_filter)?$object->next_prev_filter:''),$fieldid,$nodbprefix);
-
+
$navurl = $_SERVER["PHP_SELF"];
// Special case for project/task page
if ($paramid == 'project_ref')
@@ -5753,10 +5751,10 @@ class Form
if ($conf->browser->layout == 'phone') $ret.='
'.$morehtmlleft.'
'; // class="center" to have photo in middle
else $ret.='
'.$morehtmlleft.'
';
}
-
+
//if ($conf->browser->layout == 'phone') $ret.='
';
$ret.='
';
-
+
// For thirdparty, contact, user, member, the ref is the id, so we show something else
if ($object->element == 'societe')
{
@@ -5768,17 +5766,17 @@ class Form
}
else if (in_array($object->element, array('action', 'agenda')))
{
- $ret.=$object->ref.'
'.$object->label;
+ $ret.=$object->ref.'
'.$object->label;
}
else if ($fieldref != 'none') $ret.=dol_htmlentities($object->$fieldref);
-
-
+
+
if ($morehtmlref)
{
$ret.=' '.$morehtmlref;
}
- $ret.='
';
-
+ $ret.='
';
+
$ret.='