/user/views/user/message.php
PHP | 10 lines | 7 code | 3 blank | 0 comment | 4 complexity | 9f97fa33b2f351c11e1f216a22cc5ce5 MD5 | raw file
- <?
- printf('<h2> %s </h2>', $title);
- printf('<p> %s </p>', $content);
- if (isset($partial) && is_array($partial) && $partial != array())
- foreach ($partial as $p)
- echo (isset($p['params'])) ? $this->renderPartial($p['view'], $p['params']) : $this->renderPartial($p['view']);
- ?>