|
From: Paul S. O. <ps...@us...> - 2001-12-30 13:49:07
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv7490/admin
Modified Files:
admin_styles.php
Log Message:
Fix bug #497838
Index: admin_styles.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_styles.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** admin_styles.php 2001/12/24 13:26:00 1.14
--- admin_styles.php 2001/12/30 13:49:04 1.15
***************
*** 114,118 ****
if( !$result = $db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, "Could not insert theme data!", "Error", __LINE__, __FILE__, $sql);
}
--- 114,118 ----
if( !$result = $db->sql_query($sql) )
{
! message_die(GENERAL_ERROR, "Could not insert theme data!", "", __LINE__, __FILE__, $sql);
}
***************
*** 147,151 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENREAL_ERROR, "Could not query themes table!", "Error", __LINE__, __FILE__, $sql);
}
--- 147,151 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENREAL_ERROR, "Could not query themes table!", "", __LINE__, __FILE__, $sql);
}
***************
*** 299,303 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not update themes table!", "Error", __LINE__, __FILE__, $sql);
}
--- 299,303 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not update themes table!", "", __LINE__, __FILE__, $sql);
}
***************
*** 310,314 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get data from themes_name table", "Error", __LINE__, __FILE__, $sql);
}
--- 310,314 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get data from themes_name table", "", __LINE__, __FILE__, $sql);
}
***************
*** 368,372 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not update themes name table!", "Error", __LINE__, __FILE__, $sql);
}
--- 368,372 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not update themes name table!", "", __LINE__, __FILE__, $sql);
}
***************
*** 385,389 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not query themes table", "Error", __LINE__, __FILE__, $sql);
}
--- 385,389 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not query themes table", "", __LINE__, __FILE__, $sql);
}
***************
*** 431,435 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not update themes table!", "Error", __LINE__, __FILE__, $sql);
}
--- 431,435 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not update themes table!", "", __LINE__, __FILE__, $sql);
}
***************
*** 469,473 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not insert themes name table!", "Error", __LINE__, __FILE__, $sql);
}
--- 469,473 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not insert themes name table!", "", __LINE__, __FILE__, $sql);
}
***************
*** 496,500 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get data from themes table", "Error", __LINE__, __FILE__, $sql);
}
--- 496,500 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get data from themes table", "", __LINE__, __FILE__, $sql);
}
***************
*** 509,513 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get data from themes name table", "Error", __LINE__, __FILE__, $sql);
}
--- 509,513 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get data from themes name table", "", __LINE__, __FILE__, $sql);
}
***************
*** 615,619 ****
"L_SPAN_CLASS_2" => $lang['span_class2'],
"L_SPAN_CLASS_3" => $lang['span_class3'],
!
"THEME_NAME" => $selected['style_name'],
"HEAD_STYLESHEET" => $selected['head_stylesheet'],
--- 615,619 ----
"L_SPAN_CLASS_2" => $lang['span_class2'],
"L_SPAN_CLASS_3" => $lang['span_class3'],
! "L_SAVE_SETTINGS" => $lang['Save_Settings'],
"THEME_NAME" => $selected['style_name'],
"HEAD_STYLESHEET" => $selected['head_stylesheet'],
***************
*** 857,861 ****
if(!$result = $db->sql_query($sql, BEGIN_TRANSACTION))
{
! message_die(GENERAL_ERROR, "Could not remove style data!", "Error", __LINE__, __FILE__, $sql);
}
--- 857,861 ----
if(!$result = $db->sql_query($sql, BEGIN_TRANSACTION))
{
! message_die(GENERAL_ERROR, "Could not remove style data!", "", __LINE__, __FILE__, $sql);
}
***************
*** 873,877 ****
if(!$result = $db->sql_query($sql, END_TRANSACTION))
{
! message_die(GENERAL_ERROR, "Could not update user style information", "Error", __LINE__, __FILE__, $sql);
}
--- 873,877 ----
if(!$result = $db->sql_query($sql, END_TRANSACTION))
{
! message_die(GENERAL_ERROR, "Could not update user style information", "", __LINE__, __FILE__, $sql);
}
***************
*** 889,893 ****
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get style information!", "Error", __LINE__, __FILE__, $sql);
}
--- 889,893 ----
if(!$result = $db->sql_query($sql))
{
! message_die(GENERAL_ERROR, "Could not get style information!", "", __LINE__, __FILE__, $sql);
}
|