Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -9,8 +9,8 @@ class outputhtml extends output
|
||||
{
|
||||
/** Data is printed by viewClass->viewmethod, in the middle of $layout
|
||||
title is put in the title of the HTML page
|
||||
$replacement modify the result (it can do title too :
|
||||
array ("{title}"=>"title to display")
|
||||
$replacement modify the result (it can do title too :
|
||||
array ("{title}"=>"title to display")
|
||||
@param mixed $data Data to display on the page
|
||||
@param string|null $title Title to put on head of page
|
||||
@param string|null $viewClass Class in views to use to display
|
||||
@@ -43,7 +43,7 @@ class outputhtml extends output
|
||||
$layoutPage = file_get_contents ("views/$layout.html");
|
||||
$resView = str_replace ("{content}", $resView, $layoutPage);
|
||||
}
|
||||
|
||||
|
||||
// Do the title replacement in the replacement structure
|
||||
if (! isset ($replacement["{title}"]))
|
||||
$replacement["{title}"] = $title;
|
||||
|
||||
Reference in New Issue
Block a user