Changeset 4538
- Timestamp:
- Dec 21, 2009, 12:00:20 AM (14 years ago)
- Location:
- extensions/Random_Header
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Random_Header
-
Property
svn:ignore
set to
data.dat
-
Property
svn:ignore
set to
-
extensions/Random_Header/admin/rh_admin.tpl
r3684 r4538 45 45 <i>#theHeader :</i><br /> 46 46 <input class="rh_input" type="text" name="{$i.CURRENT_THEME}head_css" value="{$i.HEAD_CSS}"><br /> 47 <i>#RandomImage : </i><br /><input class="rh_input" type="text" name="{$i.CURRENT_THEME}img_css" value="{$i.IMG_CSS}"><br />47 <i>#RandomImage : {'rh_inactif_on_bg'|@translate}</i><br /><input class="rh_input" type="text" name="{$i.CURRENT_THEME}img_css" value="{$i.IMG_CSS}"><br /> 48 48 </p> 49 49 -
extensions/Random_Header/language/en_UK/plugin.lang.php
r3684 r4538 34 34 $lang['rh_aide'] = 'Info :<br />IMAGES ARE VIEWABLE BY EVERYONE (private category or not)<br />CSS style for the image(#RandomImage) isn\'t applied in background mode<br>CSS text field need to respect CSS rules (ex: "overflow:auto;color:red;")<br />In background mode, concatenate the <a href="admin.php?page=configuration">page banner</a> is disable'; 35 35 $lang['rh_additional_css'] = 'Additional CSS Style'; 36 36 $lang['rh_inactif_on_bg'] = 'disable on background mode'; 37 37 ?> -
extensions/Random_Header/language/es_ES/plugin.lang.php
r3705 r4538 34 34 $lang['rh_aide'] = 'Nota:<br />LAS IMÁGENES SON VISIBLES PARA ELLOS TODOS (Categoría privada o no)<br />El estilo CSS para la imagen (#RandomImage) No es aplicado en moda llena de imágenes de fondo<br>El campo CSS debe respetar la norma CSS (ex: "overflow:auto;color:red;")<br />En moda llena de imágenes de fondo, concatenar <a href="admin.php?page=configuration">bandera de las páginas</a> es inactivo'; 35 35 $lang['rh_additional_css'] = 'Estilo CSS adicional'; 36 36 $lang['rh_inactif_on_bg'] = 'inactivo para la imagen de fondo'; 37 37 ?> -
extensions/Random_Header/language/fr_FR/plugin.lang.php
r3684 r4538 34 34 $lang['rh_aide'] = 'Note :<br />LES IMAGES SONT VISIBLES POUR TOUS (catégorie privée ou pas)<br />Le style CSS pour l\'image (#RandomImage) n\'est pas appliqué en mode image de fond<br>Les champs CSS doivent respecter les normes CSS (ex: "overflow:auto;color:red;")<br />En mode image de fond, concatener la <a href="admin.php?page=configuration">bannière des pages</a> est inactif'; 35 35 $lang['rh_additional_css'] = 'Style CSS additionnel'; 36 36 $lang['rh_inactif_on_bg'] = 'inactif en image de fond'; 37 37 ?> -
extensions/Random_Header/main.inc.php
r3687 r4538 66 66 67 67 if ($this->rh_config[$usertheme]['mode_background']=='on') { 68 $template->append('head_elements','<style >#theHeader{background: url('.$toto[0].') no-repeat;'. $this->rh_config[$usertheme]['head_css'] .'}</style>');68 $template->append('head_elements','<style type="text/css">#theHeader{background: url('.$toto[0].') no-repeat;'. $this->rh_config[$usertheme]['head_css'] .'}</style>'); 69 69 } 70 70 else { 71 71 if ($this->rh_config[$usertheme]['img_css']!='' || $this->rh_config[$usertheme]['head_css']!='') 72 $template->append('head_elements','<style >#theHeader{'. $this->rh_config[$usertheme]['head_css'] .'}#theHeader #RandomImage{'. $this->rh_config[$usertheme]['img_css'] .'}</style>');72 $template->append('head_elements','<style type="text/css">#theHeader{'. $this->rh_config[$usertheme]['head_css'] .'}#theHeader #RandomImage{'. $this->rh_config[$usertheme]['img_css'] .'}</style>'); 73 73 $page['page_banner'] = ($this->rh_config[$usertheme]['concat_before']=='on') ? $conf['page_banner'] : ''; 74 74 $page['page_banner'].= '<img id="RandomImage" src="'.$toto[0].'">';
Note: See TracChangeset
for help on using the changeset viewer.