Guest User

Untitled

a guest
Aug 17th, 2011
176
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                         <div id="user-avatar-display" >
  2.                         <p id="user-avatar-display-image"><?php echo get_avatar( $current_user->ID, 150);?></p>
  3.                         <a id="user-avatar-link" class="button thickbox" href="<?php echo admin_url('admin-ajax.php'); ?>?action=user_avatar_add_photo&step=1&uid=<?php echo $current_user->ID; ?>&TB_iframe=true&width=720&height=450" title="Personalizează-ţi Avatarul" >Modifică-ţi avatarul</a>
  4.                        </div>
  5.                        <script type="text/javascript">
  6.                        function user_avatar_refresh_image(img){
  7.                        jQuery('#user-avatar-display-image').html(img);
  8.                         }
  9.                         </script>
RAW Paste Data