29 print
"Error, template page can't be called as URL";
33if (!empty(
$object->table_element_line)) {
35 $result =
$object->getLinesArray();
40@phan-var-force string $note_public
41@phan-var-force string $note_private
42@phan-var-force int $colwidth
43@phan-var-force string $moreparam
44@phan-var-force bool $permission
45@phan-var-force string $typeofdata
46@phan-var-force string $value_public
47@phan-var-force string $value_private
51print
'<!-- BEGIN PHP TEMPLATE hrm/core/tpl/skilldet.fiche.tpl.php -->'.
"\n";
53print
'<div class="tagtable border table-border tableforfield centpercent">'.
"\n";
54print
'<div class="tagtr table-border-row">'.
"\n";
55$editmode = (
GETPOST(
'action',
'aZ09') ==
'edit'.$note_public);
56print
'<div class="tagtd tagtdnote tdtop'.($editmode ?
'' :
' sensiblehtmlcontent').
' table-key-border-col'.(empty($cssclass) ?
'' :
' '.$cssclass).
'"'.($colwidth ?
' style="width: '.$colwidth.
'%"' :
'').
'>'.
"\n";
57print $form->editfieldkey(
"NotePublic", $note_public, $value_public,
$object, $permission, $typeofdata, $moreparam, 0, 0);
59print
'<div class="tagtd wordbreak table-val-border-col'.($editmode ?
'' :
' sensiblehtmlcontent').
'">'.
"\n";
60print $form->editfieldval(
"NotePublic", $note_public, $value_public,
$object, $permission, $typeofdata,
'',
null,
null, $moreparam, 1).
"\n";
63if (empty($user->socid)) {
65 print
'<div class="tagtr table-border-row">'.
"\n";
66 $editmode = (
GETPOST(
'action',
'aZ09') ==
'edit'.$note_private);
67 print
'<div class="tagtd tagtdnote tdtop'.($editmode ?
'' :
' sensiblehtmlcontent').
' table-key-border-col'.(empty($cssclass) ?
'' :
' '.$cssclass).
'"'.($colwidth ?
' style="width: '.$colwidth.
'%"' :
'').
'>'.
"\n";
68 print $form->editfieldkey(
"NotePrivate", $note_private, $value_private,
$object, $permission, $typeofdata, $moreparam, 0, 0);
70 print
'<div class="tagtd wordbreak table-val-border-col'.($editmode ?
'' :
' sensiblehtmlcontent').
'">'.
"\n";
71 print $form->editfieldval(
"NotePrivate", $note_private, $value_private,
$object, $permission, $typeofdata,
'',
null,
null, $moreparam, 1);
77<!-- END PHP TEMPLATE NOTES-->
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.