summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-14 15:52:40 +0400
committerAndrew Dolgov <[email protected]>2011-12-14 15:52:40 +0400
commitab05e53813834e3d3212af06f30b7d7e950e1a99 (patch)
tree7170cda0b43257416bb090608f42ddffba1ca20e
parent66be620a87aa93a1f9cc3e956942026ce31f2207 (diff)
remove about dialog
-rw-r--r--classes/dlg.php31
-rw-r--r--index.php1
-rw-r--r--js/tt-rss.js10
3 files changed, 0 insertions, 42 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index 55f6ea726..f40348464 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -1013,37 +1013,6 @@ class Dlg extends Protected_Handler {
}
- function about() {
- print "<table width='100%'><tr><td align='center'>";
- print "<img src=\"images/logo_big.png\">";
- print "</td>";
- print "<td width='70%'>";
-
- print "<h1>Tiny Riny RSS</h1>
- <strong>Version ".VERSION."</strong>
- <p>Copyright &copy; 2005-".date('Y')."
- <a target=\"_blank\" class=\"visibleLink\"
- href=\"http://fakecake.org/\">Andrew Dolgov</a>
- and other contributors.</p>
- <p class=\"insensitive\">Licensed under GNU GPL version 2.</p>";
-
- print "<p class=\"insensitive\">
- <a class=\"visibleLink\" target=\"_blank\"
- href=\"http://tt-rss.org/\">Official site</a> &mdash;
- <a href=\"http://tt-rss.org/redmine/wiki/tt-rss/Donate\"
- target=\"_blank\" class=\"visibleLink\">
- Support the project.</a></p>";
-
- print "</td></tr>";
- print "</table>";
-
- print "<div align='center'>";
- print "<button dojoType=\"dijit.form.Button\"
- type=\"submit\">".
- __('Close this window')."</button>";
- print "</div>";
- }
-
function addInstance() {
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"pref-instances\">";
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"add\">";
diff --git a/index.php b/index.php
index 25e3a5cb4..3096cd2cd 100644
--- a/index.php
+++ b/index.php
@@ -179,7 +179,6 @@
<div dojoType="dijit.MenuItem" onclick="quickMenuGo('qmcAddLabel')"><?php echo __('Create label...') ?></div>
<div dojoType="dijit.MenuItem" onclick="quickMenuGo('qmcAddFilter')"><?php echo __('Create filter...') ?></div>
<div dojoType="dijit.MenuItem" onclick="quickMenuGo('qmcHKhelp')"><?php echo __('Keyboard shortcuts help') ?></div>
- <div dojoType="dijit.MenuItem" onclick="quickMenuGo('qmcAbout')"><?php echo __('About...') ?></div>
</div>
</div>
</div>
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 23349db63..0c6ae14e8 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -436,16 +436,6 @@ function quickMenuGo(opid) {
} });
}
- if (opid == "qmcAbout") {
- dialog = new dijit.Dialog({
- title: __("About..."),
- style: "width: 400px",
- href: "backend.php?op=dlg&method=about",
- });
-
- dialog.show();
- }
-
} catch (e) {
exception_error("quickMenuGo", e);
}