[Phpmyadmin-devel] Bit of code to contribute

Marc Delisle marc at infomarc.info
Tue Mar 13 20:37:54 CET 2012


Le 2012-03-13 15:19, XTender a écrit :
> Hi, Devs. 
> 
> I'm no real programmer, but I did cook up a new transformation for phpMyAdmin. All it does is append a specified string to the table data. I use it to add "°F" to a field containing temperature data. 
> 
> Only one problem: the tooltip that appears when defining the transformation (on the Structure page) says "No description is available for this transformation…". I don't know how to fix this. The function
> PMA_transformation_text_plain__append_info()
> returns
> "Appends text to a string. The only option is the text to be appended (enclosed in single quotes, default empty string)." 
> 
> As evidence, my function does appear correctly (with its description) on the transformation_overview.php page.  
> 
> If you can give me a hint how to fix the tooltip I will. The function code is short enough that I'm including it here: 

I think this is a general bug. When I try it with the 3.4 or the 3.5
branch, I see the same error message, as a tooltip for every
transformation already defined.

Which phpMyAdmin version are you using?

-- 
Marc Delisle
http://infomarc.info

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


More information about the Developers mailing list