Location: PHPKode > projects > ZenTrack - project/bug tracking software > zentrack_2.6.4/www/help/english/tutorial.php
<?
  $b = dirname(dirname(__FILE__));
  include("$b/help_header.php");

  $page_section = tr("User's Manual");  
  include("$libDir/nav.php");

  $tutDir = "$templateDir/tutorial/$helpLang";
  
  $tutUrl = "$helpUrl/tutorial.php";
  $sections = array(
     'introduction'    => 'Introduction',
     'login'           => 'Logging In',
     'view_tickets'    => 'Viewing',
     'ownership'       => 'Ownership',
     'log_ticket'      => 'Log Entries',
     'bins'            => 'Bins',
     'close_ticket'    => 'Closing',
     'add_attachment'  => 'Attachments',
     'notify_list'     => 'Notifications',
     'relate_ticket'   => 'Related',
     'create_ticket'   => 'New Ticket',
     'use_project'     => 'Projects',
     'contacts'        => 'Contacts',
     'closure'         => 'The End'
  );
  
?>

<table width='100%'>
<tr>
  <td width='125' valign='top'>
    <a href='<?=$helpUrl?>/index.php'>Back to Help</a><br>
    <?
    $linktext = '';
    $title = 'Introduction';
    $s = array_key_exists('s',$_GET)? $_GET['s'] : 'introduction';
    $s = $zen->checkAlphaNum($s);
    $save = null;
    foreach($sections as $k=>$v) {
      // if flagged, this is the next link
      if( $save === 0 ) { $save = $k; }
      if( $s == $k ) {
        // we are on the current page
        $title = $v;
        $linktext .= "<b>&gt; $v</b>"; 
        // flag for the next go around
        $save = 0;
      }
      else {
        // create a link
        $linktext .= "<a href='$tutUrl?s=$k'>$v</a>";        
      }
      $linktext .= "<br>\n";
    }
    
    print $linktext;
    ?>
  </td>
  <td class='content' valign='top'>
    <?
      include("$tutDir/$s.php");
      if( $save ) {
        print "<p align='right'><b><a href='$tutUrl?s=$save'>Next: ";
        print $sections[$save];
        print "&nbsp;&gt;&gt;</b></a></p>\n";
      }
    ?>
  </td>
</tr>
</table>

<? 
  include("$libDir/footer.php"); 
?>
Return current item: ZenTrack - project/bug tracking software