From: Anthony Talarico Date: Wed, 27 Feb 2019 17:46:17 +0000 (-0500) Subject: Merge branch 'develop' into feature/adminRevamp X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c334b442636b05acc868bb178e147f316bb565a2;p=WP-Plugins%2Fglm-member-db.git Merge branch 'develop' into feature/adminRevamp --- c334b442636b05acc868bb178e147f316bb565a2 diff --cc views/admin/member/memberInfo/editFiles.html index 1d2b2454,c0dcce46..7d823813 --- a/views/admin/member/memberInfo/editFiles.html +++ b/views/admin/member/memberInfo/editFiles.html @@@ -5,107 -6,105 +6,107 @@@
{if $memberInfoID} - -
- -
- -
+ +
+ {* All fields with class "glm-fileDrop" are automatically processed by imageUpload.js *} +
+ {* The contents of this div are read by imageUpload.js to use for display of upload progress. *} +
- - Uploading File { thisFile } of { numbFiles } - -
-
Cancel Upload
-
-
+ {* Start of upload status pop-up template - Parameters are of the form "[name]" *} + Uploading File { thisFile } of { numbFiles } +
+
+
Cancel Upload
+
+
+
- -
-
Name:
{ fileName }
-
-
Type:
{ fileType }
-
Size:
{ fileSize }
-
Progress:
-
- +
+
Name:
{ fileName }
+
+
Type:
{ fileType }
+
Size:
{ fileSize }
+
Progress:
+ + {* End of template *} -
- -
+
+ {* The contents of this div are read by imageUpload.js to use as a template for inserting a new file into the gallery area *} +
- -
  • - -
    -
    -

    File Name:

    -
    + {* + Start of new files template. + Parameters are of the form "{ name }" where the spaces are required to avoid Smarty interpreting the parameters. + Note that these input fields are disabled to avoid the template fields being submitted. The imageUpload.js + code enables the fields when it replicates the template for a new files. + *} +
  • + -
  • -
    -
    -

    New Upload

    -

    Delete:

    +
    +
    +

    File Name:

    +
    +
    +
    +
    +
    +

    New Upload

    +

    Delete:

    +
    +
    - -
    - - + + {* End of template *} +
    +
    +
    +
    Drag and drop new files here
    +
    HTML5 file drag-and-drop not supported by your browser.
    Use "Browse" button above to upload an file.
    +
    +
      + + {if $haveFiles} + {foreach $files as $i} + {if $i.file_name} +
    • +
      + {$i.name} +
      +
      +
      +

      File Name:

      + +
      -
      {* Overlay of parent for drag/drop detection *} -
      {* Overlay for Upload Status Bars *} -
      Drag and drop new files here
      -
      HTML5 file drag-and-drop not supported by your browser.
      Use "Browse" button above to upload an file.
      -
    -
      - {* Note that id in li is needed for sorting *} - {if $haveFiles} - {foreach $files as $i} - {if $i.file_name} -
    • -
      - {$i.name} -
      -
      -
      -

      File Name:

      -
      -
      -
      -
      -
      -

      Delete:

      -
      - -
      - {/if} -
    • +
    +
    + + +
    + {/if} + - {/foreach} - {/if} - - {else} - Note: Files may only be added to {$terms.term_member} profile records that have been created. - You are editing information to create a new record. -
    After you click "Add new {$terms.term_member}" below, you may come back here to add files. + {/foreach} + {/if} + + {else} + Note: Files may only be added to {$terms.term_member} profile records that have been created. + You are editing information to create a new record. +
    After you click "Add new {$terms.term_member}" below, you may come back here to add files. {/if}