Domain management plugin updates

This commit is contained in:
botanic 2014-09-07 22:26:34 -07:00
parent 36cbfcbce8
commit 8c3dc770ec
4 changed files with 8 additions and 6 deletions

View file

@ -179,7 +179,7 @@ function domain_management_hook_get_db()
if (isset($_GET['edit_domain'])){
//get permissions
$statement = $db->executeWithoutParams("SELECT * FROM `permission` WHERE `ClientApplication` = '".$rows[$_GET['edit_domain']-1]['domain_name']."'");
$statement = $db->executeWithoutParams("SELECT * FROM `permission` WHERE `DomainId` = '".$rows[$_GET['edit_domain']-1]['domain_name']."'");
$rows = $statement->fetchAll();
$domain_management_return_set['permissions'] = $rows;

View file

@ -196,11 +196,11 @@
<tbody>
{foreach from=$hook_info['Domain_Management']['domains'] item=array}
<tr>
<td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['domain_id']}</a></td>
<td>{$array['domain_id']}</td>
<td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['domain_name']}</a></td>
<td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['status']}</a></td>
<td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['patch_version']}</a></td>
<td><a href="{$hook_info['Domain_Management']['path']}?page=layout_plugin&name=Domain_Management&edit_domain={$array['domain_id']}">{$array['description']|truncate}</a></td>
<td>{$array['status']}</td>
<td>{$array['patch_version']}</td>
<td>{$array['description']|truncate}</td>
</tr>
{/foreach}
</tbody>

View file

@ -283,7 +283,9 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data {
if (isset($_template->_capture_stack[0][0])) {
$_template->capture_error();
}
error_log("test1");
array_shift($_template->_capture_stack);
error_log("test2");
$_output = ob_get_clean();
} catch (Exception $e) {
ob_get_clean();

View file

@ -1,6 +1,6 @@
<?php
// Increment whenever a web upgrade is required.
$NEL_SETUP_VERSION = 3;
$NEL_SETUP_VERSION = 2;
/* end of file */