mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX: if we stop for security purpose, we must exit a non zero value.
This commit is contained in:
parent
00ab361fcf
commit
de58435ef1
|
|
@ -24,7 +24,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$code = getDolGlobalString('MAIN_INFO_ACCOUNTANT_CODE');
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
echo "<!-- BEGIN PHP TEMPLATE adherents/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_object($form)) {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_object($form)) {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_object($form)) {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_object($form)) {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_object($form)) {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE commande/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE bom/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ require_once DOL_DOCUMENT_ROOT."/product/class/html.formproduct.class.php";
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ require_once DOL_DOCUMENT_ROOT.'/workstation/class/workstation.class.php';
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE commande/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE compta/facture/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($langs) || !is_object($langs)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
global $action, $form, $langs;
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Require
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($blocname)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$hide = true; // Hide by default
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$fileparams = array();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
if (!is_object($form)) {
|
||||
$form = new Form($db);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
if (!is_object($form)) {
|
||||
$form = new Form($db);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (empty($preselectedtypeofcontact)) {
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($langs) || !is_object($langs)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (empty($extrafieldsobjectkey) && is_object($object)) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (empty($extrafieldsobjectkey) && is_object($object)) {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ print '<!-- extrafields_list_search_input.tpl.php -->'."\n";
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (empty($extrafieldsobjectkey) && is_object($object)) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Loop to complete $param for extrafields
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (empty($extrafieldsobjectkey) && is_object($object)) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (empty($extrafieldsobjectkey) && is_object($object)) {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_object($form)) {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ if (!defined('NOBROWSERNOTIF')) {
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// DDOS protection
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// $permissionnote must be defined by caller. For example $permissionnote=$user->rights->module->create
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$objectUrl = $object->getNomUrl(0, '', 0, 1);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php';
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ if (!defined('NOBROWSERNOTIF')) {
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// DDOS protection
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ if (!defined('NOBROWSERNOTIF')) {
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// DDOS protection
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE delivery/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
echo "<!-- BEGIN PHP TEMPLATE eventorganization/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE hrm/core/tpl/objectline_title.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $mysoc;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!empty($object->table_element_line)) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE mrp/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this';
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $langs;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print '
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $langs;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $langs;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $langs;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $conf, $langs;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($context) || !is_object($context)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
global $conf, $hookmanager, $langs;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
$contact = $GLOBALS['objcanvas']->control->object;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print '<!-- linesalesrepresentative.tpl.php -->';
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($conf) || !is_object($conf)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE ticket/tpl/linkedobjectblock.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Define colspan for the button 'Add'
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
print "<!-- BEGIN PHP TEMPLATE productattributevalueline_title.tpl.php -->\n";
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
// Protection to avoid direct call of template
|
||||
if (empty($object) || !is_object($object)) {
|
||||
print "Error, template page can't be called as URL";
|
||||
exit;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
'@phan-var-force CommonObject $this
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user