|
From: Paul S. O. <ps...@us...> - 2001-12-21 01:43:03
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv4504/admin
Modified Files:
admin_styles.php
Log Message:
Fix bug #495579
Index: admin_styles.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_styles.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** admin_styles.php 2001/12/17 10:03:33 1.12
--- admin_styles.php 2001/12/21 01:43:00 1.13
***************
*** 130,134 ****
while( $sub_dir = @readdir($dir) )
{
! if( $sub_dir != "." && $sub_dir != ".." && $sub_dir != "CVS" )
{
if( @file_exists($phpbb_root_dir . "templates/" . $sub_dir . "/theme_info.cfg") )
--- 130,134 ----
while( $sub_dir = @readdir($dir) )
{
! if( !is_file($phpbb_root_path . 'templates/' .$sub_dir) && !is_link($phpbb_root_path . 'templates/' .$sub_dir) && $sub_dir != "." && $sub_dir != ".." && $sub_dir != "CVS" )
{
if( @file_exists($phpbb_root_dir . "templates/" . $sub_dir . "/theme_info.cfg") )
***************
*** 545,549 ****
while( $file = @readdir($dir) )
{
! if($file != "." && $file != ".." && $file != "CVS")
{
if($file == $selected['template_name'])
--- 545,549 ----
while( $file = @readdir($dir) )
{
! if( !is_file($phpbb_root_path . 'templates/' . $file) && !is_link($phpbb_root_path . 'templates/' . $file) && $file != "." && $file != ".." && $file != "CVS" )
{
if($file == $selected['template_name'])
***************
*** 785,789 ****
while( $file = @readdir($dir) )
{
! if( $file != "." && $file != ".." && $file != "CVS" )
{
$s_template_select .= '<option value="' . $file . '">' . $file . "</option>\n";
--- 785,789 ----
while( $file = @readdir($dir) )
{
! if( !is_file($phpbb_root_path . 'templates/' . $file) && !is_link($phpbb_root_path . 'templates/' .$file) && $file != "." && $file != ".." && $file != "CVS" )
{
$s_template_select .= '<option value="' . $file . '">' . $file . "</option>\n";
|