mirror of
https://github.com/e107inc/e107.git
synced 2025-08-26 07:44:49 +02:00
Comment sort pref added. Ajax comment submission complete.
This commit is contained in:
@@ -1293,6 +1293,7 @@ $text .= "
|
||||
".$frm->radio_switch('nested_comments', $pref['nested_comments'], LAN_YES, LAN_NO)."
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='label'>".PRFLAN_90.": </td>
|
||||
<td class='control'>
|
||||
@@ -1318,6 +1319,18 @@ $text .= "
|
||||
".$frm->radio_switch('comments_moderate', $pref['comments_moderate'], LAN_YES, LAN_NO)."
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='label'>Comment Sorting: </td>
|
||||
<td class='control'>";
|
||||
|
||||
$comment_sort = array(
|
||||
"desc" => "Most recent comments first", //default //TODO LAN
|
||||
'asc' => "Most recent comments last"
|
||||
);
|
||||
|
||||
$text .= $frm->selectbox('comments_sort',$comment_sort, $pref['comments_moderate'])."
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user