[geeklog-cvs] Geeklog-1.x/public_html/layout/professional functions.php, 1.14, 1.15

Dirk Haun dhaun at qs1489.pair.com
Sat Jul 26 12:40:45 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional
In directory qs1489.pair.com:/tmp/cvs-serv27086/public_html/layout/professional

Modified Files:
	functions.php 
Log Message:
Don't use the block...-list template files for the User Functions block for anonymous users (invalid HTML due to the <ul> tags)


Index: functions.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/layout/professional/functions.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** functions.php	4 Jul 2008 11:58:54 -0000	1.14
--- functions.php	26 Jul 2008 16:40:42 -0000	1.15
***************
*** 37,41 ****
  $_BLOCK_TEMPLATE['admin_block'] = 'blockheader-list.thtml,blockfooter-list.thtml';
  $_BLOCK_TEMPLATE['section_block'] = 'blockheader-list.thtml,blockfooter-list.thtml';
! $_BLOCK_TEMPLATE['user_block'] = 'blockheader-list.thtml,blockfooter-list.thtml';
  
  ?>
--- 37,43 ----
  $_BLOCK_TEMPLATE['admin_block'] = 'blockheader-list.thtml,blockfooter-list.thtml';
  $_BLOCK_TEMPLATE['section_block'] = 'blockheader-list.thtml,blockfooter-list.thtml';
! if (!COM_isAnonUser()) {
!     $_BLOCK_TEMPLATE['user_block'] = 'blockheader-list.thtml,blockfooter-list.thtml';
! }
  
  ?>




More information about the geeklog-cvs mailing list