Radio Switch buttons NEW
Radio Switch buttons.
HIDE CODE
<?php $xcrud = Xcrud::get_instance(); $xcrud->table('gallery'); $xcrud->change_type('image', 'image', false, array( 'width' => 450, 'path' => '../uploads/gallery', 'thumbs' => array(array( 'height' => 55, 'width' => 120, 'crop' => true, 'marker' => '_th')))); $xcrud->column_callback("active","getStatusSwitchRadio_Gallery"); $xcrud->create_action("deactivate_gallery","deactivate_gallery"); $xcrud->create_action("activate_gallery","activate_gallery"); echo $xcrud->render(); ?>
Gallery
# | Image | Title | Description | Active | |
---|---|---|---|---|---|
1 | Qunc congue facilisis bibendum. Fusce mollis elit | Nunc congue facilisis bibendum. Fusce mollis elit | View Edit Remove | ||
2 | Cras quis quam quis est interdum suscipit. Ut | Donec augue massa, vehicula et lacinia nec, | View Edit Remove | ||
3 | Duis elementum facilisis massa quis rhoncus. | Fusce accumsan, odio ut placerat congue, mauris | View Edit Remove |