質問編集履歴
1
コメントリンク表示画面 home.ctpのコードを編集しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,11 +66,47 @@
|
|
66
66
|
|
67
67
|
コメントリンク表示画面
|
68
68
|
|
69
|
+
<?php foreach ($posts as $post ):?>
|
70
|
+
|
71
|
+
<tr>
|
72
|
+
|
73
|
+
<td>
|
74
|
+
|
75
|
+
<?php echo $this->Html->link($post['Post']['title'],array('action'=>'view',$post['Post']['id']));?>
|
76
|
+
|
77
|
+
</td>
|
78
|
+
|
79
|
+
<td>
|
80
|
+
|
81
|
+
<?php echo ($post['Post']['message']);?>
|
82
|
+
|
83
|
+
</td>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<td>
|
88
|
+
|
69
|
-
<?php echo $this->Html->link('Comment',array('controller'=>'Comments',
|
89
|
+
<?php echo $this->Html->link('Comment',array('controller'=>'Comments',
|
70
90
|
|
71
91
|
'action'=>'comment',
|
72
92
|
|
73
93
|
$post['Post']['id']))?>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<!-- <?php echo $this->Html->link('Retweet',array('controller'=>'Retweets',
|
98
|
+
|
99
|
+
'action'=>'getTweet',
|
100
|
+
|
101
|
+
$post['Post']['id'],
|
102
|
+
|
103
|
+
$post['Post']['message']))?> -->
|
104
|
+
|
105
|
+
</td>
|
106
|
+
|
107
|
+
</tr>
|
108
|
+
|
109
|
+
|
74
110
|
|
75
111
|
コード
|
76
112
|
|