Remove old stuff and closing tags

feature/node-rewrite
Sven Slootweg 13 years ago
parent d2a0253d6e
commit 8d7edd593e

@ -106,5 +106,3 @@ echo(json_encode(array(
'status' => $return_success,
'data' => $return_object
)));
?>

@ -35,4 +35,3 @@ if($result = mysql_query_cached("SELECT * FROM containers"))
}
}
}
?>

@ -12,5 +12,3 @@
*/
require("rewrite.php");
?>

@ -46,4 +46,3 @@ catch (InsufficientAccessLevelException $e)
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, "You are not authorized to view this page", "Your access level is not sufficient.");
$sMainContents .= $err->Render();
}
?>

@ -1,17 +0,0 @@
<?php
/*
* CVM is more free software. It is licensed under the WTFPL, which
* allows you to do pretty much anything with it, without having to
* ask permission. Commercial use is allowed, and no attribution is
* required. We do politely request that you share your modifications
* to benefit other developers, but you are under no enforced
* obligation to do so :)
*
* Please read the accompanying LICENSE document for the full WTFPL
* licensing text.
*/
if(!isset($_CVM)) { die("Unauthorized."); }
$sMainContents = "Overview goes here...";
?>

@ -45,4 +45,3 @@ else
{
throw new UnauthorizedException("You must be logged in to view this page.");
}
?>

@ -85,4 +85,3 @@ catch (SshExitException $e)
$sPageContents = Templater::InlineRender("vps.overview", $locale->strings, $sVariables);
?>

@ -66,4 +66,3 @@ if($display_form === true)
'id' => $sContainer->sId
));
}
?>

@ -70,4 +70,3 @@ catch(NotFoundException $e)
{
$sMainContents = Templater::InlineRender("error.vps.notfound");
}
?>

@ -99,4 +99,3 @@ if($display_form === true)
'templates' => $sTemplateList
));
}
?>

@ -16,8 +16,6 @@ require("includes/include.base.php");
$sTemplateParameters = array();
//$_SESSION['userid'] = 1;
if(!empty($_SESSION['userid']))
{
$sUser = new User($_SESSION['userid']);
@ -76,5 +74,3 @@ $sTemplateParameters = array_merge($sTemplateParameters, array(
));
echo(Templater::InlineRender("main", $locale->strings, $sTemplateParameters));
?>

@ -40,5 +40,3 @@ catch(ContainerStartException $e)
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, "Container failed to start", "Your container could not be started. If this error persists, please file a support ticket.");
$sError .= $err->Render();
}
?>

@ -39,5 +39,3 @@ else
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, "Container can't be started", "Your container cannot be started because it is already running.");
$sError .= $err->Render();
}
?>

@ -34,5 +34,3 @@ else
$err = new CPHPErrorHandler(CPHP_ERRORHANDLER_TYPE_ERROR, "Container can't be stopped", "Your container cannot be stopped because it is not running.");
$sError .= $err->Render();
}
?>

Loading…
Cancel
Save