mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Tweak theme test
This commit is contained in:
@@ -73,13 +73,13 @@
|
|||||||
'jumbotron_full' =>
|
'jumbotron_full' =>
|
||||||
array (
|
array (
|
||||||
0 => 'forum',
|
0 => 'forum',
|
||||||
1 => 'user.php',
|
1 => 'user.php', // <-- match user.php script or URL
|
||||||
2 => '/user',
|
2 => '/user', // <-- Expecting URL to match both user and usersetting since it contains no "!"
|
||||||
),
|
),
|
||||||
'jumbotron_sidebar_right' =>
|
'jumbotron_sidebar_right' =>
|
||||||
array (
|
array (
|
||||||
0 => '/news',
|
0 => '/news',
|
||||||
//1 => '/usersettings.php'
|
// 1 => '/usersettings.php'
|
||||||
),
|
),
|
||||||
'other_layout' =>
|
'other_layout' =>
|
||||||
array(
|
array(
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
5 => array('url' => SITEURL."forum", 'script' => "index.php", 'expected' => 'jumbotron_full'),
|
5 => array('url' => SITEURL."forum", 'script' => "index.php", 'expected' => 'jumbotron_full'),
|
||||||
6 => array('url' => SITEURL."other/page", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
|
6 => array('url' => SITEURL."other/page", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
|
||||||
7 => array('url' => SITEURL."news.php?5.3", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
|
7 => array('url' => SITEURL."news.php?5.3", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
|
||||||
8 => array('url' => SITEURL."usersettings.php", 'script' => null, 'expected' => 'jumbotron_sidebar_right'),
|
8 => array('url' => SITEURL."usersettings.php", 'script' => null, 'expected' => 'jumbotron_full'),
|
||||||
9 => array('url' => SITEURL."user.php", 'script' => null, 'expected' => 'jumbotron_full'),
|
9 => array('url' => SITEURL."user.php", 'script' => null, 'expected' => 'jumbotron_full'),
|
||||||
10 => array('url' => SITEURL."page.php", 'script' => null, 'expected' => 'other_layout'),
|
10 => array('url' => SITEURL."page.php", 'script' => null, 'expected' => 'other_layout'),
|
||||||
11 => array('url' => SITEURL."page.php?3", 'script' => null, 'expected' => 'jumbotron_home'),
|
11 => array('url' => SITEURL."page.php?3", 'script' => null, 'expected' => 'jumbotron_home'),
|
||||||
|
Reference in New Issue
Block a user