HTML5 preview in current draft have support in all new browser, but IE only include HTML5 attributes and tags have in "recommendation" status. In new preview IE 10beta lauched today have support for new forms tags.
The correct use for required is required="required", new fields types: <input type="search"> <input type="email"> <input type="url"> new tags: <header> <footer> <article> svg support, cavas is a good idea for make graphics charts 2011/6/29 <[email protected]> > Send Dolibarr-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dolibarr-dev digest..." > > > Today's Topics: > > 1. Re: HTML5 (Laurent Destailleur (eldy)) > 2. Re: SQL comment in SQL module dev / Int?gration des > commentaires SQL dans le dev des mosules (Laurent Destailleur (eldy)) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 29 Jun 2011 12:37:58 +0200 > From: "Laurent Destailleur (eldy)" <[email protected]> > To: Posts about Dolibarr development and coding > <[email protected]> > Subject: Re: [Dolibarr-dev] HTML5 > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > I tried to add such tags on a dolibarr page to test it. > But can you tell me what is the change ? > I tested with a HTML 5 browser, but can't see any change so what can be > the goal of adding this ? > > Le 09/06/2011 17:30, Ditto Dito a ?crit : > >> Can you provide us an example on how to add a "required" property on > >> a html field ? > > > > |<form id="someform"> > > <label>Name:</label> <input type="text" id="name" > required="true" /><br/> > > <label>Car:</label> <input type="text" id="car" > required="true" /><br/> > > <input type="submit" id="btnsubmit" value="Submit!" /> > > </form> > > | > > > > > > _______________________________________________ > > Dolibarr-dev mailing list > > [email protected] > > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > > -- > Eldy (Laurent Destailleur). > --------------------------------------------------------------- > EMail: [email protected] > Web: http://www.destailleur.fr > > Dolibarr (Project leader): http://www.dolibarr.org > To make a donation for Dolibarr project via Paypal: [email protected] > AWStats (Author) : http://awstats.sourceforge.net > To make a donation for AWStats project via Paypal: [email protected] > AWBot (Author) : http://awbot.sourceforge.net > CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > </archive/html/dolibarr-dev/attachments/20110629/36d03377/attachment.html> > > ------------------------------ > > Message: 2 > Date: Wed, 29 Jun 2011 12:40:35 +0200 > From: "Laurent Destailleur (eldy)" <[email protected]> > To: [email protected] > Subject: Re: [Dolibarr-dev] SQL comment in SQL module dev / > Int?gration des commentaires SQL dans le dev des mosules > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > Patch inserted. > > Le 09/06/2011 17:35, Florian HENRY a ?crit : > > Bonjour, > > > > J'ai pu remarquer que dans le developement d'un nouveau module, et que > > l'on a besion de cr?e des tables, il n'est pas possible de faire > > fichier de cette forme : > > > > create table llx_table > > ( > > rowid integer AUTO_INCREMENT PRIMARY KEY, > > label varchar(128) NOT NULL, -- comment 1 > > > > datec datetime, -- comment 2 > > tms timestamp, -- comment 3 > > fk_user_author integer, -- comment 4 > > } > > > > les commentaires sont int?gr? dans le buffer d'execution et il sont > > refuser. > > > > Je propose d'int?gr? cette modification dans htdocs/lib/admin.lib.php > > > > Dans le function run_sql juste apr?s le test qui valide que la ligne > > ne commence pas par un commentaire : > > > > // Add line buf to buffer if not a comment > > if (! preg_match('/^--/',$buf)) > > { > > *//remove comment from a line that not start with -- before add it > > to the buffer > > if (preg_match('/--/',$buf)) > > { > > $buf = substr($buf,0,strpos($buf, '-')); > > }* > > $buffer .= trim($buf); > > } > > > > Dites moi ce que vous en pensez ? > > > > Cordialement > > > > Henry Florian > > > > ---------------------------- > > > > Hello > > > > I notice during the new module devloepement and if we need to create > > table, it's not possible to write the SQL file like that > > > > create table llx_table > > ( > > rowid integer AUTO_INCREMENT PRIMARY KEY, > > label varchar(128) NOT NULL, -- comment 1 > > > > datec datetime, -- comment 2 > > tms timestamp, -- comment 3 > > fk_user_author integer, -- comment 4 > > } > > > > Comment at the end of the line are integrated into the execution > > buffer and they are interpreted as invalid instructions > > > > I suggest a modification in htdocs/lib/admin.lib.php > > > > In function run_sql juste just after the test "Add line buf to buffer > > if not a comment" : > > > > // Add line buf to buffer if not a comment > > if (! preg_match('/^--/',$buf)) > > { > > *//remove comment from a line that not start with -- before add it > > to the buffer > > if (preg_match('/--/',$buf)) > > { > > $buf = substr($buf,0,strpos($buf, '-')); > > } > > * $buffer .= trim($buf); > > } > > What do you think about ? > > > > Kind regards > > > > Henry Florian > > > > > > _______________________________________________ > > Dolibarr-dev mailing list > > [email protected] > > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > > -- > Eldy (Laurent Destailleur). > --------------------------------------------------------------- > EMail: [email protected] > Web: http://www.destailleur.fr > > Dolibarr (Project leader): http://www.dolibarr.org > To make a donation for Dolibarr project via Paypal: [email protected] > AWStats (Author) : http://awstats.sourceforge.net > To make a donation for AWStats project via Paypal: [email protected] > AWBot (Author) : http://awbot.sourceforge.net > CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > </archive/html/dolibarr-dev/attachments/20110629/1f806eff/attachment.html> > > ------------------------------ > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > > End of Dolibarr-dev Digest, Vol 99, Issue 32 > ******************************************** > -- *Gustavo Novaro* ***CEO * Cel: 11-5757-7730 www.roskus.com Av. Callao 468 4 piso, oficina 4
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
