dolibarr 21.0.0-alpha
document.php File Reference

Wrapper to download data files. More...

Go to the source code of this file.

Functions

if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) if(isset($_GET["hashp"]) &&!defined("NOLOGIN")) if((isset( $_GET["modulepart"]) &&$_GET["modulepart"]=='medias')) llxHeader ($head='', $title='', $help_url='', $target='', $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='', $morequerystring='', $morecssonbody='', $replacemainareaby='', $disablenofollow=0, $disablenoindex=0)
 Header empty.
 
 llxFooter ()
 Footer empty.
 

Detailed Description

Wrapper to download data files.

Remarks
Call of this wrapper is made with URL: DOL_URL_ROOT.'/document.php?modulepart=repfichierconcerne&file=relativepathoffile' DOL_URL_ROOT.'/document.php?modulepart=logs&file=dolibarr.log' DOL_URL_ROOT.'/document.php?hashp=sharekey'

Definition in file document.php.

Function Documentation

◆ llxFooter()

llxFooter ( )

Footer empty.

@ignore

Returns
void

Definition at line 107 of file document.php.

Referenced by accessforbidden(), and moduleBuilderShutdownFunction().

◆ llxHeader()

if(!defined( 'NOTOKENRENEWAL')) if(!defined('NOREQUIREMENU')) if(!defined( 'NOREQUIREHTML')) if(!defined('NOREQUIREAJAX')) if(isset( $_GET["hashp"]) &&!defined("NOLOGIN")) if((isset($_GET["modulepart"]) && $_GET["modulepart"]=='medias')) llxHeader ( $head = '',
$title = '',
$help_url = '',
$target = '',
$disablejs = 0,
$disablehead = 0,
$arrayofjs = '',
$arrayofcss = '',
$morequerystring = '',
$morecssonbody = '',
$replacemainareaby = '',
$disablenofollow = 0,
$disablenoindex = 0 )

Header empty.

Parameters
string$headOptional head lines
string$titleHTML title
string$help_urlUrl links to help page Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage|DE:GermanPage For other external page: http://server/url
string$targetTarget to use on links
int$disablejsMore content into html header
int$disableheadMore content into html header
string[] | string$arrayofjsArray of complementary js files
string[] | string$arrayofcssArray of complementary css files
string$morequerystringQuery string to add to the link "print" to get same parameters (use only if autodetect fails)
string$morecssonbodyMore CSS on body tag. For example 'classforhorizontalscrolloftabs'.
string$replacemainareabyReplace call to main_area() by a print of this string
int$disablenofollowDisable the "nofollow" on meta robot header
int$disablenoindexDisable the "noindex" on meta robot header
Returns
void

Definition at line 98 of file document.php.