Changeset 17734 for extensions/header_manager/admin
- Timestamp:
- Sep 4, 2012, 11:32:44 AM (12 years ago)
- Location:
- extensions/header_manager/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/header_manager/admin/config.php
r17012 r17734 15 15 if ($_POST['display'] == 'with_text') 16 16 { 17 conf_update_param('page_banner', $_POST['conf_page_banner']);18 17 $conf['page_banner'] = $_POST['conf_page_banner']; 18 conf_update_param('page_banner', $conf['page_banner']); 19 19 } 20 20 21 $conf['header_manager']['image'] = $_POST['image']; 22 $conf['header_manager']['display'] = $_POST['display']; 21 $conf['header_manager'] = array( 22 'width' => $conf['header_manager']['width'], 23 'height' => $conf['header_manager']['height'], 24 'image' => $_POST['image'], 25 'display' => $_POST['display'], 26 'banner_on_picture' => isset($_POST['banner_on_picture']), 27 ); 23 28 conf_update_param('header_manager', serialize($conf['header_manager'])); 24 29 … … 65 70 'BANNER_IMAGE' => $conf['header_manager']['image'], 66 71 'BANNER_DISPLAY' => $conf['header_manager']['display'], 72 'BANNER_ON_PICTURE' => $conf['header_manager']['banner_on_picture'] 67 73 )); 68 74 -
extensions/header_manager/admin/template/config.tpl
r17644 r17734 29 29 <i>{'Put <b>%header_manager%</b> where you want to display the image.'|@translate}</i> 30 30 </div> 31 32 <label><input style="margin-top:20px;" type="checkbox" name="banner_on_picture" value="true" {if $BANNER_ON_PICTURE}checked="checked"{/if}> <b>{'Display banner on photo page'|@translate}</b></label> 31 33 </fieldset> 32 34
Note: See TracChangeset
for help on using the changeset viewer.