[geeklog-cvs] Geeklog-1.x/public_html/admin moderation.php, 1.109, 1.110
Oliver
ospiess at qs1489.pair.com
Tue Oct 9 06:16:08 EDT 2007
Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv48582
Modified Files:
moderation.php
Log Message:
replacing image html with COM_createImage
Index: moderation.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/moderation.php,v
retrieving revision 1.109
retrieving revision 1.110
diff -C2 -d -r1.109 -r1.110
*** moderation.php 29 Aug 2007 06:55:04 -0000 1.109
--- moderation.php 9 Oct 2007 10:16:06 -0000 1.110
***************
*** 631,640 ****
$done = DB_getItem ($_TABLES['vars'], 'value', "name = 'security_check'");
if ($done != 1) {
! $message = 'Please ' . COM_createLink('check the security of your site', $_CONF['site_admin_url'] . '/sectest.php') . ' before using it!';
$retval .= COM_startBlock ($MESSAGE[40], '',
! COM_getBlockTemplate ('_msg_block', 'header'))
! . '<p style="padding:5px"><img style="padding-right:5px;" src="' . $_CONF['layout_url']
! . '/images/sysmessage.' . $_IMAGE_TYPE . '"'
! . ' alt="">' . $message . '</p>'
. COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
}
--- 631,644 ----
$done = DB_getItem ($_TABLES['vars'], 'value', "name = 'security_check'");
if ($done != 1) {
! $message = 'Please '
! . COM_createLink('check the security of your site',
! $_CONF['site_admin_url'] . '/sectest.php') . ' before using it!';
! $url = $_CONF['layout_url'] . '/images/sysmessage.' . $_IMAGE_TYPE;
! $attr = array('class' => 'floatleft',
! 'style' => 'padding-right:5px;');
! $icon = COM_createImage($url, '', $attr);
$retval .= COM_startBlock ($MESSAGE[40], '',
! COM_getBlockTemplate ('_msg_block', 'header'))
! . '<p style="padding:5px;">'. $icon . $message . '</p>'
. COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
}
More information about the geeklog-cvs
mailing list