Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add CSS classes (thanks to cvicebni ubor)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1218 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit fde11717bd0f31c8a97c5a19697ff0b85135bd01 1 parent 0c6811e
jakubvrana authored
View
4 adminer/include/adminer.inc.php
@@ -73,7 +73,7 @@ function fieldName($field, $order = 0) {
*/
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 @@ function navigation($missing) {
$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"]]; ?>">
View
2  adminer/select.inc.php
@@ -252,7 +252,7 @@
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);
View
4 editor/include/adminer.inc.php
@@ -43,7 +43,7 @@ function fieldName($field, $order = 0) {
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 @@ function navigation($missing) {
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>
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.