1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Update e_dashboard.php

Localisation explaining text, using existing LAN Def from English/lan_userclass php
This commit is contained in:
leo
2018-11-25 13:17:09 +01:00
committed by GitHub
parent 96647b445e
commit 76b87e89d8

View File

@@ -331,7 +331,7 @@ class user_dashboard // plugin-folder + '_url'
// $this->title = 'Registered '.date('M Y',$month_start).' ('.$sum.')';
$this->title = 'New Users ('.$sum.')';
$this->title = ''.UC_LAN_9.' ('.$sum.')';
$totalDays = date('t', $month_start);
@@ -348,7 +348,7 @@ class user_dashboard // plugin-folder + '_url'
$options = array(
'chartArea' =>array('left'=>'60', 'width'=>'90%', 'top'=>'25'),
'legend' => array('position'=> 'none', 'alignment'=>'center', 'textStyle' => array('fontSize' => 14, 'color' => '#ccc')),
'vAxis' => array('title'=>'New Users', 'minValue'=>0, 'maxValue'=>10, 'titleFontSize'=>16, 'titleTextStyle'=>array('color' => '#ccc'), 'gridlines'=>array('color'=>'#696969', 'count'=>5), 'format'=>'', 'textStyle'=>array('color' => '#ccc') ),
'vAxis' => array('title'=>''.UC_LAN_9.'', 'minValue'=>0, 'maxValue'=>10, 'titleFontSize'=>16, 'titleTextStyle'=>array('color' => '#ccc'), 'gridlines'=>array('color'=>'#696969', 'count'=>5), 'format'=>'', 'textStyle'=>array('color' => '#ccc') ),
'hAxis' => array('title'=>date('M Y', $month_start), 'slantedText'=>true, 'slantedTextAngle'=>60, 'ticks'=>$ticks, 'titleFontSize'=>14, 'titleTextStyle'=>array('color' => '#ccc'), 'gridlines' => array('color'=>'transparent'), 'textStyle'=>array('color' => '#ccc') ),
'colors' => array('#77acd9','#EDA0B6', '#EE8D21', '#5CB85C'),
'animation' => array('duration'=>1000, 'easing' => 'out'),
@@ -503,4 +503,4 @@ class user_dashboard // plugin-folder + '_url'
}
}