?> <tr id="filter-row-<?php echo $name; ?> " class="draggable <?php echo Text::alternate("odd", "even"); ?> "> <td> <?php echo __(':title', array(':title' => HTML::chars($filter->title))); ?> </td> <td class="tabledrag-hide" > <?php echo Form::weight('filters[' . $name . '][weight]', 0, array('class' => 'filter-order-weight')); ?> </td> <td> <?php $n_status = in_array($name, array_keys($enabled_filters)) ? TRUE : FALSE; echo Form::checkbox('filters[' . $name . '][status]', $n_status, $n_status); ?> </td> <?php echo Form::hidden('filters[' . $name . '][name]', $name); ?> </tr> <?php } ?>
<td class="widget" id="widget-<?php echo $widget->id; ?> "> <?php echo Text::plain($widget->title); ?> </td> <td> <?php echo Form::select('widgets[' . $widget->name . '][region]', $widget_regions, $widget->region, array('class' => 'form-control input-sm widget-region-select widget-region-' . $region)); ?> </td> <td class="tabledrag-hide" > <?php echo Form::weight('widgets[' . $widget->name . '][weight]', $widget->weight, array('class' => 'row-weight widget-weight-' . $region), $weight_delta); echo Form::hidden('widgets[' . $widget->name . '][id]', $widget->id); ?> </td> <td class="action"> <?php echo HTML::anchor($widget->edit_url, '<i class="fa fa-cog"></i>', array('class' => 'action-edit', 'title' => __('Configure'))); if ($static) { echo HTML::anchor(Route::get('admin/widget')->uri(array('action' => 'delete', 'id' => $widget->id)), ' <i class="fa fa-trash-o"></i>', array('class' => 'action-delete', 'title' => __('Delete'))); } unset($static); ?> </td> </tr> <?php }
<td id="term-<?php echo $item['id']; ?> "> <?php $c = 2; while ($c < $item['lvl']) { echo '<div class="indentation"> </div>'; $c++; } echo HTML::chars($item['name']); ?> </td> <td class="tabledrag-hide"> <?php echo Form::weight('tid:' . $item['id'] . '[weight]', 0, array('class' => 'row-weight')); ?> <?php echo Form::hidden('tid:' . $item['id'] . '[pid]', $item['pid'], array('class' => 'row-parent')); ?> <?php echo Form::hidden('tid:' . $item['id'] . '[tid]', $item['id'], array('class' => 'row-id')); ?> <?php echo Form::hidden('tid:' . $item['id'] . '[depth]', $item['lvl'], array('class' => 'term-depth')); ?> </td> <td> <p class="text text-muted"> <?php echo Text::plain($item['description']); ?>
?> " class="draggable"> <td id="text-format-<?php echo $id; ?> "> <?php echo $format['name']; ?> </td> <td> <?php echo $format['roles']; ?> </td> <td class="tabledrag-hide"> <?php echo Form::weight('formats[' . $id . '][weight]', $format['weight'], array('class' => 'row-weight text-format-order-weight')); ?> </td> <td class="action"> <?php $route_param = array('id' => $id, 'action' => 'configure'); echo HTML::anchor(Route::get('admin/format')->uri($route_param), '<i class="fa fa-cog"></i>', array('class' => 'action-list', 'title' => __('Configure'))); ?> </td> </tr> <?php } ?> </table>