aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-09-29 00:21:01 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-09-29 00:21:01 +0000
commit3e80c0339d7fc6666a8925b6c45981e7582a310e (patch)
tree8b9207c5bce25f0a88c9844f75e68e80f98ed095 /phpBB
parentaf4aa311e2d3d0bd4a52f196e3cf6405b0522c53 (diff)
downloadforums-3e80c0339d7fc6666a8925b6c45981e7582a310e.tar
forums-3e80c0339d7fc6666a8925b6c45981e7582a310e.tar.gz
forums-3e80c0339d7fc6666a8925b6c45981e7582a310e.tar.bz2
forums-3e80c0339d7fc6666a8925b6c45981e7582a310e.tar.xz
forums-3e80c0339d7fc6666a8925b6c45981e7582a310e.zip
Tpl compile stuff
git-svn-id: file:///svn/phpbb/trunk@4519 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/adm/admin_board.php36
-rw-r--r--phpBB/language/en/lang_admin.php2
2 files changed, 19 insertions, 19 deletions
diff --git a/phpBB/adm/admin_board.php b/phpBB/adm/admin_board.php
index a67e6a16e1..d575852f4e 100644
--- a/phpBB/adm/admin_board.php
+++ b/phpBB/adm/admin_board.php
@@ -1,23 +1,15 @@
<?php
-/***************************************************************************
- * admin_board.php
- * -------------------
- * begin : Thursday, Jul 12, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * 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.
- *
- ***************************************************************************/
+// -------------------------------------------------------------
+//
+// $Id$
+//
+// FILENAME : admin_board.php
+// STARTED : Thu Jul 12, 2001
+// COPYRIGHT : © 2001, 2003 phpBB Group
+// WWW : http://www.phpbb.com/
+// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
+//
+// -------------------------------------------------------------
if (!empty($setmodules))
{
@@ -585,6 +577,8 @@ switch ($mode)
case 'load':
+ $tplcompile_yes = ($new['load_tplcompile']) ? 'checked="checked"' : '';
+ $tplcompile_no = (!$new['load_tplcompile']) ? 'checked="checked"' : '';
$load_db_track_yes = ($new['load_db_track']) ? 'checked="checked"' : '';
$load_db_track_no = (!$new['load_db_track']) ? 'checked="checked"' : '';
$load_db_lastread_yes = ($new['load_db_lastread']) ? 'checked="checked"' : '';
@@ -661,6 +655,10 @@ switch ($mode)
<td class="row1"><b><?php echo $user->lang['YES_SEARCH_PHRASE']; ?>: </b><br /><span class="gensmall"><?php echo $user->lang['YES_SEARCH_PHRASE_EXPLAIN']; ?></span></td>
<td class="row2"><input type="radio" name="load_search_phr" value="1"<?php echo $search_phrase_yes ?> /><?php echo $user->lang['YES'] ?>&nbsp; &nbsp;<input type="radio" name="load_search_phr" value="0" <?php echo $search_phrase_no ?> /> <?php echo $user->lang['NO']; ?></td>
</tr>
+ <tr>
+ <td class="row1"><b><?php echo $user->lang['RECOMPILE_TEMPLATES']; ?>: </b><br /><span class="gensmall"><?php echo $user->lang['RECOMPILE_TEMPLATES_EXPLAIN']; ?></span></td>
+ <td class="row2"><input type="radio" name="load_tplcompile" value="1"<?php echo $tplcompile_yes ?> /><?php echo $user->lang['YES'] ?>&nbsp; &nbsp;<input type="radio" name="load_tplcompile" value="0" <?php echo $tplcompile_no ?> /> <?php echo $user->lang['NO']; ?></td>
+ </tr>
<?php
break;
diff --git a/phpBB/language/en/lang_admin.php b/phpBB/language/en/lang_admin.php
index 9223a75fd6..8e151b3b5b 100644
--- a/phpBB/language/en/lang_admin.php
+++ b/phpBB/language/en/lang_admin.php
@@ -619,6 +619,8 @@ $lang += array(
'YES_SEARCH_UPDATE_EXPLAIN' => 'Updating of fulltext indexes when posting, overriden if search is disabled.',
'YES_SEARCH_PHRASE' => 'Enable phrase searching',
'YES_SEARCH_PHRASE_EXPLAIN' => 'Searching for phrases requires additional processing.',
+ 'RECOMPILE_TEMPLATES' => 'Recompile stale templates',
+ 'RECOMPILE_TEMPLATES_EXPLAIN'=> 'Check for updated template files on filesystem and recompile.',
);
// Email settings