[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.381,1.382
blaine at iowaoutdoors.org
blaine at iowaoutdoors.org
Sun Oct 3 12:22:01 EDT 2004
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/language english.php,1.130,1.131
- Next message (by thread): [geeklog-cvs] geeklog-1.3/plugins/spamx Developer.txt,NONE,1.1 spamx.html,NONE,1.1 ArrayWriter.class.php,1.1,NONE Config.Admin.class.php,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv9028/public_html
Modified Files:
lib-common.php
Log Message:
COM_showMessage support to show Plugin Message: Added logic to show a default message if plugin message variable is not defined.
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.381
retrieving revision 1.382
diff -C2 -d -r1.381 -r1.382
*** lib-common.php 2 Oct 2004 03:32:52 -0000 1.381
--- lib-common.php 3 Oct 2004 16:21:58 -0000 1.382
***************
*** 4718,4722 ****
$var = 'PLG_' . $plugin . '_MESSAGE' . $msg;
global $$var;
! $message = $$var;
}
else
--- 4718,4726 ----
$var = 'PLG_' . $plugin . '_MESSAGE' . $msg;
global $$var;
! if (isset($$var)) {
! $message = $$var;
! } else {
! $message = sprintf($MESSAGE['61'],$plugin);
! }
}
else
- Previous message (by thread): [geeklog-cvs] geeklog-1.3/language english.php,1.130,1.131
- Next message (by thread): [geeklog-cvs] geeklog-1.3/plugins/spamx Developer.txt,NONE,1.1 spamx.html,NONE,1.1 ArrayWriter.class.php,1.1,NONE Config.Admin.class.php,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list