mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
57092c3e60
2 changed files with 3 additions and 13 deletions
|
@ -67,12 +67,6 @@
|
||||||
<label><input name="method"<!-- IF methods.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> type="radio" class="radio" value="{methods.TYPE}" /> {methods.TYPE}</label>
|
<label><input name="method"<!-- IF methods.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> type="radio" class="radio" value="{methods.TYPE}" /> {methods.TYPE}</label>
|
||||||
<!-- END methods --></dd>
|
<!-- END methods --></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
|
||||||
<dt><label for="where">{L_ACTION}{L_COLON}</label></dt>
|
|
||||||
<dd>
|
|
||||||
<label><input id="where" type="radio" class="radio" name="where" value="store" checked="checked" /> {L_STORE_LOCAL}</label>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="table">{L_TABLE_SELECT}{L_COLON}</label></dt>
|
<dt><label for="table">{L_TABLE_SELECT}{L_COLON}</label></dt>
|
||||||
<dd><select id="table" name="table[]" size="10" multiple="multiple">
|
<dd><select id="table" name="table[]" size="10" multiple="multiple">
|
||||||
|
|
|
@ -62,7 +62,6 @@ class acp_database
|
||||||
$type = $request->variable('type', '');
|
$type = $request->variable('type', '');
|
||||||
$table = array_intersect($this->db_tools->sql_list_tables(), $request->variable('table', array('')));
|
$table = array_intersect($this->db_tools->sql_list_tables(), $request->variable('table', array('')));
|
||||||
$format = $request->variable('method', '');
|
$format = $request->variable('method', '');
|
||||||
$where = $request->variable('where', '');
|
|
||||||
|
|
||||||
if (!count($table))
|
if (!count($table))
|
||||||
{
|
{
|
||||||
|
@ -74,12 +73,9 @@ class acp_database
|
||||||
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
$store = $structure = $schema_data = false;
|
$store = true;
|
||||||
|
$structure = false;
|
||||||
if ($where == 'store')
|
$schema_data = false;
|
||||||
{
|
|
||||||
$store = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($type == 'full' || $type == 'structure')
|
if ($type == 'full' || $type == 'structure')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue