Changeset 1652 in ExiteCMS


Ignore:
Timestamp:
08/18/08 11:36:40 (3 years ago)
Author:
hverton
Message:

pass the panel type (header, left, right, footer, etc) to the template, which makes it possible to make layout decisions based on the display location of the panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/theme_functions.php

    r1518 r1652  
    223223            $template->assign('_title', isset($panel['title'])?$panel['title']:""); 
    224224            $template->assign('_state', isset($panel['state'])?$panel['state']:""); 
     225            $template->assign('_type', isset($panel['panel_type'])?$panel['panel_type']:""); 
    225226 
    226227            // if one or more locales are assigned to this panel, load them first 
Note: See TracChangeset for help on using the changeset viewer.