Changeset 6844

Show
Ignore:
Timestamp:
09/26/08 13:15:51 (2 months ago)
Author:
p_lindheimer
Message:

fixes #3235 undefined variable when choosing the FOP tab

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/panel.php

    r6491 r6844  
    1919include 'header.php'; 
    2020 
    21 showview('panel', array('title'=>$title, 'deptname' => $_SESSION["AMP_user"]->_deptname)); 
     21$template['amp_conf'] = &$amp_conf; 
     22 
     23showview('panel', array('title'=>$title, 'deptname' => $_SESSION["AMP_user"]->_deptname, 'amp_conf' => &$amp_conf)); 
    2224?> 
  • freepbx/branches/2.5/amp_conf/htdocs/admin/views/freepbx.php

    r6601 r6844  
    165165        print_sub_tool( _("Admin")   , "config.php", $currentFile=='config.php' ); 
    166166        print_sub_tool( _("Reports")   , "reports.php", $currentFile=='reports.php' ); 
    167         if(!$amp_conf["FOPDISABLE"])
    168                 print_sub_tool( _("Panel")     , "panel.php"  , $currentFile=='panel.php' ); 
     167        if(!$amp_conf["FOPDISABLE"])
     168                print_sub_tool( _("Panel"), "panel.php", $currentFile=='panel.php' ); 
    169169        } 
    170170        print_sub_tool( _("Recordings"), "../recordings/index.php"  ,0, NULL, "ari" ); 
  • freepbx/branches/2.5/amp_conf/htdocs/admin/views/panel.php

    r4993 r6844  
    11<?php 
    22 
     3$template['amp_conf'] = &$amp_conf; 
    34$template['title'] = $title; 
    45$template['content'] =  
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads