PluginProbe
ShiftController Employee Shift Scheduling / 4.9.66
ShiftController Employee Shift Scheduling v4.9.66
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | sh4/schedule/html/view/day.php +3 -8 4.9.744.9.66 View file →
@@ -555,19 +555,14 @@
555 555
556 556 $viewEmployees = array();
557 557 foreach( $employees as $employee ){
558 558 $label = $this->employeesPresenter->presentTitle( $employee );
559 +
559 560 $title = htmlspecialchars( $label );
560 -
561 561 $description = $employee->getDescription();
562 562 if( strlen($description) ){
563 - $imgpos = strpos( $description, '<img' );
564 - if( false !== $imgpos ){
565 - $label = $this->ui->makeList( array($label, $description) );
566 - }
567 - else {
568 - $title .= "\n" . htmlspecialchars( $description );
569 - }
563 + $description = htmlspecialchars( $description );
564 + $title .= "\n" . $description;
570 565 }
571 566
572 567 $label = $this->ui->makeSpan( $label )
573 568 ->tag( 'font-size', 4 )