fix wrong call of parent method

This commit is contained in:
Uwe Steinmann 2021-05-06 15:08:33 +02:00
parent 2001f4f0d3
commit cdd75239e3

View File

@ -32,7 +32,7 @@
class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
protected function showStartPaneContent($name, $isactive) { /* {{{ */
self::parent($name, $isactive);
parent::showStartPaneContent($name, $isactive);
$this->contentContainerStart();
echo '<table class="table-condensed table-sm" style="table-layout: fixed;">';
echo '<tr><td width="20%"></td><td width="80%"></td></tr>';
@ -41,7 +41,7 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
protected function showEndPaneContent($name, $currentab) { /* {{{ */
echo '</table>';
$this->contentContainerEnd();
self::parent($name, $isactive);
parent::showEndPaneContent($name, $isactive);
} /* }}} */
protected function getTextField($name, $value, $type='', $placeholder='') { /* {{{ */
@ -421,7 +421,7 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk))
<?php $this->showConfigText('settings_smtpSendFrom', 'smtpSendFrom'); ?>
<?php $this->showConfigText('settings_smtpUser', 'smtpUser'); ?>
<?php $this->showConfigText('settings_smtpPassword', 'smtpPassword', 'password'); ?>
<?php $this->showConfigPlain(htmlspecialchars(getMLText('settings_smtpSendTestMail')), htmlspecialchars(getMLText('settings_smtpSendTestMail_desc')), '<a class="btn sendtestmail">'.getMLText('send_test_mail').'</a><div><pre id="maildebug">You will see debug messages here</pre></div>'); ?>
<?php $this->showConfigPlain(htmlspecialchars(getMLText('settings_smtpSendTestMail')), htmlspecialchars(getMLText('settings_smtpSendTestMail_desc')), '<a class="btn btn-secondary sendtestmail">'.getMLText('send_test_mail').'</a><div><pre id="maildebug">You will see debug messages here</pre></div>'); ?>
<?php
$this->showEndPaneContent('system', $currenttab);