Ticket #3368: functions.inc.php.patch

File functions.inc.php.patch, 1.8 kB (added by Nick_Lewis, 3 years ago)
  • functions.inc.php

    old new  
    392392      $text = sprintf(_("Cronmanager encountered %s Errors"),$errors); 
    393393      $extext = _("The following commands failed with the listed error"); 
    394394      foreach ($error_arr as $item) { 
    395         $extext .= "<br>".$item[0]." (".$item[1].")"; 
     395        $extext .= "<br />".$item[0]." (".$item[1].")"; 
    396396      } 
    397397      $nt->add_error('cron_manager', 'EXECFAIL', $text, $extext, '', true, true); 
    398398    } 
     
    14161416  global $db; 
    14171417  $results = $db->$type($sql,$fetchmode); 
    14181418  if(DB::IsError($results)) { 
    1419     die_freepbx($results->getDebugInfo() . "SQL - <br> $sql" ); 
     1419    die_freepbx($results->getDebugInfo() . "SQL - <br /> $sql" ); 
    14201420  } 
    14211421  return $results; 
    14221422} 
     
    20282028 
    20292029    $selectHtml .=  '<select name="'.$cat_identifier.$i.'" onfocus="document.getElementById(\''.$radioid.'\').checked = true; this.form.goto'.$i.'.value=\''.$cat.'\';">'; 
    20302030    $selectHtml .= $options;   
    2031     $selectHtml .=  "</select><br>\n"; 
     2031    $selectHtml .=  "</select><br />\n"; 
    20322032 
    20332033    if ($checked) $foundone = true; 
    20342034  } 
     
    23102310  $diff_modules = array_diff_assoc($new_modules, $old_modules); 
    23112311  $cnt = count($diff_modules); 
    23122312  if ($cnt) { 
    2313     $extext = _("The following new modules are available for download. Click delete icon on the right to remove this notice.")."<br>"; 
     2313    $extext = _("The following new modules are available for download. Click delete icon on the right to remove this notice.")."<br />"; 
    23142314    foreach ($diff_modules as $mod) { 
    2315       $extext .= $mod['rawname']." (".$mod['version'].")<br>"; 
     2315      $extext .= $mod['rawname']." (".$mod['version'].")<br />"; 
    23162316    } 
    23172317    $notifications->add_notice('freepbx', 'NEWMODS', sprintf(_('%s New modules are available'),$cnt), $extext, '', $reset_value, true); 
    23182318  }