46@phan-var-force string $action
48@phan-var-force int $num
49@phan-var-force ProductAttributeValue $line
54 print
"Error, template page can't be called as URL";
61print
"<!-- BEGIN PHP TEMPLATE productattributevalueline_edit.tpl.php -->\n";
65<tr
class=
"oddeven tredited">
67 <td
class=
"linecolnum center"><?php $coldisplay++; ?><?php echo($i + 1); ?></td>
72 <td
class=
"nobottom linecolref">
73 <div
id=
"line_<?php echo $line->id; ?>"></div>
74 <input
type=
"hidden" name=
"lineid" value=
"<?php echo $line->id; ?>">
76 <?php $coldisplay++; ?>
77 <input
type=
"text" name=
"line_ref" id=
"line_ref" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_ref
") ? GETPOST("line_ref
", 'alpha', 2) : $line->ref); ?>">
79 if (is_object($hookmanager)) {
80 $parameters = array(
'line' => $line);
81 $reshook = $hookmanager->executeHooks(
'formEditProductOptions', $parameters,
$object, $action);
82 if (!empty($hookmanager->resPrint)) {
83 print $hookmanager->resPrint;
89 <td
class=
"nobottom linecolvalue"><?php $coldisplay++; ?>
90 <input
type=
"text" name=
"line_value" id=
"line_value" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_value
") ? GETPOST("line_value
", 'alpha', 2) : $line->value); ?>">
93 <!-- colspan
for this td because it replace td
for buttons+... -->
94 <td
class=
"center valignmiddle" colspan=
"<?php echo $colspan; ?>"><?php $coldisplay += $colspan; ?>
95 <input
type=
"submit" class=
"button buttongen marginbottomonly button-save" id=
"savelinebutton marginbottomonly" name=
"save" value=
"<?php echo $langs->trans("Save
"); ?>"><br>
96 <input
type=
"submit" class=
"button buttongen marginbottomonly button-cancel" id=
"cancellinebutton" name=
"cancel" value=
"<?php echo $langs->trans("Cancel
"); ?>">
100<!-- END PHP TEMPLATE productattributevalueline_edit.tpl.php -->
if(! $sortfield) if(! $sortorder) $object
$propal type
'integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]',...
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
$conf db name
Only used if Module[ID]Name translation string is not found.