| | |
| | | <?php |
| | | |
| | | /* |
| | | /** |
| | | +-----------------------------------------------------------------------+ |
| | | | program/include/rcmail_output_html.php | |
| | | | | |
| | |
| | | | Author: Thomas Bruederli <roundcube@gmail.com> | |
| | | +-----------------------------------------------------------------------+ |
| | | */ |
| | | |
| | | |
| | | /** |
| | | * Class to create HTML page output using a skin template |
| | |
| | | // read template file |
| | | if (!$path || ($templ = @file_get_contents($path)) === false) { |
| | | rcube::raise_error(array( |
| | | 'code' => 501, |
| | | 'code' => 404, |
| | | 'type' => 'php', |
| | | 'line' => __LINE__, |
| | | 'file' => __FILE__, |
| | |
| | | if (!($attrib['command'] || $attrib['name'] || $attrib['href'])) { |
| | | return ''; |
| | | } |
| | | |
| | | |
| | | // try to find out the button type |
| | | if ($attrib['type']) { |
| | |
| | | |
| | | return $content; |
| | | } |
| | | |
| | | } |