XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence du fichier defines.php

Espaces de nommage

 kernel
 

Variables

const XOOPS_SIDEBLOCK_LEFT 0
 
const XOOPS_SIDEBLOCK_RIGHT 1
 
const XOOPS_SIDEBLOCK_BOTH 2
 
const XOOPS_CENTERBLOCK_LEFT 3
 
const XOOPS_CENTERBLOCK_RIGHT 4
 
const XOOPS_CENTERBLOCK_CENTER 5
 
const XOOPS_CENTERBLOCK_ALL 6
 
const XOOPS_CENTERBLOCK_BOTTOMLEFT 7
 
const XOOPS_CENTERBLOCK_BOTTOMRIGHT 8
 
const XOOPS_CENTERBLOCK_BOTTOM 9
 
const XOOPS_FOOTERBLOCK_LEFT 10
 
const XOOPS_FOOTERBLOCK_RIGHT 11
 
const XOOPS_FOOTERBLOCK_CENTER 12
 
const XOOPS_FOOTERBLOCK_ALL 13
 
const XOOPS_BLOCK_INVISIBLE 0
 
const XOOPS_BLOCK_VISIBLE 1
 
const XOOPS_MATCH_START 0
 
const XOOPS_MATCH_END 1
 
const XOOPS_MATCH_EQUAL 2
 
const XOOPS_MATCH_CONTAIN 3
 
const XOOPS_THEME_PATH XOOPS_ROOT_PATH . '/themes'
 
const XOOPS_ADMINTHEME_PATH XOOPS_ROOT_PATH . '/modules/system/themes'
 
const XOOPS_UPLOAD_PATH XOOPS_ROOT_PATH . '/uploads'
 
const XOOPS_LIBRARY_PATH XOOPS_ROOT_PATH . '/libraries'
 
const XOOPS_THEME_URL XOOPS_URL . '/themes'
 
const XOOPS_ADMINTHEME_URL XOOPS_URL . '/modules/system/themes'
 
const XOOPS_UPLOAD_URL XOOPS_URL . '/uploads'
 
const XOOPS_LIBRARY_URL XOOPS_URL . '/libraries'
 
const XOOPS_COMPILE_PATH XOOPS_VAR_PATH . '/caches/smarty_compile'
 
const XOOPS_CACHE_PATH XOOPS_VAR_PATH . '/caches/xoops_cache'
 
if(!defined('XOOPS_XMLRPC')) else
 
 $xoops_url = XOOPS_URL
 
const _XOOPS_FATAL_MESSAGE "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8;charset=utf-8' /> <title>Internal server error</title> <style type='text/css'> * { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;} body {font-size: 12px; background-color: #f0f0f0; <!--text-align: center;--> } #xo-siteblocked { border: 1px solid #c0c4c0; width: 375px; height: 318px; margin: 150px auto; text-align: center; background-color: #fff; background-image: url({$xoops_url}/images/img_errors.png); background-repeat: no-repeat; background-position: 30px 50px; padding-left: 300px; padding-right: 30px; border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; } #xo-siteblocked h1 {font-size: 1.7em; margin: 45px 0 30px 0;} #xo-siteblocked h2 {font-size: 1.5em; margin: 0 0 30px 0;} #xo-siteblocked h1, h2 {font-weight: normal; text-shadow: 1px 1px 2px #ccc;} #xo-siteblocked a, #xo-siteblocked a:visited {color: #2cb0ff; text-decoration: none;} #xo-siteblocked p { font-size: 1.3em; margin-top: 12px; line-height: 2em;} #xo-siteblocked p.xo-siteblocked-message { height: 70px;} #xo-siteblocked p.xo-siteblocked-desc { font-size: .9em; font-style: italic; margin-top: 25px;} </style> </head> <body> <div id='xo-siteblocked'> <h1>A problem has occurred on our server!</h1> <h2>Page is currently unavailable</h2> <p class='xo-siteblocked-message'>We are working on a fix<br><a href='/'>Please come back soon ...</a></p> <p class='xo-siteblocked-desc'>Error : %s</p> </div> </body> </html>"
 
const _XOOPS_FATAL_BACKTRACE 'Backtrace'
 

Documentation des variables

◆ $xoops_url

$xoops_url = XOOPS_URL

User Mulitbytes

◆ _XOOPS_FATAL_BACKTRACE

const _XOOPS_FATAL_BACKTRACE 'Backtrace'

◆ _XOOPS_FATAL_MESSAGE

