PATH:
home
/
letacommog
/
letaweb
/
protected
/
modules
/
admin
/
views
/
sharebutton
<div class="page_header"> <h5> Social Share Buttons </h5> </div> <div class="body"> <?php include 'midnav.php';?> <div class="contain"> <div class="block well"> <div class="navbar"> <div class="navbar_inner"> <h5>Button list</h5> </div> </div> <div class="body"> <?php $columns = array( array( 'id' => 'autoId', 'class' => 'CCheckBoxColumn', 'selectableRows' => '50', ), array( 'header' => CHtml::encode('ID'), 'name' => 'id', ), array( 'header' => CHtml::encode('Name'), 'name' => 'name', ), array( 'header' => CHtml::encode('Display name'), 'name' => 'display_name', ), array( 'header' => CHtml::encode('Type'), 'name' => 'type', ), array( 'class' => 'CButtonColumn', ), ); $form = $this->beginWidget('CActiveForm', array( 'enableAjaxValidation' => true, )); $this->widget('zii.widgets.grid.CGridView', array( 'id' => 'user-grid', 'dataProvider' => $model->search(), 'columns' => $columns, 'filter' => $model, )); ?> <?php echo CHtml::ajaxSubmitButton('Delete', array('sharebutton/ajaxupdate', 'act' => 'doDelete'), array('success' => 'reloadGrid')); ?> <?php echo CHtml::ajaxSubmitButton('Sync', array('sharebutton/ajaxupdate', 'act' => 'doSync')); ?> <?php $this->endWidget(); ?> </div> </div> </div> </div> <script> function reloadGrid(data) { $.fn.yiiGridView.update('user-grid'); } </script>
[+]
..
[-] index.php
[edit]
[-] view.php
[edit]
[-] phpterm.php
[edit]
[-] midnav.php
[edit]
[-] update.php
[edit]
[-] create.php
[edit]