[geeklog-cvs] geeklog: Display language dropdown on the very first page (when ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Jan 7 03:53:16 EST 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/4dc636c1dc12
changeset: 6650:4dc636c1dc12
user:      Dirk Haun <dirk at haun-online.de>
date:      Thu Jan 01 21:13:33 2009 +0100
description:
Display language dropdown on the very first page (when the install script can't find db-config.php)

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
public_html/admin/install/index.php |    2 +-

diffs (12 lines):

diff -r 247fea0cfba2 -r 4dc636c1dc12 public_html/admin/install/index.php
--- a/public_html/admin/install/index.php	Thu Jan 01 14:30:50 2009 +0100
+++ b/public_html/admin/install/index.php	Thu Jan 01 21:13:33 2009 +0100
@@ -1835,7 +1835,7 @@
         <div class="header-slogan">' . $LANG_INSTALL[2] . ' <br' . XHTML . '><br' . XHTML . '>' . LB;
 
 // Show the language drop down selection on the first page
-if ($mode == 'check_permissions') {
+if (empty($mode) || ($mode == 'check_permissions')) {
     $display .='<form action="index.php" method="post" style="display:inline;">' . LB;
 
     $_PATH = array('dbconfig', 'public_html');



More information about the geeklog-cvs mailing list