Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

73 lignes
2.2 KiB

  1. <div class="operation">
  2. <?php render_server_menu("replication"); ?>
  3. </div>
  4. <table bgcolor="#cccccc" cellpadding="2" cellspacing="1" width="600">
  5. <tr>
  6. <th colspan="2"><?php hm("repstatus"); ?> (db.getReplicationInfo())</th>
  7. </tr>
  8. <?php foreach ($status as $param=>$value):?>
  9. <tr bgcolor="#fffeee">
  10. <td width="120" valign="top"><?php h($param);?></td>
  11. <td><?php h($value);?></td>
  12. </tr>
  13. <?php endforeach; ?>
  14. </table>
  15. <?php if(!empty($me)): ?>
  16. <div class="gap"></div>
  17. <table bgcolor="#cccccc" cellpadding="2" cellspacing="1" width="600">
  18. <tr>
  19. <th colspan="2"><?php hm("me"); ?> (<a href="<?php h(url("collection.index", array( "db" => "local", "collection" => "me" ))); ?>">local.me</a>)</th>
  20. </tr>
  21. <?php foreach ($me as $param => $value):?>
  22. <tr bgcolor="#fffeee">
  23. <td width="120" valign="top"><?php h($param);?></td>
  24. <td><?php h($value);?></td>
  25. </tr>
  26. <?php endforeach; ?>
  27. </table>
  28. <?php endif; ?>
  29. <?php if(!empty($slaves)): ?>
  30. <div class="gap"></div>
  31. <table bgcolor="#cccccc" cellpadding="2" cellspacing="1" width="600">
  32. <tr>
  33. <th colspan="2"><?php hm("slaves"); ?> (<a href="<?php h(url("collection.index", array( "db" => "local", "collection" => "slaves" ))); ?>">local.slaves</a>)</th>
  34. </tr>
  35. <?php foreach ($slaves as $slave):?>
  36. <tr bgcolor="#cfffff">
  37. <td colspan="2"><?php h($slave["_id"]); ?></td>
  38. </tr>
  39. <?php foreach ($slave as $param => $value):?>
  40. <tr bgcolor="#fffeee">
  41. <td width="120" valign="top"><?php h($param);?></td>
  42. <td><?php h($value);?></td>
  43. </tr>
  44. <?php endforeach; ?>
  45. <?php endforeach; ?>
  46. </table>
  47. <?php endif; ?>
  48. <?php if(!empty($masters)): ?>
  49. <div class="gap"></div>
  50. <table bgcolor="#cccccc" cellpadding="2" cellspacing="1" width="600">
  51. <tr>
  52. <th colspan="2"><?php hm("masters"); ?> (<a href="<?php h(url("collection.index", array( "db" => "local", "collection" => "sources" ))); ?>">local.sources</a>)</th>
  53. </tr>
  54. <?php foreach ($masters as $master):?>
  55. <tr bgcolor="#cfffff">
  56. <td colspan="2"><?php h($master["_id"]); ?></td>
  57. </tr>
  58. <?php foreach ($master as $param => $value):?>
  59. <tr bgcolor="#fffeee">
  60. <td width="120" valign="top"><?php h($param);?></td>
  61. <td><?php h($value);?></td>
  62. </tr>
  63. <?php endforeach; ?>
  64. <?php endforeach; ?>
  65. </table>
  66. <?php endif; ?>