create a new page in phpbb2 1

Create a New Page in phpBB2

Submitted by Reiji Kurosaky, Feb 2007.
Page: 2

Pages: [1] [2] [3] [4]

Now let´s proceed with the language file:
Code: (lang_tos.php)

  1.  
  2. /***************************************************************************
     
  3. *                                lang_tos.php
     
  4. *                                ———–
     
  5. *   copyright            : (C) 2006 YOUR NAME HERE
     
  6. *   support              : SUPORT URL HERE
     
  7. *
     
  8. *   version              : 1.0.0
     
  9. *
     
  10. *
     
  11. ***************************************************************************/
     

  12.  
  13. /***************************************************************************
     
  14. *
     
  15. *   This program is free software; you can redistribute it and/or modify
     
  16. *   it under the terms of the GNU General Public License as published by
     
  17. *   the Free Software Foundation; either version 2 of the License, or
     
  18. *   (at your option) any later version.
     
  19. *
     
  20. ***************************************************************************/
     

  21.  
  22. $lang[‘tos_title’] = ‘Variable content’;
     

  23.  
  24. $lang[‘content’] = ‘Variable content’;
     

  25.  
  26. ?> 

This is the language file, to add new content just add:

Code:
  1. $lang[‘var2’] = ‘Variable 2 content’; 
Remember; if you use any single quotes or double quotes, explode them first (‘ or “).
Page: 2

Pages: [1] [2] [3] [4]

Share this tutorial

If you want to show this tutorial to someone else please use following code to link to this tutorial:

HTML Link:
Create a New Page in phpBB2” class=”text” onclick=”this.focus(); this.select();”/>
Forum BBCode:

Content of this tutorial may not be published anywhere else without author’s permission. Please link to this page instead.