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 392 392 $text = sprintf(_("Cronmanager encountered %s Errors"),$errors); 393 393 $extext = _("The following commands failed with the listed error"); 394 394 foreach ($error_arr as $item) { 395 $extext .= "<br >".$item[0]." (".$item[1].")";395 $extext .= "<br />".$item[0]." (".$item[1].")"; 396 396 } 397 397 $nt->add_error('cron_manager', 'EXECFAIL', $text, $extext, '', true, true); 398 398 } … … 1416 1416 global $db; 1417 1417 $results = $db->$type($sql,$fetchmode); 1418 1418 if(DB::IsError($results)) { 1419 die_freepbx($results->getDebugInfo() . "SQL - <br > $sql" );1419 die_freepbx($results->getDebugInfo() . "SQL - <br /> $sql" ); 1420 1420 } 1421 1421 return $results; 1422 1422 } … … 2028 2028 2029 2029 $selectHtml .= '<select name="'.$cat_identifier.$i.'" onfocus="document.getElementById(\''.$radioid.'\').checked = true; this.form.goto'.$i.'.value=\''.$cat.'\';">'; 2030 2030 $selectHtml .= $options; 2031 $selectHtml .= "</select><br >\n";2031 $selectHtml .= "</select><br />\n"; 2032 2032 2033 2033 if ($checked) $foundone = true; 2034 2034 } … … 2310 2310 $diff_modules = array_diff_assoc($new_modules, $old_modules); 2311 2311 $cnt = count($diff_modules); 2312 2312 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 />"; 2314 2314 foreach ($diff_modules as $mod) { 2315 $extext .= $mod['rawname']." (".$mod['version'].")<br >";2315 $extext .= $mod['rawname']." (".$mod['version'].")<br />"; 2316 2316 } 2317 2317 $notifications->add_notice('freepbx', 'NEWMODS', sprintf(_('%s New modules are available'),$cnt), $extext, '', $reset_value, true); 2318 2318 }
