some more button-related fixes; code cleanup

This commit is contained in:
Andrew Dolgov 2010-01-12 16:19:53 +03:00
parent 65355c846c
commit 2ae691263f
3 changed files with 4 additions and 35 deletions

View File

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

View File

@ -363,41 +363,14 @@
style=\"display:none\"></div> style=\"display:none\"></div>
</td></tr>"; </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 "</table>";
print "</form>"; print "</form>";
print "<div align='right'>"; print "<div align='right'>";
print "<input class=\"button\" print "<button onclick=\"return editTagsSave()\">".__('Save')."</button> ";
type=\"submit\" onclick=\"return editTagsSave()\" print "<button onclick=\"return closeInfoBox()\">".__('Cancel')."</button>";
value=\"".__('Save')."\"> ";
print "<input class=\"button\"
type=\"submit\" onclick=\"return closeInfoBox()\"
value=\"".__('Cancel')."\">";
print "</div>"; print "</div>";

View File

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