Permalink
Browse files

corrected language alias in datadisplay

  • Loading branch information...
1 parent c65fe2f commit 0f77a9d1428b64120e433e45f31bcf75ee6931a2 @viveleroi committed May 10, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 modules/Index/templates_admin/view.tpl.php
  2. +1 −1 system/template/DataDisplay.php
@@ -1,3 +1,5 @@
<h2><?= text('index:view:page-title'); ?></h2>
<?= sml()->printMessage(); ?>
-<p><em><?= text('index:view:intro'); ?></em></p>
+<p><em><?= text('index:view:intro'); ?></em></p>
+
+<?= user()->isLoggedIn() ? 'Is Logged In' : 'Are Not Logged In'; ?>
@@ -37,7 +37,7 @@ public function __construct($data = false) {
}
$this->data = $data;
} else {
- error()->raise(1, text('dberror:datadisplay_call_error', $name), __FILE__, __LINE__);
+ error()->raise(1, text('dberror:datadisplay_init_error', $name), __FILE__, __LINE__);
}
}

0 comments on commit 0f77a9d

Please sign in to comment.