Add entry, Edit Entry, and scripts>PageHeader changes

master
Rubenwardy 2012-08-26 11:26:23 +01:00
parent 518e31e10a
commit 423ae74e08
4 changed files with 9 additions and 50 deletions

View File

@ -14,7 +14,7 @@ Help: <a href="help/markup.php" target="_blank">Description Markup</a> - <a href
<form method="post" action="<?php echo curPageURL();?>">
<?php
if (is_member_moderator($_SESSION['user'])==true){
echo "<p><input type=\"text\" name=\"user\" value=\"{$_SESSION['user']}\"></p>";
echo "<p>Owner is: <input type=\"text\" name=\"user\" value=\"{$_SESSION['user']}\"></p>";
}
?>
<table width="100%">
@ -23,14 +23,14 @@ if (is_member_moderator($_SESSION['user'])==true){
<!--Mod Name and Version-->
<tr>
<td width="60%">Mod Name: <input type="text" size="50" name="mod_name" value="<?php echo $name;?>"></td>
<td width="40%">Version: <input type="text" size="30" name="mod_version" value="<?php echo $version;?>"></td>
<td width="60%">Mod Name:* <input type="text" size="50" name="mod_name" value="<?php echo $name;?>"></td>
<td width="40%">Version:* <input type="text" size="30" name="mod_version" value="<?php echo $version;?>"></td>
</tr>
<!--Description-->
<tr>
<td colspan="2">
<p><textarea name="mod_desc" cols="105" rows="15">
<p>*<Br /><textarea name="mod_desc" cols="105" rows="15">
<?php echo $desc;?>
</textarea></p>
</td>
@ -38,7 +38,7 @@ if (is_member_moderator($_SESSION['user'])==true){
<!--License and File-->
<tr>
<td>File URL: <input type="text" size="50" name="mod_file" value="<?php echo $file;?>"></td>
<td>File URL*: <input type="text" size="50" name="mod_file" value="<?php echo $file;?>"></td>
<td>License: <input type="text" size="30" name="mod_lic" value="<?php echo $license;?>"></td>
</tr>
@ -52,7 +52,7 @@ if (is_member_moderator($_SESSION['user'])==true){
<tr><td colspan="2"><br /><br /><center><b>Tags</b> Users use tags to search and find mods</center></td></tr>
<tr>
<td>
<td>*
<input type="radio" name="mod_tag_type" value="mod"> Mod
<input type="radio" name="mod_tag_type" value="mdpack"> Mod Pack
<input type="radio" name="mod_tag_type" value="texture"> Texture Pack

View File

@ -63,7 +63,8 @@ $basename=$row[11];
?>
?><br />
This form does not work yet<br />
Help: <a href="help/markup.php" target="_blank">Description Markup</a> - <a href="help/tags.php" target="_blank">Tags</a>
<hr />
<form method="post" action="<?php echo curPageURL();?>">

View File

@ -1,42 +0,0 @@
<html>
<head>
<title>MT Intaller - Rubenwardy</title>
</head>
<body>
<h1>MT Installer</h1>
Welcome to the MT Installer Offical Page.
<h1>Mod Selections</h1>
MT Installer automatically downloads and installs choosen mods for minetest.<br />
The user can either select the mods they want to install, or they can choose a ready made selection.
<p>A complete list of <a href="../forum">installer compatible mods</a></p>
<h2>Creative</h2>
For Building
<ul>
<li>3D Furniture</li>
<li>More Blocks</li>
<li>Wool</li>
<li>Home Decor</li>
</ul>
<h2>Explorer and Miner</h2>
<ul>
<li>Traps</li>
<li>Waking Light</li>
</ul>
<h2>Cutting Edge</h2>
Experiemental and CPU intensive.
<ul>
<li>Mesecons (Red Stone)</li>
<li>Carts (The new one)</li>
<li>Nuke</li>
</ul>
<h2></h2>
</body>
</html>

View File

@ -35,7 +35,7 @@ if (is_logged_in()){
echo "<a href=\"$serverpath/user.php\"><font color=\"#FFFFFF\"><u>User List</u></font></a>";
?></div>
<div style="position:relative;left:670px;top:80px;width:400px;">
<div style="position:relative;left:670px;top:70px;width:400px;">
<form method="get" action="<?php echo $serverpath;?>/search.php">
<input type="text" name="id"> <input type="submit" value="Search">
</form>