[Phpmyadmin-devel] selflink not included in some pages

Mohamed Ashraf mohamed.ashraf.213 at gmail.com
Thu Aug 1 08:18:11 CEST 2013


On Thursday, August 1, 2013 at 6:15 AM, Rouslan Placella wrote:
> On 07/31/2013 10:56 PM, Mohamed Ashraf wrote:
> > I noticed that the selflink is not appearing in some pages like for
> > example tbl_addfield.php. It took me a couple of hours to find out why
> > and it was because a global variable was set which was
> > $checked_special it was set in the checkParameters method in
> > Util.class.php I am not sure what this variable means.
> > 
> > anyways this variable gets checked in getDisplay in the footer class
> > and if it is true the self link is not shown.
> > 
> > can someone tell me if this is correct behavior and why should we not
> > show the self link in those pages. I need the self link to get the
> > current token so it is important that the self link should be
> > available in all pages.
> > 
> 
> 
> Any reason why you wouldn't grab the token using the below code?
Well I didnt know it existed. But that doesnt change the fact, there might be a bug here
> 
> PMA_commonParams.get('token');
> 
> Bye,
> Rouslan
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent 
> caught up. So what steps can you take to put your SQL databases under 
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130801/4a191be8/attachment.html>


More information about the Developers mailing list