[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.264,1.265
dhaun at geeklog.net
dhaun at geeklog.net
Sat Oct 11 07:43:37 EDT 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory geeklog_prod:/tmp/cvs-serv2953/public_html
Modified Files:
lib-common.php
Log Message:
Fixed a typo and added a blank after every 10th tag (in COM_allowedHTML) to avoid long unbreakable lines.
Index: lib-common.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.264
retrieving revision 1.265
diff -C2 -d -r1.264 -r1.265
*** lib-common.php 11 Oct 2003 11:21:46 -0000 1.264
--- lib-common.php 11 Oct 2003 11:43:35 -0000 1.265
***************
*** 3583,3587 ****
$retval = '<span class="warningsmall">' . $LANG01[31];
! if( !SEC_hasRights( 'story.edit' ) || empty( $_CONF['adminhtml'] ))
{
$html = $_CONF['user_html'];
--- 3583,3587 ----
$retval = '<span class="warningsmall">' . $LANG01[31];
! if( !SEC_hasRights( 'story.edit' ) || empty( $_CONF['admin_html'] ))
{
$html = $_CONF['user_html'];
***************
*** 3592,3598 ****
--- 3592,3605 ----
}
+ $br = 0;
foreach( $html as $tag => $attr )
{
+ $br++;
$retval .= '<' . $tag . '>,';
+ if( $br == 10 )
+ {
+ $retval .= ' ';
+ $br = 0;
+ }
}
More information about the geeklog-cvs
mailing list