As with all the projects in this book, we're making use of the language file to serve text to users. This way, you can enable multiple region/multiple language support.
Create the /path/to/codeigniter/application/language/english/en_admin_lang.php
file and add the following code to it:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); // General $lang['system_system_name'] = "Forum"; // Top Nav $lang['top_nav_view_discussions'] = "Home"; $lang['top_nav_new_discussion'] = "New Discussion"; $lang['top_nav_login'] = "Login"; // Discussions $lang['discussions_title'] = "Discussions"; $lang['discussions_num_comments'] = 'Comments'; // Comments $lang['comments_form_instruction'] = "Join in, add your comment below."; $lang['comments_flag'] = ' [Flag]'; $lang['comments_created_by'] = 'Created by '; $lang['comments_created_at'] = ' at '; $lang['comments_comment_name'] = 'Your name'; $lang['comments_comment_email'] = 'Your email'; $lang['comments_comment_body...