mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
seems like capitalizing menu titles introduced some problems. :) Also it might look strange for some languages - so therefore it is better be done within the language file directly.
git-svn-id: file:///svn/phpbb/trunk@6565 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
8cf0bc433e
commit
66c2a18b82
4 changed files with 4 additions and 8 deletions
|
@ -229,7 +229,6 @@ span.corners-top span, span.corners-bottom span {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-transform: capitalize;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu p {
|
#menu p {
|
||||||
|
|
|
@ -74,34 +74,33 @@ class acp_main
|
||||||
FROM ' . POSTS_TABLE . '
|
FROM ' . POSTS_TABLE . '
|
||||||
WHERE post_approved = 1';
|
WHERE post_approved = 1';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
set_config('num_posts', (int) $row['stat'], true);
|
set_config('num_posts', (int) $row['stat'], true);
|
||||||
|
|
||||||
$sql = 'SELECT COUNT(topic_id) AS stat
|
$sql = 'SELECT COUNT(topic_id) AS stat
|
||||||
FROM ' . TOPICS_TABLE . '
|
FROM ' . TOPICS_TABLE . '
|
||||||
WHERE topic_approved = 1';
|
WHERE topic_approved = 1';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
set_config('num_topics', (int) $row['stat'], true);
|
set_config('num_topics', (int) $row['stat'], true);
|
||||||
|
|
||||||
$sql = 'SELECT COUNT(user_id) AS stat
|
$sql = 'SELECT COUNT(user_id) AS stat
|
||||||
FROM ' . USERS_TABLE . '
|
FROM ' . USERS_TABLE . '
|
||||||
WHERE user_type IN (' . USER_NORMAL . ',' . USER_FOUNDER . ')';
|
WHERE user_type IN (' . USER_NORMAL . ',' . USER_FOUNDER . ')';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
set_config('num_users', (int) $row['stat'], true);
|
set_config('num_users', (int) $row['stat'], true);
|
||||||
|
|
||||||
$sql = 'SELECT COUNT(attach_id) as stat
|
$sql = 'SELECT COUNT(attach_id) as stat
|
||||||
FROM ' . ATTACHMENTS_TABLE . '
|
FROM ' . ATTACHMENTS_TABLE . '
|
||||||
WHERE is_orphan = 0';
|
WHERE is_orphan = 0';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
set_config('num_files', (int) $db->sql_fetchfield('stat'), true);
|
set_config('num_files', (int) $db->sql_fetchfield('stat'), true);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
@ -109,7 +108,6 @@ class acp_main
|
||||||
FROM ' . ATTACHMENTS_TABLE . '
|
FROM ' . ATTACHMENTS_TABLE . '
|
||||||
WHERE is_orphan = 0';
|
WHERE is_orphan = 0';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
set_config('upload_dir_size', (int) $db->sql_fetchfield('stat'), true);
|
set_config('upload_dir_size', (int) $db->sql_fetchfield('stat'), true);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
|
|
@ -1370,7 +1370,7 @@ class smtp_class
|
||||||
* may produce less output but it's questionable as to its worth in this
|
* may produce less output but it's questionable as to its worth in this
|
||||||
* scenario.
|
* scenario.
|
||||||
*
|
*
|
||||||
* This version is using base64 encoded date. The downside of this
|
* This version is using base64 encoded data. The downside of this
|
||||||
* is if the mail client does not understand this encoding the user
|
* is if the mail client does not understand this encoding the user
|
||||||
* is basically doomed with an unreadable subject.
|
* is basically doomed with an unreadable subject.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -227,7 +227,6 @@ p.topicdetails {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
color: black;
|
color: black;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-transform: capitalize;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
|
|
Loading…
Add table
Reference in a new issue