https support fixes

This commit is contained in:
Silvan Calarco 2015-12-08 15:19:02 +01:00
parent 9167bf18e2
commit 2cd60a82ec
4 changed files with 11 additions and 8 deletions

View File

@ -6,4 +6,4 @@ Pragma: no-cache
" "
#curl "http://www2.openmamba.org/cgi-bin/autodist-internal.cgi?$QUERY_STRING" --stderr /dev/null #curl "http://www2.openmamba.org/cgi-bin/autodist-internal.cgi?$QUERY_STRING" --stderr /dev/null
curl "http://buildvm01.openmamba.org/cgi-bin/autodist?$QUERY_STRING&FORMAT=xml" --stderr /dev/null curl "https://buildvm01.openmamba.org/cgi-bin/autodist?$QUERY_STRING&FORMAT=xml" --stderr /dev/null

View File

@ -245,7 +245,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshsocial" -o ! "$USER" ]; then
USER_GRAVATAR=`echo -n $SEMAIL | md5sum | sed "s| .*||"` USER_GRAVATAR=`echo -n $SEMAIL | md5sum | sed "s| .*||"`
fi fi
echo -n "<add id=\"$SID\"><![CDATA[<div style=\"margin:0;padding:0;\"><div style=\"vertical-align:middle;position:relative;float:left;height:24px;width:24px;margin-right:2px;\">" echo -n "<add id=\"$SID\"><![CDATA[<div style=\"margin:0;padding:0;\"><div style=\"vertical-align:middle;position:relative;float:left;height:24px;width:24px;margin-right:2px;\">"
echo -n "<img src=\"http://www.gravatar.com/avatar/$USER_GRAVATAR?s=24&d=http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=24\" /></div>" echo -n "<img src=\"https://www.gravatar.com/avatar/$USER_GRAVATAR?s=24&d=https://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s=24\" /></div>"
if [ "$SPRIVACY" -a ! "$USER" ]; then if [ "$SPRIVACY" -a ! "$USER" ]; then
SUSER="a developer" SUSER="a developer"
elif [ "$USER" = "$SUSER" ]; then elif [ "$USER" = "$SUSER" ]; then

View File

@ -237,12 +237,11 @@ function openmamba_distroquery_func() {
else else
$outputlang = "en_US.UTF-8"; $outputlang = "en_US.UTF-8";
print "<div id=\"noajax_msg\"><p>AJAX support is not enabled in your browser. Live page updates will not be available, press Reload to update.</p></div>"; $ret = "<div id=\"noajax_msg\"><p>AJAX support is not enabled in your browser. Live page updates will not be available, press Reload to update.</p></div>";
print "<br><span id=\"queryform\"></span><br>"; $ret .= "<br><span id=\"queryform\"></span><br>";
print "<span id=\"querystatus\"></span><br><span id=\"queryreply\">&nbsp;</span>"; $ret .= "<span id=\"querystatus\"></span><br><span id=\"queryreply\">&nbsp;</span>";
$ret .= "<script>distroquery_request(\"" . $urlargs . "\");</script>";
return $ret;
print "<script>distroquery_request(\"" . $urlargs . "\");</script>";
} }
add_shortcode('openmamba_distroquery', 'openmamba_distroquery_func'); add_shortcode('openmamba_distroquery', 'openmamba_distroquery_func');

View File

@ -20,6 +20,10 @@ body {
font-family: comfortaaregular, Arial, Helvetica, sans-serif; font-family: comfortaaregular, Arial, Helvetica, sans-serif;
line-height: unset; line-height: unset;
} }
button, input, select, textarea {
margin:3px;
}
#featured { #featured {
//height: 380px; //height: 380px;