diff -r ebe99e82a59a -r 473cc747022a includes/template.php
--- a/includes/template.php Sat Oct 20 21:44:13 2007 -0400
+++ b/includes/template.php Fri Oct 26 19:28:54 2007 -0400
@@ -42,7 +42,7 @@
$this->plugin_blocks = Array();
$this->theme_loaded = false;
- $this->fading_button = '
+ $this->fading_button = '
';
@@ -1611,7 +1611,8 @@
$admintitle = ( $session->user_level >= USER_LEVEL_ADMIN ) ? 'title="You may disable this button in the admin panel under General Configuration."' : '';
if(getConfig('sflogo_enabled')=='1')
{
- $ob[] = '
![SourceForge.net Logo](http://sflogo.sourceforge.net/sflogo.php?group_id='.getConfig('sflogo_groupid').'&type='.getConfig('sflogo_type').')
';
+ $sflogo_secure = ( isset($_SERVER['HTTPS']) ) ? 'https' : 'http';
+ $ob[] = '
![SourceForge.net Logo](' . $sflogo_secure . '://sflogo.sourceforge.net/sflogo.php?group_id='.getConfig('sflogo_groupid').'&type='.getConfig('sflogo_type').')
';
}
if(getConfig('w3c_v32') =='1') $ob[] = '
![Valid HTML 3.2](http://www.w3.org/Icons/valid-html32)
';
if(getConfig('w3c_v40') =='1') $ob[] = '
![Valid HTML 4.0](http://www.w3.org/Icons/valid-html40)
';