https support fixes
This commit is contained in:
parent
9167bf18e2
commit
2cd60a82ec
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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\"> </span>";
|
$ret .= "<span id=\"querystatus\"></span><br><span id=\"queryreply\"> </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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user