Commit ebffc16d authored by pedro_morgan's avatar pedro_morgan
Browse files

* Looking at themeses and can seem to set the default path, even hardcoded

* Copies default to default-copy
* Introduced "perdro" even though I cant access yet"
parent 316369a0
.navTopSelected {
background-color: #FFFFFF;
border-top: 1px solid #BFCBD9;
border-right: 1px solid #BFCBD9;
border-bottom: 1px none #BFCBD9;
border-left: 1px solid #BFCBD9;
text-align: center;
}
.navTop {
border-top: 1px none #BFCBD9;
border-right: 1px none #BFCBD9;
border-bottom: 1px solid #BFCBD9;
border-left: 1px none #BFCBD9;
}
.navTopDefault {
background-color: #DEE4F2;
/*border: 1px solid #FFFFFF;*/
border-top: 1px solid #FFFFFF;
border-right: 1px none #FFFFFF;
border-bottom: 0px none #BFCBD9;
border-left: 1px solid #FFFFFF;
text-align: center;
}
.mainContent {
background-color: #FFFFFF;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-style: solid;
border-top-color: #BFCBD9;
border-right-color: #BFCBD9;
border-bottom-color: #BFCBD9;
border-left-color: #BFCBD9;
}
.txtNavTopDefault {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #496FA8;
text-decoration: none;
}
.txtNavTopSelected {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #496FA8;
text-decoration: none;
}
.navLeftHead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #4E70A7;
text-decoration: none;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #999999;
border-right-color: #999999;
border-bottom-color: #4E70A7;
border-left-color: #999999;
text-align: left;
}
.navLeftItem {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #4E70A7;
text-decoration: none;
line-height: 15px;
}
.txtNavTopHelp {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
.tblHead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #496FA8;
background-color: #DEE4F2;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #C0CCDA;
border-right-color: #C0CCDA;
border-bottom-color: #C0CCDA;
border-left-color: #C0CCDA;
}
.tblFooter {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
color: #666666;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top-color: #C0CCDA;
border-right-color: #999999;
border-bottom-color: #999999;
border-left-color: #999999;
}
.frmText11 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #333333;
text-decoration: none;
}
.frmText11:Hover {
text-decoration: underline;
}
textarea,input.text,select,option{
color:#000000;
font-family:CourierNew,Courier,monospace;
background-color:#FCFCFC;
font-size:14px;
font-style:normal;
font-variant:normal;
font-weight:normal;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#BFCBD9;
scrollbar-face-color:#BFCBD9;
scrollbar-base-color:#BFCBD9;
scrollbar-3dlight-color:#BFCBD9;
border: 1 solid ##BFCBD9;
position: relative;
}
.frmTextHead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 18px;
color: #496FA8;
text-decoration: none;
}
.frmTextSubHead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
color: #496FA8;
text-decoration: none;
}
/*
.button {
border-color : #666699 #666699 #666699 #666699;
border-width : 1 1 1 1; color : Black;
background-color : #FFFFFF;
height : 19px;
font-size : 12px;
}
*/
.frmTab {
border-top: 1px none #999999;
border-right: 1px none #999999;
border-bottom: 1px solid #C0CCDA;
border-left: 1px none #999999;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 16px;
}
.frmTabSelected {
background-color: #FFFFFF;
border-top: 1px solid #C0CCDA;
border-right: 1px solid #C0CCDA;
border-bottom: 1px none #999999;
border-left: 1px solid #C0CCDA;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 16px;
}
.frmTabDefault {
background-color: #DEE4F2;
border: 1px solid #C0CCDA;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 16px;
}
.frmHead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #666666;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #999999;
border-right-color: #999999;
border-bottom-color: #999999;
border-left-color: #999999;
}
.frmSubHead {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #666666;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #999999;
border-right-color: #999999;
border-bottom-color: #999999;
border-left-color: #999999;
font-weight: bold;
}
.error {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
border: 1px solid #CC0000;
text-decoration: none;
}
INPUT {
border: 1px solid #BFCBD9;
/*
height: 26px;
font-size:20px;
*/
}
TEXTAREA {
border: 1px solid #BFCBD9;
}
.button {
border: 0;
background: #fff url("../../themes/default/images/button_bg.gif") no-repeat;
height: 26px;
font-size:14px;
/* used to catch the buttonEnding */
position: relative;
}
.buttonEnding {
position: absolute;
display: inline;
width: 2px;
height: 26px;
background: url("../../themes/default/images/button_end.gif") no-repeat;
}
h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight:bold;
}
<script language="JavaScript">
<!--
function del_record(link) {
if(window.confirm("<tmpl_var name='delete_confirmation'>")) {
location.href = link;
}
}
//-->
</script>
<tmpl_dyninclude name="content_tpl">
\ No newline at end of file
<tmpl_dyninclude name="content_tpl">
\ No newline at end of file
<tmpl_dyninclude name="content_tpl">
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ISPConfig</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="themes/default/style.css" rel="stylesheet" type="text/css">
<script src="js/yui/yahoo/yahoo-min.js"></script>
<script src="js/yui/connection/connection-min.js"></script>
<script src="js/scrigo.js"></script>
</head>
<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad="loadInitContent()">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#496FA8">
<td height="30" colspan="2" align="right" valign="top" background="themes/default/images/bg_nav_1.jpg"><!--<img src="themes/default/images/mydnsconfig_logo.gif" border="0" alt="">--></td>
</tr>
<tr>
<td width="128" height="18" align="left" valign="middle" bgcolor="#496FA8"><img src="themes/default/images/login_logout.gif" width="115" height="10" border="0" usemap="#Map"><br>
</td>
<td height="18" align="left" valign="bottom" bgcolor="#496FA8"><div id="topNav">&nbsp;</div></td>
</tr>
<tr>
<td width="128" height="26" background="themes/default/images/nav_top_bg.gif">&nbsp;</td>
<td rowspan="3" class="mainContent"><form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" style="margin:10px; width:99%; height:100%;"><div id="pageContent" style="width:100%; height:100%;"></div></form></td>
</tr>
<tr>
<td width="128" align="right" valign="top" bgcolor="#DEE4F2"><div id="sideNav">&nbsp;</div></td>
</tr>
<tr>
<td align="left" valign="bottom" bgcolor="#DEE4F2">&nbsp;</td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="66,1,106,19" href="login/logout.php?phpsessid=d4307711e9e4905b0bf590198a1fc4a5">
<area shape="rect" coords="5,1,50,10" href="help/index.php?phpsessid=d4307711e9e4905b0bf590198a1fc4a5" target="content">
</map>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ISPConfig</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="themes/default/style.css" rel="stylesheet" type="text/css">
<script src="js/prototype.js"></script>
<script language= "JavaScript">
function submitLoginForm(formname) {
var params = Form.serialize($('pageForm'));
var req1 = new Ajax.Request(
'content.php',
{
method:'post',
asynchronous: false,
parameters: params,
onFailure: reportError,
onComplete: showLoginResponse
}
);
}
function showLoginResponse(request) {
$('pageContent').innerHTML = request.responseText;
loadMenus('');
}
function submitForm(formname) {
var params = Form.serialize($('pageForm'));
var req1 = new Ajax.Request(
'content.php',
{
method:'post',
asynchronous: false,
parameters: params,
onFailure: reportError,
onComplete: showResponse
}
);
}
function showResponse(request) {
$('pageContent').innerHTML = request.responseText;
}
/*
function showResponse(request) {
if(request.responseText.indexOf("HEADER_REDIRECT:") > -1) {
var parts = request.responseText.split(":");
//alert(parts[1]);
loadContent2(parts[1],'');
} else {
$('pageContent').innerHTML = request.responseText;
}
}
*/
function loadContent2(pagename,params) {
var req1 = new Ajax.Request(
'admin/index.php',
{
method:'post',
asynchronous: false,
parameters: params,
onFailure: reportError,
onComplete: showResponse
}
);
}
function loadContent(pagename,params) {
var contentAjax = new Ajax.Updater(
'pageContent',
pagename,
{
method: 'post',
parameters: parameters,
asynchronous: false,
onFailure: reportError
});
}
function loadInitContent() {
var contentAjax = new Ajax.Updater(
'pageContent',
'content.php?s_mod=login&s_pg=index',
{
method: 'get',
parameters: '',
onFailure: reportError
});
loadMenus();
}
function loadMenus() {
var sideNavAjax2 = new Ajax.Updater(
'sideNav',
'nav.php',
{
method: 'get',
parameters: 'nav=side',
onFailure: reportError
});
var topNavAjax2 = new Ajax.Updater(
'topNav',
'nav.php',
{
method: 'get',
parameters: 'nav=top',
onFailure: reportError
});
}
function reportError(request)
{
alert('Sorry. There was an error.');
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad="loadInitContent()"><form method="post" action="" id="pageForm" enctype="multipart/form-data" style="margin:0px;">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#496FA8">
<td height="30" colspan="2" align="right" valign="top" background="themes/default/images/bg_nav_1.jpg"><img src="themes/default/images/mydnsconfig_logo.gif" border="0" alt=""></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="1" colspan="2" align="center" valign="bottom"><img src="themes/default/images/x.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="128" height="18" align="left" valign="middle" bgcolor="#496FA8"><img src="themes/default/images/login_logout.gif" width="115" height="10" border="0" usemap="#Map"><br>
</td>
<td height="18" align="left" valign="bottom" bgcolor="#496FA8"><div id="topNav">&nbsp;</div></td>
</tr>
<tr>
<td width="128" height="26" background="themes/default/images/nav_top_bg.gif">&nbsp;</td>
<td rowspan="3" class="mainContent"><div id="pageContent" style="width:100%; height:100%;"></div></td>
</tr>
<tr>
<td width="128" align="right" valign="top" bgcolor="#DEE4F2"><div id="sideNav">&nbsp;</div></td>
</tr>
<tr>
<td align="left" valign="bottom" bgcolor="#DEE4F2">&nbsp;</td>
</tr>
</table></form>
<map name="Map">
<area shape="rect" coords="66,1,106,19" href="login/logout.php?phpsessid=d4307711e9e4905b0bf590198a1fc4a5">
<area shape="rect" coords="5,1,50,10" href="help/index.php?phpsessid=d4307711e9e4905b0bf590198a1fc4a5" target="content">
</map>
</body>
</html>
\ No newline at end of file
<tr>
<td width="128" height="26" background="themes/{tmpl_var name="theme"}/images/nav_top_bg.gif">&nbsp;</td>
<td rowspan="3" class="mainContent">
<table width="100%" height="100%" border="0" cellpadding="20" cellspacing="0">
<tr>
<td><iframe height="100%" width="100%" frameborder="0" name="content" src="{tmpl_var name="startpage"}"></iframe></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="128" align="right" valign="top" bgcolor="#DEE4F2"><table width="128" border="0" cellspacing="0" cellpadding="2">
<tr>
<td height="10">&nbsp;</td>
</tr>
<tr><td align="center">
<tmpl_loop name="nav_left">
<table bgcolor="#F4F6FB" width="115">
<tr>
<td class="navLeftHead"><tmpl_var name="title"></td>
</tr>
<tr>
<td>
<tmpl_loop name="items">
<a href="<tmpl_var name='link'>" class="navLeftItem" target="<tmpl_var name='target'>"><tmpl_var name="title"></a><br>
</tmpl_loop>
</td>
</tr>
</table>
<br />
</tmpl_loop>
</td></tr>
</table></td>
</tr>
<tr>
<td align="left" valign="bottom" bgcolor="#DEE4F2">&nbsp;</td>
</tr>
\ No newline at end of file
<tr>
<td width="128" height="26" background="themes/{tmpl_var name="theme"}/images/nav_top_bg.gif">&nbsp;</td>
<td rowspan="3" class="mainContent">
<table width="100%" height="100%" border="0" cellpadding="20" cellspacing="0">
<tr>
<td width="200"><iframe height="100%" width="100%" frameborder="0" name="navframe" src="{tmpl_var name="navframe_page"}"></iframe></td>
<td><iframe height="100%" width="100%" frameborder="0" name="content" src="{tmpl_var name="startpage"}"></iframe></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="128" align="right" valign="top" bgcolor="#DEE4F2"><table width="128" border