Migration SVN
BIN
web/themes/underground/image/bg.gif
Executable file
|
After Width: | Height: | Size: 280 B |
BIN
web/themes/underground/image/bullet.gif
Executable file
|
After Width: | Height: | Size: 334 B |
BIN
web/themes/underground/image/footerbg.gif
Executable file
|
After Width: | Height: | Size: 98 B |
BIN
web/themes/underground/image/headerbg.gif
Executable file
|
After Width: | Height: | Size: 168 B |
BIN
web/themes/underground/image/quote.gif
Executable file
|
After Width: | Height: | Size: 338 B |
BIN
web/themes/underground/image/tableft.gif
Executable file
|
After Width: | Height: | Size: 363 B |
BIN
web/themes/underground/image/tabright.gif
Executable file
|
After Width: | Height: | Size: 1.7 KiB |
126
web/themes/underground/javascript/myaccount.js
Executable file
@@ -0,0 +1,126 @@
|
||||
function modify_account()
|
||||
{
|
||||
var input_list = new Array();
|
||||
var test_pass = true;
|
||||
|
||||
$('form#form_data input,select').each(function() {
|
||||
if ( this.type != 'button' ) {
|
||||
input_list.push(this.id);
|
||||
}
|
||||
});
|
||||
|
||||
for (var i = 0; i < input_list.length; i++)
|
||||
{
|
||||
// Verifying the syntax of inputs
|
||||
var param = input_list[i];
|
||||
if ( !value_verify(param) ) {
|
||||
test_pass = false;
|
||||
$('#'+param).css({'border' : '1px '+color_nok+' solid'});
|
||||
$('#'+param).animate({ backgroundColor : background_nok }, 500);
|
||||
|
||||
} else {
|
||||
$('#'+param).css({'border' : '1px '+color_ok+' solid'})
|
||||
$('#'+param).animate({ backgroundColor : background_ok }, 500);
|
||||
}
|
||||
}
|
||||
|
||||
// If all inputs are OK, send req to ajax.php
|
||||
if ( test_pass ) {
|
||||
var post_data = $('form#form_data input,select').serialize();
|
||||
$.ajax({
|
||||
url: 'ajax.xhtml?id=updateAccount',
|
||||
data: post_data,
|
||||
type: 'POST',
|
||||
start: $('form#form_data input,select').attr('disabled','disabled'),
|
||||
error: function(responseText) { alert(critical_error);},
|
||||
success: function(responseText){display_modification_data(responseText);},
|
||||
});
|
||||
}
|
||||
} // end of modify_account
|
||||
|
||||
function display_modification_data(ressource)
|
||||
{
|
||||
if ( $('#result_data').css('display') != 'none') {
|
||||
$('#result_data').slideUp(200);
|
||||
$("#result_data p[id*='return_code_']").css('display', 'none');
|
||||
}
|
||||
if (ressource == 'critical_error') {
|
||||
alert(critical_error);
|
||||
return;
|
||||
}
|
||||
ressource = eval(ressource);
|
||||
for (var i = 0; i < ressource.length; i++)
|
||||
{
|
||||
$('#return_code_'+ressource[i]).css('display', '');
|
||||
}
|
||||
$('form#form_data input,select').attr('disabled','');
|
||||
$('#result_data').slideDown(500);
|
||||
} // End of display_modification
|
||||
|
||||
// ---------------------------------------------------------------------------- //
|
||||
function modify_password()
|
||||
{
|
||||
var input_list = new Array();
|
||||
var test_pass = true;
|
||||
|
||||
$('form#form_password input').each(function() {
|
||||
if ( this.type != 'button' ) {
|
||||
input_list.push(this.id);
|
||||
}
|
||||
});
|
||||
for (var i = 0; i < input_list.length; i++)
|
||||
{
|
||||
var param = input_list[i];
|
||||
if ( !value_verify(param) ) {
|
||||
test_pass = false;
|
||||
$('#'+param).css({'border' : '1px '+color_nok+' solid'});
|
||||
$('#'+param).animate({ backgroundColor : background_nok }, 500);
|
||||
|
||||
} else {
|
||||
$('#'+param).css({'border' : '1px '+color_ok+' solid'})
|
||||
$('#'+param).animate({ backgroundColor : background_ok }, 500);
|
||||
}
|
||||
}
|
||||
if ( test_pass ) {
|
||||
var post_data = $('form#form_password input').serialize();
|
||||
$.ajax({
|
||||
url: 'ajax.xhtml?id=updatePassword',
|
||||
data: post_data,
|
||||
type: 'POST',
|
||||
start: $('form#form_password input').attr('disabled','disabled'),
|
||||
error: function(responseText) { alert(critical_error);},
|
||||
success: function(responseText){display_modification_password(responseText);},
|
||||
});
|
||||
}
|
||||
} // end of modify_password
|
||||
|
||||
function display_modification_password(ressource)
|
||||
{
|
||||
if ( $('#result_password').css('display') != 'none') {
|
||||
$('#result_password').slideUp(200);
|
||||
$("#result_password p[id*='return_code_password_']").css('display', 'none');
|
||||
}
|
||||
if (ressource == 'critical_error') {
|
||||
alert(critical_error);
|
||||
return;
|
||||
}
|
||||
ressource = eval(ressource);
|
||||
for (var i = 0; i < ressource.length; i++)
|
||||
{
|
||||
$('#return_code_password_'+ressource[i]).css('display', '');
|
||||
}
|
||||
$('form#form_password input').attr('disabled','');
|
||||
$('#result_password').slideDown(500);
|
||||
} // End of display_modification
|
||||
|
||||
// ----------------------------------------------------------------------------------- //
|
||||
function checkPassword()
|
||||
{
|
||||
alert('debug');
|
||||
var post_password = $('form#form_password input[name="password"]').serialize();
|
||||
alert(post_password);
|
||||
// $.ajax{
|
||||
// url: 'ajax.xhtml?id=checkPassword',
|
||||
// data:
|
||||
// }
|
||||
}
|
||||
19
web/themes/underground/javascript/vhosts.js
Executable file
@@ -0,0 +1,19 @@
|
||||
function showAdvancedOptions()
|
||||
{
|
||||
for( var i=1; i<16;i++)
|
||||
{
|
||||
$("#adv_opt_"+i).show('slow', function(){ $(this).removeAttr('style');});
|
||||
}
|
||||
$("#btn_adv_opt_s").hide();
|
||||
$("#btn_adv_opt_h").show();
|
||||
}
|
||||
|
||||
function hideAdvancedOptions()
|
||||
{
|
||||
for( var i=1; i<16;i++)
|
||||
{
|
||||
$("#adv_opt_"+i).hide('slow');
|
||||
}
|
||||
$("#btn_adv_opt_h").hide();
|
||||
$("#btn_adv_opt_s").show();
|
||||
}
|
||||
9
web/themes/underground/style/crons.css
Executable file
@@ -0,0 +1,9 @@
|
||||
td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img { border:0;}
|
||||
|
||||
p {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
31
web/themes/underground/style/hosting.css
Executable file
@@ -0,0 +1,31 @@
|
||||
#hosting_summary td {
|
||||
width:33%;
|
||||
text-align:center;
|
||||
|
||||
}
|
||||
#hosting_summary td:hover {
|
||||
border: 1px solid #c5c5c5;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
#hosting_summary td a,#hosting_summary td a:hover {
|
||||
color: #000;
|
||||
font-size: 12px;
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
#hosting_summary img {
|
||||
border: 0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
#hosting_summary p {
|
||||
font-size: 12px;
|
||||
margin:auto;
|
||||
text-align:center;
|
||||
margin-bottom:10px;
|
||||
margin-top:10px;
|
||||
border: 1px solid #f2f2f2;
|
||||
background-color: #FAFAFA;
|
||||
width:710px;
|
||||
}
|
||||
35
web/themes/underground/style/informations.css
Executable file
@@ -0,0 +1,35 @@
|
||||
|
||||
#hosting_informations #td_left {
|
||||
width:15%;
|
||||
vertical-align: middle;
|
||||
text-align:center;
|
||||
border:none;
|
||||
background:none;
|
||||
}
|
||||
|
||||
#hosting_informations #td_right {
|
||||
width:75%;
|
||||
background:none;
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
||||
#hosting_informations img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#hosting_informations #td_right td {
|
||||
border: 1px solid #f2f2f2;
|
||||
background-color: #FAFAFA;
|
||||
text-align:center;
|
||||
}
|
||||
#hosting_informations #td_right .title {
|
||||
text-align:right;
|
||||
width:26%;
|
||||
}
|
||||
|
||||
#hosting_informations #offer_information {
|
||||
margin:auto;
|
||||
width:710px;
|
||||
}
|
||||
|
||||
364
web/themes/underground/style/main.css
Executable file
@@ -0,0 +1,364 @@
|
||||
/* top elements */
|
||||
* { margin: 0; padding: 0; }
|
||||
|
||||
body {
|
||||
margin: 0; padding: 0;
|
||||
font: 70%/1.5 Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
||||
color: #333;
|
||||
background: #FFF url(../image/bg.gif) repeat-x;
|
||||
}
|
||||
|
||||
|
||||
/* Liens */
|
||||
a {
|
||||
color: #003366;
|
||||
background-color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
color: #CC0001;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
/* Titres */
|
||||
h1, h2, h3 {
|
||||
font-family: Arial, 'Trebuchet MS', Sans-Serif;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
h1 {
|
||||
font-size: 120%;
|
||||
letter-spacing: .5px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 115%;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
h3 {
|
||||
font-size: 115%;
|
||||
color: #003366;
|
||||
}
|
||||
|
||||
/* Integration */
|
||||
img {
|
||||
border: 2px solid #CCC;
|
||||
}
|
||||
img.float-right {
|
||||
margin: 5px 0px 10px 10px;
|
||||
}
|
||||
img.float-left {
|
||||
margin: 5px 10px 10px 0px;
|
||||
}
|
||||
.icon {
|
||||
border: none;
|
||||
}
|
||||
|
||||
h1, h2, h3, p {
|
||||
padding: 0;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 10px 20px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
code {
|
||||
margin: 10px 0;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
display: block;
|
||||
overflow: auto;
|
||||
font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
|
||||
/* white-space: pre; */
|
||||
background: #FAFAFA;
|
||||
border: 1px solid #f2f2f2;
|
||||
border-left: 4px solid #CC0000;
|
||||
}
|
||||
table {
|
||||
margin:auto;
|
||||
width: 710px;
|
||||
}
|
||||
td {
|
||||
border: 1px solid #f2f2f2;
|
||||
background-color: #FAFAFA;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
acronym {
|
||||
cursor: help;
|
||||
border-bottom: 1px solid #777;
|
||||
}
|
||||
blockquote {
|
||||
margin: 10px;
|
||||
padding: 0 0 0 32px;
|
||||
background: #FAFAFA url(../image/quote.gif) no-repeat 5px 10px !important;
|
||||
background-position: 8px 10px;
|
||||
border: 1px solid #f2f2f2;
|
||||
border-left: 4px solid #CC0000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Formulaires */
|
||||
label {
|
||||
display:block;
|
||||
font-weight:bold;
|
||||
margin:5px 0;
|
||||
}
|
||||
input {
|
||||
padding: 2px;
|
||||
border:1px solid #eee;
|
||||
font: normal 1em Verdana, sans-serif;
|
||||
color:#777;
|
||||
width: 98%;
|
||||
}
|
||||
select {
|
||||
padding: 2px;
|
||||
border: 1px solid #eee;
|
||||
font: normal 1em Verdana, sans-serif;
|
||||
color: #777;
|
||||
width: 99%;
|
||||
}
|
||||
textarea {
|
||||
padding:2px;
|
||||
font: normal 1em Verdana, sans-serif;
|
||||
border:1px solid #eee;
|
||||
height:100px;
|
||||
display:block;
|
||||
color:#777;
|
||||
width: 99%;
|
||||
}
|
||||
input.button {
|
||||
margin: 0;
|
||||
font: bolder 12px Arial, Sans-serif;
|
||||
border: 1px solid #CCC;
|
||||
padding: 1px;
|
||||
background: #FFF;
|
||||
color: #CC0000;
|
||||
}
|
||||
/* Acces rapide */
|
||||
form.access {
|
||||
position: absolute;
|
||||
top: 5px; right: 5px;
|
||||
padding: 0; margin: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
form.search input.abutton {
|
||||
margin: 0;
|
||||
font-size: 100%;
|
||||
font-family: Arial, Sans-serif;
|
||||
border: 1px solid #CCC;
|
||||
background: #FFFFFF url(../image/headerbg.gif) repeat-x bottom left;
|
||||
padding: 1px;
|
||||
font-weight: bold;
|
||||
height: 23px;
|
||||
color: #333;
|
||||
width: 30px;
|
||||
}
|
||||
form.search input.atext {
|
||||
margin: 0;
|
||||
width: 120px;
|
||||
border: 1px solid #CCC;
|
||||
background: #FFF;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/**********************************
|
||||
Design
|
||||
***********************************/
|
||||
#wrap {
|
||||
margin: 0 auto;
|
||||
width: 980px;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
#header {
|
||||
position: relative;
|
||||
margin: 0; padding: 0;
|
||||
height: 60px;
|
||||
}
|
||||
#header span#slogan {
|
||||
z-index: 3;
|
||||
position: absolute;
|
||||
left: 3px; bottom: 7px;
|
||||
font: bold 1.2em Verdana, Arial, Tahoma, Sans-serif;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
position: relative;
|
||||
clear: both;
|
||||
height: 50px;
|
||||
margin: 0; padding: 0;
|
||||
}
|
||||
#header-logo #logo {
|
||||
position: absolute;
|
||||
top: 3px; left: 5px;
|
||||
font: bold 30px "trebuchet MS", Arial, Tahoma, Sans-Serif;
|
||||
margin: 0; padding: 0;
|
||||
letter-spacing: -1px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* Onglet */
|
||||
#header ul {
|
||||
position: absolute;
|
||||
margin:0;
|
||||
list-style:none;
|
||||
right:-18px ; bottom: 3px;
|
||||
font: bold 13px 'Trebuchet MS', Arial, Sans-serif;
|
||||
}
|
||||
#header li {
|
||||
display:inline;
|
||||
margin:0; padding:0;
|
||||
}
|
||||
#header a {
|
||||
float:left;
|
||||
background: url(../image/tableft.gif) no-repeat left top;
|
||||
margin:0;
|
||||
padding:0 0 0 4px;
|
||||
text-decoration:none;
|
||||
}
|
||||
#header a span {
|
||||
float:left;
|
||||
display:block;
|
||||
background: url(../image/tabright.gif) no-repeat right top;
|
||||
padding:5px 15px 4px 6px;
|
||||
color:#FFF;
|
||||
}
|
||||
|
||||
#header a:hover span {
|
||||
color:#FFF;
|
||||
}
|
||||
#header a:hover {
|
||||
background-position:0% -42px;
|
||||
}
|
||||
#header a:hover span {
|
||||
background-position:100% -42px;
|
||||
}
|
||||
#header #current a {
|
||||
background-position:0% -42px;
|
||||
}
|
||||
#header #current a span {
|
||||
background-position:100% -42px;
|
||||
}
|
||||
|
||||
/* Colonne principale */
|
||||
#main {
|
||||
float: right;
|
||||
margin: 0; padding: 0;
|
||||
width: 745px;
|
||||
}
|
||||
#main h1 {
|
||||
margin: 10px 0;
|
||||
padding: 4px 0 4px 8px;
|
||||
font-size: 105%;
|
||||
color: #FFF;
|
||||
text-transform: uppercase;
|
||||
background-color: #CC0000;
|
||||
letter-spacing: .5px;
|
||||
}
|
||||
|
||||
/* Menu */
|
||||
#sidebar {
|
||||
float: left;
|
||||
width: 220px;
|
||||
margin: 0; padding: 0;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
#sidebar h1 {
|
||||
margin: 10px 0 0 0;
|
||||
padding: 4px 0 4px 8px;
|
||||
font: bold 105% Arial, Sans-Serif;
|
||||
color: #FFF;
|
||||
text-transform: uppercase;
|
||||
background: #333;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
#sidebar .left-box {
|
||||
border: 1px solid #EBEBEB;
|
||||
margin: 0 0 5px 0;
|
||||
background: #FFF;
|
||||
}
|
||||
#sidebar ul.sidemenu {
|
||||
list-style: none;
|
||||
text-align: left;
|
||||
margin: 3px 0px 8px 0; padding: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
#sidebar ul.sidemenu li {
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
background: url(../image/bullet.gif) no-repeat 3px 2px;
|
||||
padding: 3px 5px 3px 25px;
|
||||
margin: 0;
|
||||
}
|
||||
#sidebar ul.sidemenu a {
|
||||
font-weight: bolder;
|
||||
padding: 3px 0px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
clear: both;
|
||||
border-top: 1px solid #f2f2f2;
|
||||
background: #FFF url(../image/footerbg.gif) repeat-x;
|
||||
padding: 2px 0 10px 0;
|
||||
text-align: center;
|
||||
line-height: 1.5em;
|
||||
font-size: 95%;
|
||||
}
|
||||
.footer a {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* alignment classes */
|
||||
.float-left { float: left; }
|
||||
.float-right { float: right; }
|
||||
.align-left { text-align: left; }
|
||||
.align-right { text-align: right; }
|
||||
|
||||
/* display and additional classes */
|
||||
.clear { clear: both; }
|
||||
.red { color: #CC0000; }
|
||||
.comments {
|
||||
margin: 20px 10px 5px 10px;
|
||||
padding: 3px 0;
|
||||
border-bottom: 1px dashed #EFF0F1;
|
||||
border-top: 1px dashed #EFF0F1;
|
||||
}
|
||||
|
||||
/* Error and success result color */
|
||||
.error {
|
||||
color: #e00000;
|
||||
}
|
||||
.berror {
|
||||
border: 1px solid #e00000;
|
||||
}
|
||||
.success {
|
||||
color: #02bc6d;
|
||||
}
|
||||
.bsuccess {
|
||||
border: 1px solid #02bc6d;
|
||||
}
|
||||
.warning {
|
||||
color: #c36509;
|
||||
}
|
||||
.bwarning {
|
||||
border: 1px solid #c36509;
|
||||
}
|
||||
|
||||
/* Pagination links */
|
||||
.pageslinks a {
|
||||
border: 1px solid #f2f2f2;
|
||||
background-color: #fafafa;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.pageslinks a.current {
|
||||
background-color: #dadada;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
55
web/themes/underground/template/_contentbegin.tpl
Executable file
@@ -0,0 +1,55 @@
|
||||
{config_load file="lang" section='general'}
|
||||
{config_load file="lang" section='underground'}
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<!-- Template -->
|
||||
<link rel="stylesheet" href="{$HOST}themes/underground/style/main.css" type="text/css" />
|
||||
|
||||
<!-- Jquery -->
|
||||
<link rel="stylesheet" href="{$HOST}style/jquery-ui-1.7.2.custom" type="text/css" />
|
||||
<link rel="stylesheet" href="{$HOST}style/tipsy.css" type="text/css" />
|
||||
<link rel="stylesheet" href="{$HOST}style/gritter.css" type="text/css" />
|
||||
<script type="text/javascript" src="{$HOST}javascript/jquery/jquery-1.3.2.min.js"></script>
|
||||
<script type="text/javascript" src="{$HOST}javascript/jquery/jquery-ui-1.7.2.custom.min.js"></script>
|
||||
<script type="text/javascript" src="{$HOST}javascript/jquery/external_plugins/tipsy.js"></script>
|
||||
<script type="text/javascript" src="{$HOST}javascript/jquery/external_plugins/gritter.js"></script>
|
||||
|
||||
<!-- Custom CSS -->
|
||||
{if isset($css_files)}
|
||||
{foreach item=css from=$css_files}
|
||||
<link rel="stylesheet" href="{$HOST}{$TPL_STYLE}{$css}" type="text/css" />
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
<!-- Forms JS -->
|
||||
<script type="text/javascript" src="{$HOST}javascript/forms.js"></script>
|
||||
|
||||
<!-- Pagination JS -->
|
||||
<script type="text/javascript" src="{$HOST}javascript/pagination.js"></script>
|
||||
|
||||
<!-- Custom JS -->
|
||||
{foreach item=js from=$js_files}
|
||||
<script type="text/javascript" src="{$HOST}/{$TPL_JAVASCRIPT}{$js}"></script>
|
||||
{/foreach}
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$CHARSET}" />
|
||||
<title>{#hosting_title#} - {#hosting_slogan#}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Wrapper -->
|
||||
<div id="wrap">
|
||||
<!-- Header -->
|
||||
{include file='header.tpl'}
|
||||
<!-- End of header -->
|
||||
<!-- Title and logo -->
|
||||
{include file='title.tpl'}
|
||||
<!-- End of title and logo -->
|
||||
<!-- Sidebar -->
|
||||
{include file='sidebar.tpl'}
|
||||
<!-- End of sidebar -->
|
||||
<!-- Content -->
|
||||
<div id="main">
|
||||
|
||||
19
web/themes/underground/template/_contentend.tpl
Executable file
@@ -0,0 +1,19 @@
|
||||
</div>
|
||||
<!-- End of content -->
|
||||
|
||||
</div>
|
||||
<!-- End of wrapper -->
|
||||
|
||||
<!-- Footer -->
|
||||
{include file='footer.tpl'}
|
||||
<!-- End of Footer -->
|
||||
|
||||
<!-- Javascript -->
|
||||
{include file="javascript_execution.tpl"}
|
||||
<!-- End of javascript -->
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
47
web/themes/underground/template/admin/support/list.tpl
Executable file
@@ -0,0 +1,47 @@
|
||||
{config_load file="lang" section='support'}
|
||||
|
||||
<h1>{#support_admin_list1#}</h1>
|
||||
|
||||
{if $pages_count1!=0}
|
||||
<p>{#support_admin_list_intro1#}</p>
|
||||
<table style="width: 720px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{#ticket_date#}</th>
|
||||
<th>{#ticket_last_date#}</th>
|
||||
<th>{#ticket_subject#}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_admin_wtickets">
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="pageslinks" id="tbl_admin_wtickets_pg_links"></p>
|
||||
{literal}<script type="text/javascript">
|
||||
$(document).ready(function () { getPage('tbl_admin_wtickets',1,{/literal}{$pages_count1}{literal},1); });
|
||||
</script>{/literal}
|
||||
{else}
|
||||
<p>{#support_admin_nolist_intro1#}</p>
|
||||
{/if}
|
||||
|
||||
<h1>{#support_admin_list2#}</h1>
|
||||
|
||||
{if $pages_count2!=0}
|
||||
<p>{#support_admin_list_intro2#}</p>
|
||||
<table style="width: 720px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{#ticket_date#}</th>
|
||||
<th>{#ticket_last_date#}</th>
|
||||
<th>{#ticket_subject#}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_admin_rtickets">
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="pageslinks" id="tbl_admin_rtickets_pg_links"></p>
|
||||
{literal}<script type="text/javascript">
|
||||
$(document).ready(function () { getPage('tbl_admin_rtickets',1,{/literal}{$pages_count2}{literal},1); });
|
||||
</script>{/literal}
|
||||
{else}
|
||||
<p>{#support_admin_nolist_intro2#}</p>
|
||||
{/if}
|
||||
86
web/themes/underground/template/admin/support/show.tpl
Executable file
@@ -0,0 +1,86 @@
|
||||
{config_load file="lang" section='support'}
|
||||
{if isset($user_actions_allowed)}
|
||||
<div id="result_datas" style="display:none">
|
||||
<h1>{#support_action_result#}</h1>
|
||||
|
||||
<p id="close_ok" style="display:none;" class="success">{#result_support_close_ok#}</p>
|
||||
<p id="reply_is_ok" style="display:none;" class="success">{#result_support_admin_reply_ok#}</p>
|
||||
<p id="err_req_message_missing" style="display:none;" class="error">{#error_message_missing#}</p>
|
||||
<p id="err_req_message" style="display:none;" class="error">{#error_message_format#}</p>
|
||||
<p id="err_ticket_id" style="display:none;" class="error">{#error_ticket_id_not_valid#}</p>
|
||||
<p id="err_database_update" style="display:none;" class="error">{#error_database_query#}</p>
|
||||
</div>
|
||||
{/if}
|
||||
<div id="details_table">
|
||||
<h1>{#support_show#}</h1>
|
||||
<table style="width: 720px;">
|
||||
<tr>
|
||||
<td>{#ticket_date_legend#}</td>
|
||||
<td>{$ticket->open_date}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#ticket_hosting_legend#}</td>
|
||||
<td>
|
||||
{if !isset($ticket->hosting_name)}
|
||||
{#no_hosting_associated#}
|
||||
{else}
|
||||
{$ticket->hosting_name}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#ticket_subject_legend#}</td>
|
||||
<td>{$ticket->subject}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#ticket_avail_actions#}</td>
|
||||
<td>
|
||||
<input type="button" style="width: 45%" value="{#mnu_reply_ticket#}" onclick="$('#form_admin_reply_container').slideDown('slow'); $('#details_table').slideUp('slow');" />
|
||||
<input type="button" style="width: 45%" value="{#mnu_close_ticket#}" onclick="$('#form_admin_close_container').slideDown('slow'); $('#details_table').slideUp('slow');" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="form_admin_reply_container" style="display:none">
|
||||
<h1>{#mnu_reply_ticket#}</h1>
|
||||
<form id="form_admin_reply" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td id="form_msg" title="{#ticket_msg_title#}" style="vertical-align:top;">{#ticket_reply_legend#} :</td>
|
||||
<td>
|
||||
<textarea class="textarea" name="req_message" id="req_message"></textarea>
|
||||
<input type="hidden" name="reply_ticket_id" id="reply_ticket_id" value="{$ticket->id}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="button" value="{#button_cancel_legend#}" onclick="$('#form_admin_reply_container').slideUp('slow'); $('#details_table').slideDown('slow');" /></td>
|
||||
<td><input type="button" value="{#button_reply_legend#}" onclick="validateForm('form_admin_reply', 1);" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div id="form_admin_close_container" style="display:none">
|
||||
<h1>{#mnu_close_ticket#}</h1>
|
||||
<p>{#support_close_intro#}</p>
|
||||
<form id="form_admin_close" action="">
|
||||
<input type="hidden" name="close_ticket_id" id="close_ticket_id" value="{$ticket->id}" />
|
||||
<input type="button" style="width: 45%" value="{#button_cancel_legend#}" onclick="$('#form_admin_close_container').slideUp('slow'); $('#details_table').slideDown('slow');" />
|
||||
<input type="button" style="width: 45%" value="{#mnu_close_ticket#}" onclick="validateForm('form_admin_close', 1);" />
|
||||
</form>
|
||||
</div>
|
||||
<p>{#support_show_intro#}</p>
|
||||
<table style="width: 720px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Auteur / Date</th>
|
||||
<th>Message</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_admin_ticket_details">
|
||||
<tr><td></td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="pageslinks" id="tbl_admin_ticket_details_pg_links"></p>
|
||||
{literal}<script type="text/javascript">
|
||||
$(document).ready(function () { getPage('tbl_admin_ticket_details',1,{/literal}{$pages_count},1, '{$ticket->id}'{literal}); });
|
||||
</script>{/literal}
|
||||
6
web/themes/underground/template/error/not_in_offer.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
{config_load file="lang" section='error'}
|
||||
<h1>{#error_title#}</h1>
|
||||
<p>
|
||||
{#error_not_in_offer#}
|
||||
</p>
|
||||
<p><a href="{$HOST}hosting/hosting-{$HOSTING_INFOS->id}.xhtml">{#error_clichere_for_summary#}</a></p>
|
||||
13
web/themes/underground/template/footer.tpl
Executable file
@@ -0,0 +1,13 @@
|
||||
<div class="footer">
|
||||
<p>
|
||||
© 2009 <strong>{#hosting_title#}</strong>
|
||||
{#design_by#}: <a href="http://www.styleshout.com/">styleshout</a> |
|
||||
{#icons_by#}: <a href="http://www.oxygen-icons.org/">Oxygen Icons</a>, <a href="http://www.famfamfam.com/">FamFamFam</a> |
|
||||
Valid <a href="http://validator.w3.org/check/referer">XHTML</a>,
|
||||
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
|
||||
|
||||
{#powered_by#} <a href="http://www.kelio.org">KelioP@nel v0.1</a>
|
||||
|
||||
Req: {$sql}
|
||||
</p>
|
||||
</div>
|
||||
19
web/themes/underground/template/header.tpl
Executable file
@@ -0,0 +1,19 @@
|
||||
{config_load file="lang" section='sidebar'}
|
||||
<div id="header">
|
||||
|
||||
<span id="slogan">{#hosting_slogan#}</span>
|
||||
<!-- Tabs -->
|
||||
{if isset($is_connected)}
|
||||
<ul>
|
||||
<li id="current"><a href="{$HOST}index.xhtml"><span>{#home#}</span></a></li>
|
||||
<li><a href="{$HOST}myaccount.xhtml"><span>{#my_account#}</span></a></li>
|
||||
{if isset($is_client)}
|
||||
<li><a href="{$HOST}myhostings.xhtml"><span>{#my_hostings#}</span></a></li>
|
||||
<li><a href="http://www.kelio.org"><span>{#go_kelio#}</span></a></li>
|
||||
{/if}
|
||||
{if isset($is_admin)}
|
||||
<li><a href="{$HOST}admin.xhtml"><span>{#admin#}</span></a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
34
web/themes/underground/template/history.tpl
Executable file
@@ -0,0 +1,34 @@
|
||||
{config_load file="lang" section='history'}
|
||||
|
||||
<h1>{#list_history#}</h1>
|
||||
<p>{#history_description#}</p>
|
||||
{if $pages_count!=0}
|
||||
<table style="width: 720px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{#history_date#}</th>
|
||||
<th>{#history_action#}</th>
|
||||
<th>{#history_hosting#}</th>
|
||||
<th>{#history_IP#}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_history">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p class="pageslinks" id="tbl_history_pg_links"></p>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () { getPage('tbl_history',1,{/literal}{$pages_count}{literal},0); });
|
||||
</script>
|
||||
{/literal}
|
||||
{else}
|
||||
<p>{#history_empty#}</p>
|
||||
{/if}
|
||||
65
web/themes/underground/template/hosting/crons/add.tpl
Executable file
@@ -0,0 +1,65 @@
|
||||
{config_load file="lang" section='crons'}
|
||||
|
||||
<div id="result_datas" style="display:none">
|
||||
<h1>{#cron_create_result#}</h1>
|
||||
<p id="all_is_ok" style="display:none;" class="success">{#result_cron_create_ok#}</p>
|
||||
<p id="err_req_url_missing" style="display:none;" class="error">{#error_cron_address_missing#}</p>
|
||||
<p id="err_req_url" style="display:none;" class="error">{#error_cron_address_format#}</p>
|
||||
<p id="err_req_frequency_missing" style="display:none;" class="error">{#error_cron_freq_missing#}</p>
|
||||
<p id="err_req_frequency" style="display:none;" class="error">{#error_cron_freq_format#}</p>
|
||||
<p id="err_first_start" style="display:none;" class="error">{#error_cron_first_start_format#}</p>
|
||||
<p id="err_not_reacheable" style="display:none;" class="error">{#error_cron_url_unreacheable#}</p>
|
||||
<p id="err_max_cronjobs_reached" style="display:none;" class="error">{#error_cron_max_reached#}</p>
|
||||
<p id="err_freq_too_small" style="display:none;" class="error">{#error_cron_freq_too_small#}</p>
|
||||
</div>
|
||||
|
||||
<div id="form_new_cron_container">
|
||||
<h1>{#cron_create#}</h1>
|
||||
<p>{#cron_create_intro#}</p>
|
||||
<p>{#cron_create_helpmsg#}</p>
|
||||
<form id="form_new_cron" name="form_new_cron" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td>{#cron_task_url#} :</td>
|
||||
<td colspan="2" ><input type="text" name="req_url" id="req_url" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#cron_task_activation#} :</td>
|
||||
<td colspan="2">
|
||||
<select name="active" id="active">
|
||||
<option value="true" selected="selected">{#_yes#|capitalize}</option>
|
||||
<option value="false">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_freq" title="{#cron_frequency_title#} {$CRON_MIN_TIME/60} {#minutes#}">{#cron_task_frequency#} :</td>
|
||||
<td><input type="text" name="req_frequency" id="req_frequency" /></td>
|
||||
<td>
|
||||
<select name="freq_unit" id="freq_unit">
|
||||
<option value="0">{#minutes#}</option>
|
||||
<option value="1">{#hours#}</option>
|
||||
<option value="2">{#days#}</option>
|
||||
<option value="3">{#weeks#}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#cron_task_first_exec#} :</td>
|
||||
<td><input type="text" name="first_start" id="first_start" value="0"/></td>
|
||||
<td>
|
||||
<select name="first_start_unit" id="first_start_unit">
|
||||
<option value="0">{#minutes#}</option>
|
||||
<option value="1">{#hours#}</option>
|
||||
<option value="2">{#days#}</option>
|
||||
<option value="3">{#weeks#}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td colspan="3"><input type="button" value="{#btn_new_cron#}" onclick="validateForm('form_new_cron',1);" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
48
web/themes/underground/template/hosting/crons/list.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
{config_load file="lang" section='crons'}
|
||||
<h1>{#crons_list_title#}</h1>
|
||||
<p>
|
||||
{#cron_task_description#}
|
||||
</p>
|
||||
|
||||
{if $pages_count!=0}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{#cron_task_url#}</th>
|
||||
<th>{#cron_task_lastexec#}</th>
|
||||
<th>{#cron_task_frequency#}</th>
|
||||
<th>{#cron_task_action#}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_cron">
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p class="pageslinks" id="tbl_cron_pg_links"></p>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
getPage('tbl_cron', 1, {/literal}{$pages_count}{literal}, 1); });
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
{else}
|
||||
<p>{#crons_list_notask#}</p>
|
||||
{/if}
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(".cron_tipsy").tipsy({gravity: 's'});
|
||||
function goToCronUrl( url )
|
||||
{
|
||||
if (confirm("{/literal}{#cron_goto_confirm#}{literal}")) {
|
||||
document.location.href=url;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
31
web/themes/underground/template/hosting/hosting.tpl
Executable file
@@ -0,0 +1,31 @@
|
||||
{config_load file="lang" section='hosting'}
|
||||
<div id="hosting_summary">
|
||||
<h1>{#title_hosting#}</h1>
|
||||
|
||||
|
||||
<p>{#action_for_hosting#} : <br /><strong><a href="http://{$HOSTING_INFOS->base_name}.{#hosting_address#}">http://{$HOSTING_INFOS->base_name}.{#hosting_address#}</a></strong></p>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="{$HOST}hosting/databases.xhtml"><img src="{$HOST}image/big-icon/database.png" alt="" /><br />{#info_db#}</a></td>
|
||||
<td><a href="{$HOST}hosting/domainnames.xhtml"><img src="{$HOST}image/big-icon/domain_name.png" alt="" /><br />{#info_virtualhost#}</a></td>
|
||||
<td><a href="{$HOST}hosting/dns.xhtml"><img src="{$HOST}image/big-icon/dns.png" alt="" /><br />{#info_dns#}</a></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="{$HOST}hosting/ftpaccounts.xhtml"><img src="{$HOST}image/big-icon/ftp.png" alt="" /><br />{#info_ftp#}</a></td>
|
||||
<td><a href="{$HOST}hosting/emails.xhtml"><img src="{$HOST}image/big-icon/email.png" alt="" /><br />{#info_mail#}</a></td>
|
||||
<td><a href="{$HOST}hosting/installer.xhtml"><img src="{$HOST}image/big-icon/installation.png" alt="" /><br />{#info_installer#}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="{$HOST}hosting/informations.xhtml"><img src="{$HOST}image/big-icon/information.png" alt="" /><br />{#info_information#}</a></td>
|
||||
<td><a href="{$HOST}hosting/quotas.xhtml"><img src="{$HOST}image/big-icon/quota.png" alt="" /><br />{#info_quota#}</a></td>
|
||||
<td><a href="{$HOST}hosting/crons.xhtml"><img src="{$HOST}image/big-icon/cron.png" alt="" /><br />{#info_cron#}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="{$HOST}hosting/changebasename.xhtml"><img src="{$HOST}image/big-icon/configuration.png" alt="" /><br />{#info_basename#}</a></td>
|
||||
<td><a href="http://{#faq_address#}"><img src="{$HOST}image/big-icon/faq.png" alt="" /><br />{#info_faq#}</a></td>
|
||||
<td><a href="{$HOST}hosting/accountdelete.xhtml"><img src="{$HOST}image/big-icon/stop.png" alt="" /><br />{#info_delete_hosting#}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
111
web/themes/underground/template/hosting/informations.tpl
Executable file
@@ -0,0 +1,111 @@
|
||||
{config_load file="lang" section='informations'}
|
||||
<div id="hosting_informations">
|
||||
<h1>{#infos_briefing#}</h1>
|
||||
|
||||
|
||||
<div id="offer_information">
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2">{#infos_customer#} : {if $USER_INFOS->company != 'NULL'}<strong>{$USER_INFOS->company}{else}<strong>{$USER_INFOS->first_name}</strong> <strong>{$USER_INFOS->last_name}</strong>{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{#infos_offer#} : <strong>{$HOSTING_INFOS->offer_name}</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_disk#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_space_limit == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_space_limit} Mo{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_trafic#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_trafic_limit == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_trafic_limit} Mo{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_database#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_databases_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_databases_number}{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_dns#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_dns_domains_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_dns_domains_number}{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_virtualhost#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_virtualhosts_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_virtualhosts_number}{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_mail#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_email_accounts_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_email_accounts_number}{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_mail_space#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_email_accounts_space == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_email_accounts_space} Mo{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#infos_mail_alias#} :</td>
|
||||
<td>{if $HOSTING_INFOS->offer_email_alias_number == '-1'}{#unlimited#}{else}{$HOSTING_INFOS->offer_email_alias_number}{/if}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
<h1>{#infos_address#}</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<td id="td_left"><img src="{$HOST}image/big-icon/computer_128.png" alt="" /></td>
|
||||
<td id="td_right">
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<td class="title"><strong>Nom du compte :</strong></td>
|
||||
<td><a href="http://{$HOSTING_INFOS->base_name}.{#hosting_address#}">{$HOSTING_INFOS->base_name}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="title">FTP :</td>
|
||||
<td>ftp.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->data_port})</td>
|
||||
</tr>
|
||||
{if $HOSTING_INFOS->offer_service_mysql == 'true'}
|
||||
<tr>
|
||||
<td class="title">MySQL :</td>
|
||||
<td>mysql.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->mysql_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $HOSTING_INFOS->offer_service_smtp == 'true'}
|
||||
<tr>
|
||||
<td class="title">SMTP :</td>
|
||||
<td>smtp.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->smtp_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $HOSTING_INFOS->offer_service_smtps == 'true'}
|
||||
<tr>
|
||||
<td class="title">SMTPs :</td>
|
||||
<td>smtps.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->smtps_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $HOSTING_INFOS->offer_service_pop == 'true'}
|
||||
<tr>
|
||||
<td class="title">POP :</td>
|
||||
<td>pop.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->pop_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $HOSTING_INFOS->offer_service_pops == 'true'}
|
||||
<tr>
|
||||
<td class="title">POPs :</td>
|
||||
<td>pops.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->pops_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $HOSTING_INFOS->offer_service_imap == 'true'}
|
||||
<tr>
|
||||
<td class="title">IMAP :</td>
|
||||
<td>imap.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->imap_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $HOSTING_INFOS->offer_service_imaps == 'true'}
|
||||
<tr>
|
||||
<td class="title">IMAPs :</td>
|
||||
<td>imaps.{$HOSTING_INFOS->base_name}.{#hosting_address#} ({#port#} {$HOSTING_INFOS->imaps_port})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
164
web/themes/underground/template/hosting/vhosts/add.tpl
Executable file
@@ -0,0 +1,164 @@
|
||||
{config_load file="lang" section='vhosts'}
|
||||
|
||||
<div id="result_datas" style="display:none;">
|
||||
<h1>Création d'un nouveau serveur virtuel</h1>
|
||||
<p id="all_is_ok" style="display:none;" class="success">Le nouveau serveur virtuel a été ajouté avec succès.</p>
|
||||
<p id="err_req_host_missing" style="display:none;" class="error">Vous n'avez pas spécifié l'adresse d'accès.</p>
|
||||
<p id="err_req_host" style="display:none;" class="error">Le format de l'adresse d'accès n'est pas valide.</p>
|
||||
<p id="err_host_exists" style="display:none;" class="error">Cette adresse d'accès est déjà enregistrée</p>
|
||||
<p id="err_req_usrfldr_root_missing" style="display:none;" class="error">Vous n'avez pas spécifié le répertoire de base de ce serveur virtuel</p>
|
||||
<p id="err_req_usrfldr_root" style="display:none;" class="error">Le format du répertoire de base est incorrect</p>
|
||||
<p id="err_email" style="display:none;" class="error">L'adresse email de l'administrateur est invalide</p>
|
||||
<p id="err_usrfldr_openbasedir" style="display:none;" class="error">Le format de l'Open BaseDir est incorrect</p>
|
||||
<p id="err_sql_def_host" style="display:none;" class="error">Le format de l'hôte Mysql par défaut est incorrect</p>
|
||||
<p id="err_sql_def_user" style="display:none;" class="error">Le format de l'utilisateur Mysql par défaut est incorrect</p>
|
||||
<p id="err_sql_def_pwd" style="display:none;" class="error">Le format du mot de passe Mysql par défaut est incorrect</p>
|
||||
<p id="err_tmp_usrfldr" style="display:none;" class="error">Le format du dossier temporaire est incorrect</p>
|
||||
<p id="err_tmp_usrfldr_dontexists" style="display:none;" class="error">Le dossier temporaire n'existe pas</p>
|
||||
<p id="err_sess_usrfldr" style="display:none;" class="error">Le format du dossier sessions est incorrect</p>
|
||||
<p id="err_sess_usrfldr_dontexists" style="display:none;" class="error">Le dossier sessions n'existe pas</p>
|
||||
<p id="err_vhosts_max_reached" style="display:none;" class="error">Le nombre maximal de serveurs virtuels pour cet hébergement a été atteind.</p>
|
||||
</div>
|
||||
|
||||
<div id="form_new_vhost_container">
|
||||
<h1>Ajouter un serveur virtuel</h1>
|
||||
<p>Merci de remplir tous les champs du formulaire ci-dessous.</p>
|
||||
<p>Vous pouvez obtenir des détails sur certains champs en passant votre souris sur le nom de ceux-ci.</p>
|
||||
<form id="form_new_vhost" name="form_new_vhost" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td id="form_host" title="Adresse avec laquelle vous désirez accéder à votre site (sans http://)">Adresse :</td>
|
||||
<td><input type="text" name="req_host" value="" id="req_host" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_root" title="Répertoire de base du serveur virtuel. Cette valeur doit obligatoirement commencer et se terminer par /">Racine :</td>
|
||||
<td><input type="text" name="req_usrfldr_root" value="/public/" id="req_usrfldr_root" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Activation :</td>
|
||||
<td>
|
||||
<select name="active" id="active">
|
||||
<option value="true" selected="selected">{#_yes#|capitalize}</option>
|
||||
<option value="false">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Adresse email de l'administrateur :</td>
|
||||
<td><input type="text" name="email" value="" id="email" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" id="btn_adv_opt_s">
|
||||
<input type="button" value="Afficher les options avancées" onclick="showAdvancedOptions();" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" id="btn_adv_opt_h" style="display:none">
|
||||
<input type="button" value="Masquer les options avancées" onclick="hideAdvancedOptions();" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_1" style="display:none;">
|
||||
<td id="form_openbasedir" title="Dossier jusqu'auquel php peut remonter. Cette valeur doit obligatoirement commencer et se terminer par /. Laissez ce champ vide pour qu'il soit identique au répertoire de base.">Open BaseDir :</td>
|
||||
<td><input type="text" name="usrfldr_openbasedir" id="usrfldr_openbasedir" value="" /></td>
|
||||
</tr>
|
||||
<tr id="adv_opt_2" style="display:none;">
|
||||
<td id="form_sql_def_host" title="Hôte par défaut en cas de champs vide pour la fonction mysql_connect()">Mysql.default_host :</td>
|
||||
<td><input type="text" name="sql_def_host" id="sql_def_host" value="" /></td>
|
||||
</tr>
|
||||
<tr id="adv_opt_3" style="display:none;">
|
||||
<td id="form_sql_def_user" title="Utilisateur par défaut en cas de champs vide pour la fonction mysql_connect()">Mysql.default_user :</td>
|
||||
<td><input type="text" name="sql_def_user" id="sql_def_user" value="" /></td>
|
||||
</tr>
|
||||
<tr id="adv_opt_4" style="display:none;">
|
||||
<td id="form_sql_def_pwd" title="Mot de passe par défaut en cas de champs vide pour la fonction mysql_connect()">Mysql.default_password :</td>
|
||||
<td><input type="text" name="sql_def_pwd" id="sql_def_pwd" value="" /></td>
|
||||
</tr>
|
||||
<tr id="adv_opt_5" style="display:none;">
|
||||
<td id="form_tmp_folder" title="Dossier contenant toutes les données temporaires du serveur virtuel">Dossier temp :</td>
|
||||
<td><input type="text" name="tmp_usrfldr" id="tmp_usrfldr" value="" /></td>
|
||||
</tr>
|
||||
<tr id="adv_opt_6" style="display:none;">
|
||||
<td id="form_sess_folder" title="Dossier contenant toutes les sessions du serveur virtuel">Dossier sessions :</td>
|
||||
<td><input type="text" name="sess_usrfldr" id="sess_usrfldr" value="" /></td>
|
||||
</tr>
|
||||
<tr id="adv_opt_8" style="display:none;">
|
||||
<td id="form_allowindexes" title="Autoriser ou non le listage des dossiers ne contenant pas de page web par défaut">Listage des dossiers :</td>
|
||||
<td>
|
||||
<select name="allowindexes" id="allowindexes">
|
||||
<option value="true" selected="selected">{#_yes#|capitalize}</option>
|
||||
<option value="false">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_9" style="display:none;">
|
||||
<td id="form_allow_url_fopen" title="Autoriser l'ouvrture de fichier distant via la fonction fopen()">Allow_url_fopen :</td>
|
||||
<td>
|
||||
<select name="allow_url_fopen" id="allow_url_fopen">
|
||||
<option value="true">{#_yes#|capitalize}</option>
|
||||
<option value="false" selected="selected">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_10" style="display:none;">
|
||||
<td id="form_allow_url_include" title="Autoriser l'inclusion de fichier distant via la fonction include (), etc..">Allow_url_include :</td>
|
||||
<td>
|
||||
<select name="allow_url_include" id="allow_url_include">
|
||||
<option value="true">{#_yes#|capitalize}</option>
|
||||
<option value="false" selected="selected">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_11" style="display:none;">
|
||||
<td id="form_display_errors" title="Voir les erreurs génerées par php">Display_errors :</td>
|
||||
<td>
|
||||
<select name="display_errors" id="display_errors">
|
||||
<option value="true" selected="selected">{#_yes#|capitalize}</option>
|
||||
<option value="false">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_12" style="display:none;">
|
||||
<td id="form_short_open_tag" title="Permettre l'utilisation de < ? ? >">Short_open_tag :</td>
|
||||
<td>
|
||||
<select name="short_open_tag" id="short_open_tag">
|
||||
<option value="true" selected="selected">{#_yes#|capitalize}</option>
|
||||
<option value="false">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_13" style="display:none;">
|
||||
<td id="form_session_autostart" title="Demarrer les sessions en début de page sans utiliser session_start()">Session.auto_start :</td>
|
||||
<td>
|
||||
<select name="session_autostart" id="session_autostart">
|
||||
<option value="true">{#_yes#|capitalize}</option>
|
||||
<option value="false" selected="selected">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_14" style="display:none;">
|
||||
<td id="form_magic_quotes" title="Ajoute automatiquement des anti-slashs aux arrays $_POST, etc..">Magic_quotes_gpc :</td>
|
||||
<td>
|
||||
<select name="magic_quotes" id="magic_quotes">
|
||||
<option value="true" selected="selected">{#_yes#|capitalize}</option>
|
||||
<option value="false">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="adv_opt_15" style="display:none;">
|
||||
<td id="form_register_globals" title="Permet d'utiliser $_POST['var'] en $var">Register_globals :</td>
|
||||
<td>
|
||||
<select name="register_globals" id="register_globals">
|
||||
<option value="true">{#_yes#|capitalize}</option>
|
||||
<option value="false" selected="selected">{#_no#|capitalize}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<input type="button" value="Valider et créer le serveur" onclick="validateForm('form_new_vhost',1);" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
31
web/themes/underground/template/hosting/vhosts/list.tpl
Executable file
@@ -0,0 +1,31 @@
|
||||
{config_load file="lang" section='vhosts'}
|
||||
|
||||
<h1>{#vhosts_list_title#}</h1>
|
||||
<p>{#vhost_description#}</p>
|
||||
|
||||
{if $pages_count!=0}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Adresse</th>
|
||||
<th>Racine</th>
|
||||
<th>Email admin</th>
|
||||
<th>Actif</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_vhost">
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p class="pageslinks" id="tbl_vhost_pg_links"></p>
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
getPage('tbl_vhost', 1, {/literal}{$pages_count}{literal}, 1); });
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
{else}
|
||||
<p>Vous n'avez aucun serveur virtuel actuellement.</p>
|
||||
{/if}
|
||||
|
||||
32
web/themes/underground/template/index.tpl
Executable file
@@ -0,0 +1,32 @@
|
||||
{config_load file="lang" section='index'}
|
||||
|
||||
{if !isset($is_client)}
|
||||
<h1>{#msg_welcome#}</h1>
|
||||
<p>
|
||||
{#msg_not_client#}
|
||||
</p>
|
||||
<p>
|
||||
{#msg_not_client2#} {#hosting_title#}. {#msg_not_client3#}
|
||||
</p>
|
||||
<p>
|
||||
{#msg_not_client4#}
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{if isset($is_client)}
|
||||
<h1>{#msg_welcome#}</h1>
|
||||
<p>{#msg_client1#} <a href="myservers.xhtml">{#clic_here#}</a>.</p>
|
||||
<p>{#msg_client2#}</p>
|
||||
{/if}
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$.gritter.add({ title: 'Bienvenue', text: "Ceci est un test pour voir ce que ca donne :)<br />http://boedesign.com/2009/07/11/growl-for-jquery-gritter/", time: 5000 });
|
||||
$.gritter.add({ title: 'Bienvenue', text: "C'est quand meme pas mal, non ?", time: 7000 });
|
||||
$.gritter.add({ title: 'Bienvenue', text: "je le verrai bien quand t'as cliqué pour delete une db/ftp 'Suppression programmée, merci de patienter quelques minutes' ", time: 9000 });
|
||||
$.gritter.add({ title: 'Bienvenue', text: "Vous en pensez quoi ?", time: 11000 });
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
|
||||
6
web/themes/underground/template/javascript_execution.tpl
Executable file
@@ -0,0 +1,6 @@
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
$("td[id*='form_']").tipsy({gravity: 's'});
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
150
web/themes/underground/template/myaccount.tpl
Executable file
@@ -0,0 +1,150 @@
|
||||
{config_load file="lang" section='myaccount'}
|
||||
<div id="result_datas" style="display:none">
|
||||
<h1>{#result_manage_account#}</h1>
|
||||
<p id="err_req_last_name_missing" style="display:none;" class="error">{#missing_last_name#}</p>
|
||||
<p id="err_req_last_name" style="display:none;" class="error">{#format_last_name#}</p>
|
||||
<p id="err_req_first_name_missing" style="display:none;" class="error">{#missing_first_name#}</p>
|
||||
<p id="err_req_first_name" style="display:none;" class="error">{#format_first_name#}</p>
|
||||
<p id="err_company" style="display:none;" class="error">{#format_company#}</p>
|
||||
<p id="err_req_address_missing" style="display:none;" class="error">{#missing_address#}</p>
|
||||
<p id="err_req_address" style="display:none;" class="error">{#format_address#}</p>
|
||||
<p id="err_req_city_missing" style="display:none;" class="error">{#missing_city#}</p>
|
||||
<p id="err_req_city" style="display:none;" class="error">{#format_city#}</p>
|
||||
<p id="err_req_zipcode_missing" style="display:none;" class="error">{#missing_zipcode#}</p>
|
||||
<p id="err_req_zipcode" style="display:none;" class="error">{#format_zipcode#}</p>
|
||||
<p id="err_req_email_missing" style="display:none;" class="error">{#missing_email#}</p>
|
||||
<p id="err_req_email" style="display:none;" class="error">{#format_email#}</p>
|
||||
<p id="err_req_pseudo_missing" style="display:none;" class="error">{#missing_pseudo#}</p>
|
||||
<p id="err_req_pseudo" style="display:none;" class="error">{#format_pseudo#}</p>
|
||||
|
||||
<p id="pseudo_used" style="display:none;" class="error">{#pseudo_already_used#}</p>
|
||||
<p id="lang_forbidden" style="display:none;" class="warning">{#lang_not_autorized#}</p>
|
||||
<p id="tpl_forbidden" style="display:none;" class="warning">{#template_not_autorized#}</p>
|
||||
<p id="account_is_ok" style="display:none;" class="success">{#result_manage_account_ok#}</p>
|
||||
|
||||
<p id="err_req_password_missing" style="display:none;" class="error">{#missing_old_password#}</p>
|
||||
<p id="err_req_password" style="display:none;" class="error">{#format_old_password#}</p>
|
||||
<p id="err_req_new_password1_missing" style="display:none;" class="error">{#missing_new_password1#}</p>
|
||||
<p id="err_req_new_password1" style="display:none;" class="error">{#format_new_password1#}</p>
|
||||
<p id="err_req_new_password2_missing" style="display:none;" class="error">{#missing_new_password2#}</p>
|
||||
<p id="err_req_new_password2" style="display:none;" class="error">{#format_new_password2#}</p>
|
||||
|
||||
<p id="pwd_not_ok" style="display:none;" class="error">{#incorrect_password#}</p>
|
||||
<p id="pwd_is_ok" style="display:none;" class="success">{#password_changed#}</p>
|
||||
</div>
|
||||
<div class="myaccount_table" id="form_myaccount_container">
|
||||
<h1>{#manage_my_account#}</h1>
|
||||
<form id="form_myaccount" action="">
|
||||
<p>{#msg_info_help#}</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Nom</td>
|
||||
<td><input type="text" name="req_last_name" value="{$USER_INFOS->last_name}" id="req_last_name" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prénom</td>
|
||||
<td><input type="text" name="req_first_name" value="{$USER_INFOS->first_name}" id="req_first_name" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_company" title="{#msg_company#}">Entreprise</td>
|
||||
<td><input type="text" name="company" value="{$USER_INFOS->company}" id="company" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Adresse</td>
|
||||
<td><input type="text" name="req_address" value="{$USER_INFOS->address}" id="req_address" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ville</td>
|
||||
<td><input type="text" name="req_city" value="{$USER_INFOS->city}" id="req_city" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Code postal</td>
|
||||
<td><input type="text" name="req_zipcode" value="{$USER_INFOS->zipcode}" id="req_zipcode" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_email" title="{#msg_email#}">Email</td>
|
||||
<td><input type="text" name="req_email" value="{$USER_INFOS->email}" id="req_email" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_pseudo" title="{#msg_pseudo#}">Pseudonyme</td>
|
||||
<td><input type="text" name="req_pseudo" value="{$USER_INFOS->user}" id="req_pseudo" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Pays</td>
|
||||
<td>
|
||||
<select class="select" name="countrie" id="countrie_id">
|
||||
{foreach item=countrie from=$countries}
|
||||
{if $countrie->flag == $USER_INFOS->countrie}
|
||||
{assign var=selected value=" selected=\"selected\""}
|
||||
{else}
|
||||
{assign var=selected value=""}
|
||||
{/if}
|
||||
<option value="{$countrie->id}"{$selected}>{$countrie->countrie}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Langue du panel</td>
|
||||
<td>
|
||||
<select class="select" name="lang" id="lang_id">
|
||||
{foreach item=countrie from=$countries}
|
||||
{if $countrie->is_lang == 'true'}
|
||||
{if $countrie->flag == $USER_INFOS->lang}
|
||||
{assign var=selected value=" selected=\"selected\""}
|
||||
{else}
|
||||
{assign var=selected value=""}
|
||||
{/if}
|
||||
<option value="{$countrie->id}"{$selected}>{$countrie->countrie}</option>
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_template" title="{#msg_template#}">Theme du panel</td>
|
||||
<td>
|
||||
<select class="select" name="template" id="template">
|
||||
{foreach item=tpl from=$templates}
|
||||
{if $USER_INFOS->template == $tpl}
|
||||
{assign var=selected value="selected=\"selected\""}
|
||||
{else}
|
||||
{assign var=selected value=""}
|
||||
{/if}
|
||||
<option value="{$tpl}"{$selected}>{$tpl|ucwords}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td style="text-align:center"><input type="button" value="Valider et modifier mes données" onclick="validateForm('form_myaccount');" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="form_password_container">
|
||||
<h1>Modifier mon mot de passe</h1>
|
||||
<form id="form_password" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Ancien mot de passe</td>
|
||||
<td><input type="password" name="req_password" id="req_password" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nouveau mot de passe</td>
|
||||
<td><input type="password" name="req_new_password1" id="req_new_password1" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Retaper</td>
|
||||
<td><input type="password" name="req_new_password2" id="req_new_password2" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td style="text-align:center;"><input type="button" value="Valider et modifier mon mot de passe" onclick="validateForm('form_password');" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
25
web/themes/underground/template/myhostings.tpl
Executable file
@@ -0,0 +1,25 @@
|
||||
{config_load file="lang" section='myhostings'}
|
||||
|
||||
<h1>{#list_hostings#}</h1>
|
||||
<div id="list_hostings">
|
||||
<table>
|
||||
<thead><tr>
|
||||
<th style="width:20%">{#hosting_base_name#}</th>
|
||||
<th style="width:14%">{#offer#}</th>
|
||||
<th style="width:23%">{#hosting_begin#}</th>
|
||||
<th style="width:23%">{#hosting_end#}</th>
|
||||
<th style="width:20%">{#hosting_statut#}</th>
|
||||
</tr></thead>
|
||||
<tbody id="tbl_myhostings">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="pageslinks" id="tbl_myhostings_pg_links"></p>
|
||||
{literal}<script type="text/javascript">$(document).ready(function () { getPage('tbl_myhostings',1,{/literal}{$pages_count}{literal},0); });</script>{/literal}
|
||||
</div>
|
||||
61
web/themes/underground/template/sidebar.tpl
Executable file
@@ -0,0 +1,61 @@
|
||||
<div id="sidebar" >
|
||||
|
||||
<!-- Base menu -->
|
||||
{if isset($is_connected)}
|
||||
<h1>{#mainmenu_title#}</h1>
|
||||
<div class="left-box">
|
||||
<ul class="sidemenu">
|
||||
<li><a href="{$HOST}index.xhtml">{#home#}</a></li>
|
||||
<li><a href="{$HOST}myaccount.xhtml">{#my_account#}</a></li>
|
||||
<li><a href="{$HOST}history.xhtml">{#history#}</a></li>
|
||||
{if isset($is_client)}
|
||||
<li><a href="{$HOST}myhostings.xhtml">{#my_hostings#}</a></li>
|
||||
{/if}
|
||||
<li><a href="{$HOST}support.xhtml">{#support#}</a></li>
|
||||
<li><a href="{$HOST}connection.xhtml">{#deconnection#}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!-- Custom menu -->
|
||||
{if isset($list_menu)}
|
||||
{foreach from=$list_menu_title item=menu key=key}
|
||||
<h1>{$menu}</h1>
|
||||
<div class="left-box">
|
||||
<ul class="sidemenu">
|
||||
{foreach from=$list_menu.$key item=mnu key=mkey}
|
||||
<li><a href="{$HOST}{$mkey}">{$mnu}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
<!-- Hosting menu -->
|
||||
{if isset($is_client)and isset($hosting_specified)}
|
||||
<h1>{#mainmenu_hosting#}</h1>
|
||||
<div class="left-box">
|
||||
<ul class="sidemenu">
|
||||
<li><a href="{$HOST}hosting/hosting-{$hosting_specified}.xhtml">{#summary#}</a></li>
|
||||
<li><a href="{$HOST}hosting/databases.xhtml">{#databases#}</a></li>
|
||||
<li><a href="{$HOST}hosting/domainnames.xhtml">{#virtualhosts#}</a></li>
|
||||
<li><a href="{$HOST}hosting/dns.xhtml">{#dns#}</a></li>
|
||||
<li><a href="{$HOST}hosting/ftpaccounts.xhtml">{#ftpaccounts#}</a></li>
|
||||
<li><a href="{$HOST}hosting/emails.xhtml">{#emails#}</a></li>
|
||||
<li><a href="{$HOST}hosting/installer.xhtml">{#installer#}</a></li>
|
||||
<li><a href="{$HOST}hosting/crons.xhtml">{#cron#}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<!-- Admin menu -->
|
||||
{if isset($is_admin)}
|
||||
<h1>{#admin#}</h1>
|
||||
<div class="left-box">
|
||||
<ul class="sidemenu">
|
||||
<li><a href="{$HOST}admin/admin.xhtml">{#admin#}</a></li>
|
||||
<li><a href="{$HOST}admin/support.xhtml">{#support#}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
43
web/themes/underground/template/support/create.tpl
Executable file
@@ -0,0 +1,43 @@
|
||||
{config_load file="lang" section='support'}
|
||||
|
||||
<div id="result_datas" style="display:none">
|
||||
<h1>{#support_create_result#}</h1>
|
||||
<p id="all_is_ok" style="display:none;" class="success">{#result_support_create_ok#}</p>
|
||||
<p id="err_hosting_id" style="display:none;" class="error">{#error_hosting_id#}</p>
|
||||
<p id="err_req_subject_missing" style="display:none;" class="error">{#error_subject_missing#}</p>
|
||||
<p id="err_req_subject" style="display:none;" class="error">{#error_subject_format#}</p>
|
||||
<p id="err_req_message_missing" style="display:none;" class="error">{#error_message_missing#}</p>
|
||||
<p id="err_req_message" style="display:none;" class="error">{#error_message_format#}</p>
|
||||
</div>
|
||||
<div id="form_new_ticket_container">
|
||||
<h1>{#support_create#}</h1>
|
||||
<p>{#support_create_intro#}</p>
|
||||
<p>{#support_create_helpmsg#}</p>
|
||||
<form id="form_new_ticket" name="form_new_ticket" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td id="form_hosting" title="{#ticket_hosting_title#}">{#ticket_hosting_legend#} :</td>
|
||||
<td>
|
||||
<select name="hosting_id" id="hosting_id">
|
||||
<option value="0" selected="selected">{#no_hosting_associated#}</option>
|
||||
{foreach item=hosting from=$hostings}
|
||||
<option value="{$hosting->id}">{$hosting->base_name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_subject" title="{#ticket_subject_title#}">{#ticket_subject_legend#} :</td>
|
||||
<td><input type="text" name="req_subject" value="" id="req_subject" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="form_msg" title="{#ticket_msg_title#}" style="vertical-align:top;">{#ticket_msg_legend#} :</td>
|
||||
<td><textarea class="textarea" name="req_message" id="req_message"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input type="button" value="{#button_new_legend#}" onclick="validateForm('form_new_ticket');" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
25
web/themes/underground/template/support/list.tpl
Executable file
@@ -0,0 +1,25 @@
|
||||
{config_load file="lang" section='support'}
|
||||
|
||||
<h1>{#support_list#}</h1>
|
||||
|
||||
{if $pages_count!=0}
|
||||
<p>{#support_list_intro#}</p>
|
||||
<table style="width: 720px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{#ticket_date#}</th>
|
||||
<th>{#ticket_subject#}</th>
|
||||
<th>{#ticket_status#}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_user_tickets">
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="pageslinks" id="tbl_user_tickets_pg_links"></p>
|
||||
{literal}<script type="text/javascript">
|
||||
$(document).ready(function () { getPage('tbl_user_tickets',1,{/literal}{$pages_count}{literal},0); });
|
||||
</script>{/literal}
|
||||
{else}
|
||||
<p>{#support_nolist_intro#}</p>
|
||||
{/if}
|
||||
|
||||
99
web/themes/underground/template/support/show.tpl
Executable file
@@ -0,0 +1,99 @@
|
||||
{config_load file="lang" section='support'}
|
||||
{if isset($user_actions_allowed)}
|
||||
<div id="result_datas" style="display:none">
|
||||
<h1>{#support_action_result#}</h1>
|
||||
|
||||
<p id="close_ok" style="display:none;" class="success">{#result_support_close_ok#}</p>
|
||||
<p id="reply_is_ok" style="display:none;" class="success">{#result_support_reply_ok#}</p>
|
||||
<p id="err_req_message_missing" style="display:none;" class="error">{#error_message_missing#}</p>
|
||||
<p id="err_req_message" style="display:none;" class="error">{#error_message_format#}</p>
|
||||
<p id="err_ticket_id" style="display:none;" class="error">{#error_ticket_id_not_valid#}</p>
|
||||
<p id="err_database_update" style="display:none;" class="error">{#error_database_query#}</p>
|
||||
</div>
|
||||
{/if}
|
||||
<div id="details_table">
|
||||
<h1>{#support_show#}</h1>
|
||||
<table style="width: 720px;">
|
||||
<tr>
|
||||
<td>{#ticket_date_legend#}</td>
|
||||
<td>{$ticket->open_date}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#ticket_hosting_legend#}</td>
|
||||
<td>
|
||||
{if !isset($ticket->hosting_name)}
|
||||
{#no_hosting_associated#}
|
||||
{else}
|
||||
{$ticket->hosting_name}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#ticket_subject_legend#}</td>
|
||||
<td>{$ticket->subject}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{#ticket_status_legend#}</td>
|
||||
{if $ticket->status == 'asked'}<td>{#ticket_status_asked_full#}</td>
|
||||
{elseif $ticket->status == 'replied'}<td>{#ticket_status_replied_full#}</td>
|
||||
{elseif $ticket->status == 'closed_by_user'}<td>{#ticket_status_closed_user_full#}</td>
|
||||
{elseif $ticket->status == 'closed_by_support'}<td>{#ticket_status_closed_support_full#}</td>
|
||||
{elseif $ticket->status == 'auto_closed'}<td>{#ticket_status_auto_closed_full#}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{if isset($user_actions_allowed)}
|
||||
<tr>
|
||||
<td>{#ticket_avail_actions#}</td>
|
||||
<td>
|
||||
<input type="button" id="btn_reply" name="btn_reply" style="width: 45%" value="{#mnu_reply_ticket#}" onclick="$('#form_user_reply_container').slideDown('slow'); $('#details_table').slideUp('slow');" />
|
||||
<input type="button" id="btn_close" name="btn_close" style="width: 45%" value="{#mnu_close_ticket#}" onclick="$('#form_user_close_container').slideDown('slow'); $('#details_table').slideUp('slow');" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</div>
|
||||
{if isset($user_actions_allowed)}
|
||||
<div id="form_user_reply_container" style="display:none;">
|
||||
<h1>{#mnu_reply_ticket#}</h1>
|
||||
<form id="form_user_reply" name="form_user_reply" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td id="form_msg" name="form_msg" title="{#ticket_msg_title#}" style="vertical-align:top;">{#ticket_reply_legend#} :</td>
|
||||
<td>
|
||||
<textarea class="textarea" name="req_message" id="req_message"></textarea>
|
||||
<input type="hidden" name="reply_ticket_id" id="reply_ticket_id" value="{$ticket->id}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="button" name="btn_reply_cancel" id="btn_reply_cancel" value="{#button_cancel_legend#}" onclick="$('#form_user_reply_container').slideUp('slow'); $('#details_table').slideDown('slow');" /></td>
|
||||
<td><input type="button" name="btn_reply_valid" id="btn_reply_valid" value="{#button_reply_legend#}" onclick="validateForm('form_user_reply');" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div id="form_user_close_container" style="display:none;">
|
||||
<h1>{#mnu_close_ticket#}</h1>
|
||||
<p>{#support_close_intro#}</p>
|
||||
<form id="form_user_close" name="form_user_close" action="">
|
||||
<input type="hidden" name="close_ticket_id" id="close_ticket_id" value="{$ticket->id}" />
|
||||
<input type="button" name="btn_close_cancel" id="btn_close_cancel" style="width: 45%" value="{#button_cancel_legend#}" onclick="$('#form_user_close_container').slideUp('slow'); $('#details_table').slideDown('slow');" />
|
||||
<input type="button" name="btn_close_valid" id="btn_close_valid" style="width: 45%" value="{#mnu_close_ticket#}" onclick="validateForm('form_user_close');" />
|
||||
</form>
|
||||
</div>
|
||||
{/if}
|
||||
<p>{#support_show_intro#}</p>
|
||||
<table style="width: 720px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Auteur / Date</th>
|
||||
<th>Message</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbl_user_ticket_details">
|
||||
<tr><td></td><td></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="pageslinks" id="tbl_user_ticket_details_pg_links"></p>
|
||||
{literal}<script type="text/javascript">
|
||||
$(document).ready(function () { getPage('tbl_user_ticket_details',1,{/literal}{$pages_count},0, '{$ticket->id}'{literal}); });
|
||||
</script>{/literal}
|
||||
3
web/themes/underground/template/title.tpl
Executable file
@@ -0,0 +1,3 @@
|
||||
<div id="header-logo">
|
||||
<div id="logo">{#hosting_title#}</div>
|
||||
</div>
|
||||