@@ -159,9 +159,9 @@ |
||
| 159 | 159 | $tHex = array('', '', '', ''); |
| 160 | 160 | |
| 161 | 161 | $tHex[0] = $aColors[0]; |
| 162 | - $tHex[1] = substr('00' . dechex($aColors[1]), -2); |
|
| 163 | - $tHex[2] = substr('00' . dechex($aColors[2]), -2); |
|
| 164 | - $tHex[3] = substr('00' . dechex($aColors[3]), -2); |
|
| 162 | + $tHex[1] = substr('00'.dechex($aColors[1]), -2); |
|
| 163 | + $tHex[2] = substr('00'.dechex($aColors[2]), -2); |
|
| 164 | + $tHex[3] = substr('00'.dechex($aColors[3]), -2); |
|
| 165 | 165 | |
| 166 | 166 | $colorHexa = implode('', $tHex); |
| 167 | 167 | |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | */ |
| 204 | 204 | public function setMin($min) |
| 205 | 205 | { |
| 206 | - $this->_min = (int)$min; |
|
| 206 | + $this->_min = (int) $min; |
|
| 207 | 207 | } |
| 208 | 208 | /*-----------------------------------------------------------------*/ |
| 209 | 209 | /** |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | */ |
| 222 | 222 | public function setMax($max) |
| 223 | 223 | { |
| 224 | - $this->_max = (int)$max; |
|
| 224 | + $this->_max = (int) $max; |
|
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | /*-----------------------------------------------------------------*/ |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | */ |
| 243 | 243 | public function setSmallIncrement($smallIncrement) |
| 244 | 244 | { |
| 245 | - $this->_smallIncrement = (int)$smallIncrement; |
|
| 245 | + $this->_smallIncrement = (int) $smallIncrement; |
|
| 246 | 246 | if ($this->_smallIncrement == 0) { |
| 247 | 247 | $this->_smallIncrement = 1; |
| 248 | 248 | } |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | */ |
| 265 | 265 | public function setLargeIncrement($largeIncrement) |
| 266 | 266 | { |
| 267 | - $this->_largeIncrement = (int)$largeIncrement; |
|
| 267 | + $this->_largeIncrement = (int) $largeIncrement; |
|
| 268 | 268 | if ($this->_largeIncrement == 0) { |
| 269 | 269 | $this->_largeIncrement = 10; |
| 270 | 270 | } |
@@ -405,7 +405,7 @@ discard block |
||
| 405 | 405 | $sFolderImg = "{$sSpinFolder}/images/{$this->getImgFolder()}/"; |
| 406 | 406 | |
| 407 | 407 | $prefixe = $this->getName(); |
| 408 | - $prefixe2 = 'spin' . $prefixe; |
|
| 408 | + $prefixe2 = 'spin'.$prefixe; |
|
| 409 | 409 | |
| 410 | 410 | $smallIncrement = $this->getSmallIncrement(); |
| 411 | 411 | $largeIncrement = $this->getLargeIncrement(); |
@@ -424,7 +424,7 @@ discard block |
||
| 424 | 424 | $t = array(); |
| 425 | 425 | |
| 426 | 426 | if ($this->_loadJS) { |
| 427 | - $js = $sSpinFolder . '/js/spin.js'; |
|
| 427 | + $js = $sSpinFolder.'/js/spin.js'; |
|
| 428 | 428 | $t[] = "<script src='{$js}' type='text/javascript'></script>"; |
| 429 | 429 | } |
| 430 | 430 | |
@@ -469,7 +469,7 @@ discard block |
||
| 469 | 469 | //------------------------------------------------------- |
| 470 | 470 | |
| 471 | 471 | $t[] = ' </tr>'; |
| 472 | - $t[] = '</table>' . "\n"; |
|
| 472 | + $t[] = '</table>'."\n"; |
|
| 473 | 473 | $t[] = '</div>'; |
| 474 | 474 | //------------------------------------------- |
| 475 | 475 | $html = implode("\n", $t); |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | if (!@include 'Calendar/Calendar.php') { |
| 6 | 6 | define('CALENDAR_ROOT', '../../'); |
| 7 | 7 | } |
| 8 | -require_once CALENDAR_ROOT . 'Day.php'; |
|
| 8 | +require_once CALENDAR_ROOT.'Day.php'; |
|
| 9 | 9 | |
| 10 | 10 | $Day = new Calendar_Day(2003, 10, 23); |
| 11 | 11 | |
@@ -39,32 +39,32 @@ |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | switch (@$_GET['view']) { |
| 42 | - default: |
|
| 43 | - $_GET['view'] = 'calendar_year'; |
|
| 44 | - case 'calendar_year': |
|
| 45 | - require_once CALENDAR_ROOT . 'Year.php'; |
|
| 46 | - $c = new Calendar_Year($_GET['y']); |
|
| 47 | - break; |
|
| 48 | - case 'calendar_month': |
|
| 49 | - require_once CALENDAR_ROOT . 'Month.php'; |
|
| 50 | - $c = new Calendar_Month($_GET['y'], $_GET['m']); |
|
| 51 | - break; |
|
| 52 | - case 'calendar_day': |
|
| 53 | - require_once CALENDAR_ROOT . 'Day.php'; |
|
| 54 | - $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']); |
|
| 55 | - break; |
|
| 56 | - case 'calendar_hour': |
|
| 57 | - require_once CALENDAR_ROOT . 'Hour.php'; |
|
| 58 | - $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']); |
|
| 59 | - break; |
|
| 60 | - case 'calendar_minute': |
|
| 61 | - require_once CALENDAR_ROOT . 'Minute.php'; |
|
| 62 | - $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']); |
|
| 63 | - break; |
|
| 64 | - case 'calendar_second': |
|
| 65 | - require_once CALENDAR_ROOT . 'Second.php'; |
|
| 66 | - $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']); |
|
| 67 | - break; |
|
| 42 | + default: |
|
| 43 | + $_GET['view'] = 'calendar_year'; |
|
| 44 | + case 'calendar_year': |
|
| 45 | + require_once CALENDAR_ROOT . 'Year.php'; |
|
| 46 | + $c = new Calendar_Year($_GET['y']); |
|
| 47 | + break; |
|
| 48 | + case 'calendar_month': |
|
| 49 | + require_once CALENDAR_ROOT . 'Month.php'; |
|
| 50 | + $c = new Calendar_Month($_GET['y'], $_GET['m']); |
|
| 51 | + break; |
|
| 52 | + case 'calendar_day': |
|
| 53 | + require_once CALENDAR_ROOT . 'Day.php'; |
|
| 54 | + $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']); |
|
| 55 | + break; |
|
| 56 | + case 'calendar_hour': |
|
| 57 | + require_once CALENDAR_ROOT . 'Hour.php'; |
|
| 58 | + $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']); |
|
| 59 | + break; |
|
| 60 | + case 'calendar_minute': |
|
| 61 | + require_once CALENDAR_ROOT . 'Minute.php'; |
|
| 62 | + $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']); |
|
| 63 | + break; |
|
| 64 | + case 'calendar_second': |
|
| 65 | + require_once CALENDAR_ROOT . 'Second.php'; |
|
| 66 | + $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']); |
|
| 67 | + break; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | // Convert timestamp to human readable date |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | { |
| 10 | 10 | list($usec, $sec) = explode(' ', microtime()); |
| 11 | 11 | |
| 12 | - return (float)$usec + (float)$sec; |
|
| 12 | + return (float) $usec + (float) $sec; |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | // Switch to PEAR::Date engine |
@@ -42,27 +42,27 @@ discard block |
||
| 42 | 42 | default: |
| 43 | 43 | $_GET['view'] = 'calendar_year'; |
| 44 | 44 | case 'calendar_year': |
| 45 | - require_once CALENDAR_ROOT . 'Year.php'; |
|
| 45 | + require_once CALENDAR_ROOT.'Year.php'; |
|
| 46 | 46 | $c = new Calendar_Year($_GET['y']); |
| 47 | 47 | break; |
| 48 | 48 | case 'calendar_month': |
| 49 | - require_once CALENDAR_ROOT . 'Month.php'; |
|
| 49 | + require_once CALENDAR_ROOT.'Month.php'; |
|
| 50 | 50 | $c = new Calendar_Month($_GET['y'], $_GET['m']); |
| 51 | 51 | break; |
| 52 | 52 | case 'calendar_day': |
| 53 | - require_once CALENDAR_ROOT . 'Day.php'; |
|
| 53 | + require_once CALENDAR_ROOT.'Day.php'; |
|
| 54 | 54 | $c = new Calendar_Day($_GET['y'], $_GET['m'], $_GET['d']); |
| 55 | 55 | break; |
| 56 | 56 | case 'calendar_hour': |
| 57 | - require_once CALENDAR_ROOT . 'Hour.php'; |
|
| 57 | + require_once CALENDAR_ROOT.'Hour.php'; |
|
| 58 | 58 | $c = new Calendar_Hour($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h']); |
| 59 | 59 | break; |
| 60 | 60 | case 'calendar_minute': |
| 61 | - require_once CALENDAR_ROOT . 'Minute.php'; |
|
| 61 | + require_once CALENDAR_ROOT.'Minute.php'; |
|
| 62 | 62 | $c = new Calendar_Minute($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i']); |
| 63 | 63 | break; |
| 64 | 64 | case 'calendar_second': |
| 65 | - require_once CALENDAR_ROOT . 'Second.php'; |
|
| 65 | + require_once CALENDAR_ROOT.'Second.php'; |
|
| 66 | 66 | $c = new Calendar_Second($_GET['y'], $_GET['m'], $_GET['d'], $_GET['h'], $_GET['i'], $_GET['s']); |
| 67 | 67 | break; |
| 68 | 68 | } |
@@ -71,8 +71,8 @@ discard block |
||
| 71 | 71 | $date = new Date($c->getTimestamp()); |
| 72 | 72 | |
| 73 | 73 | echo '<h1>Using PEAR::Date engine</h1>'; |
| 74 | -echo 'Viewing: ' . @$_GET['view'] . '<br>'; |
|
| 75 | -echo 'The time is now: ' . $date->format('%Y %a %e %T') . '<br >'; |
|
| 74 | +echo 'Viewing: '.@$_GET['view'].'<br>'; |
|
| 75 | +echo 'The time is now: '.$date->format('%Y %a %e %T').'<br >'; |
|
| 76 | 76 | |
| 77 | 77 | $i = 1; |
| 78 | 78 | echo '<h1>First Iteration</h1>'; |
@@ -82,15 +82,15 @@ discard block |
||
| 82 | 82 | $c->build(); |
| 83 | 83 | while ($e = $c->fetch()) { |
| 84 | 84 | $class = strtolower(get_class($e)); |
| 85 | - $link = '&y=' . $e->thisYear() . '&m=' . $e->thisMonth() . '&d=' . $e->thisDay() . '&h=' . $e->thisHour() . '&i=' . $e->thisMinute() . '&s=' . $e->thisSecond(); |
|
| 86 | - $method = 'this' . str_replace('calendar_', '', $class); |
|
| 87 | - echo '<a href="' . $_SERVER['PHP_SELF'] . '?view=' . $class . $link . '">' . $e->{$method}() . '</a> : '; |
|
| 85 | + $link = '&y='.$e->thisYear().'&m='.$e->thisMonth().'&d='.$e->thisDay().'&h='.$e->thisHour().'&i='.$e->thisMinute().'&s='.$e->thisSecond(); |
|
| 86 | + $method = 'this'.str_replace('calendar_', '', $class); |
|
| 87 | + echo '<a href="'.$_SERVER['PHP_SELF'].'?view='.$class.$link.'">'.$e->{$method}().'</a> : '; |
|
| 88 | 88 | if (($i % 10) == 0) { |
| 89 | 89 | echo '<br>'; |
| 90 | 90 | } |
| 91 | 91 | ++$i; |
| 92 | 92 | } |
| 93 | -echo '<p><b>Took: ' . (getmicrotime() - $start) . ' seconds</b></p>'; |
|
| 93 | +echo '<p><b>Took: '.(getmicrotime() - $start).' seconds</b></p>'; |
|
| 94 | 94 | |
| 95 | 95 | $i = 1; |
| 96 | 96 | echo '<h1>Second Iteration</h1>'; |
@@ -99,12 +99,12 @@ discard block |
||
| 99 | 99 | $start = getmicrotime(); |
| 100 | 100 | while ($e = $c->fetch()) { |
| 101 | 101 | $class = strtolower(get_class($e)); |
| 102 | - $link = '&y=' . $e->thisYear() . '&m=' . $e->thisMonth() . '&d=' . $e->thisDay() . '&h=' . $e->thisHour() . '&i=' . $e->thisMinute() . '&s=' . $e->thisSecond(); |
|
| 103 | - $method = 'this' . str_replace('calendar_', '', $class); |
|
| 104 | - echo '<a href="' . $_SERVER['PHP_SELF'] . '?view=' . $class . $link . '">' . $e->{$method}() . '</a> : '; |
|
| 102 | + $link = '&y='.$e->thisYear().'&m='.$e->thisMonth().'&d='.$e->thisDay().'&h='.$e->thisHour().'&i='.$e->thisMinute().'&s='.$e->thisSecond(); |
|
| 103 | + $method = 'this'.str_replace('calendar_', '', $class); |
|
| 104 | + echo '<a href="'.$_SERVER['PHP_SELF'].'?view='.$class.$link.'">'.$e->{$method}().'</a> : '; |
|
| 105 | 105 | if (($i % 10) == 0) { |
| 106 | 106 | echo '<br>'; |
| 107 | 107 | } |
| 108 | 108 | ++$i; |
| 109 | 109 | } |
| 110 | -echo '<p><b>Took: ' . (getmicrotime() - $start) . ' seconds</b></p>'; |
|
| 110 | +echo '<p><b>Took: '.(getmicrotime() - $start).' seconds</b></p>'; |
|
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE); |
| 22 | 22 | $event = $eventHandler->getEvent($itemId, 0, true); |
| 23 | 23 | $item['name'] = $event->getVar('event_title'); |
| 24 | - $item['url'] = XOOPS_URL . '/modules/extcal/event.php?event=' . $event->getVar('event_id'); |
|
| 24 | + $item['url'] = XOOPS_URL.'/modules/extcal/event.php?event='.$event->getVar('event_id'); |
|
| 25 | 25 | |
| 26 | 26 | return $item; |
| 27 | 27 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -include __DIR__ . '/../../mainfile.php'; |
|
| 4 | -include XOOPS_ROOT_PATH . '/include/notification_update.php'; |
|
| 3 | +include __DIR__.'/../../mainfile.php'; |
|
| 4 | +include XOOPS_ROOT_PATH.'/include/notification_update.php'; |
|
@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | public function __construct($form, $startTS = 0, $endTS = 0) |
| 18 | 18 | { |
| 19 | - $startTS = (int)$startTS; |
|
| 19 | + $startTS = (int) $startTS; |
|
| 20 | 20 | $startTS = ($startTS > 0) ? $startTS : time(); |
| 21 | 21 | $startDatetime = getdate($startTS); |
| 22 | 22 | |
| 23 | - $endTS = (int)$endTS; |
|
| 23 | + $endTS = (int) $endTS; |
|
| 24 | 24 | $endTS = ($endTS > 0) ? $endTS : time(); |
| 25 | 25 | $endDatetime = getdate($endTS); |
| 26 | 26 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | for ($i = 0; $i < 24; ++$i) { |
| 29 | 29 | for ($j = 0; $j < _EXTCAL_TS_MINUTE; $j += 15) { |
| 30 | 30 | $key = ($i * _EXTCAL_TS_HOUR) + ($j * _EXTCAL_TS_MINUTE); |
| 31 | - $timearray[$key] = ($j != 0) ? $i . ':' . $j : $i . ':0' . $j; |
|
| 31 | + $timearray[$key] = ($j != 0) ? $i.':'.$j : $i.':0'.$j; |
|
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | ksort($timearray); |
@@ -55,13 +55,13 @@ discard block |
||
| 55 | 55 | */ |
| 56 | 56 | public function insertBreak($extra = '', $class = '') |
| 57 | 57 | { |
| 58 | - $class = ($class != '') ? " class='" . preg_replace('/[^A-Za-z0-9\s\s_-]/i', '', $class) . "'" : ''; |
|
| 58 | + $class = ($class != '') ? " class='".preg_replace('/[^A-Za-z0-9\s\s_-]/i', '', $class)."'" : ''; |
|
| 59 | 59 | // Fix for $extra tag not showing |
| 60 | 60 | if ($extra) { |
| 61 | - $extra = '<tr><td colspan="2" ' . $class . '>' . $extra . '</td></tr>'; |
|
| 61 | + $extra = '<tr><td colspan="2" '.$class.'>'.$extra.'</td></tr>'; |
|
| 62 | 62 | $this->addElement($extra); |
| 63 | 63 | } else { |
| 64 | - $extra = '<tr><td colspan="2" ' . $class . '> </td></tr>'; |
|
| 64 | + $extra = '<tr><td colspan="2" '.$class.'> </td></tr>'; |
|
| 65 | 65 | $this->addElement($extra); |
| 66 | 66 | } |
| 67 | 67 | } |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | if ($title != '') { |
| 93 | - $ret .= '<tr><th colspan="2">' . $title . '</th></tr>'; |
|
| 93 | + $ret .= '<tr><th colspan="2">'.$title.'</th></tr>'; |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | $hidden = ''; |
@@ -102,24 +102,24 @@ discard block |
||
| 102 | 102 | if (!$ele->getNocolspan()) { |
| 103 | 103 | $ret .= '<tr valign="top" align="left"><td class="head">'; |
| 104 | 104 | if (($caption = $ele->getCaption()) != '') { |
| 105 | - $ret .= '<div class="xoops-form-element-caption' . ($ele->isRequired() ? '-required' : '') . '">'; |
|
| 106 | - $ret .= '<span class="caption-text">' . $caption . '</span>'; |
|
| 105 | + $ret .= '<div class="xoops-form-element-caption'.($ele->isRequired() ? '-required' : '').'">'; |
|
| 106 | + $ret .= '<span class="caption-text">'.$caption.'</span>'; |
|
| 107 | 107 | $ret .= '<span class="caption-marker">*</span>'; |
| 108 | 108 | $ret .= '</div>'; |
| 109 | 109 | } |
| 110 | 110 | if (($desc = $ele->getDescription()) != '') { |
| 111 | - $ret .= '<div class="xoops-form-element-help">' . $desc . '</div>'; |
|
| 111 | + $ret .= '<div class="xoops-form-element-help">'.$desc.'</div>'; |
|
| 112 | 112 | } |
| 113 | - $ret .= '</td><td class="' . $class . '">' . $ele->render() . '</td></tr>' . NWLINE; |
|
| 113 | + $ret .= '</td><td class="'.$class.'">'.$ele->render().'</td></tr>'.NWLINE; |
|
| 114 | 114 | } else { |
| 115 | 115 | $ret .= '<tr valign="top" align="left"><td class="head" colspan="2">'; |
| 116 | 116 | if (($caption = $ele->getCaption()) != '') { |
| 117 | - $ret .= '<div class="xoops-form-element-caption' . ($ele->isRequired() ? '-required' : '') . '">'; |
|
| 118 | - $ret .= '<span class="caption-text">' . $caption . '</span>'; |
|
| 117 | + $ret .= '<div class="xoops-form-element-caption'.($ele->isRequired() ? '-required' : '').'">'; |
|
| 118 | + $ret .= '<span class="caption-text">'.$caption.'</span>'; |
|
| 119 | 119 | $ret .= '<span class="caption-marker">*</span>'; |
| 120 | 120 | $ret .= '</div>'; |
| 121 | 121 | } |
| 122 | - $ret .= '</td></tr><tr valign="top" align="left"><td class="' . $class . '" colspan="2">' . $ele->render() . '</td></tr>'; |
|
| 122 | + $ret .= '</td></tr><tr valign="top" align="left"><td class="'.$class.'" colspan="2">'.$ele->render().'</td></tr>'; |
|
| 123 | 123 | } |
| 124 | 124 | } else { |
| 125 | 125 | $hidden .= $ele->render(); |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | $ret .= '</table>'; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | - $ret .= NWLINE . ' ' . $hidden . NWLINE; |
|
| 133 | + $ret .= NWLINE.' '.$hidden.NWLINE; |
|
| 134 | 134 | |
| 135 | 135 | return $ret; |
| 136 | 136 | } |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | if (!isset($g_pcl_trace_name)) { |
| 171 | 171 | $g_pcl_trace_name = $p_name; |
| 172 | 172 | } else { |
| 173 | - $g_pcl_trace_name .= ',' . $p_name; |
|
| 173 | + $g_pcl_trace_name .= ','.$p_name; |
|
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | // ----- Update the function entry |
@@ -398,7 +398,7 @@ discard block |
||
| 398 | 398 | echo '<tr>'; |
| 399 | 399 | echo '<td><table width=100% border=0 cellspacing=0 cellpadding=0><tr>'; |
| 400 | 400 | $n = ($g_pcl_trace_entries[$i]['index'] + 1) * 10; |
| 401 | - echo '<td width=' . $n . '><table width=100% border=0 cellspacing=0 cellpadding=0><tr>'; |
|
| 401 | + echo '<td width='.$n.'><table width=100% border=0 cellspacing=0 cellpadding=0><tr>'; |
|
| 402 | 402 | |
| 403 | 403 | for ($j = 0; $j <= $g_pcl_trace_entries[$i]['index']; ++$j) { |
| 404 | 404 | if ($j == $g_pcl_trace_entries[$i]['index']) { |
@@ -415,25 +415,25 @@ discard block |
||
| 415 | 415 | echo '<td width=2></td>'; |
| 416 | 416 | switch ($g_pcl_trace_entries[$i]['type']) { |
| 417 | 417 | case 1: |
| 418 | - echo "<td><span style='font-size: x-small; font-family: $v_font; '>" . $g_pcl_trace_entries[$i]['name'] . '(' . $g_pcl_trace_entries[$i]['param'] . ')</span></td>'; |
|
| 418 | + echo "<td><span style='font-size: x-small; font-family: $v_font; '>".$g_pcl_trace_entries[$i]['name'].'('.$g_pcl_trace_entries[$i]['param'].')</span></td>'; |
|
| 419 | 419 | break; |
| 420 | 420 | case 2: |
| 421 | - echo "<td><span style='font-size: x-small; font-family: $v_font; '>" . $g_pcl_trace_entries[$i]['name'] . '()=' . $g_pcl_trace_entries[$i]['param'] . '</span></td>'; |
|
| 421 | + echo "<td><span style='font-size: x-small; font-family: $v_font; '>".$g_pcl_trace_entries[$i]['name'].'()='.$g_pcl_trace_entries[$i]['param'].'</span></td>'; |
|
| 422 | 422 | break; |
| 423 | 423 | case 3: |
| 424 | 424 | case 4: |
| 425 | 425 | echo '<td><table width=100% border=0 cellspacing=0 cellpadding=0><td width=20></td><td>'; |
| 426 | - echo "<span style='font-size: x-small; font-family: $v_font; '>" . $g_pcl_trace_entries[$i]['message'] . '</span>'; |
|
| 426 | + echo "<span style='font-size: x-small; font-family: $v_font; '>".$g_pcl_trace_entries[$i]['message'].'</span>'; |
|
| 427 | 427 | echo '</td></table></td>'; |
| 428 | 428 | break; |
| 429 | 429 | default: |
| 430 | - echo "<td><span style='font-size: x-small; font-family: $v_font; '>" . $g_pcl_trace_entries[$i]['name'] . '(' . $g_pcl_trace_entries[$i]['param'] . ')</span></td>'; |
|
| 430 | + echo "<td><span style='font-size: x-small; font-family: $v_font; '>".$g_pcl_trace_entries[$i]['name'].'('.$g_pcl_trace_entries[$i]['param'].')</span></td>'; |
|
| 431 | 431 | } |
| 432 | 432 | echo '</tr></table></td>'; |
| 433 | 433 | echo '<td width=5></td>'; |
| 434 | - echo '<td><span style="font-size: xx-small; font-family: $v_font; ">' . basename($g_pcl_trace_entries[$i]['file']) . '</span></td>'; |
|
| 434 | + echo '<td><span style="font-size: xx-small; font-family: $v_font; ">'.basename($g_pcl_trace_entries[$i]['file']).'</span></td>'; |
|
| 435 | 435 | echo '<td width=5></td>'; |
| 436 | - echo '<td><span style="font-size: xx-small; font-family: $v_font; ">' . $g_pcl_trace_entries[$i]['line'] . '</span></td>'; |
|
| 436 | + echo '<td><span style="font-size: xx-small; font-family: $v_font; ">'.$g_pcl_trace_entries[$i]['line'].'</span></td>'; |
|
| 437 | 437 | echo '</tr>'; |
| 438 | 438 | } |
| 439 | 439 | |
@@ -477,12 +477,12 @@ discard block |
||
| 477 | 477 | echo '---'; |
| 478 | 478 | } |
| 479 | 479 | if ($p_entry['type'] == 1) { |
| 480 | - echo '<b>' . $p_entry['name'] . '</b>(' . $p_entry['param'] . ') : ' . $p_entry['message'] . ' [' . $p_entry['file'] . ', ' . $p_entry['line'] . ']<br>'; |
|
| 480 | + echo '<b>'.$p_entry['name'].'</b>('.$p_entry['param'].') : '.$p_entry['message'].' ['.$p_entry['file'].', '.$p_entry['line'].']<br>'; |
|
| 481 | 481 | } else { |
| 482 | 482 | if ($p_entry['type'] == 2) { |
| 483 | - echo '<b>' . $p_entry['name'] . '</b>()=' . $p_entry['param'] . ' : ' . $p_entry['message'] . ' [' . $p_entry['file'] . ', ' . $p_entry['line'] . ']<br>'; |
|
| 483 | + echo '<b>'.$p_entry['name'].'</b>()='.$p_entry['param'].' : '.$p_entry['message'].' ['.$p_entry['file'].', '.$p_entry['line'].']<br>'; |
|
| 484 | 484 | } else { |
| 485 | - echo $p_entry['message'] . ' [' . $p_entry['file'] . ', ' . $p_entry['line'] . ']<br>'; |
|
| 485 | + echo $p_entry['message'].' ['.$p_entry['file'].', '.$p_entry['line'].']<br>'; |
|
| 486 | 486 | } |
| 487 | 487 | } |
| 488 | 488 | } |