More changes

This commit is contained in:
2019-04-29 17:28:24 -03:00
parent e696e99c4c
commit 64e2b0c6e7
10 changed files with 47 additions and 74 deletions
+5 -3
View File
@@ -8,9 +8,11 @@ RouteCollection::add('GET','/', function(){
global $OUTPUT;
$OUTPUT->setTemplate();
$OUTPUT->renderView('wellcome', Array('string' => Array('welcome' => 'Bem vindo')));
//$OUTPUT->renderView('wellcome', Array('string' => Lang::getStrings('welcome')));
//$OUTPUT->renderView('wellcome', Array('string' => Array('welcome' => 'Bem vindo')));
$OUTPUT->setView('wellcome');
$OUTPUT->addValue('string', Array('welcome' => 'Bem vindo'));
$OUTPUT->addValue('palavrinha', 'Oi');
$OUTPUT->render();
});
RouteCollection::add('get', '/welcome', 'WellcomeController@welcome');
@@ -3,4 +3,4 @@
</div>
{{string.welcome}} to hell...
<br />
I shal be your guide
I shal be your guide {{palavrinha}}