В процессе установки мода вносились вот такие изменения:
Open: includes/constants.php
Find
Код: Выделить всё
// Additional tablesКод: Выделить всё
//DM Quotes Collection
define('DM_QC_TABLE', $table_prefix . 'dm_qc');
define('DM_QC_CONFIG_TABLE', $table_prefix . 'dm_qc_config');Find
Код: Выделить всё
// The following assigns all _common_ variables that may be used at any point in a template.Код: Выделить всё
// DM Quotes Colection
$user->add_lang('mods/dm_qc');Код: Выделить всё
'U_PROFILE' => append_sid("{$phpbb_root_path}ucp.$phpEx"),Код: Выделить всё
// DM Quotes Collection
'L_DM_QUOTES' => $user->lang['DM_QC_QUOTE_TITLE'],
'U_DM_QUOTES' => append_sid("{$phpbb_root_path}dm_qc.$phpEx"),
Find
Код: Выделить всё
<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF -->Код: Выделить всё
<!-- Begin DM Quotes Collection -->
<!-- INCLUDE dm_qc_index_body.html -->
<!-- End DM Quotes Collection -->
Find
Код: Выделить всё
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>Код: Выделить всё
<li class="icon-quotes"><a href="{U_DM_QUOTES}" title="{L_DM_QUOTES}">{L_DM_QUOTES}</a></li>Find
Код: Выделить всё
@import url("colours.css");Код: Выделить всё
@import url("dm_qc.css");Find
Код: Выделить всё
// Assign index specific vars
$template->assign_vars(array(Код: Выделить всё
/**
* DM Quotes Collection
*/
if ( !function_exists('get_quote') )
{
include($phpbb_root_path . 'includes/functions_dm_qc.' . $phpEx);
}
get_quote();
