Revision 1289
Added by kweitzel over 15 years ago
| modify_comment.php | ||
|---|---|---|
| 1 | 1 |
<?php |
| 2 |
/** |
|
| 3 |
* |
|
| 4 |
* @category modules |
|
| 5 |
* @package news |
|
| 6 |
* @author WebsiteBaker Project |
|
| 7 |
* @copyright 2004-2009, Ryan Djurovich |
|
| 8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
| 9 |
* @link http://www.websitebaker2.org/ |
|
| 10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
| 11 |
* @platform WebsiteBaker 2.8.x |
|
| 12 |
* @requirements PHP 4.3.4 and higher |
|
| 13 |
* @version $Id$ |
|
| 14 |
* @filesource $HeadURL$ |
|
| 15 |
* @lastmodified $Date$ |
|
| 16 |
* |
|
| 17 |
*/ |
|
| 2 | 18 |
|
| 3 |
// $Id$ |
|
| 4 |
|
|
| 5 |
/* |
|
| 6 |
|
|
| 7 |
Website Baker Project <http://www.websitebaker.org/> |
|
| 8 |
Copyright (C) 2004-2009, Ryan Djurovich |
|
| 9 |
|
|
| 10 |
Website Baker is free software; you can redistribute it and/or modify |
|
| 11 |
it under the terms of the GNU General Public License as published by |
|
| 12 |
the Free Software Foundation; either version 2 of the License, or |
|
| 13 |
(at your option) any later version. |
|
| 14 |
|
|
| 15 |
Website Baker is distributed in the hope that it will be useful, |
|
| 16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 18 |
GNU General Public License for more details. |
|
| 19 |
|
|
| 20 |
You should have received a copy of the GNU General Public License |
|
| 21 |
along with Website Baker; if not, write to the Free Software |
|
| 22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
|
|
| 24 |
*/ |
|
| 25 |
|
|
| 26 | 19 |
require('../../config.php');
|
| 27 | 20 |
|
| 28 | 21 |
// Get id |
| ... | ... | |
| 46 | 39 |
|
| 47 | 40 |
<form name="modify" action="<?php echo WB_URL; ?>/modules/news/save_comment.php" method="post" style="margin: 0;"> |
| 48 | 41 |
|
| 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; ?>"> |
|
| 42 |
<input type="hidden" name="section_id" value="<?php echo $section_id; ?>" />
|
|
| 43 |
<input type="hidden" name="page_id" value="<?php echo $page_id; ?>" />
|
|
| 44 |
<input type="hidden" name="post_id" value="<?php echo $fetch_content['post_id']; ?>" />
|
|
| 45 |
<input type="hidden" name="comment_id" value="<?php echo $comment_id; ?>" />
|
|
| 53 | 46 |
|
| 54 | 47 |
<table class="row_a" cellpadding="2" cellspacing="0" border="0" width="100%"> |
| 55 | 48 |
<tr> |
| ... | ... | |
| 69 | 62 |
<table cellpadding="0" cellspacing="0" border="0" width="100%"> |
| 70 | 63 |
<tr> |
| 71 | 64 |
<td align="left"> |
| 72 |
<input name="save" type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;"></form>
|
|
| 65 |
<input name="save" type="submit" value="<?php echo $TEXT['SAVE']; ?>" style="width: 100px; margin-top: 5px;" />
|
|
| 73 | 66 |
</td> |
| 74 | 67 |
<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; ?>§ion_id=<?php echo $section_id; ?>&post_id=<?php echo $fetch_content['post_id']; ?>';" style="width: 100px; margin-top: 5px;" />
|
|
| 68 |
<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;" />
|
|
| 76 | 69 |
</td> |
| 77 | 70 |
</tr> |
| 78 | 71 |
</table> |
| 72 |
</form> |
|
| 79 | 73 |
|
| 80 |
|
|
| 81 | 74 |
<?php |
| 82 | 75 |
|
| 83 | 76 |
// Print admin footer |
| 84 | 77 | |
Also available in: Unified diff
Branch 2.8.1 merged back into Trunk