]> git.joonet.de Git - adminer.git/commitdiff
Add CSS classes (thanks to cvicebni ubor)
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 28 Oct 2009 12:21:21 +0000 (12:21 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 28 Oct 2009 12:21:21 +0000 (12:21 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1218 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/include/adminer.inc.php
adminer/select.inc.php
editor/include/adminer.inc.php
todo.txt

index 2c618e6737c7df48288daf1eff4f220d199daffe..9eed7040af4eca86668eeff8f07dba581d1fdbc3 100644 (file)
@@ -73,7 +73,7 @@ class Adminer {
        */
        function selectLinks($tableStatus, $set = "") {
                $TABLE = $tableStatus["Name"];
-               echo '<p><a href="' . h(ME) . 'select=' . urlencode($TABLE) . '">' . lang('Select table') . '</a>';
+               echo '<p class="tabs"><a href="' . h(ME) . 'select=' . urlencode($TABLE) . '">' . lang('Select table') . '</a>';
                echo ' <a href="' . h(ME) . 'table=' . urlencode($TABLE) . '">' . lang('Table structure') . '</a>';
                if (isset($tableStatus["Rows"])) {
                        echo ' <a href="' . h(ME) . 'create=' . urlencode($TABLE) . '">' . lang('Alter table') . '</a>';
@@ -471,7 +471,7 @@ class Adminer {
                        $databases = get_databases();
                        ?>
 <form action="" method="post">
-<p>
+<p class="logout">
 <a href="<?php echo h(ME); ?>sql="><?php echo lang('SQL command'); ?></a>
 <a href="<?php echo h(ME); ?>dump=<?php echo urlencode(isset($_GET["table"]) ? $_GET["table"] : $_GET["select"]); ?>"><?php echo lang('Dump'); ?></a>
 <input type="hidden" name="token" value="<?php echo $_SESSION["tokens"][$_GET["server"]]; ?>">
index 1d60eea164e85af22d91a3d4cd2ce394bc97e145..e39ca08bfdb966872e95b72dc2cd85bab2cc0a24 100644 (file)
@@ -252,7 +252,7 @@ if (!$columns) {
                                flush();
                                $found_rows = $connection->result($connection->query("SELECT COUNT(*) FROM " . idf_escape($TABLE) . ($where ? " WHERE " . implode(" AND ", $where) : "")));
                        }
-                       echo "<p>";
+                       echo "<p class='pages'>";
                        if (intval($limit) && $found_rows > $limit) {
                                // display first, previous 3, next 3 and last page
                                $max_page = floor(($found_rows - 1) / $limit);
index b5597f211f6c9347fe7de9cfe37fd4c464e4ce3b..093c6aa6d4b52c6c946ec8e2d13cd9371327b0bf 100644 (file)
@@ -43,7 +43,7 @@ class Adminer {
        function selectLinks($tableStatus, $set = "") {
                $TABLE = $tableStatus["Name"];
                if (isset($set)) {
-                       echo '<p><a href="' . h(ME . 'edit=' . urlencode($TABLE) . $set) . '">' . lang('New item') . "</a>\n";
+                       echo '<p class="tabs"><a href="' . h(ME . 'edit=' . urlencode($TABLE) . $set) . '">' . lang('New item') . "</a>\n";
                }
        }
        
@@ -433,7 +433,7 @@ ORDER BY ORDINAL_POSITION");
                if ($missing != "auth") {
                        ?>
 <form action="" method="post">
-<p>
+<p class="logout">
 <input type="hidden" name="token" value="<?php echo $_SESSION["tokens"][$_GET["server"]]; ?>">
 <input type="submit" name="logout" value="<?php echo lang('Logout'); ?>">
 </p>
index 9d9d33428a863a7725643eee25f091d1c69f4fbc..d289c27c0a4e08f431d23cbf46fd29335619dc94 100644 (file)
--- a/todo.txt
+++ b/todo.txt
@@ -1,5 +1,3 @@
-Add whisperer to fields with foreign key
-Highlight found fields
 MySQL 5 BIT data type
 Transactions in export
 Create view and routine options
@@ -19,3 +17,4 @@ Editor:
 JavaScript data validation - columns containing word email, url, ...
 Joining tables - PRIMARY KEY (table, joining)
 Rank, Tree structure
+Add whisperer to fields with foreign key to big table