From cccc130ca6d744047ff80d260b74edccbd7fe318 Mon Sep 17 00:00:00 2001
From: yllar <yllar.pajus@gmail.com>
Date: Fri, 07 Mar 2008 16:43:52 -0500
Subject: [PATCH] pl + fi update

---
 check.php-dist |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/check.php-dist b/check.php-dist
index 72b3503..7fd943f 100644
--- a/check.php-dist
+++ b/check.php-dist
@@ -423,8 +423,12 @@
 ?> Recipient:<br />
 <?php echo $rctest_config['from']; ?><br />
 <br />
+<?php if (!empty($rctest_config['smtp_server'])): ?>
 <input type="hidden" name="action" value="smtp" />
 <input type="submit" value="send an email" />
+<?php else: ?>
+<i>Because you did not configure SMTP, you cannot test it!</i>
+<?php endif; ?>
 </form>
 <?php
 if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['action'] == 'smtp') {

--
Gitblit v1.9.1