Logo Search packages:      
Sourcecode: bamboo version File versions

props.php

<div class=box>
<table>
<tr>
  <td><b>property&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></td>
  <td><b>value&nbsp;&nbsp;&nbsp;&nbsp;</b></td>
  <td><b>inheritable?</b></td>
</tr>

<?php

$props = $prop->getAll($page);

foreach($props as $p => $data) {
      proprow($p,$data);
}

function proprow($prop,$data) {
      static $row = 'roweven';
      if ($row == 'roweven') $row = 'rowodd';
      else $row = 'roweven';

      echo "<tr class=$row>\n";
      echo "<td>$prop</td>\n";
      if (is_bool($data['value']))
            $value = $data['value'] ? 'true' : 'false';
      else
            $value = $data['value'];
      echo "<td>$value</td>\n";
      $inherit = $data['inherit'] ? 'yes' : 'no';
      echo "<td>$inherit</td>\n";
      echo "</tr>\n";   
}

?>
</table>
</div>

Generated by  Doxygen 1.6.0   Back to index