From a5f46d7abb9c84c5eb0e550308f2d6dbfe708fa3 Mon Sep 17 00:00:00 2001 From: Ice Date: Wed, 13 Aug 2008 01:48:29 +0000 Subject: [PATCH] Moving images, using template vars TAKE 2 PART 2 --- root/portal/block/mini_cal.php | 4 ++-- root/styles/prosilver/template/portal/block/attachments.html | 2 +- root/styles/prosilver/template/portal/block/clock.html | 4 ++-- .../prosilver/template/portal/block/donation/paypal.html | 2 +- .../prosilver/template/portal/block/latest_members.html | 2 +- root/styles/prosilver/template/portal/block/leaders.html | 4 ++-- root/styles/prosilver/template/portal/block/leaders_ext.html | 2 +- .../prosilver/template/portal/block/online_friends.html | 4 ++-- root/styles/prosilver/template/portal/block/top_poster.html | 2 +- root/styles/subsilver2/template/portal/block/attachments.html | 2 +- root/styles/subsilver2/template/portal/block/clock.html | 4 ++-- .../subsilver2/template/portal/block/donation/paypal.html | 2 +- .../subsilver2/template/portal/block/latest_members.html | 2 +- root/styles/subsilver2/template/portal/block/leaders.html | 4 ++-- root/styles/subsilver2/template/portal/block/leaders_ext.html | 2 +- root/styles/subsilver2/template/portal/block/links.html | 2 +- .../subsilver2/template/portal/block/online_friends.html | 4 ++-- .../subsilver2/template/portal/block/random_member.html | 2 +- root/styles/subsilver2/template/portal/block/top_poster.html | 2 +- 19 files changed, 26 insertions(+), 26 deletions(-) diff --git a/root/portal/block/mini_cal.php b/root/portal/block/mini_cal.php index 62524a59..da6d9951 100644 --- a/root/portal/block/mini_cal.php +++ b/root/portal/block/mini_cal.php @@ -141,8 +141,8 @@ $prev_qs = setQueryStringVal('m', $mini_cal_month -1); $next_qs = setQueryStringVal('m', $mini_cal_month +1); $down = $mini_cal_month - 1; $up = $mini_cal_month + 1; -$prev_month = '<<'; -$next_month = '>>'; +$prev_month = 'theme['theme_path'] . '/theme/images/portal/mini_cal_icon_left_arrow.png" . '" title="' . $user->lang['View_previous_month'] . '" height="16" width="16" alt="<<" />'; +$next_month = 'theme['theme_path'] . '/theme/images/portal/mini_cal_icon_right_arrow.png" . '" title="' . $user->lang['View_next_month'] . '" height="16" width="16" alt=">>" />'; $template->assign_vars(array( 'S_DISPLAY_MINICAL' => true, diff --git a/root/styles/prosilver/template/portal/block/attachments.html b/root/styles/prosilver/template/portal/block/attachments.html index 82dd4785..50f7a933 100644 --- a/root/styles/prosilver/template/portal/block/attachments.html +++ b/root/styles/prosilver/template/portal/block/attachments.html @@ -6,7 +6,7 @@ {L_FILENAME}
-  {attach.REAL_FILENAME}
+  {attach.REAL_FILENAME}
{L_FILESIZE}:{attach.FILESIZE}
{L_DOWNLOADS}:{attach.DOWNLOAD_COUNT}
diff --git a/root/styles/prosilver/template/portal/block/clock.html b/root/styles/prosilver/template/portal/block/clock.html index f0d416c4..a8a0b3a4 100644 --- a/root/styles/prosilver/template/portal/block/clock.html +++ b/root/styles/prosilver/template/portal/block/clock.html @@ -4,9 +4,9 @@

 {L_CLOCK}

