summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/classes/graph.inc.php2
-rw-r--r--frontends/php/include/config.inc.php3
-rw-r--r--frontends/php/include/locales/en_gb.inc.php2
3 files changed, 5 insertions, 2 deletions
diff --git a/frontends/php/include/classes/graph.inc.php b/frontends/php/include/classes/graph.inc.php
index abd56005..53e6fb6c 100644
--- a/frontends/php/include/classes/graph.inc.php
+++ b/frontends/php/include/classes/graph.inc.php
@@ -272,7 +272,7 @@
if($value <= 0) $value = NULL;
if(is_null($value)) $value = 900;
- $this->sizeYi = $value;
+ $this->sizeY = $value;
}
function setBorder($border)
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 84105782..d85519cf 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -866,6 +866,9 @@ COpt::profiling_start("page");
if($noauth==0)
{
+ global $TRANSLATION;
+ if(!isset($TRANSLATION) || !is_array($TRANSLATION)) $TRANSLATION = array();
+
check_authorisation();
include_once "include/locales/".$USER_DETAILS["lang"].".inc.php";
process_locales();
diff --git a/frontends/php/include/locales/en_gb.inc.php b/frontends/php/include/locales/en_gb.inc.php
index 26e03bd0..82fcd6b8 100644
--- a/frontends/php/include/locales/en_gb.inc.php
+++ b/frontends/php/include/locales/en_gb.inc.php
@@ -779,7 +779,7 @@
"S_VERTICAL_ALIGN"=> "Vertical align",
"S_TOP"=> "Top",
"S_MIDDLE"=> "Middle",
- "S_BOTTOM"=> "Buttom",
+ "S_BOTTOM"=> "Bottom",
// screens.php
"S_CUSTOM_SCREENS"=> "Custom screens",