diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-12 17:21:41 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-02-18 14:26:03 +0100 |
commit | 8387cd8ae35a0ad94a49a27ad8622bb7b8ed2b06 (patch) | |
tree | 30a304dcae073ea3b6ee409a279fc4946fd0a199 /settings/admin.php | |
parent | 3699728a3a02dd17ea617a7e8f781c09e837f360 (diff) | |
download | nextcloud-server-8387cd8ae35a0ad94a49a27ad8622bb7b8ed2b06.tar.gz nextcloud-server-8387cd8ae35a0ad94a49a27ad8622bb7b8ed2b06.zip |
Add option to change email settings in admin section
Fix issue #7166
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-x | settings/admin.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php index c0e4570658a..42477bfc1ca 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -21,6 +21,16 @@ $entries=OC_Log_Owncloud::getEntries(3); $entriesremain = count(OC_Log_Owncloud::getEntries(4)) > 3; $tmpl->assign('loglevel', OC_Config::getValue( "loglevel", 2 )); +$tmpl->assign('mail_domain', OC_Config::getValue( "mail_domain", '' )); +$tmpl->assign('mail_from_address', OC_Config::getValue( "mail_from_address", '' )); +$tmpl->assign('mail_smtpmode', OC_Config::getValue( "mail_smtpmode", '' )); +$tmpl->assign('mail_smtpsecure', OC_Config::getValue( "mail_smtpsecure", '' )); +$tmpl->assign('mail_smtphost', OC_Config::getValue( "mail_smtphost", '' )); +$tmpl->assign('mail_smtpport', OC_Config::getValue( "mail_smtpport", '' )); +$tmpl->assign('mail_smtpauthtype', OC_Config::getValue( "mail_smtpauthtype", '' )); +$tmpl->assign('mail_smtpauth', OC_Config::getValue( "mail_smtpauth", false )); +$tmpl->assign('mail_smtpname', OC_Config::getValue( "mail_smtpname", '' )); +$tmpl->assign('mail_smtppassword', OC_Config::getValue( "mail_smtppassword", '' )); $tmpl->assign('entries', $entries); $tmpl->assign('entriesremain', $entriesremain); $tmpl->assign('htaccessworking', $htaccessworking); |