From: Paul L. <pdo...@us...> - 2011-04-30 04:03:23
|
Update of /cvsroot/serverfilters/server_side_filters/templates/default In directory vz-cvs-3.sog:/tmp/cvs-serv11534 Modified Files: options.tpl Log Message: Don't let the up/down buttons wrap Index: options.tpl =================================================================== RCS file: /cvsroot/serverfilters/server_side_filters/templates/default/options.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** options.tpl 29 Apr 2011 14:10:58 -0000 1.3 --- options.tpl 30 Apr 2011 04:03:20 -0000 1.4 *************** *** 778,782 **** // else if ($index == 0) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center">' : '<td><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td><td>') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>'; --- 778,782 ---- // else if ($index == 0) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center" style="white-space: nowrap;">' : '<td style="white-space: nowrap;"><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td><td style="white-space: nowrap;">') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>'; *************** *** 784,790 **** // else if ($index == $rule_count - 3) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center">' : '<td>') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>' ! . (!$show_all_move_controls ? '' : '<td><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td>'); // show both arrows --- 784,790 ---- // else if ($index == $rule_count - 3) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center" style="white-space: nowrap;">' : '<td style="white-space: nowrap;">') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>' ! . (!$show_all_move_controls ? '' : '<td style="white-space: nowrap;"><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td>'); // show both arrows *************** *** 792,798 **** else { ! echo '<td>' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' ! . '</td><td>' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' . '</td>'; --- 792,798 ---- else { ! echo '<td style="white-space: nowrap;">' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' ! . '</td><td style="white-space: nowrap;">' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' . '</td>'; *************** *** 859,863 **** // else if ($index == 0) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center">' : '<td><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td><td>') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>'; --- 859,863 ---- // else if ($index == 0) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center" style="white-space: nowrap;">' : '<td style="white-space: nowrap;"><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td><td style="white-space: nowrap;">') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>'; *************** *** 865,871 **** // else if ($index == $rule_count - 3) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center">' : '<td>') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>' ! . (!$show_all_move_controls ? '' : '<td><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td>'); // show both arrows --- 865,871 ---- // else if ($index == $rule_count - 3) ! echo (!$show_all_move_controls ? '<td colspan="2" align="center" style="white-space: nowrap;">' : '<td style="white-space: nowrap;">') . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /></td>' ! . (!$show_all_move_controls ? '' : '<td style="white-space: nowrap;"><img src="' . $base_uri . 'images/blank.png" width="16px"> <img src="' . $base_uri . 'images/blank.png" width="16px"></td>'); // show both arrows *************** *** 873,879 **** else { ! echo '<td>' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' ! . '</td><td>' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' . '</td>'; --- 873,879 ---- else { ! echo '<td style="white-space: nowrap;">' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up_top.png" border="0" name="up_top" alt="' . _("Move To Top") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/up.png" border="0" name="up" alt="' . _("Move Up") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' ! . '</td><td style="white-space: nowrap;">' . '<input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down.png" border="0" name="down" alt="' . _("Move Down") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' /> <input type="image" src="' . $base_uri . 'plugins/server_side_filters/images/down_bottom.png" border="0" name="down_bottom" alt="' . _("Move To Bottom") . '"' . ($javascript_on ? ' onClick="no_new_folder = true;"' : '') . ' />' . '</td>'; |