[geeklog-cvs] geeklog: Allow displaying a message in the static pages editor
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Sep 14 11:47:45 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/844012d4a915
changeset: 7312:844012d4a915
user: Dirk Haun <dirk at haun-online.de>
date: Mon Sep 14 12:58:40 2009 +0200
description:
Allow displaying a message in the static pages editor
diffstat:
public_html/admin/plugins/staticpages/index.php | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r de4bd87a7021 -r 844012d4a915 public_html/admin/plugins/staticpages/index.php
--- a/public_html/admin/plugins/staticpages/index.php Mon Sep 14 12:51:35 2009 +0200
+++ b/public_html/admin/plugins/staticpages/index.php Mon Sep 14 12:58:40 2009 +0200
@@ -620,6 +620,12 @@
}
} else if ($mode == 'edit') {
$display .= COM_siteHeader ('menu', $LANG_STATIC['staticpageeditor']);
+ if (isset($_GET['msg'])) {
+ $msg = COM_applyFilter($_GET['msg'], true);
+ if ($msg > 0) {
+ $display .= COM_showMessage($msg, 'staticpages');
+ }
+ }
$editor = '';
if (isset ($_GET['editor'])) {
$editor = COM_applyFilter ($_GET['editor']);
More information about the geeklog-cvs
mailing list