@@ 90-92 (lines=3) @@ | ||
87 | { |
|
88 | if (empty($params['title'])) { |
|
89 | $params['title'] = $params['project']['name']; |
|
90 | } elseif ($params['project']['name'] !== $params['title']) { |
|
91 | $params['title'] = $params['project']['name'].' » '.$params['title']; |
|
92 | } |
|
93 | ||
94 | return $this->subLayout('project/layout', $subside, $template, $params); |
|
95 | } |
|
@@ 158-160 (lines=3) @@ | ||
155 | */ |
|
156 | public function analytic($template, array $params, $subside = 'project/analytic/_partials/subside') |
|
157 | { |
|
158 | if (isset($params['project']['name'])) { |
|
159 | $params['title'] = $params['project']['name'].' » '.$params['title']; |
|
160 | } |
|
161 | ||
162 | return $this->subLayout('project/analytic/layout', $subside, $template, $params); |
|
163 | } |