http://atutor.ca/atutor/mantis/view.php?id=4680
authorcindy li <cli@ocad.ca>
Thu, 6 Jan 2011 16:59:48 +0000 (16:59 -0000)
committercindy li <cli@ocad.ca>
Thu, 6 Jan 2011 16:59:48 +0000 (16:59 -0000)
Fix for,
Admin -> edit users -> cannot upload profile picture

docs/themes/default/registration.tmpl.php

index 78ed904..a69477f 100644 (file)
@@ -167,7 +167,7 @@ function encrypt_password()
                                <a href="get_profile_img.php?id=<?php echo $_POST['member_id'].SEP.'size=o'; ?>"><?php print_profile_img($_POST['member_id']); ?></a>
                                <input type="checkbox" name="profile_pic_delete" value="1" id="profile_pic_delete" /><label for="profile_pic_delete"><?php echo _AT('delete'); ?></label>
                        <?php else: ?>
-                               <?php echo _AT('none'); ?> <a href="admin/profile_picture.php?member_id=<?php echo $_POST['member_id']; ?>"><?php echo _AT('add'); ?></a>
+                               <?php echo _AT('none'); ?> <a href="mods/_standard/profile_pictures/admin/profile_picture.php?member_id=<?php echo $_POST['member_id']; ?>"><?php echo _AT('add'); ?></a>
                        <?php endif; ?>
                </div>
        <?php endif; ?>