const _XOOPS_FATAL_MESSAGE "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8;charset=utf-8' /> <title>Internal server error</title> <style type='text/css'> * { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;} body {font-size: 12px; background-color: #f0f0f0; <!--text-align: center;--> } #xo-siteblocked { border: 1px solid #c0c4c0; width: 375px; height: 318px; margin: 150px auto; text-align: center; background-color: #fff; background-image: url({$xoops_url}/images/img_errors.png); background-repeat: no-repeat; background-position: 30px 50px; padding-left: 300px; padding-right: 30px; border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; } #xo-siteblocked h1 {font-size: 1.7em; margin: 45px 0 30px 0;} #xo-siteblocked h2 {font-size: 1.5em; margin: 0 0 30px 0;} #xo-siteblocked h1, h2 {font-weight: normal; text-shadow: 1px 1px 2px #ccc;} #xo-siteblocked a, #xo-siteblocked a:visited {color: #2cb0ff; text-decoration: none;} #xo-siteblocked p { font-size: 1.3em; margin-top: 12px; line-height: 2em;} #xo-siteblocked p.xo-siteblocked-message { height: 70px;} #xo-siteblocked p.xo-siteblocked-desc { font-size: .9em; font-style: italic; margin-top: 25px;} </style> </head> <body> <div id='xo-siteblocked'> <h1>A problem has occurred on our server!</h1> <h2>Page is currently unavailable</h2> <p class='xo-siteblocked-message'>We are working on a fix<br><a href='/'>Please come back soon ...</a></p> <p class='xo-siteblocked-desc'>Error : %s</p> </div> </body> </html>"

◆ else

if (!defined( 'XOOPS_XMLRPC')) else
Valeur initiale :
{
define('XOOPS_DB_CHKREF', 0)

◆ XOOPS_ADMINTHEME_PATH

const XOOPS_ADMINTHEME_PATH XOOPS_ROOT_PATH . '/modules/system/themes'

◆ XOOPS_ADMINTHEME_URL

const XOOPS_ADMINTHEME_URL XOOPS_URL . '/modules/system/themes'

◆ XOOPS_BLOCK_INVISIBLE

const XOOPS_BLOCK_INVISIBLE 0

◆ XOOPS_BLOCK_VISIBLE

const XOOPS_BLOCK_VISIBLE 1

◆ XOOPS_CACHE_PATH

const XOOPS_CACHE_PATH XOOPS_VAR_PATH . '/caches/xoops_cache'

◆ XOOPS_CENTERBLOCK_ALL

const XOOPS_CENTERBLOCK_ALL 6

◆ XOOPS_CENTERBLOCK_BOTTOM

const XOOPS_CENTERBLOCK_BOTTOM 9

◆ XOOPS_CENTERBLOCK_BOTTOMLEFT

const XOOPS_CENTERBLOCK_BOTTOMLEFT 7

◆ XOOPS_CENTERBLOCK_BOTTOMRIGHT

const XOOPS_CENTERBLOCK_BOTTOMRIGHT 8

◆ XOOPS_CENTERBLOCK_CENTER

const XOOPS_CENTERBLOCK_CENTER 5

◆ XOOPS_CENTERBLOCK_LEFT

const XOOPS_CENTERBLOCK_LEFT 3

◆ XOOPS_CENTERBLOCK_RIGHT

const XOOPS_CENTERBLOCK_RIGHT 4

◆ XOOPS_COMPILE_PATH

const XOOPS_COMPILE_PATH XOOPS_VAR_PATH . '/caches/smarty_compile'

◆ XOOPS_FOOTERBLOCK_ALL

const XOOPS_FOOTERBLOCK_ALL 13

◆ XOOPS_FOOTERBLOCK_CENTER

const XOOPS_FOOTERBLOCK_CENTER 12

◆ XOOPS_FOOTERBLOCK_LEFT

const XOOPS_FOOTERBLOCK_LEFT 10

◆ XOOPS_FOOTERBLOCK_RIGHT

const XOOPS_FOOTERBLOCK_RIGHT 11

◆ XOOPS_LIBRARY_PATH

const XOOPS_LIBRARY_PATH XOOPS_ROOT_PATH . '/libraries'

◆ XOOPS_LIBRARY_URL

const XOOPS_LIBRARY_URL XOOPS_URL . '/libraries'

◆ XOOPS_MATCH_CONTAIN

const XOOPS_MATCH_CONTAIN 3

◆ XOOPS_MATCH_END

const XOOPS_MATCH_END 1

◆ XOOPS_MATCH_EQUAL

const XOOPS_MATCH_EQUAL 2

◆ XOOPS_MATCH_START

const XOOPS_MATCH_START 0

◆ XOOPS_SIDEBLOCK_BOTH

const XOOPS_SIDEBLOCK_BOTH 2

◆ XOOPS_SIDEBLOCK_LEFT

const XOOPS_SIDEBLOCK_LEFT 0

Define required Defines (I guess lol )

◆ XOOPS_SIDEBLOCK_RIGHT

const XOOPS_SIDEBLOCK_RIGHT 1

◆ XOOPS_THEME_PATH

const XOOPS_THEME_PATH XOOPS_ROOT_PATH . '/themes'

◆ XOOPS_THEME_URL

const XOOPS_THEME_URL XOOPS_URL . '/themes'

◆ XOOPS_UPLOAD_PATH

const XOOPS_UPLOAD_PATH XOOPS_ROOT_PATH . '/uploads'

◆ XOOPS_UPLOAD_URL

const XOOPS_UPLOAD_URL XOOPS_URL . '/uploads'
define
added define('THEME_TOOLBAR_THIS_MODULE', 'This Module')