SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | - | echo $this->Js->link($this->Html->tag('i', '', array( |
2 | + | echo $this->Js->link( |
3 | - | 'class' => 'icon-ban-circle' |
3 | + | $this->Html->tag('i', '', array('class' => 'icon-ban-circle')), |
4 | - | )), array( |
4 | + | array( |
5 | - | 'action' => 'publish', |
5 | + | 'action' => 'publish', |
6 | - | $post['Post']['id'], |
6 | + | $post['Post']['id'], |
7 | - | '1' |
7 | + | '1'), |
8 | - | ), array( |
8 | + | array( |
9 | - | 'class' => 'btn btn-warning', |
9 | + | 'class' => 'btn btn-warning', |
10 | - | 'id' => $post['Post']['id'], |
10 | + | 'id' => $post['Post']['id'], |
11 | - | 'update' => '#link' . $post['Post']['id'], |
11 | + | 'update' => '#' . $post['Post']['id'], |
12 | - | 'escape' => false |
12 | + | 'escape' => false), |
13 | - | ), false); |
13 | + | false); |
14 | ?> |