[geeklog-cvs] Geeklog-1.x/public_html/admin moderation.php, 1.110, 1.111
Oliver
ospiess at qs1489.pair.com
Tue Oct 9 06:24:19 EDT 2007
Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv48885
Modified Files:
moderation.php
Log Message:
moving code to COM_showMessage and text to language file
Index: moderation.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/moderation.php,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** moderation.php 9 Oct 2007 10:16:06 -0000 1.110
--- moderation.php 9 Oct 2007 10:24:17 -0000 1.111
***************
*** 631,645 ****
$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'));
}
--- 631,635 ----
$done = DB_getItem ($_TABLES['vars'], 'value', "name = 'security_check'");
if ($done != 1) {
! $retval .= COM_showMessage(92);
}
More information about the geeklog-cvs
mailing list