fixed themes and images usage

This commit is contained in:
Nuno Miguel Reis
2013-07-29 17:20:40 +00:00
parent 923828681a
commit b664fbc4ec
99 changed files with 75 additions and 83 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

+5 -7
View File
@@ -1,11 +1,9 @@
<?php
//define the link labels
$v_link_label_edit = "<img src='".PROJECT_PATH."/images/icon_e.png' width='17' height='17' alt='edit' border='0'>";
$v_link_label_add = "<img src='".PROJECT_PATH."/images/icon_plus.png' width='17' height='17' border='0' alt='add'>";
$v_link_label_delete = "<img src='".PROJECT_PATH."/images/icon_x.png' width='17' height='17' alt='delete' border='0'>";
$v_link_label_view = "<img src='".PROJECT_PATH."/images/icon_view.gif' width='17' height='17' border='0' alt='add'>";
//$v_link_label_cal = "<img src='".PROJECT_PATH."/images/icon_cal.gif' width='17' height='17' border='0' alt='add'>";
//$v_link_label_up = "<img src='".PROJECT_PATH."/images/icon_up.gif' width='17' height='17' border='0' alt='up'>";
$v_link_label_edit = "<img src='".PROJECT_PATH."/themes/enhanced/images/icon_e.png' width='17' height='17' alt='edit' border='0'>";
$v_link_label_add = "<img src='".PROJECT_PATH."/themes/enhanced/images/icon_plus.png' width='17' height='17' border='0' alt='add'>";
$v_link_label_delete = "<img src='".PROJECT_PATH."/themes/enhanced/images/icon_x.png' width='17' height='17' alt='delete' border='0'>";
$v_link_label_view = "<img src='".PROJECT_PATH."/themes/enhanced/images/icon_view.gif' width='17' height='17' border='0' alt='add'>";
?>
?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Before

Width:  |  Height:  |  Size: 322 B

After

Width:  |  Height:  |  Size: 322 B

Before

Width:  |  Height:  |  Size: 72 B

After

Width:  |  Height:  |  Size: 72 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Before

Width:  |  Height:  |  Size: 324 B

After

Width:  |  Height:  |  Size: 324 B

Before

Width:  |  Height:  |  Size: 49 B

After

Width:  |  Height:  |  Size: 49 B

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1009 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

+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>