File:  [mozdev] / cdn / www / project_nav.html
Revision 1.11: download - view: text, annotated - select for diffs - revision graph
Thu Oct 13 21:48:52 2011 UTC (6 years ago) by ccaygill
Branches: MAIN
CVS tags: HEAD
ereg->strpos

<?php
if ( !strpos('blog', $page)) {
?><h4 class="project-name"><a id="content" name="content"><img alt="cdn" height="19" src="/img/sharc~2~-8-58x19.png" title="cdn .m.o" width="58"></a> &nbsp;&nbsp;&nbsp; <img src="http://<?php

if (strpos('org', $_SERVER['HTTP_HOST'] )): echo 'www.'; endif;
echo 'mozdev.';

if (strpos('org', $_SERVER['HTTP_HOST'] )): echo 'org';
else: echo 'local';
endif;

?>/sharedimages/boxes.gif" alt=""></h4>

<table id="project-navigation">

<?php
/*
  <tbody id="sub-projects" class="project-navigations">
  <tr>
  <th scope="row">subprojects:</th>
  <td class="navigation-list">  
  <a class="first-item" href="/subprojectdir/index.html">subproject name</a>
  <a href="/subprojectpage.html">subproject name</a>
  </td>
  </tr>
  </tbody>
*/
?>

  <tbody id="resources" class="project-navigations">
  <tr>
  <th scope="row">resources:</th>
  <td class="navigation-list">
  <a class="first-item" href="/">Home</a>
<?php //  <a href="/installation.html">Installation</a> ?>
  <a href="/source.html">Source Code</a>
  <a href="/bugs.html">Bugs</a>
  <a href="/screenshots.html">Screenshots</a>
  </td>
  </tr>
  </tbody>
</table>
<?php } ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>