summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-12 16:19:53 +0300
committerAndrew Dolgov <[email protected]>2010-01-12 16:19:53 +0300
commit2ae691263fa17a8b2996cb2315cf152597b108ab (patch)
treea27c896e5bf0302115a9ea3a28e50c0a2073ce03 /modules
parent65355c846c0878055034f9d50c8974aef1f75d4c (diff)
some more button-related fixes; code cleanup
Diffstat (limited to 'modules')
-rw-r--r--modules/popup-dialog.php31
1 files changed, 2 insertions, 29 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 7967eb70b..ea3ff8135 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -363,41 +363,14 @@
style=\"display:none\"></div>
</td></tr>";
-/* print "<tr><td>".__('Add existing tag:')."</td>";
-
- $result = db_query($link, "SELECT DISTINCT tag_name FROM ttrss_tags
- WHERE owner_uid = '".$_SESSION["uid"]."' ORDER BY tag_name");
-
- $found_tags = array();
-
- array_push($found_tags, '');
-
- while ($line = db_fetch_assoc($result)) {
- array_push($found_tags, truncate_string($line["tag_name"], 20));
- }
-
- print "<td align='right'>";
-
- print_select("found_tags", '', $found_tags, "onchange=\"javascript:editTagsInsert()\"");
-
- print "</td>";
-
- print "</tr>"; */
-
print "</table>";
print "</form>";
print "<div align='right'>";
- print "<input class=\"button\"
- type=\"submit\" onclick=\"return editTagsSave()\"
- value=\"".__('Save')."\"> ";
-
- print "<input class=\"button\"
- type=\"submit\" onclick=\"return closeInfoBox()\"
- value=\"".__('Cancel')."\">";
-
+ print "<button onclick=\"return editTagsSave()\">".__('Save')."</button> ";
+ print "<button onclick=\"return closeInfoBox()\">".__('Cancel')."</button>";
print "</div>";