Changeset 3639:fe9f4d94f86b for admin/comment.php
- Timestamp:
- 12/29/17 14:17:26 (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comment.php
r3024 r3639 31 31 $status_combo = dcAdminCombos::getCommentStatusescombo(); 32 32 33 # Adding comment 33 # Adding comment (comming from post form, comments tab) 34 34 if (!empty($_POST['add']) && !empty($_POST['post_id'])) 35 35 { … … 59 59 60 60 dcPage::addSuccessNotice(__('Comment has been successfully created.')); 61 http::redirect($core->getPostAdminURL($rs->post_type,$rs->post_id,false).'&co=1');62 61 } catch (Exception $e) { 63 62 $core->error->add($e->getMessage()); 64 63 } 64 http::redirect($core->getPostAdminURL($rs->post_type,$rs->post_id,false).'&co=1'); 65 65 } 66 66 … … 218 218 '<h3>'.__('Comment submitted').'</h3>'. 219 219 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr>'.__('Author:').'</label>'. 220 form::field('comment_author',30,255,html::escapeHTML($comment_author) ).220 form::field('comment_author',30,255,html::escapeHTML($comment_author),'','',false,'required placeholder="'.__('Author').'"'). 221 221 '</p>'. 222 222
Note: See TracChangeset
for help on using the changeset viewer.