plugins/admin/UserManager.php
changeset 741 a216e412c439
parent 685 17ebe24cdf85
child 742 551b6a0aa3b4
equal deleted inserted replaced
740:098e744df928 741:a216e412c439
  1112                       {
  1112                       {
  1113                         switch(elParent.value)
  1113                         switch(elParent.value)
  1114                         {
  1114                         {
  1115                           case 'keep':
  1115                           case 'keep':
  1116                           case 'remove':
  1116                           case 'remove':
  1117                             $('avatar_upload_http_{UUID}').object.style.display = 'none';
  1117                             \$dynano('avatar_upload_http_{UUID}').object.style.display = 'none';
  1118                             $('avatar_upload_file_{UUID}').object.style.display = 'none';
  1118                             \$dynano('avatar_upload_file_{UUID}').object.style.display = 'none';
  1119                             $('avatar_upload_gravatar_{UUID}').object.style.display = 'none';
  1119                             \$dynano('avatar_upload_gravatar_{UUID}').object.style.display = 'none';
  1120                             break;
  1120                             break;
  1121                           case 'set_http':
  1121                           case 'set_http':
  1122                             $('avatar_upload_http_{UUID}').object.style.display = 'block';
  1122                             \$dynano('avatar_upload_http_{UUID}').object.style.display = 'block';
  1123                             $('avatar_upload_file_{UUID}').object.style.display = 'none';
  1123                             \$dynano('avatar_upload_file_{UUID}').object.style.display = 'none';
  1124                             $('avatar_upload_gravatar_{UUID}').object.style.display = 'none';
  1124                             \$dynano('avatar_upload_gravatar_{UUID}').object.style.display = 'none';
  1125                             break;
  1125                             break;
  1126                           case 'set_file':
  1126                           case 'set_file':
  1127                             $('avatar_upload_http_{UUID}').object.style.display = 'none';
  1127                             \$dynano('avatar_upload_http_{UUID}').object.style.display = 'none';
  1128                             $('avatar_upload_file_{UUID}').object.style.display = 'block';
  1128                             \$dynano('avatar_upload_file_{UUID}').object.style.display = 'block';
  1129                             $('avatar_upload_gravatar_{UUID}').object.style.display = 'none';
  1129                             \$dynano('avatar_upload_gravatar_{UUID}').object.style.display = 'none';
  1130                             break;
  1130                             break;
  1131                           case 'set_gravatar':
  1131                           case 'set_gravatar':
  1132                             $('avatar_upload_gravatar_{UUID}').object.style.display = 'block';
  1132                             \$dynano('avatar_upload_gravatar_{UUID}').object.style.display = 'block';
  1133                             $('avatar_upload_http_{UUID}').object.style.display = 'none';
  1133                             \$dynano('avatar_upload_http_{UUID}').object.style.display = 'none';
  1134                             $('avatar_upload_file_{UUID}').object.style.display = 'none';
  1134                             \$dynano('avatar_upload_file_{UUID}').object.style.display = 'none';
  1135                             break;
  1135                             break;
  1136                         }
  1136                         }
  1137                       }
  1137                       }
  1138                     </script>
  1138                     </script>
  1139                     <label><input onclick="admincp_users_avatar_set_{UUID}(this);" type="radio" name="avatar_action" value="keep" checked="checked" /> {lang:acpum_avatar_lbl_keep}</label><br />
  1139                     <label><input onclick="admincp_users_avatar_set_{UUID}(this);" type="radio" name="avatar_action" value="keep" checked="checked" /> {lang:acpum_avatar_lbl_keep}</label><br />