{!menu_item folder_action 'Share'
  '{site_path}/emailfolder.php?id={folder_id}'!}
{!menu_item folder_action 'New {folder_limit_type}'
  '{site_path}/edit.php?folder={folder_id}&class={folder_limit_type}'
  '("{folder_limit_type}"!="")&&("{folder_limit_type}"!="none")'!}
{!menu_item folder_action 'New document'
  '{site_path}/edit.php?folder={folder_id}'
  '"{folder_limit_type}"==""'!}
{!menu_item folder_action 'Upload Multiple'
  '{site_path}/multiload.php?folder={folder_id}'
  '{multi_file_upload}&&(("{folder_limit_type}"=="Image")||("{folder_limit_type}"=="DocFile")||("{folder_limit_type}"==""))'!}
{!menu_item folder_action 'Subfolder'
  '{site_path}/editfolder.php?parent={folder_id}'
  '{folder_children}+0'!}
{!menu_item folder_action 'Subscribe'
  '{site_path}/subscribe.php?type=F&amp;obj={folder_id}'
  '({subscription_enable}+0)&&({user_id}+0)!}
{!menu_item folder_action 'Permissions'
  '{site_path}/permissions.php?id={folder_id}&amp;class=folder'
  'editor(folder_id,folder)'!}
{!menu_item folder_action 'Edit'
  '{site_path}/editfolder.php?id={folder_id}'
  'editor(folder_id,folder)'!}
{!menu_item folder_action 'Delete'
  '{site_path}/deletefolder.php?id={folder_id}'
  'editor(folder_id,folder)'!}
<p class="action">
{!menu folder_action ' {sep} '!}
</p>