Adminer plugin for quickly filtering tables, works only with custom themes where table list holds floated items
Uses localStorage to hold the filter across url changes
- Download plugin.php to
/pluginsdirectory - Copy
quickfilter.phpto/pluginsdirectory - Adminer should be renamed to
adminer.php - Create
index.phpand paste this
<?php
function adminer_object() {
// required to run any plugin
include_once "./plugins/plugin.php";
// autoloader
foreach (glob("plugins/*.php") as $filename) {
include_once "./$filename";
}
$plugins = array(
// specify enabled plugins here
new AdminerQuickFilterTables,
);
/* It is possible to combine customization and plugins:
class AdminerCustomization extends AdminerPlugin {
}
return new AdminerCustomization($plugins);
*/
return new AdminerPlugin($plugins);
}
// include original Adminer or Adminer Editor
include "./adminer.php";
?>- Add
new AdminerQuickFilterTablestoindex.php$pluginsarray - Download Theme to
adminer.css
localStoragecapable browser- Adminer theme, where the table list items are floated elements
