some more button-related fixes; code cleanup

master
Andrew Dolgov 15 years ago
parent 65355c846c
commit 2ae691263f

@ -4834,8 +4834,8 @@
} else {
print "
<div style=\"text-align : center\">
<input type=\"submit\" onclick=\"return window.close()\"
value=\"".__("Close this window")."\"></div>";
<button onclick=\"return window.close()\">".
__("Close this window")."</button></div>";
print "</body></html>";
}

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

@ -207,8 +207,6 @@
title="<?php echo __('Collapse feedlist') ?>" style="display : none">
&lt;&lt;</button>
&nbsp;
<select name="view_mode" title="<?php echo __('Show articles') ?>"
onchange="viewModeChanged()">
<option selected="selected" value="adaptive"><?php echo __('Adaptive') ?></option>
@ -227,8 +225,6 @@
<option value="score"><?php echo __('Score') ?></option>
</select>
&nbsp;
<button onclick="return viewCurrentFeed('ForceUpdate')">
<?php echo __('Update') ?></button>

Loading…
Cancel
Save