mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3269
This commit is contained in:
parent
140ae51258
commit
e730172d2d
|
@ -22,7 +22,7 @@ if ($_POST['submit']) {
|
|||
}
|
||||
|
||||
updatePost($post->id, $_POST['content']);
|
||||
if ($post->parent_post==0){
|
||||
if ($post->parent_post==0 and $thread->owner==$logged_in_user->id){
|
||||
updateThread($thread->id, $_POST['title']);
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ show_forum_title($forum, $thread, $category->is_helpdesk);
|
|||
echo "<form action=\"edit.php?id=", $post->id, "\" method=\"POST\">";
|
||||
|
||||
start_forum_table(array("Edit Your Post"), array(NULL), 2);
|
||||
if ($post->parent_post==0) {
|
||||
if ($post->parent_post==0 and $thread->owner==$logged_in_user->id) {
|
||||
//If this is the first post enable the user to change title
|
||||
echo "<tr>
|
||||
<td style=\"vertical-align:top\"><b>Thread title</b></td>
|
||||
|
|
Loading…
Reference in New Issue