*.tpl -> templates/, *.gif -> images/

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@197 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-11-24 00:21:17 +00:00
parent e9bdd8a8b5
commit d912da3d47
32 changed files with 23 additions and 24 deletions

View File

@ -98,11 +98,11 @@ function expand($basedir,$style,$filename) {
if(!is_dir("$basedir/$style")) { if(!is_dir("$basedir/$style")) {
$style = "default"; $style = "default";
} }
$expand_include_path = "$basedir/$style/"; $expand_include_path = "$basedir/$style/templates/";
$current_style = $style; $current_style = $style;
$contents = @file_get_contents($expand_include_path.$filename); $contents = @file_get_contents($expand_include_path.$filename);
if($contents === false) { if($contents === false) {
$expand_include_path = "$basedir/default/"; $expand_include_path = "$basedir/default/templates/";
$current_style = "default"; $current_style = "default";
$contents = @file_get_contents($expand_include_path.$filename) or die("cannot load template"); $contents = @file_get_contents($expand_include_path.$filename) or die("cannot load template");
} }

View File

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 112 B

View File

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

View File

Before

Width:  |  Height:  |  Size: 93 B

After

Width:  |  Height:  |  Size: 93 B

View File

Before

Width:  |  Height:  |  Size: 47 B

After

Width:  |  Height:  |  Size: 47 B

View File

@ -16,18 +16,18 @@ var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",freque
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
.but{ .but{
font-family:Verdana !important; font-family:Verdana !important;
font-size:11px; font-size:11px;
background:url(${tplroot}/bg_btn.gif) no-repeat top left; background:url(${tplroot}/images/bg_btn.gif) no-repeat top left;
display:block; display:block;
text-align:center; text-align:center;
padding-top:2px; padding-top:2px;

View File

@ -8,13 +8,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
</style> </style>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px"> <body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px">

View File

@ -9,13 +9,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
.form td{ .form td{
background-color:#f4f4f4; background-color:#f4f4f4;
@ -24,7 +24,7 @@
.but{ .but{
font-family:Verdana !important; font-family:Verdana !important;
font-size:11px; font-size:11px;
background:url(${tplroot}/butbg.gif) no-repeat top left; background:url(${tplroot}/images/butbg.gif) no-repeat top left;
display:block; display:block;
text-align:center; text-align:center;
padding-top:2px; padding-top:2px;

View File

@ -8,13 +8,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
</style> </style>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px"> <body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px">

View File

@ -8,7 +8,7 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
@ -16,7 +16,7 @@
.but{ .but{
font-family:Verdana !important; font-family:Verdana !important;
font-size:11px; font-size:11px;
background:url(${tplroot}/butbg.gif) no-repeat top left; background:url(${tplroot}/images/butbg.gif) no-repeat top left;
display:block; display:block;
text-align:center; text-align:center;
padding-top:2px; padding-top:2px;

View File

@ -8,13 +8,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
</style> </style>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px"> <body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px">

View File

@ -8,13 +8,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
</style> </style>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px"> <body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px">

View File

@ -9,13 +9,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
.form td{ .form td{
background-color:#f4f4f4; background-color:#f4f4f4;
@ -24,7 +24,7 @@
.but{ .but{
font-family:Verdana !important; font-family:Verdana !important;
font-size:11px; font-size:11px;
background:url(${tplroot}/butbg.gif) no-repeat top left; background:url(${tplroot}/images/butbg.gif) no-repeat top left;
display:block; display:block;
text-align:center; text-align:center;
padding-top:2px; padding-top:2px;

View File

@ -8,13 +8,13 @@
<style> <style>
#header{ #header{
height:50px; height:50px;
background:url(${tplroot}/bg_domain.gif) repeat-x top; background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B; background-color:#5AD66B;
width:99.6%; width:99.6%;
margin:0px 0px 20px 0px; margin:0px 0px 20px 0px;
} }
#header .mmimg{ #header .mmimg{
background:url(${tplroot}/quadrat.gif) bottom left no-repeat; background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
} }
</style> </style>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px"> <body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px">

View File

@ -1 +0,0 @@
Deny from all