Skip to content
Snippets Groups Projects
Commit 4cc13674 authored by gloas's avatar gloas
Browse files

Modification css casqy page notice

parent bc5ad60b
Branches
Tags
No related merge requests found
......@@ -86,7 +86,7 @@ $script_loader = Class_ScriptLoader::getInstance()
'<div class="blocs_notice">%s</div>'.
'<div>%s</div>',
$this->notice_Entete($this->notice, $this->preferences).BR,
$this->notice_Blocs($this->notice, $this->preferences).BR,
$this->notice_Blocs($this->notice, $this->preferences).BR."<div class='clear'></div>",
$this->notice_Onglets($this->notice, $this->preferences));
$this->closeBoite();
......
......@@ -56,14 +56,14 @@ class ZendAfi_View_Helper_Notice_Blocs extends ZendAfi_View_Helper_Notice_Abstra
// Titre
$html.='<div class="'.$type.' block_info_notice">';
$html.='<div id="'.$id_bloc.'" class="notice_bloc_titre"><img id="I'.$id_bloc.'" src="'.URL_IMG.'bouton/plus_carre.gif" alt="Déplier" />'.$bloc["titre"].'</div>';
$html.='<div id="'.$id_bloc.'_contenu_row"></div>';
$html.= '<div id="'.$id_bloc.'_contenu" class="notice_bloc">';
$html.= '<div class="notice_patience" ><img src="'.URL_IMG.'patience.gif" alt="'.$this->_('Chargement en cours').'" />';
$html.= $this->_translate->_('Veuillez patienter : lecture en cours...');
$html.= '</div>';
$html.='</div>';
$html.='</div>';
$html.='<div id="'.$id_bloc.'" class="notice_bloc_titre"><img id="I'.$id_bloc.'" src="'.URL_IMG.'bouton/plus_carre.gif" alt="Déplier" />'.$bloc["titre"].'</div>';
$html.='<div id="'.$id_bloc.'_contenu_row"></div>';
$html.= '<div id="'.$id_bloc.'_contenu" class="notice_bloc">';
$html.= '<div class="notice_patience" ><img src="'.URL_IMG.'patience.gif" alt="'.$this->_('Chargement en cours').'" />';
$html.= $this->_translate->_('Veuillez patienter : lecture en cours...');
$html.= '</div>';
$html.='</div>';
$html.='</div>';
}
return $html;
......
......@@ -28,7 +28,13 @@ class ZendAfi_View_Helper_Permalink extends ZendAfi_View_Helper_BaseHelper {
oPm.style.top=nY + this.clientHeight + 3 +'px';
oPm.style.left=nX + this.clientWidth - oPm.clientWidth + 'px';";
$html = sprintf('<img src="'.URL_ADMIN_IMG.'reseaux/permalink.gif" style="margin-right:3px;cursor:pointer" title="%s" onclick="%s" alt="%s" />',
$icone_permalink= 'reseaux/permalink.png';
$path_icone_permalink = PATH_SKIN.'images/'.$icone_permalink;
$url_icone_permalink = file_exists($path_icone_permalink)
? URL_IMG.$icone_permalink
: URL_ADMIN_IMG.'reseaux/permalink.gif';
$html = sprintf('<img src="'.$url_icone_permalink.'" style="margin-right:3px;cursor:pointer" title="%s" onclick="%s" alt="%s" />',
$this->translate()->_('Lien permanent'),
$onclick,
$this->translate()->_('Lien permanent'));
......
......@@ -56,15 +56,23 @@ class ZendAfi_View_Helper_ReseauxSociaux extends ZendAfi_View_Helper_BaseHelper
$reseaux=$cls->getReseau();
// Html
$html='<div style="text-align:left;margin-top:7px">';
$html='<div class="vignette-reseaux-sociaux">';
foreach($reseaux as $clef => $reseau) {
$url = $this->view->url(['controller' => 'social-network',
'action' => 'share',
'on' => $clef], null, true)
.'?url='.urlencode($url_portail)
.'&amp;message='.urlencode($message);
$html.=sprintf('<img src="%s" style="margin-right:3px;cursor:pointer" alt="%s" title="%s" onclick="$.getScript(\'%s\'); return false" />',
URL_ADMIN_IMG.'reseaux/'.$clef.'.gif',
$icone_reseau = 'reseaux/'.$clef.'.png';
$path_icone_reseau = PATH_SKIN.'images/'.$icone_reseau;
$url_icone_reseau = file_exists($path_icone_reseau)
? URL_IMG.$icone_reseau
: URL_ADMIN_IMG.'reseaux/'.$clef.'.gif';
$html.=sprintf('<img class="reseau-social-img" src="%s" alt="%s" title="%s" onclick="$.getScript(\'%s\'); return false" />',
$url_icone_reseau,
sprintf("%s ".$clef, $this->translate()->_('icone')),
sprintf("%s ".$clef, $this->translate()->_('partager sur')),
$url);
......
......@@ -1507,4 +1507,14 @@ button.vodeclic_link:hover {
button.vodeclic_link + img {
vertical-align: middle;
padding-left: 5px;
}
.vignette-reseaux-sociaux {
text-align:left;
margin-top: 7px;
}
.reseau-social-img {
margin-right:3px;
cursor:pointer;
}
\ No newline at end of file
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