equal
deleted
inserted
replaced
108 |
108 |
109 ?> |
109 ?> |
110 <div class="blockform"> |
110 <div class="blockform"> |
111 <h2><span>Confirm delete forum</span></h2> |
111 <h2><span>Confirm delete forum</span></h2> |
112 <div class="box"> |
112 <div class="box"> |
113 <form method="post" action="admin_forums.php?del_forum=<?php echo $forum_id ?>"> |
113 <form method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'del_forum=' . $forum_id, true); ?>"> |
114 <div class="inform"> |
114 <div class="inform"> |
115 <fieldset> |
115 <fieldset> |
116 <legend>Important! Read before deleting</legend> |
116 <legend>Important! Read before deleting</legend> |
117 <div class="infldset"> |
117 <div class="infldset"> |
118 <p>Are you sure that you want to delete the forum "<?php echo $forum_name ?>"?</p> |
118 <p>Are you sure that you want to delete the forum "<?php echo $forum_name ?>"?</p> |
245 |
245 |
246 ?> |
246 ?> |
247 <div class="blockform"> |
247 <div class="blockform"> |
248 <h2><span>Edit forum</span></h2> |
248 <h2><span>Edit forum</span></h2> |
249 <div class="box"> |
249 <div class="box"> |
250 <form id="edit_forum" method="post" action="admin_forums.php?edit_forum=<?php echo $forum_id ?>"> |
250 <form id="edit_forum" method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'edit_forum=' . $forum_id, true); ?>"> |
251 <p class="submittop"><input type="submit" name="save" value="Save changes" tabindex="6" /></p> |
251 <p class="submittop"><input type="submit" name="save" value="Save changes" tabindex="6" /></p> |
252 <div class="inform"> |
252 <div class="inform"> |
253 <fieldset> |
253 <fieldset> |
254 <legend>Edit forum details</legend> |
254 <legend>Edit forum details</legend> |
255 <div class="infldset"> |
255 <div class="infldset"> |
373 |
373 |
374 ?> |
374 ?> |
375 <div class="blockform"> |
375 <div class="blockform"> |
376 <h2><span>Add forum</span></h2> |
376 <h2><span>Add forum</span></h2> |
377 <div class="box"> |
377 <div class="box"> |
378 <form method="post" action="admin_forums.php?action=adddel"> |
378 <form method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'action=adddel', true); ?>"> |
379 <div class="inform"> |
379 <div class="inform"> |
380 <fieldset> |
380 <fieldset> |
381 <legend>Create a new forum</legend> |
381 <legend>Create a new forum</legend> |
382 <div class="infldset"> |
382 <div class="infldset"> |
383 <table class="aligntop" cellspacing="0"> |
383 <table class="aligntop" cellspacing="0"> |
403 </form> |
403 </form> |
404 </div> |
404 </div> |
405 |
405 |
406 <h2 class="block2"><span>Edit forums</span></h2> |
406 <h2 class="block2"><span>Edit forums</span></h2> |
407 <div class="box"> |
407 <div class="box"> |
408 <form id="edforum" method="post" action="admin_forums.php?action=edit"> |
408 <form id="edforum" method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'action=edit', true); ?>"> |
409 <p class="submittop"><input type="submit" name="update_positions" value="Update positions" tabindex="3" /></p> |
409 <p class="submittop"><input type="submit" name="update_positions" value="Update positions" tabindex="3" /></p> |
410 <?php |
410 <?php |
411 |
411 |
412 $tabindex_count = 4; |
412 $tabindex_count = 4; |
413 |
413 |
433 $cur_category = $cur_forum['cid']; |
433 $cur_category = $cur_forum['cid']; |
434 } |
434 } |
435 |
435 |
436 ?> |
436 ?> |
437 <tr> |
437 <tr> |
438 <th><a href="admin_forums.php?edit_forum=<?php echo $cur_forum['fid'] ?>">Edit</a> - <a href="admin_forums.php?del_forum=<?php echo $cur_forum['fid'] ?>">Delete</a></th> |
438 <th><a href="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'edit_forum=' . $cur_forum['fid'], true); ?>">Edit</a> - <a href="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'del_forum=' . $cur_forum['fid'], true); ?>">Delete</a></th> |
439 <td>Position <input type="text" name="position[<?php echo $cur_forum['fid'] ?>]" size="3" maxlength="3" value="<?php echo $cur_forum['disp_position'] ?>" tabindex="<?php echo $tabindex_count ?>" /> |
439 <td>Position <input type="text" name="position[<?php echo $cur_forum['fid'] ?>]" size="3" maxlength="3" value="<?php echo $cur_forum['disp_position'] ?>" tabindex="<?php echo $tabindex_count ?>" /> |
440 <strong><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></strong></td> |
440 <strong><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></strong></td> |
441 </tr> |
441 </tr> |
442 <?php |
442 <?php |
443 |
443 |