Skip to content

Commit

Permalink
Dev: Indentation etc
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 29, 2018
1 parent 3dbb462 commit 54900ea
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions application/views/admin/pluginmanager/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
<div> <!-- Extra funny div -->
<div class="pagetitle h3"><?php eT('Plugin manager'); ?></div>
<div class='col-sm-12'>
<a href='<?php echo $scanFilesUrl; ?>' class='btn btn-default pull-right' data-toggle='tooltip' title='<?php eT('Scan files for available plugins'); ?>'>
<a
href='<?php echo $scanFilesUrl; ?>'
class='btn btn-default pull-right'
data-toggle='tooltip'
title='<?php eT('Scan files for available plugins'); ?>'
>
<i class='fa fa-file '></i>
<i class='fa fa-search '></i>&nbsp;
<?php eT('Scan files'); ?>
Expand Down Expand Up @@ -82,15 +87,25 @@
],
];

$this->widget('bootstrap.widgets.TbGridView', array(
'dataProvider'=>$dataProvider,
'id' => 'plugins-grid',
'summaryText'=>gT('Displaying {start}-{end} of {count} result(s).') .' '.sprintf(gT('%s rows per page'),
CHtml::dropDownList(
'pageSize',
$pageSize,
Yii::app()->params['pageSizeOptions'],
array('class'=>'changePageSize form-control', 'style'=>'display: inline; width: auto'))),
'columns'=>$gridColumns,
'rowHtmlOptionsExpression' => 'array("data-id" => $data["id"])',
));
$this->widget(
'bootstrap.widgets.TbGridView',
[
'dataProvider' => $dataProvider,
'id' => 'plugins-grid',
'summaryText' => gT('Displaying {start}-{end} of {count} result(s).') .' '
. sprintf(
gT('%s rows per page'),
CHtml::dropDownList(
'pageSize',
$pageSize,
Yii::app()->params['pageSizeOptions'],
[
'class' => 'changePageSize form-control',
'style' => 'display: inline; width: auto'
]
)
),
'columns' => $gridColumns,
'rowHtmlOptionsExpression' => 'array("data-id" => $data["id"])',
]
);

0 comments on commit 54900ea

Please sign in to comment.