From 8e8fc292acbdb4a010437c9ca891971bbbc48550 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 18 Jun 2016 10:01:39 -0300 Subject: Fix some more template deprecations --- templates/virtual/postfixadmin/config.inc.php.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/virtual/postfixadmin/config.inc.php.erb b/templates/virtual/postfixadmin/config.inc.php.erb index d34c0bc..b9b6ef8 100644 --- a/templates/virtual/postfixadmin/config.inc.php.erb +++ b/templates/virtual/postfixadmin/config.inc.php.erb @@ -80,7 +80,7 @@ $CONF['database_tables'] = array ( // Site Admin // Define the Site Admins email address below. // This will be used to send emails from to create mailboxes. -$CONF['admin_email'] = 'postmaster@<%= domain %>'; +$CONF['admin_email'] = 'postmaster@<%= @domain %>'; // Mail Server // Hostname (FQDN) of your mail server. @@ -214,7 +214,7 @@ $CONF['vacation'] = 'NO'; // This is the autoreply domain that you will need to set in your Postfix // transport maps to handle virtual vacations. It does not need to be a // real domain (i.e. you don't need to setup DNS for it). -$CONF['vacation_domain'] = 'autoreply.<%= domain %>'; +$CONF['vacation_domain'] = 'autoreply.<%= @domain %>'; // Vacation Control // If you want users to take control of vacation set this to 'YES'. @@ -279,14 +279,14 @@ $CONF['show_header_text'] = 'NO'; $CONF['header_text'] = ':: Postfix Admin ::'; // link to display under 'Main' menu when logged in as a user. -$CONF['user_footer_link'] = "http://<%= domain %>/main"; +$CONF['user_footer_link'] = "http://<%= @domain %>/main"; // Footer // Below information will be on all pages. // If you don't want the footer information to appear set this to 'NO'. $CONF['show_footer_text'] = 'YES'; -$CONF['footer_text'] = 'Return to <%= domain %>'; -$CONF['footer_link'] = 'http://<%= domain %>'; +$CONF['footer_text'] = 'Return to <%= @domain %>'; +$CONF['footer_link'] = 'http://<%= @domain %>'; // Welcome Message // This message is send to every newly created mailbox. -- cgit v1.2.3