* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 125b6fcd66a2eb42ae773f66811c89959c7a2b77
@ 2014-02-14 12:49 git
0 siblings, 0 replies; only message in thread
From: git @ 2014-02-14 12:49 UTC (permalink / raw)
To: ipfire-scm
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-14 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14 12:49 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 125b6fcd66a2eb42ae773f66811c89959c7a2b77 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox