<br><br><div class="gmail_quote">On Sun, Apr 1, 2012 at 12:26 AM, Dieter Adriaenssens <span dir="ltr"><<a href="mailto:dieter.adriaenssens@gmail.com">dieter.adriaenssens@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Op 31 maart 2012 19:20 heeft nandu <<a href="mailto:nandu130@gmail.com">nandu130@gmail.com</a>> het volgende geschreven:<br>
<div class="im">> Thanks..<br>
> they are related javascript code embedded in (or referenced from) HTML5<br>
> documents can use the objects and methods provided by jQuery to perform its<br>
> tasks. yes you are correct that it cannot be used in html5,<br>
> So can it be considered as 1 thing that i can include in my proposal, though<br>
> am intending to find others too???<br>
<br>
</div>Please use bottom posting on this mailing list. [0]<br>
<br>
Can you prepare a patch that implements this idea and post it to our<br>
tracker [1] or create a fork of the phpmyadmin code on github and<br>
issues a pull request, as explained on our website [3].<br></blockquote><div><br>hello, <br> I have my semester exams going on currently so am not able to give the maximum time<br>to this patch, I also regret that I dint followed the bottom level posting, and all the mess ups.<br>
<br>In order to identify a device we can use<br><br>if( navigator.userAgent.match(/Android/i)<br> || navigator.userAgent.match(/webOS/i)<br> || navigator.userAgent.match(/iPhone/i)<br> || navigator.userAgent.match(/iPad/i)<br>
|| navigator.userAgent.match(/iPod/i)<br> || navigator.userAgent.match(/BlackBerry/i)<br> )<br><br>{<br><br>$(function () {<br> $('input:text').prop({<br> autocapitalize: 'off',<br> autocorrect: 'off'<br>
});<br>});<br><br>}<br><br>I am confused regarding which file this code is to be updated in phpmyadmin??<br>I have to submit the patch before 10th.. please help<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
[0] <a href="https://en.wikipedia.org/wiki/Posting_style#Bottom-posting" target="_blank">https://en.wikipedia.org/wiki/Posting_style#Bottom-posting</a><br>
[1] <a href="http://sourceforge.net/tracker/?group_id=23067&atid=377410" target="_blank">http://sourceforge.net/tracker/?group_id=23067&atid=377410</a><br>
[2] <a href="http://www.phpmyadmin.net/home_page/devel.php" target="_blank">http://www.phpmyadmin.net/home_page/devel.php</a><br>
<br>
Kind regards,<br>
<br>
Dieter<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On Sat, Mar 31, 2012 at 10:36 PM, J.M. <<a href="mailto:me@mynetx.net">me@mynetx.net</a>> wrote:<br>
>><br>
>> Am 31. März 2012 18:51 schrieb nandu <<a href="mailto:nandu130@gmail.com">nandu130@gmail.com</a>>:<br>
>> > Marc,<br>
>> ><br>
>> > Thanks for considering, you asked me to submit patch, well for that i<br>
>> > need<br>
>> > some time till then I found another thing<br>
>> > that is when we log into phpMyadmin from an iOS device is difficult<br>
>> > because<br>
>> > the device uppercases the first letter automatically. This can be<br>
>> > disabled<br>
>> > by adding two attributes in the input tag and setting them both to off.<br>
>> > it can be patched through<br>
>> > autocapitalize="off" autocorrect="off" attributes in input.<br>
>> > jQuery('input[type=text]').attr('autocapitalize','off');<br>
>> ><br>
>> > Also i need some guidelines from you with my proposal<br>
>> > thanks<br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > On Sat, Mar 31, 2012 at 5:26 PM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Le 2012-03-31 06:19, nandu a écrit :<br>
>> >> > PHP code mixed with HTML tags will basically cause crash,<br>
>> >> > "strip_tags"<br>
>> >> > to<br>
>> >> > strip every html and php tags<br>
>> >> > in $var, every characters after "<" is removed.<br>
>> >> > i think strip_tags() is mixed up.<br>
>> >> ><br>
>> >> > we often get error:tbl_replace.php: Missing parameter when adding<br>
>> >> > i.e.<br>
>> >> > entries into mysql from within<br>
>> >> > phpmyadmin chences of having issue with cookies on the system, i.e.if<br>
>> >> > disabled cookies in the browser<br>
>> >> > this can be changed.<br>
>> >> > Instead of using the elseif statements code can be reduced with<br>
>> >> > <script><br>
>> >> > <?php<br>
>> >> > switch($anyval){ ?><br>
>> >> > $(document).ready(<br>
>> >> > function (){<br>
>> >> > <?php case 1: //?><br>
>> >> > <?php case 2: //?><br>
>> >> > <?php case 3: //?><br>
>> >> > })<br>
>> >> > <?php }?><br>
>> >> > </script><br>
>> >><br>
>> >> Nandu,<br>
>> >> please submit some patches, it will be easier to see what you mean.<br>
>> >><br>
>> >> ><br>
>> >> > wecan either use the static method in the code in order to improve<br>
>> >> > the<br>
>> >> > efficiency.<br>
>> >> > another point I would like to ask what if we use the complete<br>
>> >> > pathname<br>
>> >> > with<br>
>> >> > require and include, it will be much faster.<br>
>> >><br>
>> >> Seems like a good idea. I took this example in the PHP manual's<br>
>> >> comments:<br>
>> >><br>
>> >> // this can be inside libraries/common.inc.php<br>
>> >> define('__ROOT__', dirname(dirname(__FILE__)));<br>
>> >> // then other scripts use this<br>
>> >> require_once(__ROOT__.'/foo.php);<br>
>> >><br>
>> >> So we could define __ROOT__ once and use it afterwards. One thing I'm<br>
>> >> not sure about: we prefixed with './' to help in open_basedir case, so<br>
>> >> we would have to test this case.<br>
>> >><br>
>> >> --<br>
>> >> Marc Delisle<br>
>> >> <a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >> ------------------------------------------------------------------------------<br>
>> >> This SF email is sponsosred by:<br>
>> >> Try Windows Azure free for 90 days Click Here<br>
>> >> <a href="http://p.sf.net/sfu/sfd2d-msazure" target="_blank">http://p.sf.net/sfu/sfd2d-msazure</a><br>
>> >> _______________________________________________<br>
>> >> Phpmyadmin-devel mailing list<br>
>> >> <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
>> >> <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Nandlal Ahirwar<br>
>> > MCA, II yr<br>
>> > Maulana Azad National Institute of Technology, Bhopal<br>
>> > India<br>
>> ><br>
>> ><br>
>> ><br>
>> > ------------------------------------------------------------------------------<br>
>> > This SF email is sponsosred by:<br>
>> > Try Windows Azure free for 90 days Click Here<br>
>> > <a href="http://p.sf.net/sfu/sfd2d-msazure" target="_blank">http://p.sf.net/sfu/sfd2d-msazure</a><br>
>> > _______________________________________________<br>
>> > Phpmyadmin-devel mailing list<br>
>> > <a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
>> > <a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
>> ><br>
>><br>
>> Adding autocapitalize and/or autocorrect attributes to <input> tags is<br>
>> not valid HTML5, though, which is what we'd like to achieve (refer to<br>
>> <a href="http://www.w3schools.com/html5/tag_input.asp" target="_blank">http://www.w3schools.com/html5/tag_input.asp</a> for all input tag<br>
>> attributes allowed in HTML5).<br>
>><br>
>> I suggest setting these attributes using jQuery in a document-ready<br>
>> event handler if the user agent matches iOS or Android. Like this:<br>
>><br>
>> $(function () {<br>
>> $('input:text').prop({<br>
>> autocapitalize: 'off',<br>
>> autocorrect: 'off'<br>
>> });<br>
>> });<br>
>><br>
>> What do you think?<br>
>><br>
>><br>
<br>
------------------------------------------------------------------------------<br>
This SF email is sponsosred by:<br>
Try Windows Azure free for 90 days Click Here<br>
<a href="http://p.sf.net/sfu/sfd2d-msazure" target="_blank">http://p.sf.net/sfu/sfd2d-msazure</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Nandlal Ahirwar<br>MCA, II yr<br>Maulana Azad National Institute of Technology, Bhopal<br>India<br><br>