jqplot / tests / closer.php

<?php
  $test_pages = array('coretests.php' => 'Core', 
      'logAxisTests.php' => 'Log Axes', 
      'dateAxisTests.php' => 'Date Axes', 
      'CategoryAxisTests.php' => 'Category Axes', 
      'barRendererTests.php' => 'Bar Plots');
  $pages = array('coretests.php', 'logAxisTests.php', 'dateAxisTests.php', 'categoryAxisTests.php', 'barRendererTests.php', 'canvasAxisTests.php', 'highlighterTests.php');
  $labels = array('Core', 'Log Axes', 'Date Axes', 'Category Axes', 'Bar Plots', 'Rotated Text', 'Point Highlighter');
      
      $len = count($pages);
      $parts = explode("/", $_SERVER["REQUEST_URI"]);
      $currpage = end($parts);
      $curridx = array_search($currpage, $pages);
      $prevpage = $pages[$curridx - 1];
      if (!$prevpage) $prevpage = $pages[$len-1];
      $nextpage = $pages[$curridx + 1];
      if (!$nextpage) $nextpage = $pages[0];
      
      $currlabel = $labels[$curridx];
      $prevlabel = $labels[$curridx - 1];
      $nextlabel = $labels[$curridx + 1];
      
      $a = '<a href="%s">';
?>

</head>
  <body onLoad="runSuites();">
    <div id="main">
      <div class="logo">  
        <a href="../../index.html" id="home"><span>Home</span></a> <a href="./index.html" id="examples"><span>Examples</span></a> <a href="../docs/" id="docs"><span>Docs</span></a> <a href="http://www.bitbucket.org/cleonello/jqplot/" id="download"><span>Download</span></a>
      </div>
    
      <div id="content">
        <div id="jspec-top">
          <div id="jspec-title"><?php echo $jspec_title ?></div>
          <div class="nav top">
            <?php echo '<a href="'.$prevpage.'"><img src="images/arrow_left_48.png" height="24" width="24" /></a>'; ?> 
            <a href="./index.html"><img src="images/arrow_up_48.png" height="24" width="24" /></a> 
            <?php echo '<a href="'.$nextpage.'"><img src="images/arrow_right_48.png" height="24" width="24" /></a>'; ?>
          </div>
        </div>
        <div id="jspec"></div>
        <div id="jspec-bottom"></div>
    
        <div class="nav">
          <?php echo '<a href="'.$prevpage.'"><img src="images/arrow_left_48.png" height="24" width="24" /></a>'; ?> 
          <a href="./index.html"><img src="images/arrow_up_48.png" height="24" width="24" /></a> 
          <?php echo '<a href="'.$nextpage.'"><img src="images/arrow_right_48.png" height="24" width="24" /></a>'; ?>
        </div>
      </div>
    </div>
        <div id="preloader" style="display: none;">
        <img src="images/navdownloadover.png" alt="navdownloadover" width="89" height="26"/>
        <img src="images/navexamplesover.png" alt="navexamplesover" width="88" height="26"/>
        <img src="images/navhomeover.png" alt="navhomeover" width="59" height="26"/>
        <img src="images/navdocsover.png" alt="navdocsover" width="55" height="26"/>
        <img src="images/downloadnowover.png" alt="downloadnowover" width="102" height="39"/>
    </div>
  </body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.