Fix a javascript error that was breaking IE, and localize

ADD_A_COMMENT otherwise ui.init.js bombs.

Signed-off-by:  <unostar@danalan.info>
This commit is contained in:
Bharat Mediratta
2009-06-20 09:40:58 +08:00
committed by
parent 99c780fd76
commit 73a34bdff3
+4 -1
View File
@@ -25,7 +25,7 @@
},
controls: {
autoHide: 'always',
hideDelay: 2000,
hideDelay: 2000
}
}
})
@@ -36,5 +36,8 @@
<div><?= p::clean($item->description) ?></div>
</div>
<script type="text/javascript">
var ADD_A_COMMENT = "<?= t("Add a comment") ?>";
</script>
<?= $theme->photo_bottom() ?>
</div>