<script type="text/javascript" src="$baseurl/js/main.js" ></script>
<script>
+ var updateInterval = $update_interval;
+
function confirmDelete() { return confirm("$delitem"); }
function commentOpen(obj,id) {
if(obj.value == '$comment') {
}
}
+ function showHideComments(id) {
+ if( $('#collapsed-comments-' + id).is(':visible')) {
+ $('#collapsed-comments-' + id).hide();
+ $('#hide-comments-' + id).html('$showmore');
+ }
+ else {
+ $('#collapsed-comments-' + id).show();
+ $('#hide-comments-' + id).html('$showfewer');
+ }
+ }
+
+
</script>