|
@@ -53,7 +53,7 @@ function template_summary()
|
|
|
<div id="profileview" class="flow_auto">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['summary'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['summary'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<div id="basicinfo">
|
|
@@ -67,12 +67,12 @@ function template_summary()
|
|
|
// What about if we allow email only via the forum??
|
|
|
if ($context['member']['show_email'] === 'yes' || $context['member']['show_email'] === 'no_through_forum' || $context['member']['show_email'] === 'yes_permission_override')
|
|
|
echo '
|
|
|
- <li><a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '" title="', $context['member']['show_email'] == 'yes' || $context['member']['show_email'] == 'yes_permission_override' ? $context['member']['email'] : '', '" rel="nofollow"><img src="', $settings['images_url'], '/email_sm.gif" alt="', $txt['email'], '" /></a></li>';
|
|
|
+ <li><a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '" title="', $context['member']['show_email'] == 'yes' || $context['member']['show_email'] == 'yes_permission_override' ? $context['member']['email'] : '', '" rel="nofollow"><img src="', $settings['images_url'], '/email_sm.png" alt="', $txt['email'], '" /></a></li>';
|
|
|
|
|
|
// Don't show an icon if they haven't specified a website.
|
|
|
if ($context['member']['website']['url'] !== '' && !isset($context['disabled_fields']['website']))
|
|
|
echo '
|
|
|
- <li><a href="', $context['member']['website']['url'], '" title="' . $context['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $context['member']['website']['title'] . '" />' : $txt['www']), '</a></li>';
|
|
|
+ <li><a href="', $context['member']['website']['url'], '" title="' . $context['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.png" alt="' . $context['member']['website']['title'] . '" />' : $txt['www']), '</a></li>';
|
|
|
|
|
|
// Are there any custom profile fields for the summary?
|
|
|
if (!empty($context['custom_fields']))
|
|
@@ -342,10 +342,10 @@ function template_showPosts()
|
|
|
</div>';
|
|
|
|
|
|
// Button shortcuts
|
|
|
- $quote_button = create_button('quote.gif', 'reply_quote', 'quote', 'align="middle"');
|
|
|
- $reply_button = create_button('reply_sm.gif', 'reply', 'reply', 'align="middle"');
|
|
|
- $remove_button = create_button('delete.gif', 'remove_message', 'remove', 'align="middle"');
|
|
|
- $notify_button = create_button('notify_sm.gif', 'notify_replies', 'notify', 'align="middle"');
|
|
|
+ $quote_button = create_button('quote.png', 'reply_quote', 'quote', 'align="middle"');
|
|
|
+ $reply_button = create_button('reply_sm.png', 'reply', 'reply', 'align="middle"');
|
|
|
+ $remove_button = create_button('delete.png', 'remove_message', 'remove', 'align="middle"');
|
|
|
+ $notify_button = create_button('notify_sm.png', 'notify_replies', 'notify', 'align="middle"');
|
|
|
|
|
|
// Are we displaying posts or attachments?
|
|
|
if (!isset($context['attachments']))
|
|
@@ -422,25 +422,25 @@ function template_showPosts()
|
|
|
<th class="first_th lefttext" scope="col" width="25%">
|
|
|
<a href="', $scripturl, '?action=profile;u=', $context['current_member'], ';area=showposts;sa=attach;sort=filename', ($context['sort_direction'] == 'down' && $context['sort_order'] == 'filename' ? ';asc' : ''), '">
|
|
|
', $txt['show_attach_filename'], '
|
|
|
- ', ($context['sort_order'] == 'filename' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.gif" alt="" />' : ''), '
|
|
|
+ ', ($context['sort_order'] == 'filename' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.png" alt="" />' : ''), '
|
|
|
</a>
|
|
|
</th>
|
|
|
<th scope="col" width="12%">
|
|
|
<a href="', $scripturl, '?action=profile;u=', $context['current_member'], ';area=showposts;sa=attach;sort=downloads', ($context['sort_direction'] == 'down' && $context['sort_order'] == 'downloads' ? ';asc' : ''), '">
|
|
|
', $txt['show_attach_downloads'], '
|
|
|
- ', ($context['sort_order'] == 'downloads' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.gif" alt="" />' : ''), '
|
|
|
+ ', ($context['sort_order'] == 'downloads' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.png" alt="" />' : ''), '
|
|
|
</a>
|
|
|
</th>
|
|
|
<th class="lefttext" scope="col" width="30%">
|
|
|
<a href="', $scripturl, '?action=profile;u=', $context['current_member'], ';area=showposts;sa=attach;sort=subject', ($context['sort_direction'] == 'down' && $context['sort_order'] == 'subject' ? ';asc' : ''), '">
|
|
|
', $txt['message'], '
|
|
|
- ', ($context['sort_order'] == 'subject' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.gif" alt="" />' : ''), '
|
|
|
+ ', ($context['sort_order'] == 'subject' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.png" alt="" />' : ''), '
|
|
|
</a>
|
|
|
</th>
|
|
|
<th class="last_th lefttext" scope="col">
|
|
|
<a href="', $scripturl, '?action=profile;u=', $context['current_member'], ';area=showposts;sa=attach;sort=posted', ($context['sort_direction'] == 'down' && $context['sort_order'] == 'posted' ? ';asc' : ''), '">
|
|
|
', $txt['show_attach_posted'], '
|
|
|
- ', ($context['sort_order'] == 'posted' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.gif" alt="" />' : ''), '
|
|
|
+ ', ($context['sort_order'] == 'posted' ? '<img src="' . $settings['images_url'] . '/sort_' . ($context['sort_direction'] == 'down' ? 'down' : 'up') . '.png" alt="" />' : ''), '
|
|
|
</a>
|
|
|
</th>
|
|
|
</tr>
|
|
@@ -492,7 +492,7 @@ function template_editBuddies()
|
|
|
echo '
|
|
|
<div class="title_bar">
|
|
|
<h3 class="titlebg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/online.gif" alt="" class="icon" />', $txt['editBuddies'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/online.png" alt="" class="icon" />', $txt['editBuddies'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="table_grid" align="center">
|
|
@@ -528,7 +528,7 @@ function template_editBuddies()
|
|
|
<tr class="', $alternate ? 'windowbg' : 'windowbg2', '">
|
|
|
<td>', $buddy['link'], '</td>
|
|
|
<td align="center"><a href="', $buddy['online']['href'], '"><img src="', $buddy['online']['image_href'], '" alt="', $buddy['online']['label'], '" title="', $buddy['online']['label'], '" /></a></td>
|
|
|
- <td align="center">', ($buddy['show_email'] == 'no' ? '' : '<a href="' . $scripturl . '?action=emailuser;sa=email;uid=' . $buddy['id'] . '" rel="nofollow"><img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . ' ' . $buddy['name'] . '" /></a>'), '</td>';
|
|
|
+ <td align="center">', ($buddy['show_email'] == 'no' ? '' : '<a href="' . $scripturl . '?action=emailuser;sa=email;uid=' . $buddy['id'] . '" rel="nofollow"><img src="' . $settings['images_url'] . '/email_sm.png" alt="' . $txt['email'] . '" title="' . $txt['email'] . ' ' . $buddy['name'] . '" /></a>'), '</td>';
|
|
|
|
|
|
// If these are off, don't show them
|
|
|
foreach ($buddy_fields as $key => $column)
|
|
@@ -539,7 +539,7 @@ function template_editBuddies()
|
|
|
}
|
|
|
|
|
|
echo '
|
|
|
- <td align="center"><a href="', $scripturl, '?action=profile;area=lists;sa=buddies;u=', $context['id_member'], ';remove=', $buddy['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/icons/delete.gif" alt="', $txt['buddy_remove'], '" title="', $txt['buddy_remove'], '" /></a></td>
|
|
|
+ <td align="center"><a href="', $scripturl, '?action=profile;area=lists;sa=buddies;u=', $context['id_member'], ';remove=', $buddy['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/icons/delete.png" alt="', $txt['buddy_remove'], '" title="', $txt['buddy_remove'], '" /></a></td>
|
|
|
</tr>';
|
|
|
|
|
|
$alternate = !$alternate;
|
|
@@ -598,7 +598,7 @@ function template_editIgnoreList()
|
|
|
echo '
|
|
|
<div class="title_bar">
|
|
|
<h3 class="titlebg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['editIgnoreList'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['editIgnoreList'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="table_grid" align="center">
|
|
@@ -628,12 +628,12 @@ function template_editIgnoreList()
|
|
|
<tr class="', $alternate ? 'windowbg' : 'windowbg2', '">
|
|
|
<td>', $member['link'], '</td>
|
|
|
<td align="center"><a href="', $member['online']['href'], '"><img src="', $member['online']['image_href'], '" alt="', $member['online']['label'], '" title="', $member['online']['label'], '" /></a></td>
|
|
|
- <td align="center">', ($member['show_email'] == 'no' ? '' : '<a href="' . $scripturl . '?action=emailuser;sa=email;uid=' . $member['id'] . '" rel="nofollow"><img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . ' ' . $member['name'] . '" /></a>'), '</td>
|
|
|
+ <td align="center">', ($member['show_email'] == 'no' ? '' : '<a href="' . $scripturl . '?action=emailuser;sa=email;uid=' . $member['id'] . '" rel="nofollow"><img src="' . $settings['images_url'] . '/email_sm.png" alt="' . $txt['email'] . '" title="' . $txt['email'] . ' ' . $member['name'] . '" /></a>'), '</td>
|
|
|
<td align="center">', $member['icq']['link'], '</td>
|
|
|
<td align="center">', $member['aim']['link'], '</td>
|
|
|
<td align="center">', $member['yim']['link'], '</td>
|
|
|
<td align="center">', $member['msn']['link'], '</td>
|
|
|
- <td align="center"><a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=lists;sa=ignore;remove=', $member['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/icons/delete.gif" alt="', $txt['ignore_remove'], '" title="', $txt['ignore_remove'], '" /></a></td>
|
|
|
+ <td align="center"><a href="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=lists;sa=ignore;remove=', $member['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/icons/delete.png" alt="', $txt['ignore_remove'], '" title="', $txt['ignore_remove'], '" /></a></td>
|
|
|
</tr>';
|
|
|
|
|
|
$alternate = !$alternate;
|
|
@@ -830,7 +830,7 @@ function template_showPermissions()
|
|
|
echo '
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['showPermissions'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['showPermissions'], '</span>
|
|
|
</h3>
|
|
|
</div>';
|
|
|
|
|
@@ -991,7 +991,7 @@ function template_statPanel()
|
|
|
<div id="generalstats">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_info.gif" alt="" class="icon" />
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_info.png" alt="" class="icon" />
|
|
|
', $txt['statPanel_generalStats'], ' - ', $context['member']['name'], '
|
|
|
</span>
|
|
|
</h3>
|
|
@@ -1021,7 +1021,7 @@ function template_statPanel()
|
|
|
<div id="activitytime" class="flow_hidden">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_history.gif" alt="" class="icon" />', $txt['statPanel_activityTime'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_history.png" alt="" class="icon" />', $txt['statPanel_activityTime'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<div class="windowbg2">
|
|
@@ -1070,7 +1070,7 @@ function template_statPanel()
|
|
|
<div id="popularposts">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_replies.gif" alt="" class="icon" />', $txt['statPanel_topBoards'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_replies.png" alt="" class="icon" />', $txt['statPanel_topBoards'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<div class="windowbg2">
|
|
@@ -1111,7 +1111,7 @@ function template_statPanel()
|
|
|
<div id="popularactivity">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_replies.gif" alt="" class="icon" />', $txt['statPanel_topBoardsActivity'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/stats_replies.png" alt="" class="icon" />', $txt['statPanel_topBoardsActivity'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<div class="windowbg2">
|
|
@@ -1164,7 +1164,7 @@ function template_edit_options()
|
|
|
<form action="', (!empty($context['profile_custom_submit_url']) ? $context['profile_custom_submit_url'] : $scripturl . '?action=profile;area=' . $context['menu_item_selected'] . ';u=' . $context['id_member'] . ';save'), '" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator" enctype="multipart/form-data" onsubmit="return checkProfileSubmit();">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />';
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />';
|
|
|
|
|
|
// Don't say "Profile" if this isn't the profile...
|
|
|
if (!empty($context['profile_header_text']))
|
|
@@ -1624,7 +1624,7 @@ function template_notification()
|
|
|
echo '
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['profile'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['profile'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<p class="windowbg description">', $txt['notification_info'], '</p>
|
|
@@ -1703,7 +1703,7 @@ function template_groupMembership()
|
|
|
<form action="', $scripturl, '?action=profile;area=groupmembership;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['profile'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['profile'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<p class="description">', $txt['groupMembership_info'], '</p>';
|
|
@@ -1874,7 +1874,7 @@ function template_ignoreboards()
|
|
|
<form action="', $scripturl, '?action=profile;area=ignoreboards;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['profile'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['profile'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<p class="description">', $txt['ignoreboards_info'], '</p>
|
|
@@ -1971,7 +1971,7 @@ function template_viewWarning()
|
|
|
echo '
|
|
|
<div class="title_bar">
|
|
|
<h3 class="titlebg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />
|
|
|
', sprintf($txt['profile_viewwarning_for_user'], $context['member']['name']), '
|
|
|
</span>
|
|
|
</h3>
|
|
@@ -2157,7 +2157,7 @@ function template_issueWarning()
|
|
|
<form action="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=issuewarning" method="post" class="flow_hidden" accept-charset="', $context['character_set'], '">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />
|
|
|
', $context['user']['is_owner'] ? $txt['profile_warning_level'] : $txt['profile_issue_warning'], '
|
|
|
</span>
|
|
|
</h3>
|
|
@@ -2314,7 +2314,7 @@ function template_issueWarning()
|
|
|
if (!empty($warning['id_notice']))
|
|
|
echo '
|
|
|
<div class="floatright">
|
|
|
- <a href="', $scripturl, '?action=moderate;area=notice;nid=', $warning['id_notice'], '" onclick="window.open(this.href, \'\', \'scrollbars=yes,resizable=yes,width=400,height=250\');return false;" target="_blank" class="new_win" title="', $txt['profile_warning_previous_notice'], '"><img src="', $settings['images_url'], '/filter.gif" alt="" /></a>
|
|
|
+ <a href="', $scripturl, '?action=moderate;area=notice;nid=', $warning['id_notice'], '" onclick="window.open(this.href, \'\', \'scrollbars=yes,resizable=yes,width=400,height=250\');return false;" target="_blank" class="new_win" title="', $txt['profile_warning_previous_notice'], '"><img src="', $settings['images_url'], '/filter.png" alt="" /></a>
|
|
|
</div>';
|
|
|
echo '
|
|
|
</td>
|
|
@@ -2359,7 +2359,7 @@ function template_deleteAccount()
|
|
|
<form action="', $scripturl, '?action=profile;area=deleteaccount;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator">
|
|
|
<div class="title_bar">
|
|
|
<h3 class="titlebg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['deleteAccount'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['deleteAccount'], '</span>
|
|
|
</h3>
|
|
|
</div>';
|
|
|
// If deleting another account give them a lovely info box.
|
|
@@ -2657,7 +2657,7 @@ function template_profile_avatar_select()
|
|
|
<div>
|
|
|
<select name="file" id="file" size="10" style="display: none;" onchange="showAvatar()" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'server_stored\');" disabled="disabled"><option></option></select>
|
|
|
</div>
|
|
|
- <div><img name="avatar" id="avatar" src="', !empty($context['member']['avatar']['allow_external']) && $context['member']['avatar']['choice'] == 'external' ? $context['member']['avatar']['external'] : $modSettings['avatar_url'] . '/blank.gif', '" alt="Do Nothing" /></div>
|
|
|
+ <div><img name="avatar" id="avatar" src="', !empty($context['member']['avatar']['allow_external']) && $context['member']['avatar']['choice'] == 'external' ? $context['member']['avatar']['external'] : $modSettings['avatar_url'] . '/blank.png', '" alt="Do Nothing" /></div>
|
|
|
<script type="text/javascript"><!-- // --><![CDATA[
|
|
|
var files = ["' . implode('", "', $context['avatar_list']) . '"];
|
|
|
var avatar = document.getElementById("avatar");
|
|
@@ -2667,7 +2667,7 @@ function template_profile_avatar_select()
|
|
|
var size = avatar.alt.substr(3, 2) + " " + avatar.alt.substr(0, 2) + String.fromCharCode(117, 98, 116);
|
|
|
var file = document.getElementById("file");
|
|
|
|
|
|
- if (avatar.src.indexOf("blank.gif") > -1)
|
|
|
+ if (avatar.src.indexOf("blank.png") > -1)
|
|
|
changeSel(selavatar);
|
|
|
else
|
|
|
previewExternalAvatar(avatar.src)
|
|
@@ -2841,7 +2841,7 @@ function template_profile_timeformat_modify()
|
|
|
echo '
|
|
|
<dt>
|
|
|
<strong>', $txt['time_format'], ':</strong><br />
|
|
|
- <a href="', $scripturl, '?action=helpadmin;help=time_format" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.gif" alt="', $txt['help'], '" class="floatleft" /></a>
|
|
|
+ <a href="', $scripturl, '?action=helpadmin;help=time_format" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.png" alt="', $txt['help'], '" class="floatleft" /></a>
|
|
|
<span class="smalltext"> ', $txt['date_format'], '</span>
|
|
|
</dt>
|
|
|
<dd>
|
|
@@ -2895,12 +2895,12 @@ function template_profile_smiley_pick()
|
|
|
<strong>', $txt['smileys_current'], ':</strong>
|
|
|
</dt>
|
|
|
<dd>
|
|
|
- <select name="smiley_set" onchange="document.getElementById(\'smileypr\').src = this.selectedIndex == 0 ? \'', $settings['images_url'], '/blank.gif\' : \'', $modSettings['smileys_url'], '/\' + (this.selectedIndex != 1 ? this.options[this.selectedIndex].value : \'', !empty($settings['smiley_sets_default']) ? $settings['smiley_sets_default'] : $modSettings['smiley_sets_default'], '\') + \'/smiley.gif\';">';
|
|
|
+ <select name="smiley_set" onchange="document.getElementById(\'smileypr\').src = this.selectedIndex == 0 ? \'', $settings['images_url'], '/blank.png\' : \'', $modSettings['smileys_url'], '/\' + (this.selectedIndex != 1 ? this.options[this.selectedIndex].value : \'', !empty($settings['smiley_sets_default']) ? $settings['smiley_sets_default'] : $modSettings['smiley_sets_default'], '\') + \'/smiley.png\';">';
|
|
|
foreach ($context['smiley_sets'] as $set)
|
|
|
echo '
|
|
|
<option value="', $set['id'], '"', $set['selected'] ? ' selected="selected"' : '', '>', $set['name'], '</option>';
|
|
|
echo '
|
|
|
- </select> <img id="smileypr" src="', $context['member']['smiley_set']['id'] != 'none' ? $modSettings['smileys_url'] . '/' . ($context['member']['smiley_set']['id'] != '' ? $context['member']['smiley_set']['id'] : (!empty($settings['smiley_sets_default']) ? $settings['smiley_sets_default'] : $modSettings['smiley_sets_default'])) . '/smiley.gif' : $settings['images_url'] . '/blank.gif', '" alt=":)" align="top" style="padding-left: 20px;" />
|
|
|
+ </select> <img id="smileypr" src="', $context['member']['smiley_set']['id'] != 'none' ? $modSettings['smileys_url'] . '/' . ($context['member']['smiley_set']['id'] != '' ? $context['member']['smiley_set']['id'] : (!empty($settings['smiley_sets_default']) ? $settings['smiley_sets_default'] : $modSettings['smiley_sets_default'])) . '/smiley.png' : $settings['images_url'] . '/blank.png', '" alt=":)" align="top" style="padding-left: 20px;" />
|
|
|
</dd>';
|
|
|
}
|
|
|
|
|
@@ -2915,7 +2915,7 @@ function template_authentication_method()
|
|
|
<form action="', $scripturl, '?action=profile;area=authentication;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator" enctype="multipart/form-data">
|
|
|
<div class="cat_bar">
|
|
|
<h3 class="catbg">
|
|
|
- <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.gif" alt="" class="icon" />', $txt['authentication'], '</span>
|
|
|
+ <span class="ie6_header floatleft"><img src="', $settings['images_url'], '/icons/profile_sm.png" alt="" class="icon" />', $txt['authentication'], '</span>
|
|
|
</h3>
|
|
|
</div>
|
|
|
<p class="windowbg description">', $txt['change_authentication'], '</p>
|
|
@@ -2942,14 +2942,14 @@ function template_authentication_method()
|
|
|
</dt>
|
|
|
<dd>
|
|
|
<input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" class="input_password" />
|
|
|
- <span id="smf_autov_pwmain_div" style="display: none;"><img id="smf_autov_pwmain_img" src="', $settings['images_url'], '/icons/field_invalid.gif" alt="*" /></span>
|
|
|
+ <span id="smf_autov_pwmain_div" style="display: none;"><img id="smf_autov_pwmain_img" src="', $settings['images_url'], '/icons/field_invalid.png" alt="*" /></span>
|
|
|
</dd>
|
|
|
<dt>
|
|
|
<em>', $txt['verify_pass'], ':</em>
|
|
|
</dt>
|
|
|
<dd>
|
|
|
<input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" class="input_password" />
|
|
|
- <span id="smf_autov_pwverify_div" style="display: none;"><img id="smf_autov_pwverify_img" src="', $settings['images_url'], '/icons/field_valid.gif" alt="*" /></span>
|
|
|
+ <span id="smf_autov_pwverify_div" style="display: none;"><img id="smf_autov_pwverify_img" src="', $settings['images_url'], '/icons/field_valid.png" alt="*" /></span>
|
|
|
</dd>
|
|
|
</dl>
|
|
|
</dd>
|