fixed themes and images usage

This commit is contained in:
Nuno Miguel Reis
2013-07-29 17:20:40 +00:00
parent d0d0f90ddb
commit d1e2ff2715
99 changed files with 75 additions and 83 deletions
+17 -17
View File
@@ -34,7 +34,7 @@
$php_self_dir = substr($php_self_dir, strlen(PROJECT_PATH), strlen($php_self_dir));
}
?>
<link rel="icon" href="<!--{project_path}-->/favicon.ico">
<link rel="icon" href="<!--{project_path}-->/themes/enhanced/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type='text/css'>
@@ -52,7 +52,7 @@ body {
margin-bottom: 0px;
margin-right: 0px;
margin-left: 0px;
/*background-image: url('<!--{project_path}-->/themes/enhanced/background.jpg');*/
/*background-image: url('<!--{project_path}-->/themes/enhanced/images/background.jpg');*/
/*background-repeat: repeat-x;*/
/*background-attachment: fixed;*/
/*background-color: #FFFFFF;*/
@@ -67,7 +67,7 @@ th {
font-family: arial;
font-weight: bold;
/*background-color: #506eab;*/
background-image: url('<!--{project_path}-->/themes/enhanced/background_th.png');
background-image: url('<!--{project_path}-->/themes/enhanced/images/background_th.png');
padding-top: 4px;
padding-bottom: 4px;
padding-right: 7px;
@@ -173,7 +173,7 @@ INPUT.txt {
.vncell {
border-bottom: 1px solid #999999;
/*background-color: #639BC1;*/
background-image: url('<!--{project_path}-->/themes/enhanced/background_cell.gif');
background-image: url('<!--{project_path}-->/themes/enhanced/images/background_cell.gif');
padding-right: 20px;
padding-left: 8px;
text-align: left;
@@ -187,7 +187,7 @@ INPUT.txt {
.vncellreq {
background-image: url('<!--{project_path}-->/themes/enhanced/background_cell.gif');
background-image: url('<!--{project_path}-->/themes/enhanced/images/background_cell.gif');
border-bottom: 1px solid #999999;
background-color: #639BC1;
padding-right: 20px;
@@ -213,7 +213,7 @@ INPUT.txt {
}
.row_style0 {
background-image: url('<!--{project_path}-->/themes/enhanced/background_cell.gif');
background-image: url('<!--{project_path}-->/themes/enhanced/images/background_cell.gif');
border-bottom: 1px solid #999999;
color: #444444;
text-align: left;
@@ -288,7 +288,7 @@ table td {
table tr.even td {
background:#eee;
background-image: url('<!--{project_path}-->/themes/enhanced/background_cell.gif');
background-image: url('<!--{project_path}-->/themes/enhanced/images/background_cell.gif');
border-bottom: 1px solid #999999;
color: #333333;
}
@@ -326,7 +326,7 @@ table tr:nth-last-child(-5) td:first-of-type {
/* begin the menu css*/
.menu_bar {
background-image: url('<!--{project_path}-->/themes/enhanced/background_black.png');
background-image: url('<!--{project_path}-->/themes/enhanced/images/background_black.png');
-webkit-border-radius: 7px 7px 7px 7px;
-moz-border-radius: 7px 7px 7px 7px;
border-radius: 7px 7px 7px 7px;
@@ -340,10 +340,10 @@ table tr:nth-last-child(-5) td:first-of-type {
}
else {
if (substr($_SERVER['PHP_SELF'], -9) != "login.php") {
echo "background-image: url('<!--{project_path}-->/themes/enhanced/menu_background.png');";
echo "background-image: url('<!--{project_path}-->/themes/enhanced/images/menu_background.png');";
}
else {
echo "background-image: url('<!--{project_path}-->/themes/enhanced/login_background.png');";
echo "background-image: url('<!--{project_path}-->/themes/enhanced/images/login_background.png');";
}
}
?>
@@ -374,10 +374,10 @@ table tr:nth-last-child(-5) td:first-of-type {
}
else {
if (substr($_SERVER['PHP_SELF'], -9) != "login.php") {
echo "background-image: url('<!--{project_path}-->/themes/enhanced/content_background.png');";
echo "background-image: url('<!--{project_path}-->/themes/enhanced/images/content_background.png');";
}
else {
echo "background-image: url('<!--{project_path}-->/themes/enhanced/login_background.png');";
echo "background-image: url('<!--{project_path}-->/themes/enhanced/images/login_background.png');";
}
}
?>
@@ -647,10 +647,10 @@ function confirmdelete(url) {
<td width='50%'>
<?php
if (strlen(PROJECT_PATH) > 0) {
echo "<a href='".PROJECT_PATH."'><img src='".PROJECT_PATH."/themes/enhanced/logo.png' /></a>";
echo "<a href='".PROJECT_PATH."'><img src='".PROJECT_PATH."/themes/enhanced/images/logo.png' /></a>";
}
else {
echo "<a href='/'><img src='/themes/enhanced/logo.png' /></a>";
echo "<a href='/'><img src='/themes/enhanced/images/logo.png' /></a>";
}
?>
</td>
@@ -682,7 +682,7 @@ function confirmdelete(url) {
</td>
</tr>
<tr>
<td class='' colspan='2' width='100%' height='7px'><img src='<!--{project_path}-->/images/blank.gif'></td>
<td class='' colspan='2' width='100%' height='7px'><img src='<!--{project_path}-->/themes/enhanced/images/blank.gif'></td>
</tr>
<tr>
<td class='menu_bar' colspan='2' width='100%' height='30px'>
@@ -690,7 +690,7 @@ function confirmdelete(url) {
</td>
</tr>
<tr>
<td class='' colspan='2' width='100%' height='7px'><img src='<!--{project_path}-->/images/blank.gif'></td>
<td class='' colspan='2' width='100%' height='7px'><img src='<!--{project_path}-->/themes/enhanced/images/blank.gif'></td>
</tr>
<tr>
<td valign='top' align='center' width='100%'>
@@ -743,4 +743,4 @@ function confirmdelete(url) {
<br />
</body>
</html>
</html>