From 9ae3012689ddfa7e0e3e1ca9d4230d17b57a3fb8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 31 Jul 2011 18:19:57 +0200 Subject: [PATCH] Added a few rtl fixes --- install.xml | 4 ++-- .../portal/modules/calendar_side.html | 4 ++-- .../template/portal/portal_body.html | 4 ++-- .../theme/images/portal/arrowbullet.gif | Bin 102 -> 102 bytes .../theme/images/portal/arrowbullet_rtl.gif | Bin 0 -> 103 bytes root/styles/prosilver/theme/portal.css | 18 ++++++++++++++-- .../portal/modules/calendar_side.html | 4 ++-- .../template/portal/modules/links_side.html | 2 +- .../portal/modules/main_menu_side.html | 2 +- .../portal/modules/user_menu_side.html | 20 +++++++++--------- .../theme/images/portal/arrowbullet_rtl.gif | Bin 0 -> 103 bytes 11 files changed, 36 insertions(+), 22 deletions(-) create mode 100644 root/styles/prosilver/theme/images/portal/arrowbullet_rtl.gif create mode 100644 root/styles/subsilver2/theme/images/portal/arrowbullet_rtl.gif diff --git a/install.xml b/install.xml index 700b5d44..ee6b9760 100644 --- a/install.xml +++ b/install.xml @@ -109,10 +109,10 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar 2011-08-17 2.0.0b2 - + 2nd beta - + 2. beta diff --git a/root/styles/prosilver/template/portal/modules/calendar_side.html b/root/styles/prosilver/template/portal/modules/calendar_side.html index 98146850..bf9d303f 100644 --- a/root/styles/prosilver/template/portal/modules/calendar_side.html +++ b/root/styles/prosilver/template/portal/modules/calendar_side.html @@ -4,9 +4,9 @@ {$LR_BLOCK_H_L} {$TITLE}{$LR_BLOCK_H_R} - + - + diff --git a/root/styles/prosilver/template/portal/portal_body.html b/root/styles/prosilver/template/portal/portal_body.html index 5647a755..ef0a458a 100644 --- a/root/styles/prosilver/template/portal/portal_body.html +++ b/root/styles/prosilver/template/portal/portal_body.html @@ -32,7 +32,7 @@ -
{minical.U_PREV_MONTH}{minical.U_NEXT_MONTH}{minical.U_PREV_MONTH} {minical.L_MINI_CAL_MONTH}{minical.U_NEXT_MONTH}{minical.U_PREV_MONTH}{minical.U_NEXT_MONTH}
+ @@ -70,7 +70,7 @@ - + diff --git a/root/styles/prosilver/theme/images/portal/arrowbullet.gif b/root/styles/prosilver/theme/images/portal/arrowbullet.gif index 3b754e5eda60ef4ccf4099d986dedd5bf370ddfb..1acf3a705dcdf6b39bc4fa2a2abb688fe18eecaf 100644 GIT binary patch delta 9 QcmYdGo1n?aFj30}01f>DegFUf delta 9 QcmYdGo1n?aK2ggC01g=fg#Z8m diff --git a/root/styles/prosilver/theme/images/portal/arrowbullet_rtl.gif b/root/styles/prosilver/theme/images/portal/arrowbullet_rtl.gif new file mode 100644 index 0000000000000000000000000000000000000000..dfe63c2011acc97cdb13b52e4362a58165e14bd4 GIT binary patch literal 103 zcmZ?wbhEHb&8DpTE5M{QbeZ&&$r;b(^`9rD5NjkDnEPvM@3*uruf| z00BrX1G7#=`kgi0Cp6CrnHV=ZUSv}jk>A>@;u&&GfkoxTKG)-Xn@=!?&F&U!J-pC^ Hfx#L8{7oq| literal 0 HcmV?d00001 diff --git a/root/styles/prosilver/theme/portal.css b/root/styles/prosilver/theme/portal.css index f125c450..13681ffc 100644 --- a/root/styles/prosilver/theme/portal.css +++ b/root/styles/prosilver/theme/portal.css @@ -63,8 +63,22 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{ /* * top spacing between portal body table and headerbar spacing is usually 10px -* the headerbar's rounded corners already generate a padding of 5px so only 5px needed here */ #portal-body { - padding-top: 5px; + padding-top: 10px; +} + +/* +* This is needed in order to have the same spacing between blocks +* as we have between the top blocks and the headerbar +*/ +#portal-body .forabg { + margin-bottom: 0px; +} + +/* RTL language fixes */ +.rtl .portal-navigation ul li a{ + background-image: url("{T_THEME_PATH}/images/portal/arrowbullet_rtl.gif"); + background-position: center right; /*custom bullet list image*/ + padding-right: 19px; /*link text is indented 19px*/ } \ No newline at end of file diff --git a/root/styles/subsilver2/template/portal/modules/calendar_side.html b/root/styles/subsilver2/template/portal/modules/calendar_side.html index b1c4fabe..25a7708a 100644 --- a/root/styles/subsilver2/template/portal/modules/calendar_side.html +++ b/root/styles/subsilver2/template/portal/modules/calendar_side.html @@ -7,9 +7,9 @@ - + - + diff --git a/root/styles/subsilver2/template/portal/modules/links_side.html b/root/styles/subsilver2/template/portal/modules/links_side.html index 918caa13..6d047d4a 100644 --- a/root/styles/subsilver2/template/portal/modules/links_side.html +++ b/root/styles/subsilver2/template/portal/modules/links_side.html @@ -3,7 +3,7 @@ diff --git a/root/styles/subsilver2/template/portal/modules/main_menu_side.html b/root/styles/subsilver2/template/portal/modules/main_menu_side.html index ad432105..16d36329 100644 --- a/root/styles/subsilver2/template/portal/modules/main_menu_side.html +++ b/root/styles/subsilver2/template/portal/modules/main_menu_side.html @@ -10,7 +10,7 @@ diff --git a/root/styles/subsilver2/template/portal/modules/user_menu_side.html b/root/styles/subsilver2/template/portal/modules/user_menu_side.html index 9a1a776d..e8b38ef1 100644 --- a/root/styles/subsilver2/template/portal/modules/user_menu_side.html +++ b/root/styles/subsilver2/template/portal/modules/user_menu_side.html @@ -17,63 +17,63 @@
{minical.U_PREV_MONTH}{minical.U_NEXT_MONTH}{minical.U_PREV_MONTH} {minical.L_MINI_CAL_MONTH}{minical.U_NEXT_MONTH}{minical.U_PREV_MONTH}{minical.U_NEXT_MONTH}
-  onclick="window.open('{portallinks.LINK_URL}'); return false;">{portallinks.LINK_TITLE} +  onclick="window.open('{portallinks.LINK_URL}'); return false;">{portallinks.LINK_TITLE}
- 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}
-  {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}
-  {PRIVATE_MESSAGE_INFO} +  {PRIVATE_MESSAGE_INFO}
-  {L_PROFILE} +  {L_PROFILE}
-  {L_MCP} +  {L_MCP}
-  {L_M_ACP}
+  {L_M_ACP}
-  {L_LOGIN_LOGOUT} +  {L_LOGIN_LOGOUT}
diff --git a/root/styles/subsilver2/theme/images/portal/arrowbullet_rtl.gif b/root/styles/subsilver2/theme/images/portal/arrowbullet_rtl.gif new file mode 100644 index 0000000000000000000000000000000000000000..dfe63c2011acc97cdb13b52e4362a58165e14bd4 GIT binary patch literal 103 zcmZ?wbhEHb&8DpTE5M{QbeZ&&$r;b(^`9rD5NjkDnEPvM@3*uruf| z00BrX1G7#=`kgi0Cp6CrnHV=ZUSv}jk>A>@;u&&GfkoxTKG)-Xn@=!?&F&U!J-pC^ Hfx#L8{7oq| literal 0 HcmV?d00001