31 print
"Error, template page can't be called as URL";
38print
"<!-- BEGIN PHP TEMPLATE productattributevalueline_edit.tpl.php -->\n";
42<tr
class=
"oddeven tredited">
44 <td
class=
"linecolnum center"><?php $coldisplay++; ?><?php echo($i + 1); ?></td>
49 <td
class=
"nobottom linecolref">
50 <div
id=
"line_<?php echo $line->id; ?>"></div>
51 <input
type=
"hidden" name=
"lineid" value=
"<?php echo $line->id; ?>">
53 <?php $coldisplay++; ?>
54 <input
type=
"text" name=
"line_ref" id=
"line_ref" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_ref
") ? GETPOST("line_ref
", 'alpha', 2) : $line->ref); ?>">
56 if (is_object($hookmanager)) {
57 $parameters = array(
'line' => $line);
58 $reshook = $hookmanager->executeHooks(
'formEditProductOptions', $parameters,
$object, $action);
59 if (!empty($hookmanager->resPrint)) {
60 print $hookmanager->resPrint;
66 <td
class=
"nobottom linecolvalue"><?php $coldisplay++; ?>
67 <input
type=
"text" name=
"line_value" id=
"line_value" class=
"flat" value=
"<?php echo(GETPOSTISSET("line_value
") ? GETPOST("line_value
", 'alpha', 2) : $line->value); ?>">
70 <!-- colspan
for this td because it replace td
for buttons+... -->
71 <td
class=
"center valignmiddle" colspan=
"<?php echo $colspan; ?>"><?php $coldisplay += $colspan; ?>
72 <input
type=
"submit" class=
"button buttongen marginbottomonly button-save" id=
"savelinebutton marginbottomonly" name=
"save" value=
"<?php echo $langs->trans("Save
"); ?>"><br>
73 <input
type=
"submit" class=
"button buttongen marginbottomonly button-cancel" id=
"cancellinebutton" name=
"cancel" value=
"<?php echo $langs->trans("Cancel
"); ?>">
77<!-- END PHP TEMPLATE productattributevalueline_edit.tpl.php -->
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
getDolGlobalString($key, $default='')
Return 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.