mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 06:25:04 +02:00
Tpl compile stuff
git-svn-id: file:///svn/phpbb/trunk@4519 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
af4aa311e2
commit
3e80c0339d
@ -1,23 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
/***************************************************************************
|
// -------------------------------------------------------------
|
||||||
* admin_board.php
|
//
|
||||||
* -------------------
|
// $Id$
|
||||||
* begin : Thursday, Jul 12, 2001
|
//
|
||||||
* copyright : (C) 2001 The phpBB Group
|
// FILENAME : admin_board.php
|
||||||
* email : support@phpbb.com
|
// STARTED : Thu Jul 12, 2001
|
||||||
*
|
// COPYRIGHT : © 2001, 2003 phpBB Group
|
||||||
* $Id$
|
// WWW : http://www.phpbb.com/
|
||||||
*
|
// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
|
||||||
***************************************************************************/
|
//
|
||||||
|
// -------------------------------------------------------------
|
||||||
/***************************************************************************
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
if (!empty($setmodules))
|
if (!empty($setmodules))
|
||||||
{
|
{
|
||||||
@ -585,6 +577,8 @@ switch ($mode)
|
|||||||
|
|
||||||
case 'load':
|
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_yes = ($new['load_db_track']) ? 'checked="checked"' : '';
|
||||||
$load_db_track_no = (!$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"' : '';
|
$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="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'] ?> <input type="radio" name="load_search_phr" value="0" <?php echo $search_phrase_no ?> /> <?php echo $user->lang['NO']; ?></td>
|
<td class="row2"><input type="radio" name="load_search_phr" value="1"<?php echo $search_phrase_yes ?> /><?php echo $user->lang['YES'] ?> <input type="radio" name="load_search_phr" value="0" <?php echo $search_phrase_no ?> /> <?php echo $user->lang['NO']; ?></td>
|
||||||
</tr>
|
</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'] ?> <input type="radio" name="load_tplcompile" value="0" <?php echo $tplcompile_no ?> /> <?php echo $user->lang['NO']; ?></td>
|
||||||
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -619,6 +619,8 @@ $lang += array(
|
|||||||
'YES_SEARCH_UPDATE_EXPLAIN' => 'Updating of fulltext indexes when posting, overriden if search is disabled.',
|
'YES_SEARCH_UPDATE_EXPLAIN' => 'Updating of fulltext indexes when posting, overriden if search is disabled.',
|
||||||
'YES_SEARCH_PHRASE' => 'Enable phrase searching',
|
'YES_SEARCH_PHRASE' => 'Enable phrase searching',
|
||||||
'YES_SEARCH_PHRASE_EXPLAIN' => 'Searching for phrases requires additional processing.',
|
'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
|
// Email settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user