-

+
-

+
diff --git a/styles/subsilver2/template/portal/modules/friends_side.html b/styles/subsilver2/template/portal/modules/friends_side.html
index f4b7bfe2..1a375384 100644
--- a/styles/subsilver2/template/portal/modules/friends_side.html
+++ b/styles/subsilver2/template/portal/modules/friends_side.html
@@ -4,7 +4,7 @@
{L_FRIENDS_ONLINE}
- {b3p_friends_online.USERNAME_FULL}
+ {b3p_friends_online.USERNAME_FULL}
{L_NO_FRIENDS_ONLINE}
@@ -12,7 +12,7 @@
{L_FRIENDS_OFFLINE}
- {b3p_friends_offline.USERNAME_FULL}
+ {b3p_friends_offline.USERNAME_FULL}
{L_NO_FRIENDS_OFFLINE}
diff --git a/styles/subsilver2/template/portal/modules/latest_members_side.html b/styles/subsilver2/template/portal/modules/latest_members_side.html
index 34becaa5..a8b46c1b 100644
--- a/styles/subsilver2/template/portal/modules/latest_members_side.html
+++ b/styles/subsilver2/template/portal/modules/latest_members_side.html
@@ -11,10 +11,10 @@
- {latest_members.USERNAME_FULL}
+ {latest_members.USERNAME_FULL}
{latest_members.JOINED}
- {latest_members.USERNAME_FULL}
+ {latest_members.USERNAME_FULL}
{latest_members.JOINED}
diff --git a/styles/subsilver2/template/portal/modules/leaders_ext_side.html b/styles/subsilver2/template/portal/modules/leaders_ext_side.html
index 69a13465..11a600d5 100644
--- a/styles/subsilver2/template/portal/modules/leaders_ext_side.html
+++ b/styles/subsilver2/template/portal/modules/leaders_ext_side.html
@@ -10,9 +10,9 @@
|
- {group.member.USERNAME_FULL}
+ {group.member.USERNAME_FULL}
- {group.member.USERNAME_FULL}
+ {group.member.USERNAME_FULL}
|
diff --git a/styles/subsilver2/template/portal/modules/leaders_side.html b/styles/subsilver2/template/portal/modules/leaders_side.html
index c83a034c..675709e6 100644
--- a/styles/subsilver2/template/portal/modules/leaders_side.html
+++ b/styles/subsilver2/template/portal/modules/leaders_side.html
@@ -9,9 +9,9 @@
- {b3p_admins.USERNAME_FULL}
+ {b3p_admins.USERNAME_FULL}
- {b3p_admins.USERNAME_FULL}
+ {b3p_admins.USERNAME_FULL}
|
@@ -31,9 +31,9 @@
- {b3p_moderator.USERNAME_FULL}
+ {b3p_moderator.USERNAME_FULL}
- {b3p_moderator.USERNAME_FULL}
+ {b3p_moderator.USERNAME_FULL}
|
diff --git a/styles/subsilver2/template/portal/modules/links_side.html b/styles/subsilver2/template/portal/modules/links_side.html
index 0f331282..7230e1b1 100644
--- a/styles/subsilver2/template/portal/modules/links_side.html
+++ b/styles/subsilver2/template/portal/modules/links_side.html
@@ -3,7 +3,7 @@
- onclick="window.open('{portallinks.LINK_URL}'); return false;">{portallinks.LINK_TITLE}
+ onclick="window.open('{portallinks.LINK_URL}'); return false;"> {portallinks.LINK_TITLE}
|
diff --git a/styles/subsilver2/template/portal/modules/main_menu_side.html b/styles/subsilver2/template/portal/modules/main_menu_side.html
index 5b901771..d9afadbe 100644
--- a/styles/subsilver2/template/portal/modules/main_menu_side.html
+++ b/styles/subsilver2/template/portal/modules/main_menu_side.html
@@ -10,7 +10,7 @@
- onclick="window.open('{portalmenu.links.LINK_URL}'); return false;"> {portalmenu.links.LINK_TITLE}
+ onclick="window.open('{portalmenu.links.LINK_URL}'); return false;"> {portalmenu.links.LINK_TITLE}
|
diff --git a/styles/subsilver2/template/portal/modules/recent_center.html b/styles/subsilver2/template/portal/modules/recent_center.html
index d6897537..e1399834 100644
--- a/styles/subsilver2/template/portal/modules/recent_center.html
+++ b/styles/subsilver2/template/portal/modules/recent_center.html
@@ -10,21 +10,21 @@
- {latest_announcements.TITLE}
+ {latest_announcements.TITLE}
|
- {latest_hot_topics.TITLE}
+ {latest_hot_topics.TITLE}
|
- {latest_topics.TITLE}
+ {latest_topics.TITLE}
|
diff --git a/styles/subsilver2/template/portal/modules/topposters_side.html b/styles/subsilver2/template/portal/modules/topposters_side.html
index db4bd15f..def3a290 100644
--- a/styles/subsilver2/template/portal/modules/topposters_side.html
+++ b/styles/subsilver2/template/portal/modules/topposters_side.html
@@ -11,10 +11,10 @@
-
{topposters.USERNAME_FULL}
+
{topposters.USERNAME_FULL}
{topposters.POSTER_POSTS}
-
{topposters.USERNAME_FULL}
+
{topposters.USERNAME_FULL}
{topposters.POSTER_POSTS}
diff --git a/styles/subsilver2/template/portal/modules/user_menu_side.html b/styles/subsilver2/template/portal/modules/user_menu_side.html
index 5037a090..733ff224 100644
--- a/styles/subsilver2/template/portal/modules/user_menu_side.html
+++ b/styles/subsilver2/template/portal/modules/user_menu_side.html
@@ -17,31 +17,31 @@
- {L_NEW_POSTS}
+ {L_NEW_POSTS}
|
- {L_UNREAD_POSTS}
+ {L_UNREAD_POSTS}
|
- {L_SELF_POSTS}
+ {L_SELF_POSTS}
|
- {L_UM_BOOKMARKS}
+ {L_UM_BOOKMARKS}
|
- {L_UM_MAIN_SUBSCRIBED}
+ {L_UM_MAIN_SUBSCRIBED}
|
@@ -61,26 +61,26 @@
- {L_PROFILE}
+ {L_PROFILE}
|
- {L_MCP}
+ {L_MCP}
|
- {L_M_ACP}
+ {L_M_ACP}
|
- {L_LOGIN_LOGOUT}
+ {L_LOGIN_LOGOUT}
|
diff --git a/styles/subsilver2/theme/portal.css b/styles/subsilver2/theme/portal.css
index 1c50d828..37bc45a1 100644
--- a/styles/subsilver2/theme/portal.css
+++ b/styles/subsilver2/theme/portal.css
@@ -34,6 +34,16 @@
vertical-align: top;
}
+.portal-clock-spacer-up {
+ content: url("./images/portal/spacer_up.png");
+ float: left;
+}
+
+.portal-clock-spacer-down {
+ content: url("./images/portal/spacer_down.png");
+ float: left;
+}
+
#portal-clock-back-seconds-up-left, #portal-clock-back-seconds-up-right,
#portal-clock-front-minutes-up-left, #portal-clock-front-minutes-up-right,
#portal-clock-back-minutes-up-left, #portal-clock-back-minutes-up-right,
@@ -172,3 +182,19 @@
font-size: 100%;
line-height: normal;
}
+
+.portal-arrow-bullet {
+ background: url(./images/portal/arrowbullet.gif) no-repeat;
+ padding-left: 12px;
+}
+
+.rtl .portal-arrow-bullet {
+ background: url(./images/portal/arrowbullet_rtl.gif) no-repeat;
+}
+
+.portal-user-span {
+ background-image: url("./images/portal/portal_user.png");
+ padding-left: 16px;
+ padding-top: 16px;
+ margin-bottom: 2px;
+}
diff --git a/tests/functional/portal_no_error_test.php b/tests/functional/portal_no_error_test.php
index d12b08a8..cfd58479 100644
--- a/tests/functional/portal_no_error_test.php
+++ b/tests/functional/portal_no_error_test.php
@@ -24,4 +24,22 @@ class phpbb_functional_portal_no_error_test extends \board3\portal\tests\testfra
{
self::request('GET', 'app.php/portal');
}
+
+ public function test_enable_subsilver()
+ {
+ $crawler = self::request('GET', 'adm/index.php?i=acp_styles&mode=install&sid=' . $this->sid);
+ $link = $crawler->selectLink('Install style')->link()->getUri();
+ $crawler = self::request('GET', substr($link, strpos($link, '/adm') + 1));
+ $this->assertContains('Style "subsilver2" has been installed', $crawler->text());
+ }
+
+ /**
+ * @dependsOn test_enable_subsilver
+ */
+ public function test_portal_subsilver()
+ {
+ $crawler = self::request('GET', 'app.php/portal');
+ $this->assertContains('subsilver', $crawler->text());
+ self::request('GET', 'app.php/portal?style=2');
+ }
}