XOOPS  2.6.0
index.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
23 include __DIR__ . '/header.php';
24 
26 $xoops->header();
27 $xoops->loadLanguage('admin/preferences', 'system');
28 
29 $admin_page = new \Xoops\Module\Admin();
30 $admin_page->displayNavigation('index.php');
31 
33 
34 $tplString = "%1\$s : <span class='red'>%2\$s</span>";
35 $admin_page->addInfoBoxLine(sprintf($tplString, _AM_MAILUSERS_MAILFROM, $xoops->getConfig('from')));
36 $admin_page->addInfoBoxLine(sprintf($tplString, _AM_MAILUSERS_MAILERMETHOD, $xoops->getConfig('mailmethod')));
37 $admin_page->addInfoBoxLine(sprintf($tplString, _AM_MAILUSERS_SENDMAILPATH, $xoops->getConfig('sendmailpath')));
38 $admin_page->addInfoBoxLine(sprintf($tplString, _AM_MAILUSERS_SMTPHOST, implode(';', $xoops->getConfig('smtphost'))));
39 $admin_page->addInfoBoxLine(sprintf($tplString, _AM_MAILUSERS_SMTPUSER, $xoops->getConfig('smtpuser')));
40 
41 $admin_page->displayIndex();
42 
43 $xoops->footer();
static getInstance()
Definition: Xoops.php:160
const _AM_MAILUSERS_SMTPUSER
Definition: admin.php:84
const _AM_MAILUSERS_MAILFROM
Definition: admin.php:80
const _AM_MAILUSERS_SENDMAILPATH
Definition: admin.php:82
$admin_page
Definition: index.php:56
$tplString
Definition: index.php:34
const _AM_MAILUSERS_SMTPHOST
Definition: admin.php:83
const _MI_MAILUSERS_MAILUSER_MANAGER
Definition: modinfo.php:29
const _AM_MAILUSERS_MAILERMETHOD
Definition: admin.php:81
if(file_exists($mainfile)) elseif(file_exists(__DIR__. '/install/index.php')) $xoops
Definition: index.php:36