From 5ad2a135209d63d3d679aa1fb293c8e76c4180e2 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Thu, 24 Nov 2011 08:39:58 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9heihe=20view=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E8=AF=84=E8=AE=BA=E4=B8=BAajax=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/heihe/view.phtml | 41 ++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/application/default/views/scripts/heihe/view.phtml b/application/default/views/scripts/heihe/view.phtml index 89063a6f..7b8ec54a 100755 --- a/application/default/views/scripts/heihe/view.phtml +++ b/application/default/views/scripts/heihe/view.phtml @@ -268,7 +268,43 @@ endforeach;

数据评论

-commentForm; ?> +hasIdentity()) +{ + $user = $auth->getIdentity(); + $name = $user->realname; + $email = $user->email; +}else +{ + $name = ""; + $email = ""; +} +?> +
+

+ + +

+

+ + +

+

+ + e.g. http://westdc.westgis.ac.cn/ +

+

+ + +

+

+ + + + 提交 +

+