Initial commit
This commit is contained in:
42
#pma/templates/server/engines/engine.phtml
Normal file
42
#pma/templates/server/engines/engine.phtml
Normal file
@ -0,0 +1,42 @@
|
||||
<h2>
|
||||
<?= \PMA\libraries\Util::getImage('b_engine.png'),
|
||||
' ', htmlspecialchars($title),
|
||||
' ', \PMA\libraries\Util::showMySQLDocu($helpPage); ?>
|
||||
</h2>
|
||||
<p>
|
||||
<em>
|
||||
<?= htmlspecialchars($comment); ?>
|
||||
</em>
|
||||
</p>
|
||||
<?php if (! empty($infoPages) && is_array($infoPages)): ?>
|
||||
<p>
|
||||
<strong>[</strong>
|
||||
<?php if (empty($_REQUEST['page'])): ?>
|
||||
<strong><?= __('Variables'); ?></strong>
|
||||
<?php else: ?>
|
||||
<a href="server_engines.php<?= PMA_URL_getCommon(array('engine' => $_REQUEST['engine'])); ?>">
|
||||
<?= __('Variables'); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php foreach ($infoPages as $current => $label): ?>
|
||||
<strong>|</strong>
|
||||
<?php if (isset($_REQUEST['page']) && $_REQUEST['page'] == $current): ?>
|
||||
<strong><?= htmlspecialchars($label); ?></strong>
|
||||
<?php else: ?>
|
||||
<a href="server_engines.php<?= PMA_URL_getCommon(array('engine' => $_REQUEST['engine'], 'page' => $current)); ?>">
|
||||
<?= htmlspecialchars($label); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<strong>]</strong>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (! empty($pageOutput)): ?>
|
||||
<?= $pageOutput; ?>
|
||||
<?php else: ?>
|
||||
<p>
|
||||
<?= $support; ?>
|
||||
</p>
|
||||
<?= $variables; ?>
|
||||
<?php endif; ?>
|
25
#pma/templates/server/engines/engines.phtml
Normal file
25
#pma/templates/server/engines/engines.phtml
Normal file
@ -0,0 +1,25 @@
|
||||
<table class="noclick">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= __('Storage Engine'); ?></th>
|
||||
<th><?= __('Description'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $odd_row = true; ?>
|
||||
<?php foreach ($engines as $engine => $details): ?>
|
||||
<tr class="
|
||||
<?= $odd_row ? 'odd' : 'even'; ?>
|
||||
<?= $details['Support'] == 'NO' || $details['Support'] == 'DISABLED' ? ' disabled' : ''; ?>
|
||||
<?= $details['Support'] == 'DEFAULT' ? ' marked' : ''; ?>">
|
||||
<td>
|
||||
<a rel="newpage" href="server_engines.php<?= PMA_URL_getCommon(array('engine' => $engine)); ?>">
|
||||
<?= htmlspecialchars($details['Engine']); ?>
|
||||
</a>
|
||||
</td>
|
||||
<td><?= htmlspecialchars($details['Comment']); ?></td>
|
||||
</tr>
|
||||
<?php $odd_row = !$odd_row; ?>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
Reference in New Issue
Block a user