Create a New Page in phpBB2
Now letīs proceed with the language file:
Code: (lang_tos.php)
- <?php
- /***************************************************************************
- * lang_tos.php
- * -----------
- * copyright : (C) 2006 YOUR NAME HERE
- * support : SUPORT URL HERE
- *
- * version : 1.0.0
- *
- *
- ***************************************************************************/
- /***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
- $lang['tos_title'] = 'Variable content';
- $lang['content'] = 'Variable content';
- ?>
This is the language file, to add new content just add:
Code:
- $lang['var2'] = 'Variable 2 content';
Remember; if you use any single quotes or double quotes, explode them first (\' or \").