Changeset View
Changeset View
Standalone View
Standalone View
src/view/phui/PHUIInfoView.php
| Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | if (count($errors) > 1) { | ||||
| $list); | $list); | ||||
| } else if (count($errors) == 1) { | } else if (count($errors) == 1) { | ||||
| $list = head($this->errors); | $list = head($this->errors); | ||||
| } else { | } else { | ||||
| $list = null; | $list = null; | ||||
| } | } | ||||
| $title = $this->title; | $title = $this->title; | ||||
| if (strlen($title)) { | if ($title || strlen($title)) { | ||||
| $title = phutil_tag( | $title = phutil_tag( | ||||
| 'h1', | 'h1', | ||||
| array( | array( | ||||
| 'class' => 'phui-info-view-head', | 'class' => 'phui-info-view-head', | ||||
| ), | ), | ||||
| $title); | $title); | ||||
| } else { | } else { | ||||
| $title = null; | $title = null; | ||||
| ▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines | |||||