diff --git a/admin/panels/entry/admin.entry.commedit.php b/admin/panels/entry/admin.entry.commedit.php index fc5e93d..9180714 100644 --- a/admin/panels/entry/admin.entry.commedit.php +++ b/admin/panels/entry/admin.entry.commedit.php @@ -32,6 +32,7 @@ class admin_entry_commedit extends AdminPanelActionValidated { $comment = comment_parse($_REQUEST['entry'], $_REQUEST['comment']); if ($comment) { $this->smarty->assign('values', $comment); + $this->smarty->append('values', array('ip_address'=>$comment['ip-address']), true); } else return PANEL_REDIRECT_DEFAULT; diff --git a/admin/panels/entry/admin.entry.commedit.tpl b/admin/panels/entry/admin.entry.commedit.tpl index 27031fa..74b5f60 100644 --- a/admin/panels/entry/admin.entry.commedit.tpl +++ b/admin/panels/entry/admin.entry.commedit.tpl @@ -10,20 +10,40 @@
-
-
-
-
+