[Phpmyadmin-devel] themes compatibility with 2.11
Marc Delisle
Marc.Delisle at cegepsherbrooke.qc.ca
Sat May 5 13:11:46 CEST 2007
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
More information about the Developers
mailing list