Changeset 756
- Timestamp:
- 05/09/07 19:21:15 (1 year ago)
- Files:
-
- cherokee-www/trunk/cherokee/media/css/layout.css (modified) (1 diff)
- cherokee-www/trunk/cherokee/templates/base.html (modified) (1 diff)
- cherokee-www/trunk/cherokee/templates/index.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee-www/trunk/cherokee/media/css/layout.css
r750 r756 44 44 } 45 45 46 #languages { 47 clear: both; 48 position: absolute; 49 right: 2px; 50 top: 50px; 51 } 52 53 #languages ul { 54 list-style: none; 55 padding: 0; 56 } 57 58 #languages li { 59 float: left; 60 } 61 62 #languages li a { 63 padding: 5px; 64 } 65 46 66 #content { 47 67 clear: both; cherokee-www/trunk/cherokee/templates/base.html
r742 r756 34 34 </div> 35 35 36 <div id="languages"> 37 <ul> 38 <li style="padding: 5px;">Choose your language: </li> 39 {% for language in LANGUAGES %} 40 {% ifequal LANGUAGE_CODE language.0 %} 41 <li><strong>{{ language.0 }}</strong></li> 42 {% else %} 43 <li><a href="/i18n/setlang/?language={{ language.0 }}&next={{ request.path }}" title="{{ language.1 }}">{{ language.0 }}</a></li> 44 {% endifequal %} 45 {% endfor %} 46 </ul> 47 </div> 48 36 49 <div id="content"> 37 50 {% block content %}{% endblock %} cherokee-www/trunk/cherokee/templates/index.html
r741 r756 2 2 3 3 {% block content %} 4 <form action="/i18n/setlang/" method="GET">5 <input type="hidden" name="next" value="{{ request.path }}" />6 <select name="language">7 {% for lang in LANGUAGES %}8 <option value="{{ lang.0 }}">{{ lang.1 }}</option>9 {% endfor %}10 </select>11 <input type="submit" value="go" />12 </form>13 4 {% endblock %}