A new, object-oriented, better vesion of μForum
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

49 lines
1.4 KiB

<?php
if ($_GET['mode'] == 'admin')
require_once('./templates/admin/overall_header.tpl.php');
else
require_once('./templates/overall_header.tpl.php');
?>
<div id="content">
<?php if ($this->TPL['error_msg'] != '') { ?>
<div class="error_form">
<?php echo $this->TPL['error_msg']; ?>
</div>
<?php } ?>
<br><form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
<div class="forum_table">
<div class="row">
<div class="hc1">Overall configuration</div>
<div class="hc4">&nbsp;</div>
</div>
<div class="row">
<div class="tc1 lc">
Forum name:
</div>
<div class="tc4 rc">
<input type="text" maxlength="30" name="forum_name" id="forum_name" value="<?php echo $this->TPL['forum_name']; ?>" required pattern=".{3,}" required title="3 characters minimum">
</div>
</div>
<div class="row">
<div class="tc1 lc">
Forum description:
</div>
<div class="tc4 rc">
<input type="text" maxlength="50" name="forum_desc" id="forum_desc" value="<?php echo $this->TPL['forum_desc']; ?>">
</div>
</div>
<div class="row">
<div class="tc1 lc">
&nbsp;
</div>
<div class="tc4 rc">
<input type="submit" value="Save">
</div>
</div>
</div>
</form>
</div>
<?php require_once('./templates/overall_footer.tpl.php'); ?>