46 print
"Error, template page can't be called as URL";
53print
"<!-- BEGIN PHP TEMPLATE productattributevalueline_edit.tpl.php -->\n";
57<tr
class=
"oddeven tredited">
59 <td
class=
"linecolnum center"><?php $coldisplay++; ?><?php echo($i + 1); ?></td>
64 <td
class=
"nobottom linecolref">
65 <div
id=
"line_<?php echo $line->id; ?>"></div>
66 <input
type=
"hidden" name=
"lineid" value=
"<?php echo $line->id; ?>">
68 <?php $coldisplay++; ?>
69 <input
type=
"text" name=
"line_ref" id=
"line_ref" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_ref
") ? GETPOST("line_ref
", 'alpha', 2) : $line->ref); ?>">
71 if (is_object($hookmanager)) {
72 $parameters = array(
'line' => $line);
73 $reshook = $hookmanager->executeHooks(
'formEditProductOptions', $parameters,
$object, $action);
74 if (!empty($hookmanager->resPrint)) {
75 print $hookmanager->resPrint;
81 <td
class=
"nobottom linecolvalue"><?php $coldisplay++; ?>
82 <input
type=
"text" name=
"line_value" id=
"line_value" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_value
") ? GETPOST("line_value
", 'alpha', 2) : $line->value); ?>">
85 <!-- colspan
for this td because it replace td
for buttons+... -->
86 <td
class=
"center valignmiddle" colspan=
"<?php echo $colspan; ?>"><?php $coldisplay += $colspan; ?>
87 <input
type=
"submit" class=
"button buttongen marginbottomonly button-save" id=
"savelinebutton marginbottomonly" name=
"save" value=
"<?php echo $langs->trans("Save
"); ?>"><br>
88 <input
type=
"submit" class=
"button buttongen marginbottomonly button-cancel" id=
"cancellinebutton" name=
"cancel" value=
"<?php echo $langs->trans("Cancel
"); ?>">
92<!-- 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:/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.