Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=homepage-ng.git;a=commitdiff;h=ec01fa5d33bf4c49acd5bdb18dc9714a90ec735f

commit ec01fa5d33bf4c49acd5bdb18dc9714a90ec735f
Author: PacMiam <[email protected]>
Date:   Tue Jan 7 13:06:18 2014 +0100

* Restore setcookie and fix news title

diff --git a/frugalware/lib/functions.inc.php b/frugalware/lib/functions.inc.php
index 83e4fc1..1f2fc62 100644
--- a/frugalware/lib/functions.inc.php
+++ b/frugalware/lib/functions.inc.php
@@ -303,12 +303,7 @@ function getlang($forcelanguage="")
// if the previous setting is not the same as the new, we set the new into 
cookie
$lang = $nlang;

-                try {
-                    setcookie("fwcurrlang", $lang, time()+3*365*24*3600, 
$fwng_root);
-                }
-                catch (Exception $e) {
-                    echo $e;
-                }
+                setcookie("fwcurrlang", $lang, time()+3*365*24*3600, 
$fwng_root);
}
}
}
@@ -322,12 +317,7 @@ function getlang($forcelanguage="")
if($forcelanguage!="")
$lang=$forcelanguage;

-            try {
-                setcookie("fwcurrlang", $lang, time()+3*365*24*3600, 
$fwng_root);
-            }
-            catch (Exception $e) {
-                echo $e;
-            }
+            setcookie("fwcurrlang", $lang, time()+3*365*24*3600, $fwng_root);
}
else
{
diff --git a/frugalware/static/css/common.css b/frugalware/static/css/common.css
index 89cc470..cdd05f6 100644
--- a/frugalware/static/css/common.css
+++ b/frugalware/static/css/common.css
@@ -486,6 +486,7 @@ nav {
font-weight: normal;

color: #333333;
+    text-align: left;
}

#new h3 a {
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to