settings.php 1013 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Tidypics admin settings form body
  4. *
  5. * @todo remove original image, group only upload not delete
  6. */
  7. $plugin = elgg_get_plugin_from_id('tidypics');
  8. $title = elgg_echo('tidypics:settings:main');
  9. $content = elgg_view('forms/photos/admin/settings/main', array('plugin' => $plugin));
  10. echo elgg_view_module('inline', $title, $content);
  11. $title = elgg_echo('tidypics:settings:heading:img_lib');
  12. $content = elgg_view('forms/photos/admin/settings/image_lib', array('plugin' => $plugin));
  13. echo elgg_view_module('inline', $title, $content);
  14. $title = elgg_echo('tidypics:settings:heading:river');
  15. $content = elgg_view('forms/photos/admin/settings/activity', array('plugin' => $plugin));
  16. echo elgg_view_module('inline', $title, $content);
  17. $title = elgg_echo('tidypics:settings:heading:sizes');
  18. $content = elgg_view('forms/photos/admin/settings/thumbnails', array('plugin' => $plugin));
  19. echo elgg_view_module('inline', $title, $content);
  20. echo elgg_view('input/submit', array('value' => elgg_echo("save")));