Skip to content
Snippets Groups Projects
Commit 5df44390 authored by llaffont's avatar llaffont
Browse files

Ajout d'un message d'aide pour l'upload de la vignette

parent e8c21dd6
Branches
Tags
No related merge requests found
......@@ -10,8 +10,9 @@ echo $this->renderForm($this->form);
<img class="patience" style="display:none; margin: 0 auto" src="<?php echo URL_ADMIN_IMG ?>patience.gif" border="0" alt="'.$this->_('Chargement en cours').'" />
<div style="text-align: center; margin-top: 10px">
<?php echo $this->_('Aperçu:') ?>
<img class="preview" width="150px" style="display:block; margin: 10px auto" src="<?php echo $this->url_vignette ?>"/>
<p><?php echo $this->_("Préférez une image de résolution comprise entre 320x240 et 800x600 au format jpg, png ou gif."); ?></p>
<p><?php echo $this->_('Aperçu:') ?></p>
<img class="preview" width="150px" style="display:block; margin: 0px auto" src="<?php echo $this->url_vignette ?>"/>
</div>
</div>
......@@ -29,4 +30,6 @@ var update_preview = function() {
url_input.keyup(update_preview);
url_input.mouseup(update_preview);
url_input.change(update_preview);
</script>
\ No newline at end of file
......@@ -55,7 +55,7 @@ $notice_html=new Class_NoticeHtml($this->notice);
printf('<img src="%s" width="100" border="0" alt="%s"/>', $this->url_img["vignette"], $this->_('Vignette'));
if (Class_Users::isCurrentUserCanAccesBackend())
echo sprintf('<a href="#" onclick="showPopWin(\'%s\', 700, 300); return false;">%s</a>',
echo sprintf('<a href="#" onclick="showPopWin(\'%s\', 750, 350); return false;">%s</a>',
$this->url(['module' => 'admin',
'controller' => 'upload',
'action' => 'vignette-notice',
......
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