start.php 470 B

1234567891011121314
  1. <?php
  2. // Encrypt/Decrypt Elgg messages on the client side
  3. // Elgg plugin by Benjamin Graham
  4. // Javascript library Copyright 2008 Vincent Cheung
  5. // The backend is Gibberish AES by Mark Percival
  6. // (http://github.com/markpercival/gibberish-aes/tree/master)
  7. function elggcrypt_init() {
  8. elgg_extend_view('metatags', 'elgg-crypt/metatags');
  9. elgg_extend_view('input/urlshortener', 'elgg-crypt/crypt');
  10. }
  11. elgg_register_event_handler('init','system','elggcrypt_init');