|
|
|
|
69
|
else:
|
69
|
else:
|
70
|
print(entry % (htmlspecialchars(p["url"]), htmlspecialchars(p["title"])))
|
70
|
print(entry % (htmlspecialchars(p["url"]), htmlspecialchars(p["title"])))
|
71
|
%-->
|
71
|
%-->
|
|
|
72
|
+ <li class="divider-vertical"></li>
|
72
|
<li><a href="http://xythobuz.de/lastmusic">♫</a></li>
|
73
|
<li><a href="http://xythobuz.de/lastmusic">♫</a></li>
|
73
|
<!--%
|
74
|
<!--%
|
74
|
tmp = [p for p in page["lang_links"].iteritems()]
|
75
|
tmp = [p for p in page["lang_links"].iteritems()]
|
75
|
if len(tmp) > 1:
|
76
|
if len(tmp) > 1:
|
|
|
77
|
+ print '<li class="divider-vertical"></li>'
|
76
|
print '<li class="dropdown"><a href="language.html" class="dropdown-toggle" data-toggle="dropdown">Language <b class="caret"></b></a><ul class="dropdown-menu">'
|
78
|
print '<li class="dropdown"><a href="language.html" class="dropdown-toggle" data-toggle="dropdown">Language <b class="caret"></b></a><ul class="dropdown-menu">'
|
77
|
print " ".join(["<li><a href='%s'>%s</a></li>" % (url, lang) for lang, url in page["lang_links"].iteritems()]).replace(">en<", ">English<").replace(">de<", ">Deutsch<")
|
79
|
print " ".join(["<li><a href='%s'>%s</a></li>" % (url, lang) for lang, url in page["lang_links"].iteritems()]).replace(">en<", ">English<").replace(">de<", ">Deutsch<")
|
78
|
print "</ul></li>"
|
80
|
print "</ul></li>"
|
79
|
print ''
|
81
|
print ''
|
80
|
%-->
|
82
|
%-->
|
|
|
83
|
+ <li class="divider-vertical"></li>
|
81
|
<script type="text/javascript">
|
84
|
<script type="text/javascript">
|
82
|
function sitesearch(curobj) {
|
85
|
function sitesearch(curobj) {
|
83
|
curobj.q.value = "site:xythobuz.de " + curobj.r.value
|
86
|
curobj.q.value = "site:xythobuz.de " + curobj.r.value
|