浏览代码

can no longer modify rank level, worded 2nd select option better

pull/16/head
mauirixxx 7 年前
父节点
当前提交
12c35bef11
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      includes/titleranks-add.php
  2. +1
    -1
      titlemanager.php

+ 1
- 1
includes/titleranks-add.php 查看文件

@@ -44,7 +44,7 @@ $stmtname->free_result();
$stmtname->close();

echo '<form action="titlemanager.php" method="post"><table border="1"><tr><th>Title Rank Name</th><th>Title Points</th><th>Rank Level</th></tr>';
echo '<tr><td><input type="text" name="titlerankname" required autofocus></td><td><input type="number" name="titlepoints" required></td><td><input type="number" name="titlerank" min="1" max="15" value="' . $tr . '"></tr>';
echo '<tr><td><input type="text" name="titlerankname" required autofocus></td><td><input type="number" name="titlepoints" required></td><td><input type="number" readonly name="titlerank" min="1" max="15" value="' . $tr . '"></tr>';
echo '</table><br /><input type="hidden" name="title" value="titleranksubmit"><input type="hidden" name="titlenameid" value="' . $_POST['tid'] . '"><input type="submit" value="Add title rank ..."></form>';

echo 'Here are the currently associated title ranks, starting with rank 1:<br />';


+ 1
- 1
titlemanager.php 查看文件

@@ -38,7 +38,7 @@ if ($_SESSION['admin'] == 1) {
echo 'Modify titles <form action="titlemanager.php" method="post"><input type="hidden" name="title" value="modtitle"><select name="tid" onchange="this.form.submit()"><option selected disabled>Select title</option>';
include ('includes/title-select.php');
echo '</select><noscript><input type="submit" value="Modify Title"></noscript></form><br /><br />';
echo 'Add title ranks and points to <form action="titlemanager" method="post"><input type="hidden" name="title" value="addsubtitle"><select name="tid" onchange="this.form.submit()"><option selected disabled>Select title</option>';
echo 'Add title ranks and points to <form action="titlemanager" method="post"><input type="hidden" name="title" value="addsubtitle"><select name="tid" onchange="this.form.submit()"><option selected disabled>Add title rank(s)</option>';
include ('includes/title-select.php');
echo '</select><noscript><input type="submit" value="Add title rank"></noscript></form><br />';
echo 'Edit / Delete subtitle & points (code goes here)<br /><br />';


正在加载...
取消
保存