Ticket #1096: ivh-hook.patch

File ivh-hook.patch, 1.1 kB (added by iotarob, 6 years ago)
  • page.ivr.php

    old new  
    145145                <td><input type="checkbox" name="ena_directdial" <?php echo $ivr_details['enable_directdial'] ?>></td> 
    146146        </tr> 
    147147<?php 
     148        // implementation of module hook 
     149        // object was initialized in config.php 
     150  global $module_hook; 
     151        echo $module_hook->hookHtml; 
     152?> 
     153<?php 
    148154    $annmsg = isset($ivr_details['announcement'])?$ivr_details['announcement']:''; 
    149155  if(function_exists('recordings_list')) { //only include if recordings is enabled ?> 
    150156        <tr> 
  • functions.inc.php

    old new  
    127127 
    128128          $announcement = (isset($details['announcement']) ? $details['announcement'] : ''); 
    129129 
     130          $ext->addInclude($id, "ivr-additional");   
     131 
    130132          if (!empty($details['enable_directdial'])) { 
    131133            // MODIFIED (PL) 
    132134            // always include ext-findmefollow whether or not the module is currenlty