[geeklog-cvs] Geeklog-1.x/public_html/admin moderation.php, 1.121, 1.122

Dirk Haun dhaun at qs1489.pair.com
Fri May 23 17:07:16 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv57511/public_html/admin

Modified Files:
	moderation.php 
Log Message:
Fixed display of plugin messages when "after save" was set to Home or Admin Home


Index: moderation.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/moderation.php,v
retrieving revision 1.121
retrieving revision 1.122
diff -C2 -d -r1.121 -r1.122
*** moderation.php	4 May 2008 07:32:53 -0000	1.121
--- moderation.php	23 May 2008 21:07:14 -0000	1.122
***************
*** 666,671 ****
  $display = '';
  $display .= COM_siteHeader ('menu', $LANG29[34]);
! if (isset ($_GET['msg'])) {
!     $display .= COM_showMessage ($_GET['msg']);
  }
  
--- 666,679 ----
  $display = '';
  $display .= COM_siteHeader ('menu', $LANG29[34]);
! $msg = 0;
! if (isset($_GET['msg'])) {
!     $msg = COM_applyFilter($_GET['msg'], true);
! }
! if ($msg > 0) {
!     $plugin = '';
!     if (isset($_GET['plugin'])) {
!         $plugin = COM_applyFilter($_GET['plugin']);
!     }
!     $display .= COM_showMessage($msg, $plugin);
  }
  




More information about the geeklog-cvs mailing list