36if (empty($object) || !is_object($object)) {
37 print
"Error, template page can't be called as URL";
42$domData =
' data-element="'.$line->element.
'"';
43$domData .=
' data-id="'.$line->id.
'"';
47<!-- BEGIN PHP TEMPLATE productattributevalueline_view.tpl.php -->
48<tr
id=
"row-<?php print $line->id?>" class=
"drag drop oddeven" <?php print $domData; ?> >
49<?php
if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { ?>
50 <td
class=
"linecolnum center"><span
class=
"opacitymedium"><?php $coldisplay++; ?><?php print ($i + 1); ?></span></td>
52 <td
class=
"linecolref nowrap"><?php $coldisplay++; ?><div
id=
"line_<?php print $line->id; ?>"></div>
53 <?php print $line->ref ?>
56 <td
class=
"linecolvalue nowrap"><?php $coldisplay++; print $line->value ?></td>
58if (!empty($object_rights->write) && $action !=
'selectlines') {
59 print
'<td class="linecoledit center width25">';
61 if (empty($disableedit)) { ?>
62 <a
class=
"editfielda reposition" href=
"<?php print $_SERVER["PHP_SELF
"].'?id='.$this->id.'&action=editline&lineid='.$line->id.'#line_'.$line->id; ?>">
67 print
'<td class="linecoldelete center width25">';
69 if (empty($disableremove)) {
70 print
'<a class="reposition" href="'.$_SERVER[
"PHP_SELF"].
'?id='.$this->
id.
'&action=ask_deleteline&lineid='.$line->id.
'">';
76 if ($num > 1 && $conf->browser->layout !=
'phone' && empty($disablemove)) {
77 print
'<td class="linecolmove tdlineupdown center width25">';
80 <a
class=
"lineupdown reposition" href=
"<?php print $_SERVER["PHP_SELF
"].'?id='.$this->id.'&action=up&token='.newToken().'&rowid='.$line->id; ?>">
81 <?php print
img_up(
'default', 0,
'imgupforline'); ?>
84 if ($i < $num - 1) { ?>
85 <a
class=
"lineupdown reposition" href=
"<?php print $_SERVER["PHP_SELF
"].'?id='.$this->id.'&action=down&token='.newToken().'&rowid='.$line->id; ?>">
86 <?php print
img_down(
'default', 0,
'imgdownforline'); ?>
91 print
'<td '.(($conf->browser->layout !=
'phone' && empty($disablemove)) ?
' class="linecolmove tdlineupdown center"' :
' class="linecolmove center"').
'></td>';
95 print
'<td colspan="3"></td>';
96 $coldisplay = $coldisplay + 3;
99if ($action ==
'selectlines') { ?>
100 <td
class=
"linecolcheck center"><input
type=
"checkbox" class=
"linecheckbox" name=
"line_checkbox[<?php print $i + 1; ?>]" value=
"<?php print $line->id; ?>" ></td>
105print
"<!-- END PHP TEMPLATE productattributevalueline_view.tpl.php -->\n";
img_delete($titlealt='default', $other='class="pictodelete"', $morecss='')
Show delete logo.
img_down($titlealt='default', $selected=0, $moreclass='')
Show down arrow logo.
img_edit($titlealt='default', $float=0, $other='')
Show logo editer/modifier fiche.
img_up($titlealt='default', $selected=0, $moreclass='')
Show top arrow logo.
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.