Changeset 142 for minimanager/tele.php
- Timestamp:
- Nov 23, 2007, 11:29:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/tele.php
r19 r142 67 67 <tr> 68 68 <th width=\"5%\">{$lang_global['delete_short']}</th> 69 <th width=\"5%\"><a href=\"tele.php?order_by=id&start=$start&dir=$dir\" >".($order_by=='id' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['id']}</a></th>70 <th width=\"28%\"><a href=\"tele.php?order_by=name&start=$start&dir=$dir\" >".($order_by=='name' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['name']}</a></th>71 <th width=\"22%\><a href=\"tele.php?order_by=map&start=$start&dir=$dir\" >".($order_by=='map' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['map']}</a></th>72 <th width=\"9%\"><a href=\"tele.php?order_by=position_x&start=$start&dir=$dir\" >".($order_by=='position_x' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['x']}</a></th>73 <th width=\"9%\"><a href=\"tele.php?order_by=position_y&start=$start&dir=$dir\" >".($order_by=='position_y' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['y']}</a></th>74 <th width=\"9%\"><a href=\"tele.php?order_by=position_z&start=$start&dir=$dir\" >".($order_by=='position_z' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['z']}</a></th>75 <th width=\"10%\"><a href=\"tele.php?order_by=orientation&start=$start&dir=$dir\" >".($order_by=='orientation' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['orientation']}</a></th>69 <th width=\"5%\"><a href=\"tele.php?order_by=id&start=$start&dir=$dir\"".($order_by=='id' ? " class=\"$order_dir\"" : "").">{$lang_tele['id']}</a></th> 70 <th width=\"28%\"><a href=\"tele.php?order_by=name&start=$start&dir=$dir\"".($order_by=='name' ? " class=\"$order_dir\"" : "").">{$lang_tele['name']}</a></th> 71 <th width=\"22%\><a href=\"tele.php?order_by=map&start=$start&dir=$dir\"".($order_by=='map' ? " class=\"$order_dir\"" : "").">{$lang_tele['map']}</a></th> 72 <th width=\"9%\"><a href=\"tele.php?order_by=position_x&start=$start&dir=$dir\"".($order_by=='position_x' ? " class=\"$order_dir\"" : "").">{$lang_tele['x']}</a></th> 73 <th width=\"9%\"><a href=\"tele.php?order_by=position_y&start=$start&dir=$dir\"".($order_by=='position_y' ? " class=\"$order_dir\"" : "").">{$lang_tele['y']}</a></th> 74 <th width=\"9%\"><a href=\"tele.php?order_by=position_z&start=$start&dir=$dir\"".($order_by=='position_z' ? " class=\"$order_dir\"" : "").">{$lang_tele['z']}</a></th> 75 <th width=\"10%\"><a href=\"tele.php?order_by=orientation&start=$start&dir=$dir\"".($order_by=='orientation' ? " class=\"$order_dir\"" : "").">{$lang_tele['orientation']}</a></th> 76 76 </tr>"; 77 77 … … 146 146 <tr> 147 147 <th width=\"5%\">{$lang_global['delete_short']}</th> 148 <th width=\"5%\"><a href=\"tele.php?action=search&error=4&order_by=id&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='id' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['id']}</a></th>149 <th width=\"28%\"><a href=\"tele.php?action=search&error=4&order_by=name&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='name' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['name']}</a></th>150 <th width=\"22%\"><a href=\"tele.php?action=search&error=4&order_by=map&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='map' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['map']}</a></th>151 <th width=\"9%\"><a href=\"tele.php?action=search&error=4&order_by=position_x&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='position_x' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['x']}</a></th>152 <th width=\"9%\"><a href=\"tele.php?action=search&error=4&order_by=position_y&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='position_y' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['y']}</a></th>153 <th width=\"9%\"><a href=\"tele.php?action=search&error=4&order_by=position_z&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='position_z' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['z']}</a></th>154 <th width=\"10%\"><a href=\"tele.php?action=search&error=4&order_by=orientation&search_by=$search_by&search_value=$search_value&dir=$dir\" >".($order_by=='orientation' ? "<img src=\"img/arr_".($dir ? "up" : "dw").".gif\" /> " : "")."{$lang_tele['orientation']}</a></th>148 <th width=\"5%\"><a href=\"tele.php?action=search&error=4&order_by=id&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='id' ? " class=\"$order_dir\"" : "").">{$lang_tele['id']}</a></th> 149 <th width=\"28%\"><a href=\"tele.php?action=search&error=4&order_by=name&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='name' ? " class=\"$order_dir\"" : "").">{$lang_tele['name']}</a></th> 150 <th width=\"22%\"><a href=\"tele.php?action=search&error=4&order_by=map&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='map' ? " class=\"$order_dir\"" : "").">{$lang_tele['map']}</a></th> 151 <th width=\"9%\"><a href=\"tele.php?action=search&error=4&order_by=position_x&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='position_x' ? " class=\"$order_dir\"" : "").">{$lang_tele['x']}</a></th> 152 <th width=\"9%\"><a href=\"tele.php?action=search&error=4&order_by=position_y&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='position_y' ? " class=\"$order_dir\"" : "").">{$lang_tele['y']}</a></th> 153 <th width=\"9%\"><a href=\"tele.php?action=search&error=4&order_by=position_z&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='position_z' ? " class=\"$order_dir\"" : "").">{$lang_tele['z']}</a></th> 154 <th width=\"10%\"><a href=\"tele.php?action=search&error=4&order_by=orientation&search_by=$search_by&search_value=$search_value&dir=$dir\"".($order_by=='orientation' ? " class=\"$order_dir\"" : "").">{$lang_tele['orientation']}</a></th> 155 155 </tr>"; 156 156 … … 223 223 $tele = $sql->fetch_row($query); 224 224 225 $output .= "<center> 226 <fieldset style=\"width: 550px;\"> 225 $output .= "<script type=\"text/javascript\"> 226 answerbox.btn_ok='{$lang_global['yes_low']}'; 227 answerbox.btn_cancel='{$lang_global['no']}'; 228 </script> 229 <center> 230 <fieldset class=\"half_frame\"> 227 231 <legend>{$lang_tele['edit_tele']}</legend> 228 232 <form method=\"get\" action=\"tele.php\" name=\"form\"> … … 265 269 </tr> 266 270 <tr><td>"; 267 makebutton($lang_tele['update_tele'], "javascript:do_submit()",130);271 makebutton($lang_tele['delete_tele'], "#\" onclick=\"answerBox('{$lang_global['delete']}: <font color=white>{$tele[1]}</font> <br /> {$lang_global['are_you_sure']}', 'tele.php?action=del_tele&id=$id');\" type=\"wrn",148); 268 272 $output .= "</td><td> 269 273 <table class=\"hidden\"> 270 274 <tr><td>"; 271 makebutton($lang_tele[' delete_tele'], "tele.php?action=del_tele&id=$id",148);272 makebutton($lang_global['back'], "tele.php ",148);275 makebutton($lang_tele['update_tele'], "javascript:do_submit()",130); 276 makebutton($lang_global['back'], "tele.php\" type=\"def",148); 273 277 $output .= "</td></tr> 274 278 </table>"; … … 322 326 323 327 $output .= "<center> 324 <fieldset style=\"width: 550px;\">328 <fieldset class=\"half_frame\"> 325 329 <legend>{$lang_tele['add_new_tele']}</legend> 326 330 <form method=\"get\" action=\"tele.php\" name=\"form\"> … … 329 333 <tr> 330 334 <td>{$lang_tele['loc_name']}</td> 331 <td><input type=\"text\" name=\"name\" size=\"42\" maxlength=\"98\" value=\" change_me\" /></td>335 <td><input type=\"text\" name=\"name\" size=\"42\" maxlength=\"98\" value=\"{$lang_tele['name']}\" /></td> 332 336 </tr> 333 337 <tr>
Note:
See TracChangeset
for help on using the changeset viewer.