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
|
|
@ -5,7 +5,7 @@
|
|||
</a>
|
||||
<br />
|
||||
<h3><?php echo $this->lang->L_VERSIONSINFORMATIONEN;?></h3>
|
||||
<img src="<?php echo $this->baseUrl();?>/css/<?php echo $this->config->get('config.interface.theme');?>/pics/loveyourdata.gif"
|
||||
<img src="<?php echo $this->baseUrl();?>/css/<?php echo $this->config->getParam('interface.theme');?>/pics/loveyourdata.gif"
|
||||
style="float:right;padding-left:10px;" alt="love your data" title="love your data" />
|
||||
<table class="bdr" summary="Version information">
|
||||
<tr class="row-even">
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
<td><?php echo $this->lang->L_MEMORY;?>:</td>
|
||||
<td>
|
||||
<strong>
|
||||
<?php echo $this->byteOutput($this->config->get('dynamic.phpRam')*1024*1024, 0);?>
|
||||
<?php echo $this->byteOutput($this->dynamicConfig->getParam('phpRam')*1024*1024, 0);?>
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<td>
|
||||
<strong><?php echo $this->serverMaxExecutionTime;?>
|
||||
<?php echo $this->lang->L_SECONDS;?>
|
||||
(<?php echo $this->config->get('dynamic.maxExecutionTime');?>
|
||||
(<?php echo $this->dynamicConfig->getParam('maxExecutionTime');?>
|
||||
<?php echo $this->lang->L_SECONDS;?>)
|
||||
</strong>
|
||||
</td>
|
||||
|
|
@ -49,9 +49,9 @@
|
|||
|
||||
<tr class="row-odd">
|
||||
<td><?php echo $this->lang->L_PHP_EXTENSIONS;?>:</td>
|
||||
<td class="small"><?php echo $this->config->get('dynamic.phpextensions');?>
|
||||
<td class="small"><?php echo $this->dynamicConfig->getParam('phpExtensions');?>
|
||||
<?php
|
||||
if (!$this->config->get('dynamic.compression')) { ?>
|
||||
if (!$this->dynamicConfig->getParam('compression')) { ?>
|
||||
<br /><span class="error"><?php echo $this->lang->L_NOGZPOSSIBLE;?></span>
|
||||
<?php }
|
||||
if (!extension_loaded('ftp')) { ?>
|
||||
|
|
@ -59,10 +59,10 @@
|
|||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($this->config->get('dynamic.disabledPhpFunctions') > '') { ?>
|
||||
<?php if ($this->dynamicConfig->getParam('disabledPhpFunctions') > '') { ?>
|
||||
<tr class="row-even nowrap">
|
||||
<td><?php echo $this->lang->L_DISABLEDFUNCTIONS;?>:</td>
|
||||
<td class="small"><?php echo $this->config->get('dynamic.disabledPhpFunctions');?></td>
|
||||
<td class="small"><?php echo $this->dynamicConfig->getParam('disabledPhpFunctions');?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
</tr>
|
||||
<tr class="row-odd">
|
||||
<td><?php echo $this->lang->L_INFO_ACTDB;?>:</td>
|
||||
<td><strong><?php echo $this->config->get('dynamic.dbActual');?></strong></td>
|
||||
<td><strong><?php echo $this->dynamicConfig->getParam('dbActual');?></strong></td>
|
||||
</tr>
|
||||
<tr class="row-even">
|
||||
<td><?php echo $this->lang->L_FM_FREESPACE;?>:</td>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
$theme = $this->config->get('config.interface.theme');
|
||||
$theme = $this->config->getParam('interface.theme', 'msd');
|
||||
$request = Zend_Controller_Front::getInstance()->getRequest();
|
||||
$this->controller = $request->getControllerName();
|
||||
$this->action = $request->getActionName();
|
||||
|
|
@ -41,7 +41,7 @@ $('#fadeMenuIn').click(function() {
|
|||
return false;
|
||||
});
|
||||
<?php
|
||||
if ($this->config->get('config.interface.showTooltips') == 'y') { ?>
|
||||
if ($this->config->getParam('interface.showTooltips') == 'y') { ?>
|
||||
SetupTooltips();
|
||||
<?php }
|
||||
$this->jQuery()->onLoadCaptureEnd();
|
||||
|
|
@ -58,11 +58,11 @@ $this->jQuery()->onLoadCaptureEnd();
|
|||
|
||||
<div id="version">
|
||||
<div id="fadeMenuOut" title="blend out menu">
|
||||
<img style="margin-left:6px;" src="<?php echo $this->baseUrl(); ?>/css/<?php echo$theme?>/icons/handLeft.png"
|
||||
<img style="margin-left:6px;" src="<?php echo $this->baseUrl(); ?>/css/<?php echo $theme?>/icons/handLeft.png"
|
||||
alt="<?php echo $this->lang->L_MENU_HIDE;?>" title="<?php echo $this->lang->L_MENU_HIDE;?>" />
|
||||
</div>
|
||||
<span class="version-line">Version <?php echo $this->msdVersion;?></span>
|
||||
<?php if ($this->config->get('config.general.mode') == 'easy') {?>
|
||||
<?php if ($this->config->getParam('general.mode') == 'easy') {?>
|
||||
<img src="<?php echo $this->baseUrl(); ?>/css/<?php echo$theme?>/pics/navi_bg.jpg" alt="" />
|
||||
<?php } else { ?>
|
||||
<img src="<?php echo $this->baseUrl(); ?>/css/<?php echo$theme?>/pics/navi_bg_expert.jpg" alt="" />
|
||||
|
|
@ -143,7 +143,7 @@ $this->jQuery()->onLoadCaptureEnd();
|
|||
$this->databases = $dbAdapter->getDatabaseNames();
|
||||
foreach ($this->databases as $db) {
|
||||
echo '<option value="'.base64_encode($db).'"';
|
||||
if ($db == $this->config->get('dynamic.dbActual')) {
|
||||
if ($db == $this->dynamicConfig->getParam('dbActual')) {
|
||||
echo ' selected="selected"';
|
||||
}
|
||||
echo '>'.$db.'</option>';
|
||||
|
|
@ -165,16 +165,16 @@ $this->jQuery()->onLoadCaptureEnd();
|
|||
$this->configFiles = Msd_File::getConfigNames();
|
||||
foreach ($this->configFiles as $file) {
|
||||
echo "\n" . '<option value="' . base64_encode($file) . '"';
|
||||
if ($this->config->get('dynamic.configFile') == $file) {
|
||||
if ($this->dynamicConfig->getParam('configFile') == $file) {
|
||||
echo ' selected="selected"';
|
||||
}
|
||||
echo '>'.$this->getConfigTitle($file).'</option>';
|
||||
echo '>'. $this->config->getConfigTitle($file) . '</option>';
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php if (in_array($this->config->get('config.interface.language'), array('de', 'ch'))) {; ?>
|
||||
<?php if (in_array($this->config->getParam('interface.language'), array('de', 'ch'))) {; ?>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<p style="text-align:center">
|
||||
<input type="image" src="<?php echo $this->baseUrl();?>/images/paypal-de.gif" name="submit" alt="Spende an MySQLDumper" />
|
||||
|
|
@ -198,7 +198,7 @@ $this->jQuery()->onLoadCaptureEnd();
|
|||
</div>
|
||||
|
||||
<?php
|
||||
if ($this->config->get('config.interface.showServerCaption') == "y") {
|
||||
if ($this->config->getParam('interface.showServerCaption') == "y") {
|
||||
?>
|
||||
<div id="server0">
|
||||
<?php echo$this->lang->L_SERVER;?>:
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren