Skip to content

Commit c981d1c

Browse files
authored
Merge pull request #139 from iMattPro/develop
Final tweaks
2 parents ed8dfb7 + 57b7010 commit c981d1c

File tree

4 files changed

+7
-36
lines changed

4 files changed

+7
-36
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# QuickInstall Changelog
22

33
## Version 1.4.0
4-
- [Change] Re-styled some of QI's UX elements including sidebar menus, buttons and various other form elements.
4+
- [Change] Re-styled some of QI's UI elements including sidebar menus, buttons and various other form elements.
55
- [Change] Migrated QI's Bootstrap framework to version 4.5.
66
- [Change] Bootstrap framework now managed as an NPM library, located in the new `develop` folder. Contributors can use NPM commands to update, customise, compile and deploy Bootstrap to QI (see README).
7-
- [Change] Migrated QI's templating framework over to Twig. All QI html files now use Twig syntax. Contributors can use Composer commands to update Twig, located in the `vendor` directory.
8-
- [Change] Dropped support for installing AutoMOD from QuickInstall.
9-
- [Change] Dropped the subsilver2 only option from the Install additional styles setting.
10-
- [Feature] Added a `DEBUG` constant to `qi_constants.php`. Contributors can un-comment it while developing QI to disable template caching.
7+
- [Change] Migrated QI's templating framework to Twig. All QI html files now use Twig syntax. Contributors can use Composer commands to update Twig, located in the `vendor` directory.
8+
- [Change] Dropped support for installing AutoMOD into 3.0.x boards from QuickInstall. AutoMOD can still be installed manually for 3.0.x boards.
9+
- [Change] Dropped the *subsilver2 only* option from the Install additional styles setting.
10+
- [Change] Added a `DEBUG` constant to `qi_constants.php`. Contributors can un-comment it while developing QI to disable template caching.
1111
- [Fix] Fixed an issue with the migration schema generator that blocked QI from working with phpBB 4.0.0-dev.
1212
- [Fix] Fixed some issues with language vars not working on error pages.
1313

includes/functions_populate.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,6 @@ public function populate()
193193
// Give posts a timestamp starting 1 second after the last user reg date
194194
$this->post_time = $this->start_time + $this->num_users + 1;
195195

196-
include($quickinstall_path . 'includes/lorem_ipsum.' . $phpEx);
197-
$this->lorem_ipsum = $lorem_ipsum;
198-
unset($lorem_impsum);
199-
200196
$this->fill_forums();
201197
}
202198

@@ -369,7 +365,7 @@ private function fill_forums()
369365
$poster_id = mt_rand($mt_min, $mt_max);
370366
$poster_arr = $this->user_arr[$poster_id];
371367
$post_time = $this->post_time++;
372-
$post_text = sprintf($user->lang['TEST_POST_START'], $post_cnt) . "\n" . $this->lorem_ipsum;
368+
$post_text = sprintf($user->lang['TEST_POST_START'], $post_cnt) . "\n" . $user->lang['LOREM_IPSUM'];
373369
$subject = (($j > 0) ? 'Re: ' : '') . $topic_arr['topic_title'];
374370

375371
$bbcode_uid = $bbcode_bitfield = '';

includes/lorem_ipsum.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

language/en/qi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
'REQUIRED' => 'Required',
163163

164164
'LOG_INSTALL_INSTALLED_QI' => '<strong>Installed by phpBB Quickinstall version %s</strong>',
165+
'LOREM_IPSUM' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
165166

166167
'MAKE_WRITABLE' => 'Make files world writable',
167168
'MAKE_WRITABLE_EXPLAIN' => 'Set files, &quot;config.php&quot;, and directories world writable by default.',

0 commit comments

Comments
 (0)