mingle-forum-hacked/fs-admin/wpf-add-usergroup.php

33 lines
1.1 KiB
PHP

<?php
if(function_exists('home_url'))
{
/************************ wpf-add-usergroup.php ************************************/
$image = WPFURL."images/user.png";
echo "<div class='wrap'> <h2>";
echo "<h2><img src='$image'>".__("Add User Group", "mingleforum")."</h2>";
echo '<form id="usergroupadd" name="usergroupadd" method="post" action="">';
if (function_exists('wp_nonce_field'))
wp_nonce_field('mingleforum-add_usergroup');
echo "<table class='widefat'>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tr class='alternate'>
<td><input type='text' value='' name='group_name' /></td>
<td><input type='text' value='' name='group_description' /></td>
</tr>
<tr class='alternate'>
<td colspan='2'><input class='button' type='submit' name='add_usergroup' value='".__("Save user group", "mingleforum")."'/></td>
</tr>
</table></form>
</div>";
/*********************************************************************/
}
else
{
echo '<p>Nice TRY!</p>';
}