CRLF -> LF
Dieser Commit ist enthalten in:
Ursprung
82085eda16
Commit
b1a10a129d
39 geänderte Dateien mit 1154 neuen und 1128 gelöschten Zeilen
|
|
@ -1,89 +1,89 @@
|
|||
<?php
|
||||
$formUrl = $this->url(array('controller'=>'sql','action'=>'create.database'));
|
||||
?>
|
||||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_CREATE_DATABASE;?></h2>
|
||||
<?php echo $this->sqlHeadNavi(); ?>
|
||||
<h4><?php echo $this->lang->L_CREATE_DATABASE;?>:</h4>
|
||||
<form method="post" action="<?php echo $formUrl;?>">
|
||||
<table class="bdr" summary="create new database">
|
||||
<tr class="row-odd">
|
||||
<td><?php echo $this->lang->L_DB_NAME; ?>:</td>
|
||||
<td><input type="text" class="text" id="dbName" name="newDbInfo[dbName]" value="<?php echo (isset($this->dbCreated) && !$this->dbCreated) ? $this->out($this->newDbInfo['dbName']) : ''; ?>"/></td>
|
||||
</tr>
|
||||
<tr class="row-even">
|
||||
<td><?php echo $this->lang->L_DEFAULT_CHARSET;?>:</td>
|
||||
<td><select class="select" id="dbCharset" name="newDbInfo[dbCharset]"><?php foreach ($this->charsets as $charset) { ?>
|
||||
<option value="<?php echo $this->out($charset); ?>"<?php echo ($charset == $this->newDbInfo['dbCharset']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($charset); ?></option>
|
||||
<?php } ?></select></td>
|
||||
</tr>
|
||||
<tr class="row-odd">
|
||||
<td><?php echo $this->lang->L_DEFAULT_COLLATION_NAME;?>:</td>
|
||||
<td><select class="select" id="dbCollation" name="newDbInfo[dbCollation]"><?php foreach ($this->collations[$this->newDbInfo['dbCharset']] as $collation) { ?>
|
||||
<option value="<?php echo $this->out($collation); ?>"<?php echo ($collation == $this->newDbInfo['dbCollation']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($collation); ?></option>
|
||||
<?php } ?></select></td>
|
||||
</tr>
|
||||
<tr class="row-even">
|
||||
<td> </td>
|
||||
<td class="buttonBar">
|
||||
<button type="submit" class="Formbutton"><?php echo $this->getIcon('Database', '', 16); echo $this->lang->L_CREATE_DATABASE; ?></button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?php $this->jQuery()->onLoadCaptureStart(); ?>
|
||||
var dbCollations = <?php echo json_encode($this->collations); ?>;
|
||||
var dbDefaultCollations = <?php echo json_encode($this->defaultCollations); ?>;
|
||||
$('#dbCharset').bind('change', function() {
|
||||
var newOpts = '';
|
||||
var curCharset = $(this).val();
|
||||
$(dbCollations[curCharset]).each(function(id, v) {
|
||||
var selected = '';
|
||||
if (v == dbDefaultCollations[curCharset]) {
|
||||
selected = ' selected="selected"';
|
||||
}
|
||||
newOpts += '<option value="' + v +'"' + selected + '>' + v + '</option>';
|
||||
$('#dbCollation').html(newOpts);
|
||||
});
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('#dbName').focus();
|
||||
});
|
||||
<?php
|
||||
$this->jQuery()->onLoadCaptureEnd();
|
||||
|
||||
if (isset($this->dbCreated)) {
|
||||
if ($this->dbCreated) {
|
||||
$this->popUpMessage()->addMessage(
|
||||
'dialogDbCreation',
|
||||
'L_CREATE_DATABASE',
|
||||
array('L_DATABASE_CREATED_SUCCESS', $this->newDbInfo['dbName']),
|
||||
array(
|
||||
'modal' => 'true',
|
||||
'autoOpen' => 'true',
|
||||
'buttons' => array(
|
||||
'L_OK' => 'function(){$(this).dialog("close"); }',
|
||||
)
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$this->popUpMessage()->addMessage(
|
||||
'dialogDbCreation',
|
||||
'L_CREATE_DATABASE',
|
||||
array(
|
||||
'L_DATABASE_CREATED_FAILED',
|
||||
'<span class="error">(' . $this->errorInfo['code'] . ') '
|
||||
. $this->errorInfo['message'] .'</span>'
|
||||
),
|
||||
array(
|
||||
'modal' => 'true',
|
||||
'autoOpen' => 'true',
|
||||
'buttons' => array(
|
||||
'L_OK' => 'function(){$(this).dialog("close"); }',
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
<?php
|
||||
$formUrl = $this->url(array('controller'=>'sql','action'=>'create.database'));
|
||||
?>
|
||||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_CREATE_DATABASE;?></h2>
|
||||
<?php echo $this->sqlHeadNavi(); ?>
|
||||
<h4><?php echo $this->lang->L_CREATE_DATABASE;?>:</h4>
|
||||
<form method="post" action="<?php echo $formUrl;?>">
|
||||
<table class="bdr" summary="create new database">
|
||||
<tr class="row-odd">
|
||||
<td><?php echo $this->lang->L_DB_NAME; ?>:</td>
|
||||
<td><input type="text" class="text" id="dbName" name="newDbInfo[dbName]" value="<?php echo (isset($this->dbCreated) && !$this->dbCreated) ? $this->out($this->newDbInfo['dbName']) : ''; ?>"/></td>
|
||||
</tr>
|
||||
<tr class="row-even">
|
||||
<td><?php echo $this->lang->L_DEFAULT_CHARSET;?>:</td>
|
||||
<td><select class="select" id="dbCharset" name="newDbInfo[dbCharset]"><?php foreach ($this->charsets as $charset) { ?>
|
||||
<option value="<?php echo $this->out($charset); ?>"<?php echo ($charset == $this->newDbInfo['dbCharset']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($charset); ?></option>
|
||||
<?php } ?></select></td>
|
||||
</tr>
|
||||
<tr class="row-odd">
|
||||
<td><?php echo $this->lang->L_DEFAULT_COLLATION_NAME;?>:</td>
|
||||
<td><select class="select" id="dbCollation" name="newDbInfo[dbCollation]"><?php foreach ($this->collations[$this->newDbInfo['dbCharset']] as $collation) { ?>
|
||||
<option value="<?php echo $this->out($collation); ?>"<?php echo ($collation == $this->newDbInfo['dbCollation']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($collation); ?></option>
|
||||
<?php } ?></select></td>
|
||||
</tr>
|
||||
<tr class="row-even">
|
||||
<td> </td>
|
||||
<td class="buttonBar">
|
||||
<button type="submit" class="Formbutton"><?php echo $this->getIcon('Database', '', 16); echo $this->lang->L_CREATE_DATABASE; ?></button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?php $this->jQuery()->onLoadCaptureStart(); ?>
|
||||
var dbCollations = <?php echo json_encode($this->collations); ?>;
|
||||
var dbDefaultCollations = <?php echo json_encode($this->defaultCollations); ?>;
|
||||
$('#dbCharset').bind('change', function() {
|
||||
var newOpts = '';
|
||||
var curCharset = $(this).val();
|
||||
$(dbCollations[curCharset]).each(function(id, v) {
|
||||
var selected = '';
|
||||
if (v == dbDefaultCollations[curCharset]) {
|
||||
selected = ' selected="selected"';
|
||||
}
|
||||
newOpts += '<option value="' + v +'"' + selected + '>' + v + '</option>';
|
||||
$('#dbCollation').html(newOpts);
|
||||
});
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('#dbName').focus();
|
||||
});
|
||||
<?php
|
||||
$this->jQuery()->onLoadCaptureEnd();
|
||||
|
||||
if (isset($this->dbCreated)) {
|
||||
if ($this->dbCreated) {
|
||||
$this->popUpMessage()->addMessage(
|
||||
'dialogDbCreation',
|
||||
'L_CREATE_DATABASE',
|
||||
array('L_DATABASE_CREATED_SUCCESS', $this->newDbInfo['dbName']),
|
||||
array(
|
||||
'modal' => 'true',
|
||||
'autoOpen' => 'true',
|
||||
'buttons' => array(
|
||||
'L_OK' => 'function(){$(this).dialog("close"); }',
|
||||
)
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$this->popUpMessage()->addMessage(
|
||||
'dialogDbCreation',
|
||||
'L_CREATE_DATABASE',
|
||||
array(
|
||||
'L_DATABASE_CREATED_FAILED',
|
||||
'<span class="error">(' . $this->errorInfo['code'] . ') '
|
||||
. $this->errorInfo['message'] .'</span>'
|
||||
),
|
||||
array(
|
||||
'modal' => 'true',
|
||||
'autoOpen' => 'true',
|
||||
'buttons' => array(
|
||||
'L_OK' => 'function(){$(this).dialog("close"); }',
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
@ -1,133 +1,133 @@
|
|||
<?php $this->jQuery()->onLoadCaptureStart(); ?>
|
||||
$('#sqltextarea').bind('keyup', function(e){
|
||||
if (e.which == 13 && e.ctrlKey) {
|
||||
$('#execsql').trigger('click');
|
||||
}
|
||||
});
|
||||
<?php $this->jQuery()->onLoadCaptureEnd(); ?>
|
||||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_SQLBOX;?></h2>
|
||||
<?php echo $this->sqlHeadNavi(); ?>
|
||||
|
||||
<div id="mysqlbox">
|
||||
<form action="<?php echo $this->url(array('controller'=>'sql','action'=>'sqlbox'));?>" method="post" id="myForm">
|
||||
<div id="sqlheaderbox" style="height:28px;">
|
||||
<div style="padding:2px 8px 0 4px; float:left;">
|
||||
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-0'}, 300);return false;"><?php echo $this->getIcon('ArrowUp', '', 16);?></a>
|
||||
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '+=60'}, 300);return false;"><?php echo $this->getIcon('plus');?></a>
|
||||
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-=60'}, 300);return false;"><?php echo $this->getIcon('minus');?></a>
|
||||
</div>
|
||||
<span style="float:left;">
|
||||
<?php echo $this->lang->L_TABLE;?>: <select id="selectTable" class="text" onchange="setShowTableQuery();"><?php echo $this->tableSelectBox;?></select>
|
||||
<input class="Formbutton" type="submit" name="execsql" id="execsql" value="<?php echo $this->lang->L_SQL_EXEC;?>" />
|
||||
<input class="Formbutton" type="button" value="<?php echo $this->lang->L_RESET;?>" onclick="$('#sqltextarea').val('');"/>
|
||||
</span>
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<div>
|
||||
<textarea style="height:<?php echo $this->config->getParam('interface.sqlboxHeight');?>px;" name="sqltextarea" id="sqltextarea" rows="4" cols="10"><?php echo $this->boxcontent;?></textarea>
|
||||
<div class="sqlbox-warning small center"><?php echo $this->lang->L_SQL_WARNING;?></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<br />
|
||||
<?php
|
||||
$this->jQuery()->javascriptCaptureStart();
|
||||
if (isset($this->errorMessage)) {
|
||||
$this->popUpMessage()->addMessage(
|
||||
'SqlError',
|
||||
$this->lang->L_ERROR,
|
||||
$this->errorMessage,
|
||||
array(
|
||||
'modal' => true,
|
||||
'height' => 220,
|
||||
'width' => 400,
|
||||
'dialogClass' => 'error'
|
||||
)
|
||||
);
|
||||
}
|
||||
?>
|
||||
function setShowTableQuery()
|
||||
{
|
||||
query = $('#selectTable').attr('value');
|
||||
query = 'SELECT * FROM `' + query + '`;';
|
||||
$('#sqltextarea').val(query);
|
||||
$('#myForm').submit();
|
||||
}
|
||||
<?php
|
||||
$this->jQuery()->javascriptCaptureEnd();
|
||||
|
||||
if (isset($this->resultset) && is_array($this->resultset)) {
|
||||
$res = $this->resultset;
|
||||
if (count($res)>0) {
|
||||
$fieldNames = array_keys($res[0]);
|
||||
$i = 1;
|
||||
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
||||
?>
|
||||
<table class="bdr" summary="Table lists result sets">
|
||||
<tr class="thead">
|
||||
<th class="right">#</th>
|
||||
<?php
|
||||
foreach ($fieldNames as $field) {
|
||||
echo '<th>' . $field .'</th>';
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($res as $row) {
|
||||
?>
|
||||
<tr class="<?php echo $cycleHelper->next()?>">
|
||||
<td class="small right"><?php echo $this->numberFormat($i);?>.</td>
|
||||
<?php
|
||||
foreach ($row as $data) {
|
||||
if (is_numeric($data)) {
|
||||
echo '<td class="small right">' . $data . '</td>';
|
||||
} else {
|
||||
echo '<td class="small">' . $this->out($data) . '</td>';
|
||||
}
|
||||
}
|
||||
echo '</tr>';
|
||||
$i++;
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
echo '<p>' . $this->lang->L_NO_ENTRIES . '</p>';
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($this->resultSummary)) {
|
||||
$i = 1;
|
||||
$totalQueries = 0;
|
||||
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
||||
?>
|
||||
<table class="bdr" summary="Table lists result sets">
|
||||
<tr class="thead">
|
||||
<th colspan="3"><?php echo $this->lang->L_RESULT;?>:</th>
|
||||
</tr>
|
||||
<tr class="thead">
|
||||
<th class="right">#</th>
|
||||
<th><?php echo $this->lang->L_QUERY_TYPE;?></th>
|
||||
<th><?php echo $this->lang->L_NR_OF_QUERIES;?></th>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($this->resultSummary as $type => $count) {
|
||||
$totalQueries += $count;
|
||||
?>
|
||||
<tr class="<?php echo $cycleHelper->next();?>">
|
||||
<td class="small right"><?php echo $this->numberFormat($i);?>.</td>
|
||||
<td class="small"><?php echo ucfirst($type);?></td>
|
||||
<td class="small right"><?php echo $this->numberFormat($count);?></td>
|
||||
</tr>
|
||||
<?php $i++;
|
||||
} ?>
|
||||
<tr class="<?php echo $cycleHelper->next();?>">
|
||||
<td class="small sum"> </td>
|
||||
<td class="small sum"><?php echo $this->lang->L_SUM_TOTAL;;?></td>
|
||||
<td class="small right sum"><?php echo $this->numberFormat($totalQueries);?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
} ?>
|
||||
</div>
|
||||
<?php $this->jQuery()->onLoadCaptureStart(); ?>
|
||||
$('#sqltextarea').bind('keyup', function(e){
|
||||
if (e.which == 13 && e.ctrlKey) {
|
||||
$('#execsql').trigger('click');
|
||||
}
|
||||
});
|
||||
<?php $this->jQuery()->onLoadCaptureEnd(); ?>
|
||||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_SQLBOX;?></h2>
|
||||
<?php echo $this->sqlHeadNavi(); ?>
|
||||
|
||||
<div id="mysqlbox">
|
||||
<form action="<?php echo $this->url(array('controller'=>'sql','action'=>'sqlbox'));?>" method="post" id="myForm">
|
||||
<div id="sqlheaderbox" style="height:28px;">
|
||||
<div style="padding:2px 8px 0 4px; float:left;">
|
||||
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-0'}, 300);return false;"><?php echo $this->getIcon('ArrowUp', '', 16);?></a>
|
||||
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '+=60'}, 300);return false;"><?php echo $this->getIcon('plus');?></a>
|
||||
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-=60'}, 300);return false;"><?php echo $this->getIcon('minus');?></a>
|
||||
</div>
|
||||
<span style="float:left;">
|
||||
<?php echo $this->lang->L_TABLE;?>: <select id="selectTable" class="text" onchange="setShowTableQuery();"><?php echo $this->tableSelectBox;?></select>
|
||||
<input class="Formbutton" type="submit" name="execsql" id="execsql" value="<?php echo $this->lang->L_SQL_EXEC;?>" />
|
||||
<input class="Formbutton" type="button" value="<?php echo $this->lang->L_RESET;?>" onclick="$('#sqltextarea').val('');"/>
|
||||
</span>
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<div>
|
||||
<textarea style="height:<?php echo $this->config->getParam('interface.sqlboxHeight');?>px;" name="sqltextarea" id="sqltextarea" rows="4" cols="10"><?php echo $this->boxcontent;?></textarea>
|
||||
<div class="sqlbox-warning small center"><?php echo $this->lang->L_SQL_WARNING;?></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<br />
|
||||
<?php
|
||||
$this->jQuery()->javascriptCaptureStart();
|
||||
if (isset($this->errorMessage)) {
|
||||
$this->popUpMessage()->addMessage(
|
||||
'SqlError',
|
||||
$this->lang->L_ERROR,
|
||||
$this->errorMessage,
|
||||
array(
|
||||
'modal' => true,
|
||||
'height' => 220,
|
||||
'width' => 400,
|
||||
'dialogClass' => 'error'
|
||||
)
|
||||
);
|
||||
}
|
||||
?>
|
||||
function setShowTableQuery()
|
||||
{
|
||||
query = $('#selectTable').attr('value');
|
||||
query = 'SELECT * FROM `' + query + '`;';
|
||||
$('#sqltextarea').val(query);
|
||||
$('#myForm').submit();
|
||||
}
|
||||
<?php
|
||||
$this->jQuery()->javascriptCaptureEnd();
|
||||
|
||||
if (isset($this->resultset) && is_array($this->resultset)) {
|
||||
$res = $this->resultset;
|
||||
if (count($res)>0) {
|
||||
$fieldNames = array_keys($res[0]);
|
||||
$i = 1;
|
||||
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
||||
?>
|
||||
<table class="bdr" summary="Table lists result sets">
|
||||
<tr class="thead">
|
||||
<th class="right">#</th>
|
||||
<?php
|
||||
foreach ($fieldNames as $field) {
|
||||
echo '<th>' . $field .'</th>';
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($res as $row) {
|
||||
?>
|
||||
<tr class="<?php echo $cycleHelper->next()?>">
|
||||
<td class="small right"><?php echo $this->numberFormat($i);?>.</td>
|
||||
<?php
|
||||
foreach ($row as $data) {
|
||||
if (is_numeric($data)) {
|
||||
echo '<td class="small right">' . $data . '</td>';
|
||||
} else {
|
||||
echo '<td class="small">' . $this->out($data) . '</td>';
|
||||
}
|
||||
}
|
||||
echo '</tr>';
|
||||
$i++;
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
} else {
|
||||
echo '<p>' . $this->lang->L_NO_ENTRIES . '</p>';
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($this->resultSummary)) {
|
||||
$i = 1;
|
||||
$totalQueries = 0;
|
||||
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
||||
?>
|
||||
<table class="bdr" summary="Table lists result sets">
|
||||
<tr class="thead">
|
||||
<th colspan="3"><?php echo $this->lang->L_RESULT;?>:</th>
|
||||
</tr>
|
||||
<tr class="thead">
|
||||
<th class="right">#</th>
|
||||
<th><?php echo $this->lang->L_QUERY_TYPE;?></th>
|
||||
<th><?php echo $this->lang->L_NR_OF_QUERIES;?></th>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($this->resultSummary as $type => $count) {
|
||||
$totalQueries += $count;
|
||||
?>
|
||||
<tr class="<?php echo $cycleHelper->next();?>">
|
||||
<td class="small right"><?php echo $this->numberFormat($i);?>.</td>
|
||||
<td class="small"><?php echo ucfirst($type);?></td>
|
||||
<td class="small right"><?php echo $this->numberFormat($count);?></td>
|
||||
</tr>
|
||||
<?php $i++;
|
||||
} ?>
|
||||
<tr class="<?php echo $cycleHelper->next();?>">
|
||||
<td class="small sum"> </td>
|
||||
<td class="small sum"><?php echo $this->lang->L_SUM_TOTAL;;?></td>
|
||||
<td class="small right sum"><?php echo $this->numberFormat($totalQueries);?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
} ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,85 +1,85 @@
|
|||
<?php
|
||||
$prefix = null;
|
||||
$optimizeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'optimize.tables'));
|
||||
$analyzeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'analyze.tables'));
|
||||
$checkTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'check.tables'));
|
||||
$repairTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'repair.tables'));
|
||||
$emptyTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'empty.tables'));
|
||||
$deleteTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'delete.tables'));
|
||||
$createTableUrl = $this->url(array('controller' => 'sql', 'action' => 'create.table'));
|
||||
?>
|
||||
<tr class="thead">
|
||||
<th colspan="15">
|
||||
<div class="buttonBar">
|
||||
<ul class="Formbutton">
|
||||
<li>
|
||||
<button class="Formbutton"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $createTableUrl; ?>');">
|
||||
<?php
|
||||
echo $this->getIcon('Tabledata', '' ,16);
|
||||
echo $this->lang->L_NEWTABLE;
|
||||
?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonOptimize"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $optimizeTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_OPTIMIZE;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonAnalyze"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $analyzeTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_ANALYZE;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonCheck"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $checkTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_CHECK;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonRepair"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $repairTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_REPAIR;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonTruncate"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $emptyTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('delete', '');?>
|
||||
<?php echo $this->lang->L_EMPTY;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonDelete"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $deleteTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('delete', '');?>
|
||||
<?php echo $this->lang->L_DELETE;?>
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$prefix = null;
|
||||
$optimizeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'optimize.tables'));
|
||||
$analyzeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'analyze.tables'));
|
||||
$checkTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'check.tables'));
|
||||
$repairTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'repair.tables'));
|
||||
$emptyTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'empty.tables'));
|
||||
$deleteTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'delete.tables'));
|
||||
$createTableUrl = $this->url(array('controller' => 'sql', 'action' => 'create.table'));
|
||||
?>
|
||||
<tr class="thead">
|
||||
<th colspan="15">
|
||||
<div class="buttonBar">
|
||||
<ul class="Formbutton">
|
||||
<li>
|
||||
<button class="Formbutton"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $createTableUrl; ?>');">
|
||||
<?php
|
||||
echo $this->getIcon('Tabledata', '' ,16);
|
||||
echo $this->lang->L_NEWTABLE;
|
||||
?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonOptimize"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $optimizeTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_OPTIMIZE;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonAnalyze"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $analyzeTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_ANALYZE;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonCheck"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $checkTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_CHECK;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonRepair"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $repairTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('Ok', '', 16);?>
|
||||
<?php echo $this->lang->L_REPAIR;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonTruncate"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $emptyTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('delete', '');?>
|
||||
<?php echo $this->lang->L_EMPTY;?>
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="Formbutton" disabled="disabled"
|
||||
id="buttonDelete"
|
||||
type="submit"
|
||||
onclick="changeFormAction('.tablesForm', '<?php echo $deleteTablesUrl; ?>');">
|
||||
<?php echo$this->getIcon('delete', '');?>
|
||||
<?php echo $this->lang->L_DELETE;?>
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_SQL_CREATETABLE;?></h2>
|
||||
|
||||
<br /><br />
|
||||
|
||||
Hello (MySQLDumper-) World!
|
||||
|
||||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_SQL_CREATETABLE;?></h2>
|
||||
|
||||
<br /><br />
|
||||
|
||||
Hello (MySQLDumper-) World!
|
||||
|
||||
</div>
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren