Skip to content

Commit

Permalink
Dev: Add some buttons that do nothing yet
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 28, 2018
1 parent 850ec2a commit 19189d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 5 additions & 4 deletions application/views/admin/pluginmanager/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,12 @@
. "<span class='fa fa-power-off'></span>"
."</a>";
}

$output .= "
<a href='' data-toggle='tooltip' title='" . gT('Uninstall plugin') . "' class='btntooltip btn btn-danger btn-xs'><i class='fa fa-times-circle'></i></a>
";
}
if(count($data['settings'])>0)
{
$output .= "&nbsp;<a href='" . Yii::app()->createUrl('/admin/pluginmanager/sa/configure', array('id' => $data['id'])) . "' class='btn btn-default btn-xs'><span class='icon-edit'>&nbsp;</span>" . gT('Configure') . "</a>";
}

return $output;
}
),
Expand Down
5 changes: 5 additions & 0 deletions application/views/admin/pluginmanager/scanFilesResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
<i class='fa fa-exclamation-triangle text-warning'></i>&nbsp;
<span class='text-warning'><?php eT('Load error. Please contact the plugin author.'); ?></span>
<?php endif; ?>

<a href='' class='btn btn-danger' data-toggle='tooltip' title='<?php eT('Delete this plugin from the file system'); ?>'>
<i class='fa fa-trash'></i>&nbsp;
Delete files
</a>
</div>
<?php endforeach; ?>
</div>

0 comments on commit 19189d7

Please sign in to comment.