home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / errors.tpl < prev    next >
Encoding:
Text File  |  2004-03-24  |  7.0 KB  |  110 lines

  1. <?php /* Smarty version 2.5.0, created on 2003-07-02 15:09:41
  2.          compiled from errors.tpl */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include("header.tpl", array('noleftindex' => true));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7.  ?>
  8. <?php if (isset($this->_sections['files'])) unset($this->_sections['files']);
  9. $this->_sections['files']['name'] = 'files';
  10. $this->_sections['files']['loop'] = is_array($this->_tpl_vars['files']) ? count($this->_tpl_vars['files']) : max(0, (int)$this->_tpl_vars['files']);
  11. $this->_sections['files']['show'] = true;
  12. $this->_sections['files']['max'] = $this->_sections['files']['loop'];
  13. $this->_sections['files']['step'] = 1;
  14. $this->_sections['files']['start'] = $this->_sections['files']['step'] > 0 ? 0 : $this->_sections['files']['loop']-1;
  15. if ($this->_sections['files']['show']) {
  16.     $this->_sections['files']['total'] = $this->_sections['files']['loop'];
  17.     if ($this->_sections['files']['total'] == 0)
  18.         $this->_sections['files']['show'] = false;
  19. } else
  20.     $this->_sections['files']['total'] = 0;
  21. if ($this->_sections['files']['show']):
  22.  
  23.             for ($this->_sections['files']['index'] = $this->_sections['files']['start'], $this->_sections['files']['iteration'] = 1;
  24.                  $this->_sections['files']['iteration'] <= $this->_sections['files']['total'];
  25.                  $this->_sections['files']['index'] += $this->_sections['files']['step'], $this->_sections['files']['iteration']++):
  26. $this->_sections['files']['rownum'] = $this->_sections['files']['iteration'];
  27. $this->_sections['files']['index_prev'] = $this->_sections['files']['index'] - $this->_sections['files']['step'];
  28. $this->_sections['files']['index_next'] = $this->_sections['files']['index'] + $this->_sections['files']['step'];
  29. $this->_sections['files']['first']      = ($this->_sections['files']['iteration'] == 1);
  30. $this->_sections['files']['last']       = ($this->_sections['files']['iteration'] == $this->_sections['files']['total']);
  31. ?>
  32. <a href="#<?php echo $this->_tpl_vars['files'][$this->_sections['files']['index']]['file']; ?>
  33. "><?php echo $this->_tpl_vars['files'][$this->_sections['files']['index']]['file']; ?>
  34. </a><br>
  35. <?php endfor; endif; ?>
  36. <?php if (count((array)$this->_tpl_vars['all'])):
  37.     foreach ((array)$this->_tpl_vars['all'] as $this->_tpl_vars['file'] => $this->_tpl_vars['issues']):
  38. ?>
  39. <a name="<?php echo $this->_tpl_vars['file']; ?>
  40. "></a>
  41. <h1><?php echo $this->_tpl_vars['file']; ?>
  42. </h1>
  43. <?php if (count ( $this->_tpl_vars['issues']['warnings'] )): ?>
  44. <h2>Warnings:</h2><br>
  45. <?php if (isset($this->_sections['warnings'])) unset($this->_sections['warnings']);
  46. $this->_sections['warnings']['name'] = 'warnings';
  47. $this->_sections['warnings']['loop'] = is_array($this->_tpl_vars['issues']['warnings']) ? count($this->_tpl_vars['issues']['warnings']) : max(0, (int)$this->_tpl_vars['issues']['warnings']);
  48. $this->_sections['warnings']['show'] = true;
  49. $this->_sections['warnings']['max'] = $this->_sections['warnings']['loop'];
  50. $this->_sections['warnings']['step'] = 1;
  51. $this->_sections['warnings']['start'] = $this->_sections['warnings']['step'] > 0 ? 0 : $this->_sections['warnings']['loop']-1;
  52. if ($this->_sections['warnings']['show']) {
  53.     $this->_sections['warnings']['total'] = $this->_sections['warnings']['loop'];
  54.     if ($this->_sections['warnings']['total'] == 0)
  55.         $this->_sections['warnings']['show'] = false;
  56. } else
  57.     $this->_sections['warnings']['total'] = 0;
  58. if ($this->_sections['warnings']['show']):
  59.  
  60.             for ($this->_sections['warnings']['index'] = $this->_sections['warnings']['start'], $this->_sections['warnings']['iteration'] = 1;
  61.                  $this->_sections['warnings']['iteration'] <= $this->_sections['warnings']['total'];
  62.                  $this->_sections['warnings']['index'] += $this->_sections['warnings']['step'], $this->_sections['warnings']['iteration']++):
  63. $this->_sections['warnings']['rownum'] = $this->_sections['warnings']['iteration'];
  64. $this->_sections['warnings']['index_prev'] = $this->_sections['warnings']['index'] - $this->_sections['warnings']['step'];
  65. $this->_sections['warnings']['index_next'] = $this->_sections['warnings']['index'] + $this->_sections['warnings']['step'];
  66. $this->_sections['warnings']['first']      = ($this->_sections['warnings']['iteration'] == 1);
  67. $this->_sections['warnings']['last']       = ($this->_sections['warnings']['iteration'] == $this->_sections['warnings']['total']);
  68. ?>
  69. <b><?php echo $this->_tpl_vars['issues']['warnings'][$this->_sections['warnings']['index']]['name']; ?>
  70. </b> - <?php echo $this->_tpl_vars['issues']['warnings'][$this->_sections['warnings']['index']]['listing']; ?>
  71. <br>
  72. <?php endfor; endif; ?>
  73. <?php endif; ?>
  74. <?php if (count ( $this->_tpl_vars['issues']['errors'] )): ?>
  75. <h2>Errors:</h2><br>
  76. <?php if (isset($this->_sections['errors'])) unset($this->_sections['errors']);
  77. $this->_sections['errors']['name'] = 'errors';
  78. $this->_sections['errors']['loop'] = is_array($this->_tpl_vars['issues']['errors']) ? count($this->_tpl_vars['issues']['errors']) : max(0, (int)$this->_tpl_vars['issues']['errors']);
  79. $this->_sections['errors']['show'] = true;
  80. $this->_sections['errors']['max'] = $this->_sections['errors']['loop'];
  81. $this->_sections['errors']['step'] = 1;
  82. $this->_sections['errors']['start'] = $this->_sections['errors']['step'] > 0 ? 0 : $this->_sections['errors']['loop']-1;
  83. if ($this->_sections['errors']['show']) {
  84.     $this->_sections['errors']['total'] = $this->_sections['errors']['loop'];
  85.     if ($this->_sections['errors']['total'] == 0)
  86.         $this->_sections['errors']['show'] = false;
  87. } else
  88.     $this->_sections['errors']['total'] = 0;
  89. if ($this->_sections['errors']['show']):
  90.  
  91.             for ($this->_sections['errors']['index'] = $this->_sections['errors']['start'], $this->_sections['errors']['iteration'] = 1;
  92.                  $this->_sections['errors']['iteration'] <= $this->_sections['errors']['total'];
  93.                  $this->_sections['errors']['index'] += $this->_sections['errors']['step'], $this->_sections['errors']['iteration']++):
  94. $this->_sections['errors']['rownum'] = $this->_sections['errors']['iteration'];
  95. $this->_sections['errors']['index_prev'] = $this->_sections['errors']['index'] - $this->_sections['errors']['step'];
  96. $this->_sections['errors']['index_next'] = $this->_sections['errors']['index'] + $this->_sections['errors']['step'];
  97. $this->_sections['errors']['first']      = ($this->_sections['errors']['iteration'] == 1);
  98. $this->_sections['errors']['last']       = ($this->_sections['errors']['iteration'] == $this->_sections['errors']['total']);
  99. ?>
  100. <b><?php echo $this->_tpl_vars['issues']['errors'][$this->_sections['errors']['index']]['name']; ?>
  101. </b> - <?php echo $this->_tpl_vars['issues']['errors'][$this->_sections['errors']['index']]['listing']; ?>
  102. <br>
  103. <?php endfor; endif; ?>
  104. <?php endif; ?>
  105. <?php endforeach; endif; ?>
  106. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  107. $this->_smarty_include("footer.tpl", array());
  108. $this->_tpl_vars = $_smarty_tpl_vars;
  109. unset($_smarty_tpl_vars);
  110.  ?>