CSS Assistant
for osCommerce Online Merchant v2.2
This add-on is register_globals compatible
This contribution is really a part of a larger project I am working on but I thought you may find it fun so here it is.
[b]What is it/What does it do?[/b]
With one click examine any oscommerce file and see what css styles they are using.
By css styles I mean classes - ids - styles.
After selecting a file you will get a report with (possibly dependent on the file) 3 reports ..
1) Every class and id used by the file is shown and below it the css property values from stylesheet.css
2) Every class or id used in the file that does not have an entry in stylesheet.css is itemised
3) Every style hardcoded into the file is listed with its value like <td style="color: black">
No database queries.
[b]Installation[/b]
Nothing simpler just drop the file (cssassistant.php) into catalog root and call it directly www.mysite.com/cssassistant.php
Support topic: http://forums.oscommerce.com/index.php?showtopic=305307
Legend: 
Download

Report
Integrated CSS Assistant into the admin panel under the Tools box.
Added support for admin files. (not site wide search)
Tidied up the regex for the style="" search.
Simple installation and upgrade.
version 1.1.0
How to Upgrade:
It's a tough one this, delete the old file upload the new.
Changelog:
Added $_POST token to guard against offsite scripting
Added checks for the unwanted ../ filepath
Improved matching now infoBox wont return infoBoxHeading
Powerful new feature:
CSS Property Finder
Search over 100 oscommerce files in a second .. example ...
You need to find which oscommerce files are affected by the CSS class property smallText.
Put smallText in the input box .. press go ..
A second later you will have a list of all files containing that particular property.
This contribution is really a part of a larger project I am working on but I thought you may find it fun so here it is.
[b]What is it/What does it do?[/b]
With one click examine any oscommerce file and see what css styles they are using.
By css styles I mean classes - ids - styles.
After selecting a file you will get a report with (possibly dependent on the file) 3 reports ..
1) Every class and id used by the file is shown and below it the css property values from stylesheet.css
2) Every class or id used in the file that does not have an entry in stylesheet.css is itemised
3) Every style hardcoded into the file is listed with its value like <td style="color: black">
No database queries.
[b]Installation[/b]
Nothing simpler just drop the file (cssassistant.php) into catalog root and call it directly www.mysite.com/cssassistant.php
Support topic: http://forums.oscommerce.com/index.php?showtopic=305307