fixing messages in VM
This commit is contained in:
parent
763507aa65
commit
c7ba78b36c
|
@ -69,7 +69,7 @@ include_once("head.php");
|
|||
<p class="alert alert-info"><?php __("You can start a virtual machine."); ?></p>
|
||||
<form method="post" action="vm.php">
|
||||
<input type="hidden" name="action" value="start" />
|
||||
<input type="submit" class="inb" name="go" value="<?php __("Click here to start a virtual machine."); ?>" />
|
||||
<input type="submit" class="inb ok" name="go" value="<?php __("Click here to start a virtual machine."); ?>" />
|
||||
</form>
|
||||
<?php
|
||||
} else {
|
||||
|
@ -86,7 +86,7 @@ include_once("head.php");
|
|||
<p class="alert alert-info"><?php __("You can stop your virtual machine."); ?></p>
|
||||
<form method="post" action="vm.php">
|
||||
<input type="hidden" name="action" value="stop" />
|
||||
<input type="submit" class="inb" name="go" value="<?php __("Click here to stop your running virtual machine."); ?>" />
|
||||
<input type="submit" class="inb cancel" name="go" value="<?php __("Click here to stop your running virtual machine."); ?>" />
|
||||
</form>
|
||||
<?php
|
||||
} // empty infos ?>
|
||||
|
|
|
@ -133,6 +133,7 @@ class m_lxc implements vm {
|
|||
$err->raise('lxc', _('VM already started'));
|
||||
return FALSE;
|
||||
}
|
||||
unset($this->error);
|
||||
|
||||
$login = $login ? $login : $mem->user['login'];
|
||||
$pass = $pass ? $pass : $mem->user['pass'];
|
||||
|
|
Loading…
Reference in New Issue