70,6 → 70,22 |
$body .= "<p><a href='".$manager."?mode=distributions&action=new'>Добавить новый дистрибутив</a></p>"; |
$body .= $core->showDistributionList("distributive", $maganer, "", "list"); |
break; |
case 'new': |
$body .= "<form action='".$process."' method='post'>\n"; |
$body .= "<input type='hidden' name='mode' value='distributive-add'>\n"; |
$body .= $core->showDistributionForm(); |
$body .= "</form>"; |
break; |
case 'edit': |
$body .= "<form action='".$process."' method='post'>\n"; |
$body .= "<input type='hidden' name='mode' value='distributive-delete'>\n"; |
$body .= "<input type='hidden' name='distID' value='".$uuid."'>\n"; |
$body .= $core->showDistributionForm($uuid); |
$body .= "</form>"; |
break; |
case 'delete': |
$body .= "Пока не работает"; |
break; |
} |
$tmpl->assign('header', "CPanel"); |
$tmpl->assign('description', "Панель управления генератором"); |