summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-04-16 17:12:36 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-04-16 17:12:36 +0200
commit52e67d8f0894c478b119ddb89aebd249518820e9 (patch)
tree502722032526ff79a11d8a307afbfa2654f4e56a /module/web/templates
parentRapidshare fix (diff)
downloadpyload-52e67d8f0894c478b119ddb89aebd249518820e9.tar.xz
closed #276
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/info.html75
1 files changed, 41 insertions, 34 deletions
diff --git a/module/web/templates/default/info.html b/module/web/templates/default/info.html
index d1acb804c..f1ef06814 100644
--- a/module/web/templates/default/info.html
+++ b/module/web/templates/default/info.html
@@ -1,46 +1,53 @@
{% extends 'default/base.html' %}
+{% block head %}
+ <script type="text/javascript">
+ window.addEvent("domready", function() {
+ var ul = new Element('ul#twitter_update_list');
+ var script1 = new Element('script[src=http://twitter.com/javascripts/blogger.js][type=text/javascript]');
+ var script2 = new Element('script[src=http://twitter.com/statuses/user_timeline/pyLoad.json?callback=twitterCallback2&count=6][type=text/javascript]');
+ $("twitter").adopt(ul, script1, script2);
+ });
+ </script>
+{% endblock %}
+
{% block title %}{{ _("Information") }} - {{ super() }} {% endblock %}
{% block subtitle %}{{ _("Information") }}{% endblock %}
-
{% block content %}
<h3>{{ _("News") }}</h3>
- <div id="twitter">
- <ul id="twitter_update_list"></ul>
- <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
- <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/pyLoad.json?callback=twitterCallback2&count=6"></script>
- </div>
+ <div id="twitter"></div>
+
<h3>{{ _("System") }}</h3>
<table class="system">
- <tr>
- <td>Version:</td>
- <td>{{ version }}</td>
- </tr>
- <tr>
- <td>Installation Folder:</td>
- <td>{{ folder }}</td>
- </tr>
- <tr>
- <td>Config Folder:</td>
- <td>{{ config }}</td>
- </tr>
- <tr>
- <td>Download Folder:</td>
- <td>{{ download }}</td>
- </tr>
- <tr>
- <td>Language:</td>
- <td>{{ language }}</td>
- </tr>
- <tr>
- <td>Webinterface Port:</td>
- <td>{{ webif }}</td>
- </tr>
- <tr>
- <td>Remote Interface Port:</td>
- <td>{{ remote }}</td>
- </tr>
+ <tr>
+ <td>{{ _("Version:") }}</td>
+ <td>{{ version }}</td>
+ </tr>
+ <tr>
+ <td>{{ _("Installation Folder:") }}</td>
+ <td>{{ folder }}</td>
+ </tr>
+ <tr>
+ <td>{{ _("Config Folder:") }}</td>
+ <td>{{ config }}</td>
+ </tr>
+ <tr>
+ <td>{{ _("Download Folder:") }}</td>
+ <td>{{ download }}</td>
+ </tr>
+ <tr>
+ <td>{{ _("Language:") }}</td>
+ <td>{{ language }}</td>
+ </tr>
+ <tr>
+ <td>{{ _("Webinterface Port:") }}</td>
+ <td>{{ webif }}</td>
+ </tr>
+ <tr>
+ <td>{{ _("Remote Interface Port:") }}</td>
+ <td>{{ remote }}</td>
+ </tr>
</table>
{% endblock %} \ No newline at end of file