menu = $menu; } function config() { $options = array( 'select' => Adminer\lang('Select data'), 'table' => Adminer\lang('Show structure'), '' => $this->lang('Both'), 'auto' => $this->lang('Auto (select on select page, structure otherwise)'), ); $menu = Adminer\get_setting("menu", "adminer_config") ?: $this->menu; return array($this->lang('Menu table links') => Adminer\html_radios('config[menu]', $options, $menu, "
")); } function tablesPrint(array $tables) { $menu = Adminer\get_setting("menu", "adminer_config") ?: $this->menu; $titles = array( 'select' => Adminer\lang('Select data'), 'table' => Adminer\lang('Show structure'), ); // this is copied from Adminer::tablesPrint() echo "\n"; return true; } function screenshot() { return "https://www.adminer.org/static/plugins/menu-links.png"; } protected $translations = array( 'cs' => array( '' => 'Konfigurace odkazů na tabulky v menu; kombinovatelné s AdminerConfig', 'Menu table links' => 'Odkazy na tabulky v menu', 'Both' => 'Oboje', 'Auto (select on select page, structure otherwise)' => 'Auto (vypsat na výpisech, jinak struktura)', ), 'pl' => array( 'Menu table links' => 'Linki do tabel w menu', 'Both' => 'Obie', 'Auto (select on select page, structure otherwise)' => 'Auto (pokaż na stronie przeglądania, w przeciwnym razie struktura)', ), 'de' => array( '' => 'Menü- und Tabellen-Links konfigurieren. Kombinierbar mit AdminerConfig', 'Both' => 'Beide', 'Auto (select on select page, structure otherwise)' => 'Auto (Auswahl auf der ausgewählten Seite, sonst Struktur)', 'Menu table links' => 'Links verwenden in „Tabelle“', ), 'ja' => array( '' => 'メニュー内テーブルへのリンク設定; AdminerConfig との併用可', 'Both' => '両方', 'Auto (select on select page, structure otherwise)' => '自動 (選択ページでは選択、それ以外では構造)', 'Menu table links' => 'メニューテーブルへのリンク', ), ); }