Skip to content

Commit

Permalink
Показ плагинов авторизации в админке.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiy committed Aug 22, 2022
1 parent 457bb3e commit 46dabba
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion com_slogin/admin/views/settings/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,33 @@
</div>
</div>
<div>

<div class="<?php echo $class; ?>">
<h2><?php echo JText::_('COM_SLOGIN_AUTH_PLUGINS'); ?></h2>
<table class="table">
<thead>
<tr>
<th>#</th>
<th><?php echo JText::_('COM_SLOGIN_PLUGIN_NAME'); ?></th>
<th><?php echo JText::_('COM_SLOGIN_PLUGIN_PUBLISHED'); ?></th>
<th><?php echo JText::_('COM_SLOGIN_PLUGIN_SET'); ?></th>
</tr>
</thead>
<tbody>
<?php $i = 1; foreach($this->authPlugins as $plugin) : ?>
<tr>
<td><?php echo $i ?></td>
<td>
<a target="_blank" href="<?php echo JRoute::_('index.php?option=com_plugins&view=plugin&layout=edit&extension_id='.$plugin->extension_id); ?>">
<?php echo $plugin->name ?>
</a>
</td>
<td><?php echo $plugin->enabled ? JText::_('JYES') : JText::_('JNO'); ?></td>
<td><?php echo $plugin->set ? JText::_('JYES') : JText::_('JNO'); ?></td>
</tr>
<?php $i++; endforeach; ?>
</tbody>
</table>
</div>
<div class="<?php echo $class; ?>">
<h2><?php echo JText::_('COM_SLOGIN_INTEGRATION_PLUGINS'); ?></h2>
<table class="table">
Expand Down

0 comments on commit 46dabba

Please sign in to comment.