write_access.php 397 B

123456789101112
  1. <?php
  2. // this is just to be detected by the pages edit form for deprecation purposes.
  3. echo "<!-- -->";
  4. echo elgg_view('input/access', $vars);
  5. if (!elgg_extract('purpose', $vars)) {
  6. // a dev has extended the page edit form
  7. elgg_deprecated_notice("The input/write_access view is deprecated. The pages plugin now uses the ['access:collections:write', 'user'] hook to alter options.", "1.11");
  8. }