46@phan-var-force string $action
48@phan-var-force int $num
53 print
"Error, template page can't be called as URL";
60print
"<!-- BEGIN PHP TEMPLATE productattributevalueline_edit.tpl.php -->\n";
64<tr
class=
"oddeven tredited">
66 <td
class=
"linecolnum center"><?php $coldisplay++; ?><?php echo($i + 1); ?></td>
71 <td
class=
"nobottom linecolref">
72 <div
id=
"line_<?php echo $line->id; ?>"></div>
73 <input
type=
"hidden" name=
"lineid" value=
"<?php echo $line->id; ?>">
75 <?php $coldisplay++; ?>
76 <input
type=
"text" name=
"line_ref" id=
"line_ref" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_ref
") ? GETPOST("line_ref
", 'alpha', 2) : $line->ref); ?>">
78 if (is_object($hookmanager)) {
79 $parameters = array(
'line' => $line);
80 $reshook = $hookmanager->executeHooks(
'formEditProductOptions', $parameters,
$object, $action);
81 if (!empty($hookmanager->resPrint)) {
82 print $hookmanager->resPrint;
88 <td
class=
"nobottom linecolvalue"><?php $coldisplay++; ?>
89 <input
type=
"text" name=
"line_value" id=
"line_value" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_value
") ? GETPOST("line_value
", 'alpha', 2) : $line->value); ?>">
92 <!-- colspan
for this td because it replace td
for buttons+... -->
93 <td
class=
"center valignmiddle" colspan=
"<?php echo $colspan; ?>"><?php $coldisplay += $colspan; ?>
94 <input
type=
"submit" class=
"button buttongen marginbottomonly button-save" id=
"savelinebutton marginbottomonly" name=
"save" value=
"<?php echo $langs->trans("Save
"); ?>"><br>
95 <input
type=
"submit" class=
"button buttongen marginbottomonly button-cancel" id=
"cancellinebutton" name=
"cancel" value=
"<?php echo $langs->trans("Cancel
"); ?>">
99<!-- END PHP TEMPLATE productattributevalueline_edit.tpl.php -->
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
if(preg_match('/(crypted|dolcrypt):/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
$conf db name
Only used if Module[ID]Name translation string is not found.