Passed
Push — master ( a82a12...289cbe )
by Anton
03:10
created
www/engine/System/Classes/Utils/Template/Variables.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,9 @@
 block discarded – undo
14 14
 
15 15
 			DB::select(TABLE_VARIABLES, ['name', 'value'], null, ['name' => 'ASC']);
16 16
 
17
-			if (!(DB::getLast() && DB::getLast()->status)) return;
17
+			if (!(DB::getLast() && DB::getLast()->status)) {
18
+				return;
19
+			}
18 20
 
19 21
 			# Process results
20 22
 
Please login to merge, or discard this patch.
www/engine/System/Classes/Utils/Template/Widgets.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,15 @@
 block discarded – undo
12 12
 
13 13
 			# Process selection
14 14
 
15
-			if (0 === count($name = array_keys(Template::getWidgets()))) return;
15
+			if (0 === count($name = array_keys(Template::getWidgets()))) {
16
+				return;
17
+			}
16 18
 
17 19
 			DB::select(TABLE_WIDGETS, ['name', 'contents'], ['active' => 1, 'name' => $name], ['name' => 'ASC']);
18 20
 
19
-			if (!(DB::getLast() && DB::getLast()->status)) return;
21
+			if (!(DB::getLast() && DB::getLast()->status)) {
22
+				return;
23
+			}
20 24
 
21 25
 			# Process results
22 26
 
Please login to merge, or discard this patch.
www/engine/System/Classes/Utils/SEO.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
 		public static function robots() {
73 73
 
74
-			return ((self::robotsIndex() ? 'INDEX' : 'NOINDEX') . ',' . (self::robotsFollow() ? 'FOLLOW' : 'NOFOLLOW'));
74
+			return ((self::robotsIndex() ? 'INDEX' : 'NOINDEX').','.(self::robotsFollow() ? 'FOLLOW' : 'NOFOLLOW'));
75 75
 		}
76 76
 	}
77 77
 }
Please login to merge, or discard this patch.
Braces   +18 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,7 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
 		public static function title(string $value = null) {
19 19
 
20
-			if (null === $value) return (self::$data['title'] ?? false);
20
+			if (null === $value) {
21
+				return (self::$data['title'] ?? false);
22
+			}
21 23
 
22 24
 			self::$data['title'] = $value;
23 25
 		}
@@ -26,7 +28,9 @@  discard block
 block discarded – undo
26 28
 
27 29
 		public static function description(string $value = null) {
28 30
 
29
-			if (null === $value) return (self::$data['description'] ?? false);
31
+			if (null === $value) {
32
+				return (self::$data['description'] ?? false);
33
+			}
30 34
 
31 35
 			self::$data['description'] = $value;
32 36
 		}
@@ -35,7 +39,9 @@  discard block
 block discarded – undo
35 39
 
36 40
 		public static function keywords(string $value = null) {
37 41
 
38
-			if (null === $value) return (self::$data['keywords'] ?? false);
42
+			if (null === $value) {
43
+				return (self::$data['keywords'] ?? false);
44
+			}
39 45
 
40 46
 			self::$data['keywords'] = $value;
41 47
 		}
@@ -44,7 +50,9 @@  discard block
 block discarded – undo
44 50
 
45 51
 		public static function robotsIndex(bool $value = null) {
46 52
 
47
-			if (null === $value) return (self::$data['robots_index'] ?? false);
53
+			if (null === $value) {
54
+				return (self::$data['robots_index'] ?? false);
55
+			}
48 56
 
49 57
 			self::$data['robots_index'] = $value;
50 58
 		}
@@ -53,7 +61,9 @@  discard block
 block discarded – undo
53 61
 
54 62
 		public static function robotsFollow(bool $value = null) {
55 63
 
56
-			if (null === $value) return (self::$data['robots_follow'] ?? false);
64
+			if (null === $value) {
65
+				return (self::$data['robots_follow'] ?? false);
66
+			}
57 67
 
58 68
 			self::$data['robots_follow'] = $value;
59 69
 		}
@@ -62,7 +72,9 @@  discard block
 block discarded – undo
62 72
 
