Converting number of Excel column names no longer limited
[phpmyadmin/arisferyanto.git] / libraries / display_tbl_links.lib.php
blob8d904c0e8f88bb95ef18c88cff0c6e4ab535a2e9
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * modified 2004-05-08 by Michael Keck <mail_at_michaelkeck_dot_de>
5 * - bugfix for select all checkboxes
6 * - copy right to left (or left to right) if user click on a check box
7 * - reversed the right modify links: 1. drop, 2. edit, 3. checkbox
8 * - also changes made in js/functions.js
10 * @version $Id$
11 * @package phpMyAdmin
13 if (! defined('PHPMYADMIN')) {
14 exit;
17 /**
20 if ($doWriteModifyAt == 'left') {
22 if (!empty($del_url) && $is_display['del_lnk'] != 'kp') {
23 echo ' <td align="center">' . "\n"
24 . ' <input type="checkbox" id="id_rows_to_delete' . $row_no . '" name="rows_to_delete[' . $where_clause_html . ']"'
25 . ' onclick="copyCheckboxesRange(\'rowsDeleteForm\', \'id_rows_to_delete' . $row_no . '\',\'l\');"'
26 . ' value="' . htmlspecialchars($del_query) . '" ' . (isset($GLOBALS['checkall']) ? 'checked="checked"' : '') . ' />' . "\n"
27 . ' </td>' . "\n";
29 if (!empty($edit_url)) {
30 echo ' <td align="center">' . "\n"
31 . PMA_linkOrButton($edit_url, $edit_str, '', FALSE)
32 . $bookmark_go
33 . ' </td>' . "\n";
35 if (!empty($del_url)) {
36 echo ' <td align="center">' . "\n"
37 . PMA_linkOrButton($del_url, $del_str, (isset($js_conf) ? $js_conf : ''), FALSE)
38 . ' </td>' . "\n";
40 } elseif ($doWriteModifyAt == 'right') {
41 if (!empty($del_url)) {
42 echo ' <td align="center">' . "\n"
43 . PMA_linkOrButton($del_url, $del_str, (isset($js_conf) ? $js_conf : ''), FALSE)
44 . ' </td>' . "\n";
46 if (!empty($edit_url)) {
47 echo ' <td align="center">' . "\n"
48 . PMA_linkOrButton($edit_url, $edit_str, '', FALSE)
49 . $bookmark_go
50 . ' </td>' . "\n";
52 if (!empty($del_url) && $is_display['del_lnk'] != 'kp') {
53 echo ' <td align="center">' . "\n"
54 . ' <input type="checkbox" id="id_rows_to_delete' . $row_no . 'r" name="rows_to_delete[' . $where_clause_html . ']"'
55 . ' onclick="copyCheckboxesRange(\'rowsDeleteForm\', \'id_rows_to_delete' . $row_no . '\',\'r\');"'
56 . ' value="' . htmlspecialchars($del_query) . '" ' . (isset($GLOBALS['checkall']) ? 'checked="checked"' : '') . ' />' . "\n"
57 . ' </td>' . "\n";