dolibarr-git
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-git] [Dolibarr/dolibarr] 008629: Add the attribute accept to i


From: Laurent Destailleur
Subject: [Dolibarr-git] [Dolibarr/dolibarr] 008629: Add the attribute accept to input tag
Date: Sun, 01 Oct 2017 15:12:05 -0700

  Branch: refs/heads/develop
  Home:   https://github.com/Dolibarr/dolibarr
  Commit: 00862913d8213e401b47d6ed126d4c011e82acce
      
https://github.com/Dolibarr/dolibarr/commit/00862913d8213e401b47d6ed126d4c011e82acce
  Author: dolibarr95 <address@hidden>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

  Changed paths:
    M htdocs/core/class/html.formfile.class.php

  Log Message:
  -----------
  Add the attribute accept to input tag

I know this is not a security check but it is more convenient for the user when 
in a form only images or pdf are accepted for example.
see : 
*https://www.w3.org/wiki/HTML/Elements/input/file
*https://www.w3schools.com/TagS/att_input_accept.asp

Hope every body needs it.
tks


  Commit: a81d4588298f07f2b7355e293c02d32b241e473e
      
https://github.com/Dolibarr/dolibarr/commit/a81d4588298f07f2b7355e293c02d32b241e473e
  Author: Laurent Destailleur <address@hidden>
  Date:   2017-10-02 (Mon, 02 Oct 2017)

  Changed paths:
    M htdocs/core/class/html.formfile.class.php

  Log Message:
  -----------
  Merge pull request #7509 from dolibarr95/patch-21

NEW Add the attribute accept to the input form for file upload


Compare: 
https://github.com/Dolibarr/dolibarr/compare/03c08b1de405...a81d4588298f

reply via email to

[Prev in Thread] Current Thread [Next in Thread]