63 73
 		public static function canonical(string $value = null) {
64 74
 
65
-			if (null === $value) return (self::$data['canonical'] ?? false);
75
+			if (null === $value) {
76
+				return (self::$data['canonical'] ?? false);
77
+			}
66 78
 
67 79
 			self::$data['canonical'] = $value;
68 80
 		}
Please login to merge, or discard this patch.
www/engine/System/Classes/Frames/Admin/View.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
 		private function getTitle() : string {
23 23
 
24
-			return ((('' !== $this->title) ? (Language::get($this->title) . ' | ') : '') . CADMIUM_NAME);
24
+			return ((('' !== $this->title) ? (Language::get($this->title).' | ') : '').CADMIUM_NAME);
25 25
 		}
26 26
 
27 27
 		/**
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
 		protected function _display(Template\Block $layout) {
32 32
 
33
-			$view = View::get('Main/' . $this->view);
33
+			$view = View::get('Main/'.$this->view);
34 34
 
35 35
 			# Set language
36 36
 
Please login to merge, or discard this patch.
www/engine/System/Classes/Frames/Section.php 2 patches
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
 			foreach (array_unique($languages) as $path) foreach ($phrases as $name) {
36 36
 
37
-				Language::load($path . 'Phrases/' . $name . '.php');
37
+				Language::load($path.'Phrases/'.$name.'.php');
38 38
 			}
39 39
 		}
40 40
 
@@ -44,24 +44,24 @@  discard block
 block discarded – undo
44 44
 
45 45
 		private function setGlobals() {
46 46
 
47
-			Template::setGlobal('cadmium_home',         CADMIUM_HOME);
48
-			Template::setGlobal('cadmium_copy',         CADMIUM_COPY);
49
-			Template::setGlobal('cadmium_name',         CADMIUM_NAME);
50
-			Template::setGlobal('cadmium_version',      CADMIUM_VERSION);
47
+			Template::setGlobal('cadmium_home', CADMIUM_HOME);
48
+			Template::setGlobal('cadmium_copy', CADMIUM_COPY);
49
+			Template::setGlobal('cadmium_name', CADMIUM_NAME);
50
+			Template::setGlobal('cadmium_version', CADMIUM_VERSION);
51 51
 
52
-			Template::setGlobal('template_name',        strtolower(Extend\Templates::active()));
52
+			Template::setGlobal('template_name', strtolower(Extend\Templates::active()));
53 53
 
54
-			Template::setGlobal('site_title',           Settings::get('site_title'));
55
-			Template::setGlobal('site_slogan',          Settings::get('site_slogan'));
54
+			Template::setGlobal('site_title', Settings::get('site_title'));
55
+			Template::setGlobal('site_slogan', Settings::get('site_slogan'));
56 56
 
57
-			Template::setGlobal('system_url',           Settings::get('system_url'));
58
-			Template::setGlobal('system_email',         Settings::get('system_email'));
57
+			Template::setGlobal('system_url', Settings::get('system_url'));
58
+			Template::setGlobal('system_email', Settings::get('system_email'));
59 59
 
60
-			Template::setGlobal('install_path',         INSTALL_PATH);
60
+			Template::setGlobal('install_path', INSTALL_PATH);
61 61
 
62
-			Template::setGlobal('index_page',           (('' !== INSTALL_PATH) ? INSTALL_PATH : '/'));
62
+			Template::setGlobal('index_page', (('' !== INSTALL_PATH) ? INSTALL_PATH : '/'));
63 63
 
64
-			Template::setGlobal('current_year',         Date::getYear());
64
+			Template::setGlobal('current_year', Date::getYear());
65 65
 		}
66 66
 
67 67
 		/**
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,10 +32,12 @@  discard block
 block discarded – undo
32 32
 
33 33
 			$phrases = array_merge(static::PHRASES, array_keys(Extend\Addons::items() ?? []));
34 34
 
35
-			foreach (array_unique($languages) as $path) foreach ($phrases as $name) {
35
+			foreach (array_unique($languages) as $path) {
36
+				foreach ($phrases as $name) {
36 37
 
37 38
 				Language::load($path . 'Phrases/' . $name . '.php');
38 39
 			}
40
+			}
39 41
 		}
40 42
 
41 43
 		/**
@@ -86,7 +88,9 @@  discard block
 block discarded – undo
86 88
 
87 89
 			# Set timezone
88 90
 
89
-			if (Auth::isLogged() && ('' !== ($timezone = Auth::get('timezone')))) date_default_timezone_set($timezone);
91
+			if (Auth::isLogged() && ('' !== ($timezone = Auth::get('timezone')))) {
92
+				date_default_timezone_set($timezone);
93
+			}
90 94
 
91 95
 			# Init utils
92 96
 
Please login to merge, or discard this patch.
www/engine/System/Classes/Frames/Site/View.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
 		private function getLayout(Template\Block $contents) : Template\Block {
24 24
 
25
-			$layout = View::get('Layouts/' . $this->layout);
25
+			$layout = View::get('Layouts/'.$this->layout);
26 26
 
27 27
 			# Set menu
28 28
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
 			$title = (SEO::title() ?: Language::get($this->title) ?: '');
80 80
 
81
-			$page->title = ((('' !== $title) ? ($title . ' | ') : '') . Settings::get('site_title'));
81
+			$page->title = ((('' !== $title) ? ($title.' | ') : '').Settings::get('site_title'));
82 82
 
83 83
 			# Set canonical
84 84
 
Please login to merge, or discard this patch.
Braces   +12 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,9 @@  discard block
 block discarded – undo
38 38
 
39 39
 				$layout->getBlock('user')->name = Auth::get('name');
40 40
 
41
-				if (Auth::get('rank') === RANK_ADMINISTRATOR) $layout->getBlock('admin')->enable();
41
+				if (Auth::get('rank') === RANK_ADMINISTRATOR) {
42
+					$layout->getBlock('admin')->enable();
43
+				}
42 44
 			}
43 45
 
44 46
 			# Set title
@@ -82,7 +84,9 @@  discard block
 block discarded – undo
82 84
 
83 85
 			# Set canonical
84 86
 
85
-			if (false !== SEO::canonical()) $page->getBlock('canonical')->enable()->link = SEO::canonical();
87
+			if (false !== SEO::canonical()) {
88
+				$page->getBlock('canonical')->enable()->link = SEO::canonical();
89
+			}
86 90
 
87 91
 			# Set layout
88 92
 
@@ -90,9 +94,13 @@  discard block
 block discarded – undo
90 94
 
91 95
 			# Set global components
92 96
 
93
-			foreach (Variables::generate() as $name => $value) Template::setGlobal($name, $value);
97
+			foreach (Variables::generate() as $name => $value) {
98
+				Template::setGlobal($name, $value);
99
+			}
94 100
 
95
-			foreach (Widgets::generate() as $name => $block) Template::setWidget($name, $block);
101
+			foreach (Widgets::generate() as $name => $block) {
102
+				Template::setWidget($name, $block);
103
+			}
96 104
 
97 105
 			# ------------------------
98 106
 
Please login to merge, or discard this patch.
www/engine/System/Languages/ru-RU/Phrases/Admin.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,11 +78,11 @@
 block discarded – undo
78 78
 	'DASHBOARD_LINK_INFORMATION'                => 'Больше информации',
79 79
 
80 80
 	'DASHBOARD_MESSAGE_INSTALL_REQUIREMENTS'    => 'Некоторые возможности могут быть недоступны из-за неверной конфигурации сервера. Подробнее на ' .
81
-	                                               '<a href="$install_path$/admin/system/information#diagnostics">странице диагностики</a>.',
81
+												   '<a href="$install_path$/admin/system/information#diagnostics">странице диагностики</a>.',
82 82
 	'DASHBOARD_MESSAGE_INSTALL_FILE'            => 'Установочный файл <b>install.php</b> по-прежнему находится в корневой директории сайта. ' .
83
-	                                               'Рекомендуется удалить его.',
83
+												   'Рекомендуется удалить его.',
84 84
 	'DASHBOARD_MESSAGE_SETTINGS_FILE'           => 'Похоже, Вы пока не редактировали настройки сайта. '.
85
-	                                               'Перейдите на <a href="$install_path$/admin/system/settings">страницу настроек</a> для ввода актуальных данных.',
85
+												   'Перейдите на <a href="$install_path$/admin/system/settings">страницу настроек</a> для ввода актуальных данных.',
86 86
 
87 87
 	# Pages
88 88
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@
 block discarded – undo
77 77
 	'DASHBOARD_LINK_SETTINGS'                   => 'Редактировать настройки',
78 78
 	'DASHBOARD_LINK_INFORMATION'                => 'Больше информации',
79 79
 
80
-	'DASHBOARD_MESSAGE_INSTALL_REQUIREMENTS'    => 'Некоторые возможности могут быть недоступны из-за неверной конфигурации сервера. Подробнее на ' .
80
+	'DASHBOARD_MESSAGE_INSTALL_REQUIREMENTS'    => 'Некоторые возможности могут быть недоступны из-за неверной конфигурации сервера. Подробнее на '.
81 81
 	                                               '<a href="$install_path$/admin/system/information#diagnostics">странице диагностики</a>.',
82
-	'DASHBOARD_MESSAGE_INSTALL_FILE'            => 'Установочный файл <b>install.php</b> по-прежнему находится в корневой директории сайта. ' .
82
+	'DASHBOARD_MESSAGE_INSTALL_FILE'            => 'Установочный файл <b>install.php</b> по-прежнему находится в корневой директории сайта. '.
83 83
 	                                               'Рекомендуется удалить его.',
84 84
 	'DASHBOARD_MESSAGE_SETTINGS_FILE'           => 'Похоже, Вы пока не редактировали настройки сайта. '.
85 85
 	                                               'Перейдите на <a href="$install_path$/admin/system/settings">страницу настроек</a> для ввода актуальных данных.',
Please login to merge, or discard this patch.
www/engine/System/Languages/uk-UA/Phrases/Admin.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,11 +78,11 @@
 block discarded – undo
78 78
 	'DASHBOARD_LINK_INFORMATION'                => 'Більше інформації',
79 79
 
80 80
 	'DASHBOARD_MESSAGE_INSTALL_REQUIREMENTS'    => 'Деякі можливості можуть бути недоступні через невірну конфігурацію сервера. Детальніше на ' .
81
-	                                               '<a href="$install_path$/admin/system/information#diagnostics">сторінці діагностики</a>.',
81
+												   '<a href="$install_path$/admin/system/information#diagnostics">сторінці діагностики</a>.',
82 82
 	'DASHBOARD_MESSAGE_INSTALL_FILE'            => 'Інсталяційний файл <b>install.php</b> досі знаходиться в кореневій директорії сайта. '.
83
-	                                               'Рекомендовано видалити його.',
83
+												   'Рекомендовано видалити його.',
84 84
 	'DASHBOARD_MESSAGE_SETTINGS_FILE'           => 'Схоже, Ви поки не редагували налаштування сайта. '.
85
-	                                               'Перейдіть на <a href="$install_path$/admin/system/settings">сторінку налаштувань</a> для введення актуальних даних.',
85
+												   'Перейдіть на <a href="$install_path$/admin/system/settings">сторінку налаштувань</a> для введення актуальних даних.',
86 86
 
87 87
 	# Pages
88 88
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 	'DASHBOARD_LINK_SETTINGS'                   => 'Редагувати налаштування',
78 78
 	'DASHBOARD_LINK_INFORMATION'                => 'Більше інформації',
79 79
 
80
-	'DASHBOARD_MESSAGE_INSTALL_REQUIREMENTS'    => 'Деякі можливості можуть бути недоступні через невірну конфігурацію сервера. Детальніше на ' .
80
+	'DASHBOARD_MESSAGE_INSTALL_REQUIREMENTS'    => 'Деякі можливості можуть бути недоступні через невірну конфігурацію сервера. Детальніше на '.
81 81
 	                                               '<a href="$install_path$/admin/system/information#diagnostics">сторінці діагностики</a>.',
82 82
 	'DASHBOARD_MESSAGE_INSTALL_FILE'            => 'Інсталяційний файл <b>install.php</b> досі знаходиться в кореневій директорії сайта. '.
83 83
 	                                               'Рекомендовано видалити його.',
Please login to merge, or discard this patch.
www/engine/System/Languages/en-US/Phrases/Install.php 2 patches
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -62,43 +62,43 @@
 block discarded – undo
62 62
 	'INSTALL_PAGE_INDEX_TITLE'                  => 'Home',
63 63
 
64 64
 	'INSTALL_PAGE_INDEX_CONTENTS'               => '<h2>Welcome!</h2>' .
65
-	                                               '<p>This is the demo site, powered by <strong>Cadmium CMS</strong>.</p>' .
66
-	                                               '<p>You can log into the admin panel by following <a href="$install_path$/admin">this link</a>.</p>' .
67
-	                                               '<h2>See also</h2>' .
68
-	                                               '<ul><li><a href="http://cadmium-cms.com" target="_blank">Official website</a></li>' .
69
-	                                               '<li><a href="https://github.com/cadmium-org/cadmium-cms" target="_blank">GitHub project page</a></ul>',
65
+												   '<p>This is the demo site, powered by <strong>Cadmium CMS</strong>.</p>' .
66
+												   '<p>You can log into the admin panel by following <a href="$install_path$/admin">this link</a>.</p>' .
67
+												   '<h2>See also</h2>' .
68
+												   '<ul><li><a href="http://cadmium-cms.com" target="_blank">Official website</a></li>' .
69
+												   '<li><a href="https://github.com/cadmium-org/cadmium-cms" target="_blank">GitHub project page</a></ul>',
70 70
 
71 71
 	'INSTALL_PAGE_DEMO_TITLE'                   => 'Page',
72 72
 
73 73
 	'INSTALL_PAGE_DEMO_CONTENTS'                => '<h2>Lorem ipsum</h2>' .
74 74
 
75
-	                                               '<p>Lorem ipsum dolor sit amet, ex etiam facilis vim. ' .
76
-	                                               'Qui etiam soluta nostro no, te praesent consulatu eos. ' .
77
-	                                               'His at modus diceret referrentur, exerci viderer aperiri et sed. ' .
78
-	                                               'Ne errem appareat apeirian has, ut has eligendi comprehensam. ' .
79
-	                                               'His ea adipisci eloquentiam, nec id temporibus appellantur. ' .
80
-	                                               'Pri ut inermis persequeris contentiones, vel vidit ponderum cu.</p>' .
75
+												   '<p>Lorem ipsum dolor sit amet, ex etiam facilis vim. ' .
76
+												   'Qui etiam soluta nostro no, te praesent consulatu eos. ' .
77
+												   'His at modus diceret referrentur, exerci viderer aperiri et sed. ' .
78
+												   'Ne errem appareat apeirian has, ut has eligendi comprehensam. ' .
79
+												   'His ea adipisci eloquentiam, nec id temporibus appellantur. ' .
80
+												   'Pri ut inermis persequeris contentiones, vel vidit ponderum cu.</p>' .
81 81
 
82
-	                                               '<h3>Vix no suas populo</h3>' .
82
+												   '<h3>Vix no suas populo</h3>' .
83 83
 
84
-	                                               '<p>Vix no suas populo. Mea inani utinam ex. Duo vocibus noluisse partiendo ei. ' .
85
-	                                               'Impedit voluptatibus pro ut, ea probatus reformidans pri. ' .
86
-	                                               'An vix repudiandae complectitur, ex soluta numquam splendide nam.</p>' .
84
+												   '<p>Vix no suas populo. Mea inani utinam ex. Duo vocibus noluisse partiendo ei. ' .
85
+												   'Impedit voluptatibus pro ut, ea probatus reformidans pri. ' .
86
+												   'An vix repudiandae complectitur, ex soluta numquam splendide nam.</p>' .
87 87
 
88
-	                                               '<p>Mea ex novum contentiones, eleifend ocurreret voluptaria et usu. ' .
89
-	                                               'No mel illum nonumy maiorum, pro saperet disputando in. Cum ei tritani accusam incorrupte. ' .
90
-	                                               'Per animal saperet suavitate id, vim ex quod delicatissimi.</p>' .
88
+												   '<p>Mea ex novum contentiones, eleifend ocurreret voluptaria et usu. ' .
89
+												   'No mel illum nonumy maiorum, pro saperet disputando in. Cum ei tritani accusam incorrupte. ' .
90
+												   'Per animal saperet suavitate id, vim ex quod delicatissimi.</p>' .
91 91
 
92
-	                                               '<h3>Ea mea tantas delenit</h3>' .
92
+												   '<h3>Ea mea tantas delenit</h3>' .
93 93
 
94
-	                                               '<p>Ea mea tantas delenit, ut usu alii commune. ' .
95
-	                                               'Te vix decore dolore scribentur. Ad pri malis invidunt ullamcorper, ' .
96
-	                                               'qui eu laboramus vulputate scriptorem, id veri audiam integre pro. ' .
97
-	                                               'Saperet luptatum recusabo quo cu, ' .'vix facer dolores persecuti no. ' .
98
-	                                               'Eos id omnes affert possim. Vix id commune urbanitas.</p>' .
94
+												   '<p>Ea mea tantas delenit, ut usu alii commune. ' .
95
+												   'Te vix decore dolore scribentur. Ad pri malis invidunt ullamcorper, ' .
96
+												   'qui eu laboramus vulputate scriptorem, id veri audiam integre pro. ' .
97
+												   'Saperet luptatum recusabo quo cu, ' .'vix facer dolores persecuti no. ' .
98
+												   'Eos id omnes affert possim. Vix id commune urbanitas.</p>' .
99 99
 
100
-	                                               '<p>Cu eum quod prodesset, vix sale democritum delicatissimi et, ' .
101
-	                                               'putant viderer inimicus pro ut. Sea ut tamquam hendrerit definitionem, ' .
102
-	                                               'an quo illud persecuti, debet affert vis te. Mei ea omnes saepe nostrum. ' .
103
-	                                               'In sed denique iudicabit. Id eos equidem scribentur.</p>'
100
+												   '<p>Cu eum quod prodesset, vix sale democritum delicatissimi et, ' .
101
+												   'putant viderer inimicus pro ut. Sea ut tamquam hendrerit definitionem, ' .
102
+												   'an quo illud persecuti, debet affert vis te. Mei ea omnes saepe nostrum. ' .
103
+												   'In sed denique iudicabit. Id eos equidem scribentur.</p>'
104 104
 ];
Please login to merge, or discard this patch.
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -61,44 +61,44 @@
 block discarded – undo
61 61
 
62 62
 	'INSTALL_PAGE_INDEX_TITLE'                  => 'Home',
63 63
 
64
-	'INSTALL_PAGE_INDEX_CONTENTS'               => '<h2>Welcome!</h2>' .
65
-	                                               '<p>This is the demo site, powered by <strong>Cadmium CMS</strong>.</p>' .
66
-	                                               '<p>You can log into the admin panel by following <a href="$install_path$/admin">this link</a>.</p>' .
67
-	                                               '<h2>See also</h2>' .
68
-	                                               '<ul><li><a href="http://cadmium-cms.com" target="_blank">Official website</a></li>' .
64
+	'INSTALL_PAGE_INDEX_CONTENTS'               => '<h2>Welcome!</h2>'.
65
+	                                               '<p>This is the demo site, powered by <strong>Cadmium CMS</strong>.</p>'.
66
+	                                               '<p>You can log into the admin panel by following <a href="$install_path$/admin">this link</a>.</p>'.
67
+	                                               '<h2>See also</h2>'.
68
+	                                               '<ul><li><a href="http://cadmium-cms.com" target="_blank">Official website</a></li>'.
69 69
 	                                               '<li><a href="https://github.com/cadmium-org/cadmium-cms" target="_blank">GitHub project page</a></ul>',
70 70
 
71 71
 	'INSTALL_PAGE_DEMO_TITLE'                   => 'Page',
72 72
 
73
-	'INSTALL_PAGE_DEMO_CONTENTS'                => '<h2>Lorem ipsum</h2>' .
73
+	'INSTALL_PAGE_DEMO_CONTENTS'                => '<h2>Lorem ipsum</h2>'.
74 74
 
75
-	                                               '<p>Lorem ipsum dolor sit amet, ex etiam facilis vim. ' .
76
-	                                               'Qui etiam soluta nostro no, te praesent consulatu eos. ' .
77
-	                                               'His at modus diceret referrentur, exerci viderer aperiri et sed. ' .
78
-	                                               'Ne errem appareat apeirian has, ut has eligendi comprehensam. ' .
79
-	                                               'His ea adipisci eloquentiam, nec id temporibus appellantur. ' .
80
-	                                               'Pri ut inermis persequeris contentiones, vel vidit ponderum cu.</p>' .
75
+	                                               '<p>Lorem ipsum dolor sit amet, ex etiam facilis vim. '.
76
+	                                               'Qui etiam soluta nostro no, te praesent consulatu eos. '.
77
+	                                               'His at modus diceret referrentur, exerci viderer aperiri et sed. '.
78
+	                                               'Ne errem appareat apeirian has, ut has eligendi comprehensam. '.
79
+	                                               'His ea adipisci eloquentiam, nec id temporibus appellantur. '.
80
+	                                               'Pri ut inermis persequeris contentiones, vel vidit ponderum cu.</p>'.
81 81
 
82
-	                                               '<h3>Vix no suas populo</h3>' .
82
+	                                               '<h3>Vix no suas populo</h3>'.
83 83
 
84
-	                                               '<p>Vix no suas populo. Mea inani utinam ex. Duo vocibus noluisse partiendo ei. ' .
85
-	                                               'Impedit voluptatibus pro ut, ea probatus reformidans pri. ' .
86
-	                                               'An vix repudiandae complectitur, ex soluta numquam splendide nam.</p>' .
84
+	                                               '<p>Vix no suas populo. Mea inani utinam ex. Duo vocibus noluisse partiendo ei. '.
85
+	                                               'Impedit voluptatibus pro ut, ea probatus reformidans pri. '.
86
+	                                               'An vix repudiandae complectitur, ex soluta numquam splendide nam.</p>'.
87 87
 
88
-	                                               '<p>Mea ex novum contentiones, eleifend ocurreret voluptaria et usu. ' .
89
-	                                               'No mel illum nonumy maiorum, pro saperet disputando in. Cum ei tritani accusam incorrupte. ' .
90
-	                                               'Per animal saperet suavitate id, vim ex quod delicatissimi.</p>' .
88
+	                                               '<p>Mea ex novum contentiones, eleifend ocurreret voluptaria et usu. '.
89
+	                                               'No mel illum nonumy maiorum, pro saperet disputando in. Cum ei tritani accusam incorrupte. '.
90
+	                                               'Per animal saperet suavitate id, vim ex quod delicatissimi.</p>'.
91 91
 
92
-	                                               '<h3>Ea mea tantas delenit</h3>' .
92
+	                                               '<h3>Ea mea tantas delenit</h3>'.
93 93
 
94
-	                                               '<p>Ea mea tantas delenit, ut usu alii commune. ' .
95
-	                                               'Te vix decore dolore scribentur. Ad pri malis invidunt ullamcorper, ' .
96
-	                                               'qui eu laboramus vulputate scriptorem, id veri audiam integre pro. ' .
97
-	                                               'Saperet luptatum recusabo quo cu, ' .'vix facer dolores persecuti no. ' .
98
-	                                               'Eos id omnes affert possim. Vix id commune urbanitas.</p>' .
94
+	                                               '<p>Ea mea tantas delenit, ut usu alii commune. '.
95
+	                                               'Te vix decore dolore scribentur. Ad pri malis invidunt ullamcorper, '.
96
+	                                               'qui eu laboramus vulputate scriptorem, id veri audiam integre pro. '.
97
+	                                               'Saperet luptatum recusabo quo cu, '.'vix facer dolores persecuti no. '.
98
+	                                               'Eos id omnes affert possim. Vix id commune urbanitas.</p>'.
99 99
 
100
-	                                               '<p>Cu eum quod prodesset, vix sale democritum delicatissimi et, ' .
101
-	                                               'putant viderer inimicus pro ut. Sea ut tamquam hendrerit definitionem, ' .
102
-	                                               'an quo illud persecuti, debet affert vis te. Mei ea omnes saepe nostrum. ' .
100
+	                                               '<p>Cu eum quod prodesset, vix sale democritum delicatissimi et, '.
101
+	                                               'putant viderer inimicus pro ut. Sea ut tamquam hendrerit definitionem, '.
102
+	                                               'an quo illud persecuti, debet affert vis te. Mei ea omnes saepe nostrum. '.
103 103
 	                                               'In sed denique iudicabit. Id eos equidem scribentur.</p>'
104 104
 ];
Please login to merge, or discard this patch.