]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove about dialog
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 14 Dec 2011 11:52:40 +0000 (15:52 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 14 Dec 2011 11:52:40 +0000 (15:52 +0400)
classes/dlg.php
index.php
js/tt-rss.js

index 55f6ea726a7f8105b041b31566d024166bbf6d6f..f40348464fc37d105c9cc619807daf0cb2b576a9 100644 (file)
@@ -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\">";
index 25e3a5cb476b10ebc092b7b415ed10173ee83413..3096cd2cdd25448de797da703ecc6462b063fb58 100644 (file)
--- a/index.php
+++ b/index.php
                                        <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>
index 23349db63661b2606d5da5e3afe1352a1a92d3de..0c6ae14e8659d871f25b4689dc39aefc73e55b28 100644 (file)
@@ -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);
        }