Initial Commit
This commit is contained in:
17
html/ajax/edit.php
Normal file
17
html/ajax/edit.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
if (!defined('AJAX')) die('Invalid invocation');
|
||||
$rules = new HtRule_List();
|
||||
|
||||
$rule = $rules->GetAtIndex($params['id']);
|
||||
|
||||
/* @var $rule HtRule */
|
||||
|
||||
$params = $rule->GetParams();
|
||||
|
||||
if (count($params) == 0)
|
||||
return;
|
||||
|
||||
$form = new HtRule_Form($rule);
|
||||
?>
|
||||
|
||||
<?php $form->ShowForm(); ?>
|
||||
Reference in New Issue
Block a user