[Phpmyadmin-devel] themes compatibility with 2.11

Jürgen Wind jwind at gmx.de
Sun May 6 01:12:55 CEST 2007



Marc Delisle wrote:
> 
> Hi,
> 
> For 2.11 there has been a change: phpmyadmin.css and print.css are now 
> in the main directory.
> 
> To accomodate this, a change has been made in svn trunk for all themes:
> 
> -    background-image:   url(../<?php echo 
> $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
> +    background-image:   url(<?php echo 
> $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
> 
> I would prefer if the themes in trunk can work with 2.11 and also prior 
> versions, so I suggest we do something like this:
> 
>   background-image: url(<?php echo 
> version_compare(PMA_VERSION,'2.11','lt') ? '../' : ''; echo 
> $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
> 
> Too bad we did not think earlier to define a PMA_INT_VERSION.
> 
> Marc
> 
> 
well,
theme "Grid" is aware of  pma versions 2.8 ...2.11 since 2007/02 ;)
(i just uploaded a bugfix version to the tracker)

-- 
View this message in context: http://www.nabble.com/themes-compatibility-with-2.11-tf3696059.html#a10341153
Sent from the phpmyadmin-devel mailing list archive at Nabble.com.





More information about the Developers mailing list