- + - +
diff --git a/root/styles/prosilver/template/portal/block/donation/paypal.html b/root/styles/prosilver/template/portal/block/donation/paypal.html index 4719440a..55b6f47e 100644 --- a/root/styles/prosilver/template/portal/block/donation/paypal.html +++ b/root/styles/prosilver/template/portal/block/donation/paypal.html @@ -33,6 +33,6 @@ http://www.htmlhelp.com/reference/charset/
- + diff --git a/root/styles/prosilver/template/portal/block/latest_members.html b/root/styles/prosilver/template/portal/block/latest_members.html index 7ee13abe..8529c172 100644 --- a/root/styles/prosilver/template/portal/block/latest_members.html +++ b/root/styles/prosilver/template/portal/block/latest_members.html @@ -6,7 +6,7 @@ {L_USERNAME} {L_JOINED}
- {latest_members.USERNAME_FULL} + {latest_members.USERNAME_FULL} {latest_members.JOINED}
diff --git a/root/styles/prosilver/template/portal/block/leaders.html b/root/styles/prosilver/template/portal/block/leaders.html index 299d3618..17331cbf 100644 --- a/root/styles/prosilver/template/portal/block/leaders.html +++ b/root/styles/prosilver/template/portal/block/leaders.html @@ -5,14 +5,14 @@

 {L_THE_TEAM}

{L_ADMINISTRATORS}
- {admin.USERNAME_FULL}
+ {admin.USERNAME_FULL}
{L_NO_ADMINISTRATORS_P}


{L_MODERATORS}
- {mod.USERNAME_FULL}
+ {mod.USERNAME_FULL}
{L_NO_MODERATORS_P} diff --git a/root/styles/prosilver/template/portal/block/leaders_ext.html b/root/styles/prosilver/template/portal/block/leaders_ext.html index ca712206..e6bf9ac4 100644 --- a/root/styles/prosilver/template/portal/block/leaders_ext.html +++ b/root/styles/prosilver/template/portal/block/leaders_ext.html @@ -6,7 +6,7 @@ {group.GROUP_NAME}
- {group.member.USERNAME_FULL}
+ {group.member.USERNAME_FULL}

diff --git a/root/styles/prosilver/template/portal/block/online_friends.html b/root/styles/prosilver/template/portal/block/online_friends.html index 97b042fe..871636fd 100644 --- a/root/styles/prosilver/template/portal/block/online_friends.html +++ b/root/styles/prosilver/template/portal/block/online_friends.html @@ -5,7 +5,7 @@

 {L_FRIENDS}

{L_FRIENDS_ONLINE}
- {friends_online.USERNAME_FULL}
+ {friends_online.USERNAME_FULL}
{L_NO_FRIENDS_ONLINE}
@@ -13,7 +13,7 @@
{L_FRIENDS_OFFLINE}
- {friends_offline.USERNAME_FULL}
+ {friends_offline.USERNAME_FULL}
{L_NO_FRIENDS_OFFLINE} diff --git a/root/styles/prosilver/template/portal/block/top_poster.html b/root/styles/prosilver/template/portal/block/top_poster.html index 33c04c4e..240c5e36 100644 --- a/root/styles/prosilver/template/portal/block/top_poster.html +++ b/root/styles/prosilver/template/portal/block/top_poster.html @@ -6,7 +6,7 @@ {L_USERNAME} {L_POSTS}
- {top_poster.USERNAME_FULL} + {top_poster.USERNAME_FULL} {top_poster.POSTER_POSTS}
diff --git a/root/styles/subsilver2/template/portal/block/attachments.html b/root/styles/subsilver2/template/portal/block/attachments.html index 4ace3373..e5df7b0f 100644 --- a/root/styles/subsilver2/template/portal/block/attachments.html +++ b/root/styles/subsilver2/template/portal/block/attachments.html @@ -9,7 +9,7 @@ {L_FILENAME} {L_FILESIZE}
-  {attach.REAL_FILENAME}
+  {attach.REAL_FILENAME}
{L_FILESIZE}:{attach.FILESIZE}
{L_DOWNLOADS}:{attach.DOWNLOAD_COUNT}

