replace underscores with spaces in titles

This commit is contained in:
mappu 2015-09-06 11:48:54 +12:00
parent 5ddd86e4aa
commit fef327ec61

View File

@ -277,7 +277,7 @@ class CProject {
public function index() { public function index() {
?> ?>
<h2><?=hesc($this->projname)?></h2> <h2><?=hesc(str_replace('_', ' ', $this->projname))?></h2>
<div class="projinfo"> <div class="projinfo">
@ -452,7 +452,7 @@ function buildcommon() {
<a href="<?=hesc(urlencode($pr->projname))?>.html"><?=(is_null($handle_lookup[$pr->projname]) ? '<div class="no-image"></div>' : '<div class="homeimage homeimage-sprite" style="background-position:0 -'.($handle_lookup[$pr->projname]*INDEX_THUMB_H).'px"></div>')?></a> <a href="<?=hesc(urlencode($pr->projname))?>.html"><?=(is_null($handle_lookup[$pr->projname]) ? '<div class="no-image"></div>' : '<div class="homeimage homeimage-sprite" style="background-position:0 -'.($handle_lookup[$pr->projname]*INDEX_THUMB_H).'px"></div>')?></a>
</td> </td>
<td> <td>
<strong><?=hesc($pr->projname)?></strong><?php if (SHOW_BLURBS) { ?> , <strong><?=hesc(str_replace('_', ' ', $pr->projname))?></strong><?php if (SHOW_BLURBS) { ?> ,
<?=hesc($pr->shortdesc)?> <?=hesc($pr->shortdesc)?>
<?php } ?> <?php } ?>
<a href="<?=hesc(urlencode($pr->projname))?>.html">more...</a> <a href="<?=hesc(urlencode($pr->projname))?>.html">more...</a>