mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
The New Desing
This commit is contained in:
parent
def9cc4ea6
commit
067a2c862a
305 changed files with 22231 additions and 7576 deletions
|
@ -1,29 +1,36 @@
|
|||
<div class="l-center edit">
|
||||
<div class="l-sort clearfix">
|
||||
<div class="l-sort-toolbar clearfix float-left">
|
||||
<span class="title edit"><b><?=__('Editing Database')?></b></span>
|
||||
<?php
|
||||
$back = $_SESSION['back'];
|
||||
if (empty($back)) {
|
||||
$back = "location.href='/list/db/'";
|
||||
} else {
|
||||
$back = "location.href='".$back."'";
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
} else {
|
||||
if (!empty($_SESSION['ok_msg'])) {
|
||||
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
}
|
||||
?>
|
||||
<table class="submenu">
|
||||
<tr>
|
||||
<td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Editing Database');?></b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
||||
} else {
|
||||
if (!empty($_SESSION['ok_msg'])) {
|
||||
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<form id="vstobjects" name="v_edit_db" method="post">
|
||||
</div>
|
||||
<? display_error_block() ?>
|
||||
</div>
|
||||
|
||||
<div class="l-separator"></div>
|
||||
<!-- /.l-separator -->
|
||||
|
||||
<div class="l-center">
|
||||
<?php
|
||||
$back = $_SESSION['back'];
|
||||
if (empty($back)) {
|
||||
$back = "location.href='/list/db/'";
|
||||
} else {
|
||||
$back = "location.href='".$back."'";
|
||||
}
|
||||
?>
|
||||
<form id="vstobjects" name="v_edit_db" method="post" class="<?=__($v_status)?>">
|
||||
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
|
||||
<script type="text/javascript">
|
||||
function elementHideShow(elementToHideOrShow) {
|
||||
var el = document.getElementById(elementToHideOrShow);
|
||||
|
@ -67,7 +74,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input" name="v_database" <?php if (!empty($v_database)) echo "value=".$v_database; ?> disabled>
|
||||
<input type="text" size="20" class="vst-input" name="v_database" <?php if (!empty($v_database)) echo "value=".htmlentities($v_database); ?> disabled>
|
||||
<small class="hint"></small>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -78,7 +85,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input" name="v_dbuser" <?php if (!empty($v_dbuser)) echo "value=".$v_dbuser; ?>>
|
||||
<input type="text" size="20" class="vst-input" name="v_dbuser" <?php if (!empty($v_dbuser)) echo "value=".htmlentities($v_dbuser); ?>>
|
||||
<small class="hint"></small>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -89,7 +96,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input password" name="v_password" <?php if (!empty($v_password)) echo "value=".$v_password; ?>>
|
||||
<input type="text" size="20" class="vst-input password" name="v_password" <?php if (!empty($v_password)) echo "value=".htmlentities($v_password); ?>>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -99,7 +106,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input" name="v_type" <?php if (!empty($v_type)) echo "value=".$v_type; ?> disabled>
|
||||
<input type="text" size="20" class="vst-input" name="v_type" <?php if (!empty($v_type)) echo "value=".htmlentities($v_type); ?> disabled>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -109,7 +116,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input" name="v_host" <?php if (!empty($v_host)) echo "value=".$v_host; ?> disabled>
|
||||
<input type="text" size="20" class="vst-input" name="v_host" <?php if (!empty($v_host)) echo "value=".htmlentities($v_host); ?> disabled>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -119,7 +126,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" size="20" class="vst-input" name="v_charset" <?php if (!empty($v_charset)) echo "value=".$v_charset; ?> disabled>
|
||||
<input type="text" size="20" class="vst-input" name="v_charset" <?php if (!empty($v_charset)) echo "value=".htmlentities($v_charset); ?> disabled>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -129,7 +136,7 @@
|
|||
<input type="submit" class="button" name="save" value="<?php print __('Save');?>">
|
||||
</td>
|
||||
<td class="step-top">
|
||||
<input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
|
||||
<input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -137,7 +144,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
GLOBAL.DB_USER_PREFIX = '<?php echo $user; ?>_';
|
||||
GLOBAL.DB_DBNAME_PREFIX = '<?php echo $user; ?>_';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue