diff --git a/adminer/file.inc.php b/adminer/file.inc.php index 7254f625..25092131 100644 --- a/adminer/file.inc.php +++ b/adminer/file.inc.php @@ -1,6 +1,7 @@ \n"; echo ($dark !== false ? "\n" : ""); return true; @@ -123,8 +124,10 @@ class Adminer { function loginForm() { global $drivers; echo "
' . lang('System') . ' | ', html_select("auth[driver]", $drivers, DRIVER, "loginDriver(this);")); echo $this->loginFormField('server', ' |
---|---|
' . lang('Server') . ' | ', ''); + // this is matched by compile.php echo $this->loginFormField('username', ' |
' . lang('Username') . ' | ', '' . script("qs('#username').form['auth[driver]'].onchange();")); echo $this->loginFormField('password', ' |
' . lang('Password') . ' | ', ''); echo $this->loginFormField('db', ' |
' . lang('Database') . ' | ', ''); @@ -990,6 +993,7 @@ class Adminer { select_db(DB); $tables = table_status('', true); } + // this is matched by compile.php echo script_src("../externals/jush/modules/jush.js"); echo script_src("../externals/jush/modules/jush-textarea.js"); echo script_src("../externals/jush/modules/jush-txt.js"); diff --git a/adminer/include/bootstrap.inc.php b/adminer/include/bootstrap.inc.php index f9f3768f..ae06599b 100644 --- a/adminer/include/bootstrap.inc.php +++ b/adminer/include/bootstrap.inc.php @@ -3,6 +3,7 @@ namespace Adminer; include "../adminer/include/version.inc.php"; include "../adminer/include/errors.inc.php"; +// this is matched by compile.php include "../adminer/include/coverage.inc.php"; // disable filter.default @@ -74,6 +75,7 @@ include "../adminer/drivers/oracle.inc.php"; include "../adminer/drivers/mssql.inc.php"; include "./include/adminer.inc.php"; $adminer = (function_exists('adminer_object') ? adminer_object() : new Adminer); +// this is matched by compile.php include "../adminer/drivers/mysql.inc.php"; // must be included as last driver define('Adminer\JUSH', Driver::$jush); diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php index 2b9a72db..97a78447 100644 --- a/adminer/include/design.inc.php +++ b/adminer/include/design.inc.php @@ -40,6 +40,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") { foreach ($css as $val) { echo "\n"; } + // this is matched by compile.php echo script_src("../adminer/static/functions.js"); echo script_src("static/editing.js"); ?> diff --git a/adminer/include/lang.inc.php b/adminer/include/lang.inc.php index 4477ccc5..accff558 100644 --- a/adminer/include/lang.inc.php +++ b/adminer/include/lang.inc.php @@ -63,10 +63,12 @@ function get_lang() { * @param int * @return string */ +// this is matched by compile.php function lang($idf, $number = null) { global $LANG, $translations; $translation = ($translations[$idf] ?: $idf); if (is_array($translation)) { + // this is matched by compile.php $pos = ($number == 1 ? 0 : ($LANG == 'cs' || $LANG == 'sk' ? ($number && $number < 5 ? 1 : 2) // different forms for 1, 2-4, other : ($LANG == 'fr' ? (!$number ? 0 : 1) // different forms for 0-1, other diff --git a/adminer/index.php b/adminer/index.php index 78065230..53f4bdfd 100644 --- a/adminer/index.php +++ b/adminer/index.php @@ -6,6 +6,7 @@ * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other) */ +// this is matched by compile.php namespace Adminer; @@ -15,6 +16,7 @@ include "./include/tmpfile.inc.php"; if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) { $_GET["edit"] = $_GET["select"]; } +// this is matched by compile.php if (isset($_GET["callf"])) { $_GET["call"] = $_GET["callf"]; } |