Constants

From XtConcordia

xtConcordia


The Constants table is populated with a lot of names/values which are required to let XtConcordia work. This page gives an overview which modules/panels use them and how they function. If a variable is not related to a specific module/panel, it's marked being used by "core".

Table of contents

generation_counter

Used by: core
Type: integer
The value is incremented by one each time a page is generated. This is not a unique hit counter. If count_generation is unset, this one won't be update.

count_generation

Used by: core
Type: integer
If set (1) page generation is counted in generation_counter.

organisation

Used by: core
Type: string
The name of the organisation.

activate_website

Used by: core
Type: integer
If false (0), the website won't be accessable and an unavailable message will be displayed.

theme

Used by: core
Type: string
The (directory) name of the theme to use. If the theme can't be found, "default" theme will be used. And if that one doesn't exist anymore ... well, that's stupid.

show_news_banner

Used by: modules/news.php
Type: integer
If true (1) show a banner before display the news articles. The banner is in fact html code defined in news_banner.

news_banner

Used by: modules/news.php
Type: string
The html code for the newsbanner. Only shown if show_news_banner is true (1).

limit_news

Used by: modules/news.php
Type: integer
Defines how many news items to display.

limit_news_arch

Used by: modules/news.php
Type: integer
Defines how many news items to display if the news archive is requested.

width_leftpanels

Used by: core
Type: integer
The width in pixels of the left panel area.

width_rightpanels

Used by: core
Type: integer
The width in pixels of the right panel area.

startpage_id

Used by: core
Type: integer
The content id to go to if no was specified in URL.

under_construction_content

Used by: core
Type: string
Html code which is displayed when activate_website is false (0).

multi_lang

Used by: core
Type: integer
Defines how many language sets are supported (max 4)

lang_set_x

Used by: core
Type: string
Associates a two letter code to each language set.

birthday_upper

Used by: modules/register.php
Type: integer
Upper boundary allowed birth years

birthday_lower

Used by: modules/register.php
Type: integer
Lower boundary allowed birth years

reg_lan_pwd

Used by: modules/register.php
Type: string
Default password to fill in when registring in lan_mode

password_min

Used by: core
Type: integer
Minimum password length. Remember, only numeric and alfa-numeric characters are allowed in passwords.

password_max

Used by: core
Type: integer
Maximum password length. Remember, only numeric and alfa-numeric characters are allowed in passwords.

Navigation