* [gentoo-commits] gentoo-projects commit in forums/htdocs/admin: admin_board.php page_footer_admin.php
@ 2011-11-27 14:42 Tom Knight (tomk)
0 siblings, 0 replies; only message in thread
From: Tom Knight (tomk) @ 2011-11-27 14:42 UTC (permalink / raw
To: gentoo-commits
tomk 11/11/27 14:42:56
Modified: admin_board.php page_footer_admin.php
Log:
Added configurable piwik code
Revision Changes Path
1.17 forums/htdocs/admin/admin_board.php
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/admin/admin_board.php?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/admin/admin_board.php?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/admin/admin_board.php?r1=1.16&r2=1.17
Index: admin_board.php
===================================================================
RCS file: /var/cvsroot/gentoo-projects/forums/htdocs/admin/admin_board.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- admin_board.php 8 Feb 2011 15:13:51 -0000 1.16
+++ admin_board.php 27 Nov 2011 14:42:56 -0000 1.17
@@ -6,7 +6,7 @@
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
- * $Id: admin_board.php,v 1.16 2011/02/08 15:13:51 tomk Exp $
+ * $Id: admin_board.php,v 1.17 2011/11/27 14:42:56 tomk Exp $
*
*
***************************************************************************/
@@ -167,6 +167,9 @@
$stopforumspam_enable_yes = ( $new['stopforumspam_enable'] ) ? "checked=\"checked\"" : "";
$stopforumspam_enable_no = ( !$new['stopforumspam_enable'] ) ? "checked=\"checked\"" : "";
+$enable_piwik_yes = ( $new['enable_piwik'] ) ? "checked=\"checked\"" : "";
+$enable_piwik_no = ( !$new['enable_piwik'] ) ? "checked=\"checked\"" : "";
+
$template->set_filenames(array(
"body" => "admin/board_config_body.tpl")
);
@@ -323,6 +326,7 @@
"L_STOPFORUMSPAM_FREQ_EXPLAIN" => $lang['Stopforumspam_frequency_threshold_explain'],
"L_STOPFORUMSPAM_DAYS" => $lang['Stopforumspam_days_threshold'],
"L_STOPFORUMSPAM_DAYS_EXPLAIN" => $lang['Stopforumspam_days_threshold_explain'],
+ "L_ENABLE_PIWIK" => $lang['Enable_piwik'],
"SERVER_NAME" => $new['server_name'],
"SCRIPT_PATH" => $new['script_path'],
@@ -434,7 +438,8 @@
"STOPFORUMSPAM_API_KEY" => $new['stopforumspam_api_key'],
"STOPFORUMSPAM_FREQ" => $new['stopforumspam_frequency_threshold'],
"STOPFORUMSPAM_DAYS" => $new['stopforumspam_days_threshold'],
- )
+ "PIWIK_YES" => $enable_piwik_yes,
+ "PIWIK_NO" => $enable_piwik_no)
);
$template->pparse("body");
1.7 forums/htdocs/admin/page_footer_admin.php
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/admin/page_footer_admin.php?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/admin/page_footer_admin.php?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/admin/page_footer_admin.php?r1=1.6&r2=1.7
Index: page_footer_admin.php
===================================================================
RCS file: /var/cvsroot/gentoo-projects/forums/htdocs/admin/page_footer_admin.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- page_footer_admin.php 20 Nov 2010 23:01:17 -0000 1.6
+++ page_footer_admin.php 27 Nov 2011 14:42:56 -0000 1.7
@@ -6,7 +6,7 @@
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
- * $Id: page_footer_admin.php,v 1.6 2010/11/20 23:01:17 desultory Exp $
+ * $Id: page_footer_admin.php,v 1.7 2011/11/27 14:42:56 tomk Exp $
*
*
***************************************************************************/
@@ -36,7 +36,8 @@
$template->assign_vars(array(
'PHPBB_VERSION' => '2' . $board_config['version'],
- 'TRANSLATION_INFO' => (isset($lang['TRANSLATION_INFO'])) ? $lang['TRANSLATION_INFO'] : ((isset($lang['TRANSLATION'])) ? $lang['TRANSLATION'] : ''))
+ 'TRANSLATION_INFO' => (isset($lang['TRANSLATION_INFO'])) ? $lang['TRANSLATION_INFO'] : ((isset($lang['TRANSLATION'])) ? $lang['TRANSLATION'] : ''),
+ 'PIWIK_CODE' => get_piwik_code())
);
// 2010-11-19 desultory - We get it, we have the latest version.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-27 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-27 14:42 [gentoo-commits] gentoo-projects commit in forums/htdocs/admin: admin_board.php page_footer_admin.php Tom Knight (tomk)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox