punbb/admin_categories.php
changeset 3 c0c445d4a13e
parent 2 a8a21e1c7afa
equal deleted inserted replaced
2:a8a21e1c7afa 3:c0c445d4a13e
   113 
   113 
   114 ?>
   114 ?>
   115 	<div class="blockform">
   115 	<div class="blockform">
   116 		<h2><span>Category delete</span></h2>
   116 		<h2><span>Category delete</span></h2>
   117 		<div class="box">
   117 		<div class="box">
   118 			<form method="post" action="admin_categories.php">
   118 			<form method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_categories'); ?>">
   119 				<div class="inform">
   119 				<div class="inform">
   120 				<input type="hidden" name="cat_to_delete" value="<?php echo $cat_to_delete ?>" />
   120 				<input type="hidden" name="cat_to_delete" value="<?php echo $cat_to_delete ?>" />
   121 					<fieldset>
   121 					<fieldset>
   122 						<legend>Confirm delete category</legend>
   122 						<legend>Confirm delete category</legend>
   123 						<div class="infldset">
   123 						<div class="infldset">
   185 
   185 
   186 ?>
   186 ?>
   187 	<div class="blockform">
   187 	<div class="blockform">
   188 		<h2><span>Add/remove/edit categories</span></h2>
   188 		<h2><span>Add/remove/edit categories</span></h2>
   189 		<div class="box">
   189 		<div class="box">
   190 		<form method="post" action="admin_categories.php?action=foo">
   190 		<form method="post" action="<?php echo makeUrlNS('Special', 'Forum/Admin_categories', 'action=foo', true); ?>">
   191 			<div class="inform">
   191 			<div class="inform">
   192 				<fieldset>
   192 				<fieldset>
   193 					<legend>Add/delete categories</legend>
   193 					<legend>Add/delete categories</legend>
   194 					<div class="infldset">
   194 					<div class="infldset">
   195 						<table class="aligntop" cellspacing="0">
   195 						<table class="aligntop" cellspacing="0">
   196 							<tr>
   196 							<tr>
   197 								<th scope="row">Add a new category<div><input type="submit" name="add_cat" value="Add New" tabindex="2" /></div></th>
   197 								<th scope="row">Add a new category<div><input type="submit" name="add_cat" value="Add New" tabindex="2" /></div></th>
   198 								<td>
   198 								<td>
   199 									<input type="text" name="new_cat_name" size="35" maxlength="80" tabindex="1" />
   199 									<input type="text" name="new_cat_name" size="35" maxlength="80" tabindex="1" />
   200 									<span>The name of the new category you want to add. You can edit the name of the category later (see below).Go to <a href="admin_forums.php">Forums</a> to add forums to your new category.</span>
   200 									<span>The name of the new category you want to add. You can edit the name of the category later (see below). Go to <a href="<?php echo makeUrlNS('Special', 'Forum/Admin_forums'); ?>">Forums</a> to add forums to your new category.</span>
   201 								</td>
   201 								</td>
   202 							</tr>
   202 							</tr>
   203 <?php if ($num_cats): ?>							<tr>
   203 <?php if ($num_cats): ?>							<tr>
   204 								<th scope="row">Delete a category<div><input type="submit" name="del_cat" value="Delete" tabindex="4" /></div></th>
   204 								<th scope="row">Delete a category<div><input type="submit" name="del_cat" value="Delete" tabindex="4" /></div></th>
   205 								<td>
   205 								<td>