diff --git a/root/styles/subsilver2/template/portal/block/clock.html b/root/styles/subsilver2/template/portal/block/clock.html index c85ec400..ca414e03 100644 --- a/root/styles/subsilver2/template/portal/block/clock.html +++ b/root/styles/subsilver2/template/portal/block/clock.html @@ -5,9 +5,9 @@ - + - + diff --git a/root/styles/subsilver2/template/portal/block/donation/paypal.html b/root/styles/subsilver2/template/portal/block/donation/paypal.html index cfa87ec8..34751ce4 100644 --- a/root/styles/subsilver2/template/portal/block/donation/paypal.html +++ b/root/styles/subsilver2/template/portal/block/donation/paypal.html @@ -33,6 +33,6 @@ http://www.htmlhelp.com/reference/charset/
- + \ No newline at end of file diff --git a/root/styles/subsilver2/template/portal/block/latest_members.html b/root/styles/subsilver2/template/portal/block/latest_members.html index 1442a151..c6ebf3e3 100644 --- a/root/styles/subsilver2/template/portal/block/latest_members.html +++ b/root/styles/subsilver2/template/portal/block/latest_members.html @@ -8,7 +8,7 @@ {L_USERNAME} {L_JOINED}
- {latest_members.USERNAME_FULL} + {latest_members.USERNAME_FULL} {latest_members.JOINED}
diff --git a/root/styles/subsilver2/template/portal/block/leaders.html b/root/styles/subsilver2/template/portal/block/leaders.html index 86d18e0d..14db5389 100644 --- a/root/styles/subsilver2/template/portal/block/leaders.html +++ b/root/styles/subsilver2/template/portal/block/leaders.html @@ -11,7 +11,7 @@ - {admin.USERNAME_FULL}
+ {admin.USERNAME_FULL}
@@ -29,7 +29,7 @@ - {mod.USERNAME_FULL}
+ {mod.USERNAME_FULL}
diff --git a/root/styles/subsilver2/template/portal/block/leaders_ext.html b/root/styles/subsilver2/template/portal/block/leaders_ext.html index ad71960a..b72ff1f6 100644 --- a/root/styles/subsilver2/template/portal/block/leaders_ext.html +++ b/root/styles/subsilver2/template/portal/block/leaders_ext.html @@ -12,7 +12,7 @@ - {group.member.USERNAME_FULL}
+ {group.member.USERNAME_FULL}
diff --git a/root/styles/subsilver2/template/portal/block/links.html b/root/styles/subsilver2/template/portal/block/links.html index 1edff756..77aebc02 100644 --- a/root/styles/subsilver2/template/portal/block/links.html +++ b/root/styles/subsilver2/template/portal/block/links.html @@ -9,7 +9,7 @@ .ul-link li{ margin: 0; padding: 0 0 2px 15px; - background: url(portal/images/link.png) no-repeat left center; + background: url({T_THEME_PATH}/images/portal/link.png) no-repeat left center; } .ul-link a { padding: 0 0 0 4px; diff --git a/root/styles/subsilver2/template/portal/block/online_friends.html b/root/styles/subsilver2/template/portal/block/online_friends.html index 5882d763..82125f4c 100644 --- a/root/styles/subsilver2/template/portal/block/online_friends.html +++ b/root/styles/subsilver2/template/portal/block/online_friends.html @@ -7,7 +7,7 @@ {L_FRIENDS_ONLINE}
- {friends_online.USERNAME_FULL}
+ {friends_online.USERNAME_FULL}
{L_NO_FRIENDS_ONLINE}
@@ -15,7 +15,7 @@
{L_FRIENDS_OFFLINE}
- {friends_offline.USERNAME_FULL}
+ {friends_offline.USERNAME_FULL}
{L_NO_FRIENDS_OFFLINE} diff --git a/root/styles/subsilver2/template/portal/block/random_member.html b/root/styles/subsilver2/template/portal/block/random_member.html index 9f2a7f1c..3663791f 100644 --- a/root/styles/subsilver2/template/portal/block/random_member.html +++ b/root/styles/subsilver2/template/portal/block/random_member.html @@ -6,7 +6,7 @@ - {random_member.USERNAME}{random_member.USERNAME_FULL}
+ {random_member.USERNAME}{random_member.USERNAME_FULL}
{random_member.AVATAR_IMG}
{random_member.RANK_TITLE}
{random_member.RANK_IMG}
diff --git a/root/styles/subsilver2/template/portal/block/top_poster.html b/root/styles/subsilver2/template/portal/block/top_poster.html index a7dcb8ea..f9a55048 100644 --- a/root/styles/subsilver2/template/portal/block/top_poster.html +++ b/root/styles/subsilver2/template/portal/block/top_poster.html @@ -8,7 +8,7 @@ {L_USERNAME} {L_POSTS}
- {top_poster.USERNAME_FULL} + {top_poster.USERNAME_FULL} {top_poster.POSTER_POSTS}