Commit ae1024ad authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: Show links to change language at the header.

parent fbaa7e45
<?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>
<?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
AWJLR0TMGteT0wAABKVJREFUGBntwelfVGUABeDzMgFCICa4526aC5QrarlUSplri7nlVk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90MM/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>
......@@ -49,9 +49,20 @@
<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
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
<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
\n
<div id="login_menu">\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment