[geeklog-cvs] Geeklog-1.x/system lib-plugins.php,1.145,1.146
Dirk Haun
dhaun at qs1489.pair.com
Fri May 23 17:07:16 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv57511/system
Modified Files:
lib-plugins.php
Log Message:
Fixed display of plugin messages when "after save" was set to Home or Admin Home
Index: lib-plugins.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-plugins.php,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -d -r1.145 -r1.146
*** lib-plugins.php 11 May 2008 07:25:08 -0000 1.145
--- lib-plugins.php 23 May 2008 21:07:14 -0000 1.146
***************
*** 2336,2346 ****
case 'home':
! // the plugins messages are not available, use generic
! $url = $_CONF['site_url'] . '/index.php?msg=15';
break;
case 'admin':
! // the plugins messages are not available, use generic
! $url = $_CONF['site_admin_url'] . '/moderation.php?msg=15';
break;
--- 2336,2356 ----
case 'home':
! $url = $_CONF['site_url'] . '/index.php';
! if (!empty($msg)) {
! $url .= '?' . $msg;
! if ($plugin != 'story') {
! $url .= '&plugin=' . $plugin;
! }
! }
break;
case 'admin':
! $url = $_CONF['site_admin_url'] . '/moderation.php';
! if (!empty($msg)) {
! $url .= '?' . $msg;
! if ($plugin != 'story') {
! $url .= '&plugin=' . $plugin;
! }
! }
break;
More information about the geeklog-cvs
mailing list