1
0
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:
CaMer0n
2012-06-16 12:41:30 +00:00
parent 3c37643365
commit d778c98a38
7 changed files with 156 additions and 35 deletions

View File

@@ -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>