Add @ignore so scrutinizer ignores duplicate definition of llxHeader
This commit is contained in:
parent
eb20df8e64
commit
3f2ba2780f
@ -39,6 +39,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX', '1');
|
|||||||
/**
|
/**
|
||||||
* Empty header
|
* Empty header
|
||||||
*
|
*
|
||||||
|
* @ignore
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function llxHeader()
|
function llxHeader()
|
||||||
@ -48,9 +49,11 @@ function llxHeader()
|
|||||||
print '<title>Asterisk redirection from Dolibarr...</title>'."\n";
|
print '<title>Asterisk redirection from Dolibarr...</title>'."\n";
|
||||||
print '</head>'."\n";
|
print '</head>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Empty footer
|
* Empty footer
|
||||||
*
|
*
|
||||||
|
* @ignore
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function llxFooter()
|
function llxFooter()
|
||||||
|
|||||||
@ -55,6 +55,7 @@ if ((isset($_GET["modulepart"]) && $_GET["modulepart"] == 'medias'))
|
|||||||
/**
|
/**
|
||||||
* Header empty
|
* Header empty
|
||||||
*
|
*
|
||||||
|
* @ignore
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function llxHeader()
|
function llxHeader()
|
||||||
@ -63,6 +64,7 @@ function llxHeader()
|
|||||||
/**
|
/**
|
||||||
* Footer empty
|
* Footer empty
|
||||||
*
|
*
|
||||||
|
* @ignore
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function llxFooter()
|
function llxFooter()
|
||||||
|
|||||||
@ -21,12 +21,23 @@
|
|||||||
* \brief Show example of import file
|
* \brief Show example of import file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// This file is a wrapper, so empty header
|
/**
|
||||||
|
* This file is a wrapper, so empty header
|
||||||
|
*
|
||||||
|
* @ignore
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function llxHeader()
|
function llxHeader()
|
||||||
{
|
{
|
||||||
print '<html><title>Build an import example file</title><body>';
|
print '<html><title>Build an import example file</title><body>';
|
||||||
}
|
}
|
||||||
// This file is a wrapper, so empty footer
|
|
||||||
|
/**
|
||||||
|
* This file is a wrapper, so empty footer
|
||||||
|
*
|
||||||
|
* @ignore
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
function llxFooter()
|
function llxFooter()
|
||||||
{
|
{
|
||||||
print '</body></html>';
|
print '</body></html>';
|
||||||
|
|||||||
@ -122,7 +122,7 @@ function get_server_name()
|
|||||||
global $dolibarr_main_url_root;
|
global $dolibarr_main_url_root;
|
||||||
|
|
||||||
$urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
|
$urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
|
||||||
$urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
//$urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
|
||||||
//$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
|
//$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
|
||||||
|
|
||||||
$url=$urlwithouturlroot.dol_buildpath('/opensurvey/', 1);
|
$url=$urlwithouturlroot.dol_buildpath('/opensurvey/', 1);
|
||||||
|
|||||||
@ -66,6 +66,7 @@ if (is_numeric($entity)) define("DOLENTITY", $entity);
|
|||||||
/**
|
/**
|
||||||
* Header empty
|
* Header empty
|
||||||
*
|
*
|
||||||
|
* @ignore
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function llxHeader()
|
function llxHeader()
|
||||||
@ -74,6 +75,7 @@ function llxHeader()
|
|||||||
/**
|
/**
|
||||||
* Footer empty
|
* Footer empty
|
||||||
*
|
*
|
||||||
|
* @ignore
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function llxFooter()
|
function llxFooter()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user