<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 height="180"
 layout="topleft"
 name="perm prefs"
 help_topic="perm_prefs"
 save_rect="true"
 title="DEFAULT UPLOAD PERMISSIONS"
 width="315">
    <panel
     follows="left|top|right|bottom"
     height="120"
     label="Permissions"
     layout="topleft"
     left="10"
     name="permissions"
     top="20"
     width="315">
        <check_box
         control_name="ShareWithGroup"
         height="16"
         label="Share with group"
         layout="topleft"
         left="10"
         name="share_with_group"
         top="5"
         width="150" />
        <check_box
         control_name="EveryoneCopy"
         height="16"
         label="Allow anyone to copy"
         layout="topleft"
         left_delta="0"
         name="everyone_copy"
         top_pad="5"
         width="150" />
        <text
         type="string"
         length="1"
         follows="left|top"
         height="10"
         layout="topleft"
         left_delta="0"
         name="NextOwnerLabel"
         top_pad="5"
         width="150">
            Next owner can:
        </text>
        <check_box
         control_name="NextOwnerModify"
         height="16"
         label="Modify"
         layout="topleft"
         left_delta="0"
         name="next_owner_modify"
         top_pad="5"
         width="150" />
        <check_box
         control_name="NextOwnerCopy"
         height="16"
         label="Copy"
         layout="topleft"
         left_delta="0"
         name="next_owner_copy"
         top_pad="5"
         width="150" >
		    <check_box.commit_callback
			function="Perms.Copy" />
		</check_box>
        <check_box
		 enabled_control="NextOwnerCopy"
         control_name="NextOwnerTransfer"
         enabled="false"
         height="16"
         initial_value="true"
         label="Resell/Give away"
         layout="topleft"
         left_delta="0"
         name="next_owner_transfer"
         top_pad="5"
         width="150" />
    </panel>
    <button
     height="20"
     label="OK"
     label_selected="OK"
     layout="topleft"
     left="90"
     name="ok"
     top="150"
     width="100">
		<button.commit_callback
		function="Perms.OK" />
	</button>
    <button
     height="20"
     label="Cancel"
     label_selected="Cancel"
     layout="topleft"
     left_pad="5"
     name="cancel"
     top_delta="0"
     width="100">
		<button.commit_callback
		function="Perms.Cancel" />
	</button>
</floater>