Continued to switch the old configuration handling to the new one.
Dieser Commit ist enthalten in:
Ursprung
025b5c339d
Commit
ae87af916f
54 geänderte Dateien mit 501 neuen und 269 gelöschten Zeilen
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
$systemDatabases = $this->config->get('config.systemDatabases');
|
||||
$systemDatabases = $this->config->getParam('systemDatabases');
|
||||
$formUrl = $this->url(array('controller'=>'sql','action'=>'index'));
|
||||
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
||||
?>
|
||||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_DATABASES_OF_USER;?> '<?php echo $this->config->get('config.dbuser.user').'\'@\''.$this->config->get('config.dbuser.host');?>'</h2>
|
||||
<h2><?php echo $this->lang->L_DATABASES_OF_USER;?> '<?php echo $this->config->getParam('dbuser.user').'\'@\''.$this->config->getParam('dbuser.host');?>'</h2>
|
||||
<?php echo $this->sqlHeadNavi(); ?>
|
||||
<?php
|
||||
if (isset($this->actionResults)) {
|
||||
|
|
@ -100,7 +100,7 @@ if (isset($this->actionResults)) {
|
|||
?>
|
||||
<tr class="nowrap
|
||||
<?php
|
||||
if ($dbName == $this->config->get('dynamic.dbActual')) {
|
||||
if ($dbName == $this->dynamicConfig->getParam('dbActual')) {
|
||||
echo 'row-highlight';
|
||||
} else {
|
||||
echo $this->cycle(array('row-even', 'row-odd'))->next();
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ $this->jQuery()->javascriptCaptureStart(); ?>
|
|||
<a href="#">
|
||||
<?php
|
||||
echo $this->getIcon('Server', '', 16)
|
||||
. $this->config->get('config.dbuser.user') .'@'
|
||||
. $this->config->get('config.dbuser.host');
|
||||
$port = $this->config->get('config.dbuser.port');
|
||||
. $this->config->getParam('dbuser.user') .'@'
|
||||
. $this->config->getParam('dbuser.host');
|
||||
$port = $this->config->getParam('dbuser.port');
|
||||
if ($port > 0) {
|
||||
echo ':' . $port;
|
||||
}
|
||||
|
|
@ -34,11 +34,11 @@ $this->jQuery()->javascriptCaptureStart(); ?>
|
|||
<li>
|
||||
<a href="<?php echo $showDatabasesUrl;?>">
|
||||
<?php echo$this->getIcon('Database', '', 16);?>
|
||||
<?php echo $this->out($this->config->get('dynamic.dbActual'));?>
|
||||
<?php echo $this->out($this->dynamicConfig->getParam('dbActual'));?>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
$actualTable = $this->config->get('dynamic.tableActual');
|
||||
$actualTable = $this->dynamicConfig->getParam('tableActual');
|
||||
if ($actualTable > '') {
|
||||
?>
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ $('#sqltextarea').bind('keyup', function(e){
|
|||
<br class="clear" />
|
||||
</div>
|
||||
<div>
|
||||
<textarea style="height:<?php echo $this->config->get('config.interface.sqlboxHeight');?>px;" name="sqltextarea" id="sqltextarea" rows="4" cols="10"><?php echo $this->boxcontent;?></textarea>
|
||||
<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>
|
||||
|
|
@ -130,4 +130,4 @@ if (isset($this->resultSummary)) {
|
|||
</table>
|
||||
<?php
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div id="content">
|
||||
<h2><?php echo $this->lang->L_SQL_TABLESOFDB;?> `<?php echo $this->config->get('dynamic.dbActual');?>`
|
||||
<h2><?php echo $this->lang->L_SQL_TABLESOFDB;?> `<?php echo $this->dynamicConfig->getParam('dbActual');?>`
|
||||
</h2>
|
||||
<?php
|
||||
echo $this->sqlHeadNavi();
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren