Project

General

Profile

« Previous | Next » 

Revision 1157

Added by Dietmar over 14 years ago

Ticket #770, #785, #792, #807, #809, fixes and recoded the news module

View differences:

modify_comment.php
46 46

  
47 47
<form name="modify" action="<?php echo WB_URL; ?>/modules/news/save_comment.php" method="post" style="margin: 0;">
48 48

  
49
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>">
50
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>">
51
<input type="hidden" name="post_id" value="<?php echo $fetch_content['post_id']; ?>">
52
<input type="hidden" name="comment_id" value="<?php echo $comment_id; ?>">
49
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>" />
50
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>" />
51
<input type="hidden" name="post_id" value="<?php echo $fetch_content['post_id']; ?>" />
52
<input type="hidden" name="comment_id" value="<?php echo $comment_id; ?>" />
53 53

  
54 54
<table class="row_a" cellpadding="2" cellspacing="0" border="0" width="100%">
55 55
<tr>
......
69 69
<table cellpadding="0" cellspacing="0" border="0" width="100%">
70 70
<tr>
71 71
	<td align="left">
72
		<input name="save" type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;"></form>
72
		<input name="save" type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;" />
73 73
	</td>
74 74
	<td align="right">
75
		<input type="button" value="<?php echo $TEXT['CANCEL']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $fetch_content['post_id']; ?>';" style="width: 100px; margin-top: 5px;" />
75
		<input type="button" value="<?php echo $TEXT['CANCEL']; ?>" onclick="javascript: window.location = '<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&amp;section_id=<?php echo $section_id; ?>&amp;post_id=<?php echo $fetch_content['post_id']; ?>';" style="width: 100px; margin-top: 5px;" />
76 76
	</td>
77 77
</tr>
78 78
</table>
79
</form>
79 80

  
80

  
81 81
<?php
82 82

  
83 83
// Print admin footer

Also available in: Unified diff