Initial commit
This commit is contained in:
11
#pma/templates/server/variables/link_template.phtml
Normal file
11
#pma/templates/server/variables/link_template.phtml
Normal file
@ -0,0 +1,11 @@
|
||||
<a style="display: none;" href="<?= $url; ?>" class="ajax saveLink">
|
||||
<?= \PMA\libraries\Util::getIcon('b_save.png', __('Save')); ?>
|
||||
</a>
|
||||
<a style="display: none;" href="#" class="cancelLink">
|
||||
<?= \PMA\libraries\Util::getIcon('b_close.png', __('Cancel')); ?>
|
||||
</a>
|
||||
<?= \PMA\libraries\Util::getImage(
|
||||
'b_help.png',
|
||||
__('Documentation'),
|
||||
array('style' => 'display:none', 'id' => 'docImage')
|
||||
) ?>
|
@ -0,0 +1,5 @@
|
||||
<tr class="var-row <?= $rowClass; ?>">
|
||||
<td class="var-action"></td>
|
||||
<td class="var-name session">(<?= __('Session value'); ?> )</td>
|
||||
<td class="var-value value"> <?= htmlspecialchars($value); ?></td>
|
||||
</tr>
|
9
#pma/templates/server/variables/variable_filter.phtml
Normal file
9
#pma/templates/server/variables/variable_filter.phtml
Normal file
@ -0,0 +1,9 @@
|
||||
<fieldset id="tableFilter">
|
||||
<legend><?= __('Filters'); ?></legend>
|
||||
<div class="formelement">
|
||||
<label for="filterText"><?= __('Containing the word:'); ?></label>
|
||||
<input name="filterText" type="text" id="filterText"
|
||||
style="vertical-align: baseline;"
|
||||
value="<?= htmlspecialchars($filterValue); ?>" />
|
||||
</div>
|
||||
</fieldset>
|
24
#pma/templates/server/variables/variable_row.phtml
Normal file
24
#pma/templates/server/variables/variable_row.phtml
Normal file
@ -0,0 +1,24 @@
|
||||
<tr class="var-row <?= $rowClass; ?>">
|
||||
<td class="var-action">
|
||||
<?php if ($editable): ?>
|
||||
<a href="#" data-variable="<?= htmlspecialchars($name) ?>" class="editLink"><?= \PMA\libraries\Util::getIcon('b_edit.png', __('Edit')) ?></a>
|
||||
<?php else: ?>
|
||||
<span title="<?= __('This is a read-only variable and can not be edited') ?>" class="read_only_var">
|
||||
<?= \PMA\libraries\Util::getIcon('bd_edit.png', __('Edit')) ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="var-name">
|
||||
<?php if ($docLink != null): ?>
|
||||
<span title="<?= htmlspecialchars(str_replace('_', ' ', $name)); ?>">
|
||||
<?= \PMA\libraries\Util::showMySQLDocu($docLink[1], false, $docLink[2] . '_' . $docLink[0], true)
|
||||
, htmlspecialchars(str_replace('_', ' ', $name))
|
||||
, '</a>'
|
||||
?>
|
||||
</span>
|
||||
<?php else: ?>
|
||||
<?= htmlspecialchars(str_replace('_', ' ', $name)); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="var-value value <?= ($isSuperuser ? ' editable' : '') ?>"> <?= htmlspecialchars($value); ?></td>
|
||||
</tr>
|
@ -0,0 +1,7 @@
|
||||
<thead>
|
||||
<tr class="var-header var-row">
|
||||
<td class="var-action"><?= __('Action'); ?></td>
|
||||
<td class="var-name"><?= __('Variable'); ?></td>
|
||||
<td class="var-value"><?= __('Session value'); ?> / <?= __('Global value'); ?></td>
|
||||
</tr>
|
||||
</thead>
|
Reference in New Issue
Block a user