Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos.core
Commits
ae1024ad
Commit
ae1024ad
authored
Mar 01, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web: Show links to change language at the header.
parent
fbaa7e45
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
166 additions
and
1 deletion
+166
-1
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_image/icon_lang_en.png.xml
...ib_hosting_theme/vifib_hosting_image/icon_lang_en.png.xml
+69
-0
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_image/icon_lang_zh.png.xml
...ib_hosting_theme/vifib_hosting_image/icon_lang_zh.png.xml
+85
-0
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_widget_library/WebSite_viewTopBarWidget.xml
...s/vifib_jauks_widget_library/WebSite_viewTopBarWidget.xml
+12
-1
No files found.
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_image/icon_lang_en.png.xml
0 → 100644
View file @
ae1024ad
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Image"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts35153135.17
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
icon_lang_en.png
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/png
</string>
</value>
</item>
<item>
<key>
<string>
data
</string>
</key>
<value>
<string
encoding=
"base64"
>
iVBORw0KGgoAAAANSUhEUgAAABIAAAAMCAYAAABvEu28AAAABGdBTUEAAK/INwWK6QAAABl0RVh0
U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAANmSURBVHjaYjzjIP7gXeYxgVOPeBh4WJkY
GBn+M4DAXyDmlWZkCPizm4Hh9zuGnfzhDK/u/2dgZoCA/0CVX77/Y9BW+sIgu8jlA0AAsXAk7RVR
W53BbZJTwnBNwprh3W1GsDIQ4BZlZOD6K8XA8IefQZ6bi4GP6T/UGEYGXsX/DPofzzF86uhm+BK8
jgUggBjFFK9+OH2Ah5/jcB8Dxx8Dhm/2QQxL9gHVvv/PICTLyBDyfy0Dw68PDNt5kxke3wUaxM3I
EObGwCBwfCXDj9/HGH44NTKYen76DBBATP+//mMwNWNkSP5QxvBDxZmBKSGFIf7ffIbzH38xzJz/
k+Hn4a0MP7evZuhb85Nh75NfDPF86xg4EnMYfkibMxSzt4L1/n/9mwUgAABJALb/ATRS1/ADAA0P
39cEAAxPAgDKdAIAAJqHAAAYHwAATloAAFZgAADe0gAAzM4AALq0AADVvwAAcY0AQJ/+AOqY/gAg
LfwA/QDt+AKI8Ya7xQd+dhZ+NgYWBuZXbxmYPogyMOrZMzDePsjAIA409OJ9SLDoqzAwPP/J8F/T
keH/pUMM/7heMfyVEmb4xfCH4dX3Xz8BAnBEBkkAwBAQo3T6/wejsU47E6ckHbe8WzAuEiMod2hT
C1xiddq0hE0+q2mQ2/oHzRdADKbBtz5YhLz+L6756b9254//v3///v93QtX/v6sX///79+//v+6B
//8qy0PYWzb//9ucDFZjPvvHf3G1T//Ng17/Nwm88h0ggJgeHP7LcP8IA4NFCSPDOZefDExKbgxM
AuIM7idjGGQNmBiYxIHeVfnPIOvFxKC/1oeBSQsYIQp+DId0nzH4dDEyPDjGwPDgyB9GgABiEFO6
9eH169f/P0/x+v/T3/v/s8t//0s5/P8vKf37v1Ps////o13+//eV/x+dAxIDyhn//38LqOZniNP/
z32m/0F6RbUu/wAIIKbDLf9ZGHJiGf4x2DLE+6xhMHb/y/Dv1m+Gf0C//2H9y/D3LysQszD8YAGK
A8Pl3/PfDPZANUHWWxn+CaQyMKSnMewv+cUEEEAs3+a7vDnvt/df/iRW5n8fXzKxAoMO6KH/P4BB
+eUzI8MrYET9//6f8fPnlwx//jL852D4xwhK+ac6/v1XZXNmaCixYdBe6/sTIMAAhgla9Ul57OEA
AAAASUVORK5CYII=
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
12
</int>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
980
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
icon_lang_en.png
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
18
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_image/icon_lang_zh.png.xml
0 → 100644
View file @
ae1024ad
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Image"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts35154982.11
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
icon_lang_zh.png
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/png
</string>
</value>
</item>
<item>
<key>
<string>
data
</string>
</key>
<value>
<string
encoding=
"base64"
>
iVBORw0KGgoAAAANSUhEUgAAASwAAADICAMAAABlASxnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAC
Z1BMVEXiAhLiAxLiBBLiBRLiBhLjBhLjBxLjCBLjCRHjChHjCxHjDBHjDRHjDhHjDxHjEBHjERHj
EhHjExHjFRDjFRHkDhHkFhDkFxDkGBDkGRDkGhDkGxDkHRDlHRDlHhHlHxHlIBHlIRHlIhDlIxDl
JBDlJRDlKBDlKxDlLRDmJRDmJhDmJxDmLRDmLg/mLw/mMA/mMQ/mMw/mNA/mNQ/nNQ/nNg/nNw/n
Og7nOg/nQA7nQQ7nQg7nQw7oPA7oPQ7oPg7oPw7oQw7oRA7oRQ7oRg3oRw3oSQ3oSg3pSw3pTQ3p
Tg3pUA3pUQ3pUg3pUw3pWg3qUwzqVAzqVQzqVg3qVw3qWQ3qWw3qXQ3qXg3qXw3qYAzqYQzqYgzr
YwzrZAzrZQzrZgzrZwzraAzsagzsawzsbQvsbgvsbwvscQvscgvscwvsdgvsdwvseAvseQrsegrt
egrtewrtfArtfgrtgQruggrugwruhQnuhgnujAnujQnujgnujwrviQnvkgnvlAnvlgnvlwnvmAnw
mQnwmgnwnQnwngnwnwjwoAjwoQjwpQjwpgjwqAjwqQjxoQjxogjxowjxpAjxqQjxqgfxqgjxqwfx
rAfxrQfxrgfxrwfyrwfysgfyswfytAfytQfytgfyvgbyvwbzuAbzuQbzugbzvAbzvwbzwAbzwQbz
wgbzwwXzxAXzxQXzxgXzxwb0xwb0yAb0yQb0ygb0ywb0zAb0zQb0zgb01gX1zwX10AX10QX10gX1
0wX11AX11QX11gX12AX12QX12gX12wX13AT13QT13gT23gT23wT24AT24QT24gT///+fw2j9AAAA
AWJLR0TMGteT0wAABKVJ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xr5xixFNiwxs8i0D6mahldl1DDgGL3J3M9r5fFilJwOO90MM/U+QvNcD
XphZNxjxeUfYZQnJDamIKW0DycXwpsdehjQtMbBMJa9MRpumXGEFPDLfMOi0gWXy7u7Pg4PcA3fz
4I2vliEFsMwrSw0cpSybB29GMaCB5FZYJhNxZcKbNWRd0eP7yGupkDiO89RQwCyo53MQZ3n3SrNw
X79DuyDOXl5pEJLyRjrEURZE/jNjIG5N/xji0oC/t0Cc5SAk4wcWQ5wVHXk9G4DZQS6CxFHK+pLC
lLkkZ0LiyL1Osvo2yYmQeGYybAwkHrOHIX/uHG0gzrrX84Gzq3pCnMxhlPNFkLbl32JY/VdLBhlI
2/IuMsQ/Pg3iKLWC5OV9JG9A4tjaWL58sDFl5CWIs06TOuC+vg08BXHpTZ6AuJRyrALi1qBdENcG
QkRERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
RET+X/8CqrCU/dLm8ucAAAAASUVORK5CYII=
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
200
</int>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
1907
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
icon_lang_zh.png
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
300
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_widget_library/WebSite_viewTopBarWidget.xml
View file @
ae1024ad
...
@@ -49,9 +49,20 @@
...
@@ -49,9 +49,20 @@
<tal:block
tal:define=
"current_web_site_url python:request.get(\'current_web_site_url\', \'\');\n
<tal:block
tal:define=
"current_web_site_url python:request.get(\'current_web_site_url\', \'\');\n
current_web_site python:request.get(\'current_web_site\', here);\n
current_web_site python:request.get(\'current_web_site\', here);\n
logout_form_id python:current_web_site.getLayoutProperty(\'layout_logout_form_id\',\'WebSite_logout\');\n
logout_form_id python:current_web_site.getLayoutProperty(\'layout_logout_form_id\',\'WebSite_logout\');\n
login_form_id python:current_web_site.getLayoutProperty(\'layout_login_form_id\',\'login_form\')"
>
\n
login_form_id python:current_web_site.getLayoutProperty(\'layout_login_form_id\',\'login_form\');\n
language_list current_web_site/Localizer/get_languages_map;\n
dummy python: language_list.sort(key=lambda x: x[\'selected\'], reverse=True);\n
available_language_list website/getAvailableLanguageList;"
>
\n
\n
\n
<div
id=
"acknowledgement_zone"
></div>
\n
<div
id=
"acknowledgement_zone"
></div>
\n
<div
id=
"language"
>
\n
<tal:block
tal:repeat=
"language language_list"
>
\n
<a
tal:define=
"language_id language/id;"
\n
tal:condition=
"python:language_id in available_language_list"
\n
tal:attributes=
"href python: current_web_site_url + \'/Base_doLanguage?select_language=%s\' % language_id"
\n
tal:content=
"language/title"
>
English
</a>
\n
</tal:block>
\n
</div>
\n
<a
tal:attributes=
"href current_web_site_url"
><div
id=
"vifib_logo"
></div></a>
\n
<a
tal:attributes=
"href current_web_site_url"
><div
id=
"vifib_logo"
></div></a>
\n
\n
\n
<div
id=
"login_menu"
>
\n
<div
id=
"login_menu"
>
\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment