diff options
author | xue <> | 2006-06-13 02:13:21 +0000 |
---|---|---|
committer | xue <> | 2006-06-13 02:13:21 +0000 |
commit | 469fe68e8a08330cb0ed8b56f758bee8d7c9445e (patch) | |
tree | 39dd5670f58f4f284fdab8be3a951ba4df94824d /demos/quickstart/protected/comments/CommentList.tpl | |
parent | 6e275c7db5cbbf1bf0331bbaf60f3b3ec612c3a7 (diff) |
Merge from 3.0 branch till 1156.
Diffstat (limited to 'demos/quickstart/protected/comments/CommentList.tpl')
-rw-r--r-- | demos/quickstart/protected/comments/CommentList.tpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/quickstart/protected/comments/CommentList.tpl b/demos/quickstart/protected/comments/CommentList.tpl index ef74316a..06cddd1e 100644 --- a/demos/quickstart/protected/comments/CommentList.tpl +++ b/demos/quickstart/protected/comments/CommentList.tpl @@ -3,7 +3,10 @@ <com:TRepeater ID="comments"> <prop:HeaderTemplate> <h2 class="comment_header">Comments - <span style="font-size:0.8em">( <a href="#add_comments">Add your comments</a> )</span></h2> + <com:TPlaceHolder Visible=<%$ enableNewComment %> > + <span style="font-size:0.8em">( <a href="#add_comments">Add your comments</a> )</span> + </com:TPlaceHolder> + </h2> </prop:HeaderTemplate> <prop:ItemTemplate> <div class="comment_item comment_item<%# $this->ItemIndex%2 %>"> @@ -25,7 +28,7 @@ </prop:ItemTemplate> </com:TRepeater> -<com:TMultiView ID="multiView1" ActiveViewIndex="0"> +<com:TMultiView ID="multiView1" ActiveViewIndex="0" Visible=<%$ enableNewComment %> > <com:TView ID="view1"> <div id="add_comments" class="add_comments"> <h3>Post a comment</h3> |