From: Steve Sutton Date: Thu, 21 Feb 2019 15:43:09 +0000 (-0500) Subject: Updating filesize in file page too. X-Git-Tag: v2.12.0^2~30 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d15c6556fb359cee870d15581405e559afd2a08f;p=WP-Plugins%2Fglm-member-db.git Updating filesize in file page too. Looks like they need to be the same for the limit to work. --- diff --git a/views/admin/member/memberInfo/editFiles.html b/views/admin/member/memberInfo/editFiles.html index 253b784f..c0dcce46 100644 --- a/views/admin/member/memberInfo/editFiles.html +++ b/views/admin/member/memberInfo/editFiles.html @@ -1,109 +1,110 @@ +{* Smarty Template for the Edit MemberInfo Files tab *}

Files

- +
{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:

      -
      -
      -
      -
      -

      Delete:

      +
      {* 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} +
      • + - -
    - {/if} - +
    +
    +

    File Name:

    +
    +
    +
    +
    +
    +

    Delete:

    +
    + +
    + {/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}