[Phpmyadmin-devel] selflink not included in some pages

Rouslan Placella rouslan at placella.com
Thu Aug 1 06:15:44 CEST 2013


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?

PMA_commonParams.get('token');

Bye,
Rouslan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130801/cba9201f/attachment.sig>


More information about the Developers mailing list