mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
Rename selectExtra to selectEmail
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@924 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -236,6 +236,13 @@ class Adminer {
|
||||
echo "</div></fieldset>\n";
|
||||
}
|
||||
|
||||
/** Print extra text in the end of a select form
|
||||
* @param array fields holding e-mails
|
||||
* @return null
|
||||
*/
|
||||
function selectEmailPrint($emailFields) {
|
||||
}
|
||||
|
||||
/** Process columns box in select
|
||||
* @param array selectable columns
|
||||
* @return array (array(select_expressions), array(group_expressions))
|
||||
@@ -322,18 +329,11 @@ class Adminer {
|
||||
return (isset($_GET["text_length"]) ? $_GET["text_length"] : "100");
|
||||
}
|
||||
|
||||
/** Print extra text in the end of a select form
|
||||
* @param array fields holding e-mails
|
||||
* @return null
|
||||
*/
|
||||
function selectExtraPrint($emailFields) {
|
||||
}
|
||||
|
||||
/** Process extras in select form
|
||||
* @param array AND conditions
|
||||
* @return bool true if processed, false to process other parts of form
|
||||
*/
|
||||
function selectExtraProcess($where) {
|
||||
function selectEmailProcess($where) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -54,7 +54,7 @@ if ($_POST && !$error) {
|
||||
}
|
||||
exit;
|
||||
}
|
||||
if (!$adminer->selectExtraProcess($where)) {
|
||||
if (!$adminer->selectEmailProcess($where)) {
|
||||
if (!$_POST["import"]) { // edit
|
||||
$result = true;
|
||||
$affected = 0;
|
||||
@@ -272,7 +272,7 @@ if (!$columns) {
|
||||
}
|
||||
echo "<fieldset><legend>" . lang('CSV Import') . "</legend><div><input type='hidden' name='token' value='$token'><input type='file' name='csv_file'> <input type='submit' name='import' value='" . lang('Import') . "'></div></fieldset>\n";
|
||||
|
||||
$adminer->selectExtraPrint(array_filter($email_fields, 'strlen'));
|
||||
$adminer->selectEmailPrint(array_filter($email_fields, 'strlen'));
|
||||
|
||||
echo "</form>\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user