remove about dialog

This commit is contained in:
Andrew Dolgov 2011-12-14 15:52:40 +04:00
parent 66be620a87
commit ab05e53813
3 changed files with 0 additions and 42 deletions

View 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\">";

View File

@ -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>

View 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);
}