fix show-stopping bugs

This commit is contained in:
Zach Prezkuta
2013-01-06 19:34:54 -07:00
parent 4281a95cbc
commit b4a95460e6
31 changed files with 46 additions and 426 deletions

View File

@@ -56,7 +56,7 @@ function fbrowser_content($a){
$types = Photo::supportedTypes();
$ext = $types[$rr['type']];
if($a->theme['template_engine'] === 'internal') {
if($a->get_template_engine() === 'internal') {
$filename_e = template_escape($rr['filename']);
}
else {
@@ -93,7 +93,7 @@ function fbrowser_content($a){
list($m1,$m2) = explode("/",$rr['filetype']);
$filetype = ( (file_exists("images/icons/$m1.png"))?$m1:"zip");
if($a->theme['template_engine'] === 'internal') {
if($a->get_template_engine() === 'internal') {
$filename_e = template_escape($rr['filename']);
}
else {