[geeklog-cvs] geeklog: Show the security reminder only on the first page
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Aug 9 14:31:52 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/db49ddb357c4
changeset: 7251:db49ddb357c4
user: Dirk Haun <dirk at haun-online.de>
date: Sun Aug 09 19:58:27 2009 +0200
description:
Show the security reminder only on the first page
diffstat:
public_html/index.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 950d9348fed8 -r db49ddb357c4 public_html/index.php
--- a/public_html/index.php Sun Aug 09 18:07:23 2009 +0200
+++ b/public_html/index.php Sun Aug 09 19:58:27 2009 +0200
@@ -144,7 +144,7 @@
$display .= COM_showMessage (COM_applyFilter ($_GET['msg'], true), $plugin);
}
-if (SEC_inGroup('Root')) {
+if (SEC_inGroup('Root') && ($page == 1)) {
$done = DB_getItem($_TABLES['vars'], 'value', "name = 'security_check'");
if ($done != 1) {
/**
More information about the geeklog-cvs
mailing list