diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index 6c322dc9..a7be748b 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -88,7 +88,7 @@ $this->load->view ( $m = $members[$i]; if ($m == '') continue; - $icon = ''; + $icon_src = ''; if (array_key_exists($m, $icons)) { // old browsers don't support image data URI. @@ -96,7 +96,7 @@ $this->load->view ( $icon_image = file_get_contents($icon_path); if ($icon_image) { - $icon = sprintf ( + $icon_src = sprintf ( ' ', mime_content_type($icon_path), base64_encode($icon_image) @@ -104,7 +104,7 @@ $this->load->view ( } } - print "
  • {$icon}{$m}
  • "; + print "
  • {$icon_src}{$m}
  • "; } ?>