Minor fixes

This commit is contained in:
Silvan Calarco 2020-06-16 10:02:28 +02:00
parent bd6db3c6fa
commit b3ff8169da
5 changed files with 11 additions and 9 deletions

View File

@ -172,18 +172,18 @@ function openmamba_download_func( $atts ) {
$out .= openmamba_download_link($milestone,$medium,$currarch,$ext,$lang,$l);
}
}
$ret .= do_shortcode("[expand title=\"". __("More languages...",responsive) . "\"]". $out ."[/expand]");
$ret .= do_shortcode("[expand title=\"". __("More languages...","responsive") . "\"]". $out ."[/expand]");
}
$ret .= do_shortcode("   [expand title=\"".__("Features",responsive)."\"]".
$ret .= do_shortcode("   [expand title=\"".__("Features","responsive")."\"]".
openmamba_infofile($mediaprefix,$milestone,$fallbackmilestone,$medium,$outputlang,"features").
"[/expand]");
$ret .= do_shortcode("   [expand title=\"".__("Requirements",responsive)."\"]".
$ret .= do_shortcode("   [expand title=\"".__("Requirements","responsive")."\"]".
openmamba_infofile($mediaprefix,$milestone,$fallbackmilestone,$medium,$outputlang,"requirements").
"[/expand]");
$ret .= do_shortcode("   [expand title=\"".__("Preparation",responsive)."\"]".
$ret .= do_shortcode("   [expand title=\"".__("Preparation","responsive")."\"]".
openmamba_infofile($mediaprefix,$milestone,$fallbackmilestone,$medium,$outputlang,"howto").
"[/expand]");

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
images/openmamba-64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
images/refresh.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

View File

@ -93,12 +93,14 @@ function ajax_getvalues_refresh(request,user,user_email,secret) {
return;
}
var xmldoc = xmlhttp1.responseXML.documentElement;
if (xmldoc.getElementsByTagName("socialbox")[0] != undefined) {
var nodes = xmldoc.getElementsByTagName("socialbox")[0].childNodes;
for (var i = 0; i < nodes.length; i++) {
var id = nodes[i].attributes[0].value;
$("<span name=social sid=\""+ id + "\">" + nodes[i].childNodes[0].nodeValue + "</span>")
.clone().hide().prependTo("#socialbox").slideDown();
}
}
if (xmldoc.getElementsByTagName("processes")[0] != undefined) {
document.getElementById("processes").innerHTML = xmldoc.getElementsByTagName("processes")[0].childNodes[0].nodeValue;
$(function() { $('.scroll-pane3').jScrollPane({scrollbarWidth:10}); });