2ab4398fcf
In order for themes to work, they must include all CSS, Javascript, and image assets that they use. This patch adds all CSS, Javascript, and images from the prog theme to ccsr, EXCEPT for the famfamfam image set, which needs to be moved outside of the theme directories, per bug 8624. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
11 lines
458 B
JavaScript
11 lines
458 B
JavaScript
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
|
|
function bt_verify_images() {
|
|
$("img").each(function(i){
|
|
if (this.src.indexOf('btol.com') >= 0) {
|
|
h = this.height;
|
|
if (h == 20) {
|
|
$(this).before("<span class=\"no-image\" style=\"margin-bottom:5px;width:80px;\">"+NO_BAKERTAYLOR_IMAGE+"</span>");
|
|
}
|
|
}
|
|
});
|
|
}
|