punbb/admin_forums.php
changeset 3 c0c445d4a13e
parent 2 a8a21e1c7afa
--- a/punbb/admin_forums.php	Thu Jul 12 01:04:01 2007 -0400
+++ b/punbb/admin_forums.php	Thu Jul 12 15:00:35 2007 -0400
@@ -110,7 +110,7 @@
 	<div class="blockform">
 		<h2><span>Confirm delete forum</span></h2>
 		<div class="box">
-			<form method="post" action="admin_forums.php?del_forum=<?php echo $forum_id ?>">
+			<form method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'del_forum=' . $forum_id, true); ?>">
 				<div class="inform">
 					<fieldset>
 						<legend>Important! Read before deleting</legend>
@@ -247,7 +247,7 @@
 	<div class="blockform">
 		<h2><span>Edit forum</span></h2>
 		<div class="box">
-			<form id="edit_forum" method="post" action="admin_forums.php?edit_forum=<?php echo $forum_id ?>">
+			<form id="edit_forum" method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'edit_forum=' . $forum_id, true); ?>">
 				<p class="submittop"><input type="submit" name="save" value="Save changes" tabindex="6" /></p>
 				<div class="inform">
 					<fieldset>
@@ -375,7 +375,7 @@
 	<div class="blockform">
 		<h2><span>Add forum</span></h2>
 		<div class="box">
-			<form method="post" action="admin_forums.php?action=adddel">
+			<form method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'action=adddel', true); ?>">
 				<div class="inform">
 					<fieldset>
 						<legend>Create a new forum</legend>
@@ -405,7 +405,7 @@
 
 		<h2 class="block2"><span>Edit forums</span></h2>
 		<div class="box">
-			<form id="edforum" method="post" action="admin_forums.php?action=edit">
+			<form id="edforum" method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_forums', 'action=edit', true); ?>">
 				<p class="submittop"><input type="submit" name="update_positions" value="Update positions" tabindex="3" /></p>
 <?php
 
@@ -435,7 +435,7 @@
 
 ?>
 								<tr>
-									<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>
+									<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>
 									<td>Position&nbsp;&nbsp;<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 ?>" />
 									&nbsp;&nbsp;<strong><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></strong></td>
 								</tr>