SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/views/page_rev_info.php

  1. <?php
  2. use Sprout\Helpers\Constants;
  3. use Sprout\Helpers\Enc;
  4. use Sprout\Helpers\I18n;
  5. ?>
  6.  
  7.  
  8. <div class="highlight row">
  9. <div class="col-xs-12 col-sm-4">
  10. <b>Revision status:</b>
  11. <br>
  12. <?= Enc::html(Constants::$rev_statuses[$page['status']]); ?>
  13. </div>
  14. <div class="col-xs-12 col-sm-4">
  15. <b>Editor:</b>
  16. <br>
  17. <?= Enc::html($page['modified_editor']); ?>
  18. </div>
  19. <div class="col-xs-12 col-sm-4">
  20. <b>Modified:</b>
  21. <br>
  22. <?= I18n::shortdate(strtotime($page['date_modified'])); ?>
  23. </div>
  24. </div>
  25.