Project

General

Profile

« Previous | Next » 

Revision 1458

Added by Dietmar over 13 years ago

Ticket 833 fixed markup for table cells in view.php
change themes.css to make style more flexible in success.htt and error.htt
backend themes: add js function redirect_to_page(url, timer) to redirect without message

View differences:

view.php
375 375
		}
376 376
	} else {
377 377
	    	$wb->print_error($MESSAGE['FRONTEND']['SORRY_NO_ACTIVE_SECTIONS'], 'view.php', false);
378
	    	exit(0);
379 378
	}
380 379

  
381 380
	// Print post header
......
420 419
		} else {
421 420
			// Say no comments found
422 421
			$content = '';
423
			if(isset($TEXT['NONE_FOUND'])) {
424
				$content .= '<tr><td>'.$TEXT['NONE_FOUND'].'<br /></td></tr>';
425
			} else {
426
				$content .= '<tr><td>None Found<br /></td></tr>';
427
			}
428
			print $content;
422
			$vars = array('[TITLE]','[COMMENT]','[TEXT_ON]','[DATE]','[TEXT_AT]','[TIME]','[TEXT_BY]','[USER_ID]','[USERNAME]','[DISPLAY_NAME]', '[EMAIL]');
423
			$values = array( '', $MOD_NEWS['NO_COMMENT_FOUND'], '', '', '', '', '', '', '', '');
424
			print str_replace($vars, $values, $setting_comments_loop);
429 425
		}
430 426

  
431 427
		// Print comments footer

Also available in: Unified diff