Marc<br> I tried my hands on git and was able to push my changes in phpmyadmin repository, please let me know<br>if any further changes required.<br><br>Thanks<br><br><br><br><br><br><div class="gmail_quote">On Mon, Apr 2, 2012 at 11:46 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info">marc@infomarc.info</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">Le 2012-04-02 13:18, nandu a écrit :<br>
<div class="im">> hello<br>
> Reagarding the submitting of patch I have a doubt since the ios device<br>
> alphabets to be lowecased, should I just submit a text file with the<br>
> following code??<br>
><br>
> $(function () {<br>
> $('input:text').prop({<br>
> autocapitalize: 'off',<br>
> autocorrect: 'off'<br>
> });<br>
> });<br>
><br>
> I never submitted a patch before.<br>
<br>
</div>Hi,<br>
to see what a patch looks like, please visit [0], click on one of the<br>
artifact, then download a file which is attached to the artifact.<br>
<br>
[0] <a href="https://sourceforge.net/tracker/?group_id=23067&atid=377410" target="_blank">https://sourceforge.net/tracker/?group_id=23067&atid=377410</a><br>
<div class="HOEnZb"><div class="h5"><br>
> thanks..<br>
> 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, "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 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 the<br>
>>>>> efficiency.<br>
>>>>> another point I would like to ask what if we use the complete 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>
>> 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>
><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>
><br>
><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>
</div></div><span class="HOEnZb"><font color="#888888">Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
</font></span><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></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>