Skip to content
Extraits de code Groupes Projets
Valider 88bcc3df rédigé par cerdic's avatar cerdic
Parcourir les fichiers

"moins de table et icone retour a droite comme partout"

parent 6896f3a3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -122,33 +122,24 @@ function exec_sites_dist()
if (strlen($url_affichee) > 40) $url_affichee = substr($url_affichee, 0, 30)."...";
echo "<div style='text-align: center;'>";
echo "\n<table cellpadding='0' cellspacing='0' border='0' width='100%'>";
echo "<tr><td style='width: 100%' valign='top'>";
gros_titre($nom_site, $logo_statut);
if ($flag_editable) {
echo icone_inline(_T('icone_modifier_site'), generer_url_ecrire('sites_edit',"id_syndic=$id_syndic"), "site-24.gif", "edit.gif",$spip_lang_right);
}
echo gros_titre($nom_site, $logo_statut,false);
echo "<a href='$url_site'><b>$url_affichee</b></a>";
echo "<div class='nettoyeur'></div>";
if (strlen($descriptif)) {
echo "<div style='text-align: left; padding: 0 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4; margin: 5px 15px 0 0; ' class='verdana1 spip_xsmall'>";
echo propre('{{'._T('info_descriptif').'}} '. $descriptif);
echo "</div>";
}
echo "</td>";
if ($flag_editable) {
echo "<td class='righted'><br /><br />";
echo icone_inline(_T('icone_modifier_site'), generer_url_ecrire('sites_edit',"id_syndic=$id_syndic"), "site-24.gif", "edit.gif");
echo "</td>";
}
echo "</tr></table><br />\n";
if ($flag_editable AND ($statut == 'publie')) {
if ($statut == 'publie') {
debut_cadre_enfonce();
$dater = charger_fonction('dater', 'inc');
echo $dater($id_syndic, $flag_editable, $statut, 'syndic', 'sites', $date_heure);
fin_cadre_enfonce();
} else {
echo "<br />\n<span class='verdana1 spip_medium'>"._T('info_site_propose')." <b>".affdate($date_heure)."&nbsp;</b></span>";
}
......
......@@ -17,6 +17,7 @@ include_spip('inc/presentation');
function exec_sites_edit_dist()
{
global $connect_statut, $descriptif, $id_rubrique, $id_secteur, $id_syndic, $new, $nom_site, $syndication, $url_site, $url_syndic, $connect_id_rubrique;
global $spip_lang_right;
$result = spip_query("SELECT * FROM spip_syndic WHERE id_syndic=" . intval($id_syndic));
......@@ -72,18 +73,12 @@ function exec_sites_edit_dist()
debut_droite();
debut_cadre_formulaire();
echo "\n<table cellpadding='0' cellspacing='0' border='0' width='100%'>\n<tr>";
if ($new != 'oui') {
echo "<td><br /><br />";
echo icone_inline(_T('icone_retour'), generer_url_ecrire("sites","id_syndic=$id_syndic"), 'site-24.gif', "rien.gif");
echo "</td>";
echo "<td>". http_img_pack('rien.gif', " ", "width='10'") . "</td>\n";
echo icone_inline(_T('icone_retour'), generer_url_ecrire("sites","id_syndic=$id_syndic"), 'site-24.gif', "rien.gif", $spip_lang_right);
}
echo "<td style='width: 100%'>";
echo _T('titre_referencer_site');
gros_titre($nom_site);
echo "</td></tr></table><br />\n";
echo gros_titre($nom_site,'',false);
echo "<div class='nettoyeur'></div>";
if ($new == 'oui'
AND ($connect_statut == '0minirezo' OR $GLOBALS['meta']["proposer_sites"] > 0)){
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter