mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
fix some unset warnings
This commit is contained in:
parent
2a8ff51169
commit
6f1037f829
1 changed files with 5 additions and 1 deletions
|
@ -48,9 +48,11 @@
|
||||||
<label class="control-label">Character:</label>
|
<label class="control-label">Character:</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<select name="character_name">
|
<select name="character_name">
|
||||||
|
{if isset($hook_info.API_key_management.characters)}
|
||||||
{foreach from=$hook_info.API_key_management.characters item=element}
|
{foreach from=$hook_info.API_key_management.characters item=element}
|
||||||
<option value="{$element}">{$element}</option>
|
<option value="{$element}">{$element}</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
{/if}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -95,7 +97,7 @@
|
||||||
{if isset($hook_info.API_key_management['gen_key_validate']) and $hook_info.API_key_management['gen_key_validate'] eq 'false' }<div class="alert alert-error"><p>Please enter all the fields</p></div>{/if}
|
{if isset($hook_info.API_key_management['gen_key_validate']) and $hook_info.API_key_management['gen_key_validate'] eq 'false' }<div class="alert alert-error"><p>Please enter all the fields</p></div>{/if}
|
||||||
{if isset($smarty.get.success) and $smarty.get.success eq '1'}<div class="alert alert-error"><p>Key added successfully</p></div>{/if}
|
{if isset($smarty.get.success) and $smarty.get.success eq '1'}<div class="alert alert-error"><p>Key added successfully</p></div>{/if}
|
||||||
{if isset($smarty.get.success) and $smarty.get.success eq '2'}<div class="alert alert-error"><p>Key deleted successfully</p></div>{/if}
|
{if isset($smarty.get.success) and $smarty.get.success eq '2'}<div class="alert alert-error"><p>Key deleted successfully</p></div>{/if}
|
||||||
<center>
|
<br /><center>
|
||||||
<a href="index.php?page=layout_plugin&&name=API_key_management&&plugin_action=generate_key"><button class="btn btn-primary btn-large dropdown-toggle">Generate key</button></a>
|
<a href="index.php?page=layout_plugin&&name=API_key_management&&plugin_action=generate_key"><button class="btn btn-primary btn-large dropdown-toggle">Generate key</button></a>
|
||||||
</center>
|
</center>
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
|
@ -114,6 +116,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
{if isset($hook_info.API_key_management.api_keys)}
|
||||||
{foreach from=$hook_info.API_key_management.api_keys item=element}
|
{foreach from=$hook_info.API_key_management.api_keys item=element}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="center">{$element.FrName}</td>
|
<td class="center">{$element.FrName}</td>
|
||||||
|
@ -124,6 +127,7 @@
|
||||||
<td><a href="index.php?page=layout_plugin&&name={$arrkey}&&delete_id={$element.SNo}"><button class="btn btn-primary btn-large">Delete</button></a>
|
<td><a href="index.php?page=layout_plugin&&name={$arrkey}&&delete_id={$element.SNo}"><button class="btn btn-primary btn-large">Delete</button></a>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
{/if}
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue