diff --git a/src/application/config/autoload.php b/src/application/config/autoload.php index a97e139f..07f35f65 100644 --- a/src/application/config/autoload.php +++ b/src/application/config/autoload.php @@ -64,7 +64,7 @@ $autoload['libraries'] = array('database'); | $autoload['helper'] = array('url', 'file'); */ -$autoload['helper'] = array('custom_exceptions', 'url', 'file'); +$autoload['helper'] = array('custom_exceptions', 'url', 'file', 'language'); /* diff --git a/src/application/views/appointments/book.php b/src/application/views/appointments/book.php index f44a375a..261df2e8 100644 --- a/src/application/views/appointments/book.php +++ b/src/application/views/appointments/book.php @@ -5,7 +5,7 @@ - <?php echo $this->lang->line('page_title') . ' ' . $company_name; ?> + <?php echo lang('page_title') . ' ' . $company_name; ?> @@ -28,17 +28,17 @@
-
+
1
-
+
2
-
+
3
-
+
4
@@ -50,7 +50,7 @@

' . - $this->lang->line('cancel_appointment_hint') . + lang('cancel_appointment_hint') . '

@@ -59,7 +59,7 @@ + lang('cancel') . '
'; @@ -69,7 +69,7 @@ '; - echo '

' . $this->lang->line('unexpected_issues') . '

'; + echo '

' . lang('unexpected_issues') . '

'; foreach($exceptions as $exception) { echo exceptionToHtml($exception); } @@ -81,12 +81,12 @@
-

lang->line('step_one_title'); ?>

+

@@ -161,7 +161,7 @@
@@ -172,7 +172,7 @@