no domtype doc + code formatting on adm_login
This commit is contained in:
parent
041ee5dc9a
commit
0f9d936596
|
@ -39,7 +39,7 @@ include_once("head.php");
|
||||||
?>
|
?>
|
||||||
<h3><?php __("Manage domains type"); ?></h3>
|
<h3><?php __("Manage domains type"); ?></h3>
|
||||||
<hr id="topbar" />
|
<hr id="topbar" />
|
||||||
<p><?php __("If you don't know what this page is about, don't touch anything."); ?></p>
|
<p><?php __("If you don't know what this page is about, don't touch anything, and read AlternC documentation about domain types"); ?></p>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -40,8 +40,7 @@ if ($oldid) {
|
||||||
die('Error : bad IP address');
|
die('Error : bad IP address');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$mem->setid($oldid))
|
if (!$mem->setid($oldid)) {
|
||||||
{
|
|
||||||
$oldid=null;
|
$oldid=null;
|
||||||
$error=$err->errstr();
|
$error=$err->errstr();
|
||||||
include("index.php");
|
include("index.php");
|
||||||
|
@ -69,15 +68,11 @@ if ($subadmin==0 && !$admin->checkcreator($id)) {
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$r=$admin->get($id))
|
if (!$r=$admin->get($id)) {
|
||||||
{
|
|
||||||
$error=$err->errstr();
|
$error=$err->errstr();
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
setcookie('oldid',$cuid,0,'/admin/');
|
setcookie('oldid',$cuid,0,'/admin/');
|
||||||
if (!$mem->setid($id))
|
if (!$mem->setid($id)) {
|
||||||
{
|
|
||||||
$error=$err->errstr();
|
$error=$err->errstr();
|
||||||
include("index.php");
|
include("index.php");
|
||||||
exit();
|
exit();
|
||||||
|
@ -93,8 +88,7 @@ include_once("head.php");
|
||||||
<h3><?php __("Member login"); ?></h3>
|
<h3><?php __("Member login"); ?></h3>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ($error)
|
if ($error) {
|
||||||
{
|
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
include_once("foot.php");
|
include_once("foot.php");
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Reference in New Issue