Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
btm2000.apps-dev.fr /
core /
tpl /
Delete
Unzip
Name
Size
Permission
Date
Action
README
123
B
-rw-r--r--
2023-12-15 13:44
admin_extrafields_add.tpl.php
16.2
KB
-rw-r--r--
2023-12-15 13:44
admin_extrafields_edit.tpl.php
19.21
KB
-rw-r--r--
2023-12-15 13:44
admin_extrafields_view.tpl.php
9.07
KB
-rw-r--r--
2023-12-15 13:44
advtarget.tpl.php
22.92
KB
-rw-r--r--
2023-12-15 13:44
ajaxrow.tpl.php
5.09
KB
-rw-r--r--
2023-12-15 13:44
bloc_comment.tpl.php
5.04
KB
-rw-r--r--
2023-12-15 13:44
bloc_showhide.tpl.php
3.19
KB
-rw-r--r--
2023-12-15 13:44
card_presend.tpl.php
15.64
KB
-rw-r--r--
2023-12-15 13:44
commonfields_add.tpl.php
3.7
KB
-rw-r--r--
2023-12-15 13:44
commonfields_edit.tpl.php
3.91
KB
-rw-r--r--
2023-12-15 13:44
commonfields_view.tpl.php
6.81
KB
-rw-r--r--
2023-12-15 13:44
contacts.tpl.php
13.54
KB
-rw-r--r--
2023-12-15 13:44
document_actions_post_headers.tpl.php
4.41
KB
-rw-r--r--
2023-12-15 13:44
error.tpl.php
779
B
-rw-r--r--
2023-12-15 13:44
extrafields_add.tpl.php
1.8
KB
-rw-r--r--
2023-12-15 13:44
extrafields_edit.tpl.php
1.69
KB
-rw-r--r--
2023-12-15 13:44
extrafields_list_array_fields.tpl.php
1.8
KB
-rw-r--r--
2023-12-15 13:44
extrafields_list_print_fields.tpl.php
3.7
KB
-rw-r--r--
2023-12-15 13:44
extrafields_list_search_input.tpl.php
3.01
KB
-rw-r--r--
2023-12-15 13:44
extrafields_list_search_param.tpl.php
2.01
KB
-rw-r--r--
2023-12-15 13:44
extrafields_list_search_sql.tpl.php
3.14
KB
-rw-r--r--
2023-12-15 13:44
extrafields_list_search_title.tpl.php
2.04
KB
-rw-r--r--
2023-12-15 13:44
extrafields_view.tpl.php
13.18
KB
-rw-r--r--
2023-12-15 13:44
filemanager.tpl.php
14.4
KB
-rw-r--r--
2023-12-15 13:44
footer.tpl.php
779
B
-rw-r--r--
2023-12-15 13:44
header.tpl.php
787
B
-rw-r--r--
2023-12-15 13:44
list_print_total.tpl.php
1.88
KB
-rw-r--r--
2023-12-15 13:44
login.tpl.php
19.21
KB
-rw-r--r--
2023-12-15 13:44
massactions_pre.tpl.php
17.41
KB
-rw-r--r--
2023-12-15 13:44
notes.tpl.php
6.64
KB
-rw-r--r--
2023-12-15 13:44
object_discounts.tpl.php
6.16
KB
-rw-r--r--
2023-12-15 13:44
objectline_create.tpl.php
52.41
KB
-rw-r--r--
2023-12-15 13:44
objectline_edit.tpl.php
22.72
KB
-rw-r--r--
2023-12-15 13:44
objectline_title.tpl.php
8.55
KB
-rw-r--r--
2023-12-15 13:44
objectline_view.tpl.php
22.99
KB
-rw-r--r--
2023-12-15 13:44
objectlinked_lineimport.tpl.php
3.35
KB
-rw-r--r--
2023-12-15 13:44
onlinepaymentlinks.tpl.php
7.85
KB
-rw-r--r--
2023-12-15 13:44
originproductline.tpl.php
2.31
KB
-rw-r--r--
2023-12-15 13:44
passwordforgotten.tpl.php
11.26
KB
-rw-r--r--
2023-12-15 13:44
passwordreset.tpl.php
12.64
KB
-rw-r--r--
2023-12-15 13:44
resource_add.tpl.php
2.62
KB
-rw-r--r--
2023-12-15 13:44
resource_view.tpl.php
3.9
KB
-rw-r--r--
2023-12-15 13:44
Save
Rename
<?php /* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * * Need to have following variables defined: * $object (invoice, order, ...) * $action * $conf * $langs * * $keyforbreak may be defined to key to switch on second column */ // Protection to avoid direct call of template if (empty($conf) || !is_object($conf)) { print "Error, template page can't be called as URL"; exit; } if (!is_object($form)) { $form = new Form($db); } ?> <!-- BEGIN PHP TEMPLATE commonfields_view.tpl.php --> <?php $object->fields = dol_sort_array($object->fields, 'position'); foreach ($object->fields as $key => $val) { if (!empty($keyforbreak) && $key == $keyforbreak) { break; // key used for break on second column } // Discard if extrafield is a hidden field on form if (abs($val['visible']) != 1 && abs($val['visible']) != 3 && abs($val['visible']) != 4 && abs($val['visible']) != 5) { continue; } if (array_key_exists('enabled', $val) && isset($val['enabled']) && !verifCond($val['enabled'])) { continue; // We don't want this field } if (in_array($key, array('ref', 'status'))) { continue; // Ref and status are already in dol_banner } $value = $object->$key; print '<tr class="field_'.$key.'"><td'; print ' class="'.(empty($val['tdcss']) ? 'titlefield' : $val['tdcss']).' fieldname_'.$key; //if ($val['notnull'] > 0) print ' fieldrequired'; // No fieldrequired on the view output if ($val['type'] == 'text' || $val['type'] == 'html') { print ' tdtop'; } print '">'; $labeltoshow = ''; if (!empty($val['help'])) { $labeltoshow .= $form->textwithpicto($langs->trans($val['label']), $langs->trans($val['help'])); } else { if (isset($val['copytoclipboard']) && $val['copytoclipboard'] == 1) { $labeltoshow .= showValueWithClipboardCPButton($value, 0, $langs->transnoentitiesnoconv($val['label'])); } else { $labeltoshow .= $langs->trans($val['label']); } } if (empty($val['alwayseditable'])) { print $labeltoshow; } else { print $form->editfieldkey($labeltoshow, $key, $value, $object, 1, $val['type']); } print '</td>'; print '<td class="valuefield fieldname_'.$key; if ($val['type'] == 'text') { print ' wordbreak'; } if (!empty($val['cssview'])) { print ' '.$val['cssview']; } print '">'; if (empty($val['alwayseditable'])) { if (preg_match('/^(text|html)/', $val['type'])) { print '<div class="longmessagecut">'; } if ($key == 'lang') { $langs->load("languages"); $labellang = ($value ? $langs->trans('Language_'.$value) : ''); print picto_from_langcode($value, 'class="paddingrightonly saturatemedium opacitylow"'); print $labellang; } else { if (isset($val['copytoclipboard']) && $val['copytoclipboard'] == 2) { $out = $object->showOutputField($val, $key, $value, '', '', '', 0); print showValueWithClipboardCPButton($out, 0, $out); } else { print $object->showOutputField($val, $key, $value, '', '', '', 0); } } //print dol_escape_htmltag($object->$key, 1, 1); if (preg_match('/^(text|html)/', $val['type'])) { print '</div>'; } } else { print $form->editfieldval($labeltoshow, $key, $value, $object, 1, $val['type']); } print '</td>'; print '</tr>'; } print '</table>'; // We close div and reopen for second column print '</div>'; $rightpart = ''; $alreadyoutput = 1; foreach ($object->fields as $key => $val) { if ($alreadyoutput) { if (!empty($keyforbreak) && $key == $keyforbreak) { $alreadyoutput = 0; // key used for break on second column } else { continue; } } // Discard if extrafield is a hidden field on form if (abs($val['visible']) != 1 && abs($val['visible']) != 3 && abs($val['visible']) != 4 && abs($val['visible']) != 5) { continue; } if (array_key_exists('enabled', $val) && isset($val['enabled']) && !$val['enabled']) { continue; // We don't want this field } if (in_array($key, array('ref', 'status'))) { continue; // Ref and status are already in dol_banner } $value = $object->$key; $rightpart .= '<tr><td'; $rightpart .= ' class="'.(empty($val['tdcss']) ? 'titlefield' : $val['tdcss']).' fieldname_'.$key; //if ($val['notnull'] > 0) $rightpart .= ' fieldrequired'; // No fieldrequired inthe view output if ($val['type'] == 'text' || $val['type'] == 'html') { $rightpart .= ' tdtop'; } $rightpart.= '">'; $labeltoshow = ''; if (!empty($val['help'])) { $labeltoshow .= $form->textwithpicto($langs->trans($val['label']), $langs->trans($val['help'])); } else { if (isset($val['copytoclipboard']) && $val['copytoclipboard'] == 1) { $labeltoshow .= showValueWithClipboardCPButton($value, 0, $langs->transnoentitiesnoconv($val['label'])); } else { $labeltoshow .= $langs->trans($val['label']); } } if (empty($val['alwayseditable'])) { $rightpart .= $labeltoshow; } else { $rightpart .= $form->editfieldkey($labeltoshow, $key, $value, $object, 1, $val['type']); } $rightpart .= '</td>'; $rightpart .= '<td class="valuefield fieldname_'.$key; if ($val['type'] == 'text') { $rightpart .= ' wordbreak'; } if (!empty($val['cssview'])) { $rightpart .= ' '.$val['cssview']; } $rightpart .= '">'; if (empty($val['alwayseditable'])) { if (preg_match('/^(text|html)/', $val['type'])) { $rightpart .= '<div class="longmessagecut">'; } if ($key == 'lang') { $langs->load("languages"); $labellang = ($value ? $langs->trans('Language_'.$value) : ''); $rightpart .= picto_from_langcode($value, 'class="paddingrightonly saturatemedium opacitylow"'); $rightpart .= $labellang; } else { if (isset($val['copytoclipboard']) && $val['copytoclipboard'] == 2) { $out = $object->showOutputField($val, $key, $value, '', '', '', 0); $rightpart .= showValueWithClipboardCPButton($out, 0, $out); } else { $rightpart.= $object->showOutputField($val, $key, $value, '', '', '', 0); } } if (preg_match('/^(text|html)/', $val['type'])) { $rightpart .= '</div>'; } } else { $rightpart .= $form->editfieldval($labeltoshow, $key, $value, $object, 1, $val['type']); } $rightpart .= '</td>'; $rightpart .= '</tr>'; } print '<div class="fichehalfright">'; print '<div class="underbanner clearboth"></div>'; print '<table class="border centpercent tableforfield">'; print $rightpart; ?> <!-- END PHP TEMPLATE commonfields_view.tpl.php -->