public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 125b6fcd66a2eb42ae773f66811c89959c7a2b77
Date: Fri, 14 Feb 2014 13:49:56 +0100	[thread overview]
Message-ID: <20140214125013.BABE0208EF@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1919 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  125b6fcd66a2eb42ae773f66811c89959c7a2b77 (commit)
      from  d2b1aa09df81e7a26cf831fe54a6d6282075ca0d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 125b6fcd66a2eb42ae773f66811c89959c7a2b77
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Fri Feb 14 13:49:37 2014 +0100

    index.cgi: Fix showing DNS servers.

-----------------------------------------------------------------------

Summary of changes:
 html/cgi-bin/index.cgi | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Difference in files:
diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
index 3b44baa..a497607 100644
--- a/html/cgi-bin/index.cgi
+++ b/html/cgi-bin/index.cgi
@@ -201,21 +201,20 @@ END
 	chomp($DNS2);
 	close DNS2;
 
-	if ( $DNS1 ) { print <<END;
-	<tr><td><b>$Lang::tr{'dns server'}1:</b></td><td align='center'>$DNS1</td><td></td></tr>
-END
-	}
-	if ( $DNS2 ) { print <<END;
-	<tr><td><b>$Lang::tr{'dns server'}2:</b></td><td align='center'>$DNS2</td><td></td></tr>
-	</table>
-END
-	} else { print <<END;
-	<td></td>
-	</tr>
+	print <<END;
+		<tr>
+			<td>
+				<b>$Lang::tr{'dns server'}</b>
+			</td>
+			<td align="center">
+				$DNS1
+			</td>
+			<td align="center">
+				$DNS2
+			</td>
+		</tr>
 	</table>
-
 END
-	}
 
 #Dial profiles
 if ( $netsettings{'RED_TYPE'} ne "STATIC" && $netsettings{'RED_TYPE'} ne "DHCP" ){


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2014-02-14 12:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140214125013.BABE0208EF@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox