functions.php: commented code cleanup

This commit is contained in:
Silvan Calarco 2014-11-13 15:10:29 +01:00
parent 106c991b48
commit 33a6cb1e85

View File

@ -89,14 +89,10 @@ function openmamba_download_func( $atts ) {
if (strpos(";".$a['archs'].";",$currarch) == false) continue;
if ($a['multilang']) {
openmamba_download_link($milestone,$medium,$currarch,$ext,$mlword,"en");
//echo "<h5><a href=\"/media/$milestone/$medium/en/openmamba-$medium-en-$suffixmilestone.$currarch$ext\"><img style='height:20px;' src=/wp-content/themes/openmamba/download.png />&nbsp;openmamba $milestone $medium $forword $currarch ($mlword)</a></h5>";
} else {
openmamba_download_link($milestone,$medium,$currarch,$ext,"italiano","it");
openmamba_download_link($milestone,$medium,$currarch,$ext,"english","en");
openmamba_download_link($milestone,$medium,$currarch,$ext,"español","es");
// echo "<h5><a href=\"/media/$milestone/$medium/it/openmamba-$medium-it-$suffixmilestone.$currarch$ext\"><img style='height:20px' src=/wp-content/themes/openmamba/download.png />&nbsp;openmamba $milestone $medium $forword $currarch (Italiano)</a></h5>";
// echo "<h5><a href=\"/media/$milestone/$medium/en/openmamba-$medium-en-$suffixmilestone.$currarch$ext\"><img style='height:20px' src=/wp-content/themes/openmamba/download.png />&nbsp;openmamba $milestone $medium $forword $currarch (English)</a></h5>";
// echo "<h5><a href=\"/media/$milestone/$medium/es/openmamba-$medium-es-$suffixmilestone.$currarch$ext\"><img style='height:20px' src=/wp-content/themes/openmamba/download.png />&nbsp;openmamba $milestone $medium $forword $currarch (Español)</a></h5>";
}
}
echo "<hr>";
@ -110,4 +106,3 @@ function set_number_tags($args) {
$args = array('number' => 10, 'largest' => 20);
return $args;
}