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 (7 years, 6 months ago) by ccaygill
Branches: MAIN
CVS tags: HEAD
ereg->strpos

    1: <?php
    2: if ( !strpos('blog', $page)) {
    3: ?><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
    4: 
    5: if (strpos('org', $_SERVER['HTTP_HOST'] )): echo 'www.'; endif;
    6: echo 'mozdev.';
    7: 
    8: if (strpos('org', $_SERVER['HTTP_HOST'] )): echo 'org';
    9: else: echo 'local';
   10: endif;
   11: 
   12: ?>/sharedimages/boxes.gif" alt=""></h4>
   13: 
   14: <table id="project-navigation">
   15: 
   16: <?php
   17: /*
   18:   <tbody id="sub-projects" class="project-navigations">
   19:   <tr>
   20:   <th scope="row">subprojects:</th>
   21:   <td class="navigation-list">  
   22:   <a class="first-item" href="/subprojectdir/index.html">subproject name</a>
   23:   <a href="/subprojectpage.html">subproject name</a>
   24:   </td>
   25:   </tr>
   26:   </tbody>
   27: */
   28: ?>
   29: 
   30:   <tbody id="resources" class="project-navigations">
   31:   <tr>
   32:   <th scope="row">resources:</th>
   33:   <td class="navigation-list">
   34:   <a class="first-item" href="/">Home</a>
   35: <?php //  <a href="/installation.html">Installation</a> ?>
   36:   <a href="/source.html">Source Code</a>
   37:   <a href="/bugs.html">Bugs</a>
   38:   <a href="/screenshots.html">Screenshots</a>
   39:   </td>
   40:   </tr>
   41:   </tbody>
   42: </table>
   43: <?php } ?>

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