Commit 8b86870c authored by Alan Garcia's avatar Alan Garcia

Recentre le flux RSS, si flux RSS il y a

Expand les options avancée lors de l'édition d'un sous-domaine de type avancé
parent 1707edc5
......@@ -142,10 +142,13 @@ function domtype_advanced_show() {
$("#domtype_hide").show();
}
domtype_advanced_hide();
<?php if (isset($type) && in_array($type, $lst_advanced) ) { // if it's an edit of an advanced option, we need to show the advanced options ?>
domtype_advanced_show();
<?php } else { ?>
domtype_advanced_hide();
<?php } // if advanced ?>
</script>
<?php
} // sub_domains_edit
?>
......
......@@ -60,7 +60,7 @@ if (file_exists($cache_file) && $timedif < $cache_time) {
}
$xml = @simplexml_load_string($string);
echo '<table class="tedit" cellspacing="0" cellpadding="6">';
echo '<div align="center"><table class="tedit" cellspacing="0" cellpadding="6">';
echo "<tr><th colspan=2><a target=_blank style='font-size: 18px;font-weight: bold;color: #10507C;' href='".$xml->channel->link."'>".$xml->channel->title."</a><br/><i>".$xml->channel->description."</i></th></tr>";
//echo '<tr><th>'._("Title").'</th><th>'._("Date").'</th></tr>';
$count = 0;
......@@ -75,7 +75,7 @@ if ($count < $max) {
}
$count++;
}
echo "</table>\n";
echo "</table></div>\n";
echo "<br/>";
} // empty feed_url
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment