Ignore:
Timestamp:
Jun 7, 2022 6:41:24 AM (23 months ago)
Author:
anonymous
Message:

Add App param ‘template_ext’ used to inform services where to find header and footer templates. Minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/admins.php

    r762 r767  
    208208 *****************************************************************************/
    209209
    210 $nav->set('body_id', 'admins');
    211 
    212 include 'header.ihtml';
     210$nav->set('id', 'admins');
     211
     212include 'header.' . $app->getParam('template_ext');
    213213$app->carryQuery($locally_carried_queries);
    214214include 'codebase/services/templates/' . $main_template;
    215 include 'footer.ihtml';
     215include 'footer.' . $app->getParam('template_ext');
    216216
    217217/********************************************************************
Note: See TracChangeset for help on using the changeset viewer.