Ignore:
Timestamp:
Oct 26, 2010, 11:42:43 PM (13 years ago)
Author:
repie38
Message:

feature:0001114
add an option to make the random image a link to gallery root url
will need an update in translation for DE, HU, ES and IT

Location:
extensions/Random_Header/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Random_Header/admin/rh_admin.php

    r7401 r7412  
    3232                $me->rh_config[$pwg_templateID]['img_css']                              = $_POST[$pwg_templateID.'img_css'];
    3333                $me->rh_config[$pwg_templateID]['mode_background']              = (isset( $_POST[$pwg_templateID.'mode_background'] )) ? $_POST[$pwg_templateID.'mode_background'] : 'off' ;
     34                $me->rh_config[$pwg_templateID]['root_link']                    = (isset( $_POST[$pwg_templateID.'root_link'] )) ? $_POST[$pwg_templateID.'root_link'] : 'off' ;
    3435                $me->save_config();
    3536               
     
    4647                                'CONCAT_BEFORE'         => ($me->rh_config[$pwg_templateID]['concat_before']=='on') ? 'checked' : '',
    4748                                'CONCAT_AFTER'          => ($me->rh_config[$pwg_templateID]['concat_after']=='on') ? 'checked' : '',
     49                                'ROOT_LINK'             => ($me->rh_config[$pwg_templateID]['root_link']=='on') ? 'checked' : '',
    4850                                'HEAD_CSS'                      =>  $me->rh_config[$pwg_templateID]['head_css'],
    4951                                'IMG_CSS'                       =>  $me->rh_config[$pwg_templateID]['img_css'],
  • extensions/Random_Header/admin/rh_theme_conf.tpl

    r7378 r7412  
    3939                <i>#theHeader :</i><br>
    4040                <input class="rh_input" type="text" name="{$i.CURRENT_THEME_ID}head_css" value="{$i.HEAD_CSS}"><br>
    41                 <i>#RandomImage : {'rh_inactif_on_bg'|@translate}</i><br><input class="rh_input"  type="text" name="{$i.CURRENT_THEME_ID}img_css" value="{$i.IMG_CSS}"><br>
     41                <i>#RandomImage : {'rh_inactif_on_bg'|@translate}</i><br>
     42                <input class="rh_input"  type="text" name="{$i.CURRENT_THEME_ID}img_css" value="{$i.IMG_CSS}">
    4243                </p>
    4344               
     
    4546                <label>{'rh_concat'|@translate} :</label>
    4647                <input type="checkbox" {$i.CONCAT_BEFORE} name="{$i.CURRENT_THEME_ID}concat_before"> {'rh_before'|@translate} &nbsp; <input type="checkbox" {$i.CONCAT_AFTER} name="{$i.CURRENT_THEME_ID}concat_after"> {'rh_after'|@translate}
     48                </p>
     49               
     50                <p>
     51                <input type="checkbox" {$i.ROOT_LINK} name="{$i.CURRENT_THEME_ID}root_link">
     52                <label>{'rh_root_link'|@translate}</label>
    4753                </p>
    4854               
Note: See TracChangeset for help on using the changeset viewer.