mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3132 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
555b37d28f
commit
ca6ad31ff8
4 changed files with 21 additions and 15 deletions
|
@ -43,7 +43,7 @@ $phpbb_root_path = "./../";
|
||||||
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
|
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
|
||||||
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
||||||
|
|
||||||
if( empty($HTTP_POST_VARS['send_file']) )
|
if (empty($HTTP_POST_VARS['send_file']))
|
||||||
{
|
{
|
||||||
$no_page_header = ( $cancel ) ? TRUE : FALSE;
|
$no_page_header = ( $cancel ) ? TRUE : FALSE;
|
||||||
require($phpbb_root_path . 'extension.inc');
|
require($phpbb_root_path . 'extension.inc');
|
||||||
|
@ -932,7 +932,7 @@ switch( $mode )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !$HTTP_POST_VARS['send_file'] )
|
if (empty($HTTP_POST_VARS['send_file']))
|
||||||
{
|
{
|
||||||
include('./page_footer_admin.'.$phpEx);
|
include('./page_footer_admin.'.$phpEx);
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,6 +113,8 @@ h3 {font-size:12pt;color:blue}
|
||||||
<li>Grammatical errors in English lang_main fixed - <b>Cluster</b></li>
|
<li>Grammatical errors in English lang_main fixed - <b>Cluster</b></li>
|
||||||
<li>Allow deletion of avatar and simultaneous upload/linking/gallery selection</li>
|
<li>Allow deletion of avatar and simultaneous upload/linking/gallery selection</li>
|
||||||
<li>Fixed non-updating of user rank when changing from special to normal rank in rank admin</li>
|
<li>Fixed non-updating of user rank when changing from special to normal rank in rank admin</li>
|
||||||
|
<li>Changed user topic notification default in schemas to 0 (off)</li>
|
||||||
|
<li>Fixed non-XHTML compliant img tags in privmsg.php</li>
|
||||||
<li></li>
|
<li></li>
|
||||||
<li></li>
|
<li></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -351,14 +351,14 @@ else if ( $mode == 'read' )
|
||||||
'edit' => append_sid("privmsg.$phpEx?mode=edit&" . POST_POST_URL . "=$privmsg_id")
|
'edit' => append_sid("privmsg.$phpEx?mode=edit&" . POST_POST_URL . "=$privmsg_id")
|
||||||
);
|
);
|
||||||
$post_icons = array(
|
$post_icons = array(
|
||||||
'post_img' => '<a href="' . $post_urls['post'] . '"><img src="' . $images['pm_postmsg'] . '" alt="' . $lang['Post_new_pm'] . '" border="0"></a>',
|
'post_img' => '<a href="' . $post_urls['post'] . '"><img src="' . $images['pm_postmsg'] . '" alt="' . $lang['Post_new_pm'] . '" border="0" /></a>',
|
||||||
'post' => '<a href="' . $post_urls['post'] . '">' . $lang['Post_new_pm'] . '</a>',
|
'post' => '<a href="' . $post_urls['post'] . '">' . $lang['Post_new_pm'] . '</a>',
|
||||||
'reply_img' => '<a href="' . $post_urls['reply'] . '"><img src="' . $images['pm_replymsg'] . '" alt="' . $lang['Post_reply_pm'] . '" border="0"></a>',
|
'reply_img' => '<a href="' . $post_urls['reply'] . '"><img src="' . $images['pm_replymsg'] . '" alt="' . $lang['Post_reply_pm'] . '" border="0" /></a>',
|
||||||
'reply' => '<a href="' . $post_urls['reply'] . '">' . $lang['Post_reply_pm'] . '</a>',
|
'reply' => '<a href="' . $post_urls['reply'] . '">' . $lang['Post_reply_pm'] . '</a>',
|
||||||
'quote_img' => '<a href="' . $post_urls['quote'] . '"><img src="' . $images['pm_quotemsg'] . '" alt="' . $lang['Post_quote_pm'] . '" border="0"></a>',
|
'quote_img' => '<a href="' . $post_urls['quote'] . '"><img src="' . $images['pm_quotemsg'] . '" alt="' . $lang['Post_quote_pm'] . '" border="0" /></a>',
|
||||||
'quote' => '<a href="' . $post_urls['quote'] . '">' . $lang['Post_quote_pm'] . '</a>',
|
'quote' => '<a href="' . $post_urls['quote'] . '">' . $lang['Post_quote_pm'] . '</a>',
|
||||||
'edit_img' => '<a href="' . $post_urls['edit'] . '"><img src="' . $images['pm_editmsg'] . '" alt="' . $lang['Edit_pm'] . '" border="0"></a>',
|
'edit_img' => '<a href="' . $post_urls['edit'] . '"><img src="' . $images['pm_editmsg'] . '" alt="' . $lang['Edit_pm'] . '" border="0" /></a>',
|
||||||
'edit' => '<a href="' . $post_urls['edit'] . '">' . $lang['Edit_pm'] . '</a>'
|
'edit' => '<a href="' . $post_urls['edit'] . '" />' . $lang['Edit_pm'] . '</a>'
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( $folder == 'inbox' )
|
if ( $folder == 'inbox' )
|
||||||
|
@ -1881,7 +1881,7 @@ switch ( $folder )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$post_pm = append_sid("privmsg.$phpEx?mode=post");
|
$post_pm = append_sid("privmsg.$phpEx?mode=post");
|
||||||
$post_pm_img = '<a href="' . $post_pm . '"><img src="' . $images['pm_postmsg'] . '" alt="' . $lang['Post_new_pm'] . '" border="0"></a>';
|
$post_pm_img = '<a href="' . $post_pm . '"><img src="' . $images['pm_postmsg'] . '" alt="' . $lang['Post_new_pm'] . '" border="0" /></a>';
|
||||||
$post_pm = '<a href="' . $post_pm . '">' . $lang['Post_new_pm'] . '</a>';
|
$post_pm = '<a href="' . $post_pm . '">' . $lang['Post_new_pm'] . '</a>';
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -285,8 +285,8 @@ switch ( $row['config_value'] )
|
||||||
--------------------------------------------------------------------- */
|
--------------------------------------------------------------------- */
|
||||||
$sql[] = "CREATE TABLE Tmp_" . GROUPS_TABLE . "
|
$sql[] = "CREATE TABLE Tmp_" . GROUPS_TABLE . "
|
||||||
(group_id int IDENTITY (1, 1) NOT NULL, group_type smallint NULL, group_name varchar(50) NOT NULL, group_description varchar(255) NOT NULL, group_moderator int NULL, group_single_user smallint NOT NULL) ON [PRIMARY]";
|
(group_id int IDENTITY (1, 1) NOT NULL, group_type smallint NULL, group_name varchar(50) NOT NULL, group_description varchar(255) NOT NULL, group_moderator int NULL, group_single_user smallint NOT NULL) ON [PRIMARY]";
|
||||||
$sql[] = "INSERT INTO Tmp_" . GROPUS_TABLE . " (group_id, group_type, group_name, group_description, group_moderator, group_single_user)
|
$sql[] = "INSERT INTO Tmp_" . GROUPS_TABLE . " (group_type, group_name, group_description, group_moderator, group_single_user)
|
||||||
SELECT group_id, group_type, group_name, group_description, group_moderator, group_signle_user FROM " . GROUPS_TABLE . " TABLOCKX";
|
SELECT group_type, group_name, group_description, group_moderator, group_single_user FROM " . GROUPS_TABLE . " TABLOCKX";
|
||||||
$sql[] = "DROP TABLE " . GROUPS_TABLE;
|
$sql[] = "DROP TABLE " . GROUPS_TABLE;
|
||||||
$sql[] = "EXECUTE sp_rename N'Tmp_" . GROUPS_TABLE . "', N'" . GROUPS_TABLE . "', 'OBJECT'";
|
$sql[] = "EXECUTE sp_rename N'Tmp_" . GROUPS_TABLE . "', N'" . GROUPS_TABLE . "', 'OBJECT'";
|
||||||
$sql[] = "ALTER TABLE " . GROUPS_TABLE . " ADD
|
$sql[] = "ALTER TABLE " . GROUPS_TABLE . " ADD
|
||||||
|
@ -398,8 +398,10 @@ switch ( $row['config_value'] )
|
||||||
--------------------------------------------------------------------- */
|
--------------------------------------------------------------------- */
|
||||||
$sql[] = "CREATE TABLE Tmp_" . GROUPS_TABLE . "
|
$sql[] = "CREATE TABLE Tmp_" . GROUPS_TABLE . "
|
||||||
(group_id int IDENTITY (1, 1) NOT NULL, group_type smallint NULL, group_name varchar(50) NOT NULL, group_description varchar(255) NOT NULL, group_moderator int NULL, group_single_user smallint NOT NULL) ON [PRIMARY]";
|
(group_id int IDENTITY (1, 1) NOT NULL, group_type smallint NULL, group_name varchar(50) NOT NULL, group_description varchar(255) NOT NULL, group_moderator int NULL, group_single_user smallint NOT NULL) ON [PRIMARY]";
|
||||||
$sql[] = "INSERT INTO Tmp_" . GROPUS_TABLE . " (group_id, group_type, group_name, group_description, group_moderator, group_single_user)
|
$sql[] = "SET IDENTITY_INSERT " . GROUPS_TABLE . " ON"
|
||||||
SELECT group_id, group_type, group_name, group_description, group_moderator, group_signle_user FROM " . GROUPS_TABLE . " TABLOCKX";
|
$sql[] = "INSERT INTO Tmp_" . GROUPS_TABLE . " (group_id, group_type, group_name, group_description, group_moderator, group_single_user)
|
||||||
|
SELECT group_id, group_type, group_name, group_description, group_moderator, group_single_user FROM " . GROUPS_TABLE . " TABLOCKX";
|
||||||
|
$sql[] = "SET IDENTITY_INSERT " . GROUPS_TABLE . " OFF"
|
||||||
$sql[] = "DROP TABLE " . GROUPS_TABLE;
|
$sql[] = "DROP TABLE " . GROUPS_TABLE;
|
||||||
$sql[] = "EXECUTE sp_rename N'Tmp_" . GROUPS_TABLE . "', N'" . GROUPS_TABLE . "', 'OBJECT'";
|
$sql[] = "EXECUTE sp_rename N'Tmp_" . GROUPS_TABLE . "', N'" . GROUPS_TABLE . "', 'OBJECT'";
|
||||||
$sql[] = "ALTER TABLE " . GROUPS_TABLE . " ADD
|
$sql[] = "ALTER TABLE " . GROUPS_TABLE . " ADD
|
||||||
|
@ -429,8 +431,10 @@ switch ( $row['config_value'] )
|
||||||
--------------------------------------------------------------------- */
|
--------------------------------------------------------------------- */
|
||||||
$sql[] = "CREATE TABLE Tmp_" . GROUPS_TABLE . "
|
$sql[] = "CREATE TABLE Tmp_" . GROUPS_TABLE . "
|
||||||
(group_id int IDENTITY (1, 1) NOT NULL, group_type smallint NULL, group_name varchar(50) NOT NULL, group_description varchar(255) NOT NULL, group_moderator int NULL, group_single_user smallint NOT NULL) ON [PRIMARY]";
|
(group_id int IDENTITY (1, 1) NOT NULL, group_type smallint NULL, group_name varchar(50) NOT NULL, group_description varchar(255) NOT NULL, group_moderator int NULL, group_single_user smallint NOT NULL) ON [PRIMARY]";
|
||||||
$sql[] = "INSERT INTO Tmp_" . GROPUS_TABLE . " (group_id, group_type, group_name, group_description, group_moderator, group_single_user)
|
$sql[] = "SET IDENTITY_INSERT " . GROUPS_TABLE . " ON"
|
||||||
SELECT group_id, group_type, group_name, group_description, group_moderator, group_signle_user FROM " . GROUPS_TABLE . " TABLOCKX";
|
$sql[] = "INSERT INTO Tmp_" . GROUPS_TABLE . " (group_id, group_type, group_name, group_description, group_moderator, group_single_user)
|
||||||
|
SELECT group_id, group_type, group_name, group_description, group_moderator, group_single_user FROM " . GROUPS_TABLE . " TABLOCKX";
|
||||||
|
$sql[] = "SET IDENTITY_INSERT " . GROUPS_TABLE . " OFF"
|
||||||
$sql[] = "DROP TABLE " . GROUPS_TABLE;
|
$sql[] = "DROP TABLE " . GROUPS_TABLE;
|
||||||
$sql[] = "EXECUTE sp_rename N'Tmp_" . GROUPS_TABLE . "', N'" . GROUPS_TABLE . "', 'OBJECT'";
|
$sql[] = "EXECUTE sp_rename N'Tmp_" . GROUPS_TABLE . "', N'" . GROUPS_TABLE . "', 'OBJECT'";
|
||||||
$sql[] = "ALTER TABLE " . GROUPS_TABLE . " ADD
|
$sql[] = "ALTER TABLE " . GROUPS_TABLE . " ADD
|
||||||
|
|
Loading…
Add table
Reference in a new issue