Tekil Mesaj gösterimi
Alt 30-05-2009, 18:15   #1
1ßeN
 
1ßeN - ait Kullanıcı Resmi (Avatar)
 
SMF 1.1.4 Güncellemesi Manuel...


$boarddir/index.php

ara
Kod:
* Software Version: SMF 1.1.3 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$forum_version = 'SMF 1.1.3';


değiştir
Kod:
$forum_version = 'SMF 1.1.4';

ara
Kod:
if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'login2')
{
require_once($sourcedir . '/LogInOut.php');
return 'Login2';

değiştir


Kod:
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir . '/LogInOut.php');
return $_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';




$sourcedir/Display.php

ara
Kod:
* Software Version: SMF 1.1.2 *

değiştir

Kod:
* Software Version: SMF 1.1.4 *

ara
Kod:
* Software Version: SMF 1.1.3 *

değiştir

Kod:
* Software Version: SMF 1.1.4 *

ara
Kod:
'name' => $attachment['filename'],
'downloads' => $attachment['downloads'],
'size' => round($attachment['filesize'] / 1024, 2) . ' ' . $txt['smf211'],
'byte_size' => $attachment['filesize'],
'href' => $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'],
'link' => '<a href="' . $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'] . '">' . $attachment['filename'] . '</a>',


değiştir
Kod:
'name' => htmlspecialchars($attachment['filename']),
'downloads' => $attachment['downloads'],
'size' => round($attachment['filesize'] / 1024, 2) . ' ' . $txt['smf211'],
'byte_size' => $attachment['filesize'],
'href' => $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'],
'link' => '<a href="' . $scripturl . '?action=dlattach;topic=' . $topic . '.0;attach=' . $attachment['ID_ATTACH'] . '">' . htmlspecialchars($attachment['filename']) . '</a>',




$sourcedir/ManageAttachments.php


ara
Kod:
* Software Version: SMF 1.1 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
'name' => $row['filename'],
'downloads' => $row['downloads'],
'href' => $row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH']),
'link' => '<a href="' . ($row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH'])) . '"' . (empty($row['width']) || empty($row['height']) ? '' : ' onclick="return reqWin(this.href + \';image\', ' . ($row['width'] + 20) . ', ' . ($row['height'] + 20) . ', true);"') . '>' . $row['filename'] . '</a>'


değiştir

Kod:
'name' => htmlspecialchars($row['filename']),
'downloads' => $row['downloads'],
'href' => $row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH']),
'link' => '<a href="' . ($row['attachmentType'] == 1 ? $modSettings['custom_avatar_url'] . '/' . $row['filename'] : ($scripturl . '?action=dlattach;' . ($context['browse_type'] == 'avatars' ? 'type=avatar;' : 'topic=' . $row['ID_TOPIC'] . '.0;') . 'id=' . $row['ID_ATTACH'])) . '"' . (empty($row['width']) || empty($row['height']) ? '' : ' onclick="return reqWin(this.href + \';image\', ' . ($row['width'] + 20) . ', ' . ($row['height'] + 20) . ', true);"') . '>' . htmlspecialchars($row['filename']) . '</a>'



$sourcedir/ManageMembergroups.php


ara
Kod:
* Software Version: SMF 1.1.2 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara

Kod:
$_REQUEST['toAdd'] = strtr($func['htmlspecialchars'](stripslashes($_REQUEST['toAdd']), ENT_QUOTES), array('"' => '"'));


değiştir
Kod:
$_REQUEST['toAdd'] = strtr(addslashes($func['htmlspecialchars'](stripslashes($_REQUEST['toAdd']), ENT_QUOTES)), array('"' => '"'));



$sourcedir/ManageNews.php


ara
Kod:
* Software Version: SMF 1.1.3 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$condition = '
değiştir
Kod:
$condition .= '



$sourcedir/PersonalMessage.php


ara
Kod:
* Software Version: SMF 1.1.3 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$userString = strtr($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES), array('"' => '"'));


değiştir
Kod:
$userString = strtr(addslashes($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES)), array('"' => '"'));



$sourcedir/Post.php


ara
Kod:
* Software Version: SMF 1.1.3 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$context['preview_subject'] = '<i>' . $txt[24] . '</i>';

değiştir
Kod:
$context['preview_subject'] = '<i>' . $txt[24] . '</i>';

// Protect any CDATA blocks.
if (isset($_REQUEST['xml']))
$context['preview_message'] = strtr($context['preview_message'], array(']]>' => ']]]]><![CDATA[>'));


ara
Kod:
$context['event']['title'] = isset($_REQUEST['evtitle']) ? $_REQUEST['evtitle'] : '';


değiştir
Kod:
$context['event']['title'] = isset($_REQUEST['evtitle']) ? htmlspecialchars(stripslashes($_REQUEST['evtitle'])) : '';


ara
Kod:
if (allowedTo('moderate_forum'))


değiştir
Kod:
if (allowedTo('moderate_forum') && !empty($topic))


$sourcedir/Profile.php


ara
Kod:
* Software Version: SMF 1.1.3 *

değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara

Kod:
$_POST['new_buddy'] = strtr($func['htmlspecialchars'](stripslashes($_POST['new_buddy']), ENT_QUOTES), array('"' => '"'));


değiştir
Kod:
$_POST['new_buddy'] = strtr(addslashes($func['htmlspecialchars'](stripslashes($_POST['new_buddy']), ENT_QUOTES)), array('"' => '"'));



$sourcedir/QueryString.php


ara
Kod:
* Software Version: SMF 1.1.3 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
foreach (array_merge(array_keys($_REQUEST), array_keys($_FILES)) as $key)


değiştir
Kod:
foreach (array_merge(array_keys($_POST), array_keys($_GET), array_keys($_FILES)) as $key)


ara
Kod:
$_GET = htmlspecialchars__recursive($_GET);


değiştir
Kod:
$_GET = addslashes__recursive(htmlspecialchars__recursive( $_GET));



$sourcedir/Search.php


ara
Kod:
* Software Version: SMF 1.1.2 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$userString = strtr($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES), array('"' => '"'));


değiştir
Kod:
$userString = strtr(addslashes($func['htmlspecialchars'](stripslashes($search_params['userspec']), ENT_QUOTES)), array('"' => '"'));



$sourcedir/Subs-Boards.php


ara
Kod:
* Software Version: SMF 1.1 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$moderator_string = strtr($func['htmlspecialchars'](stripslashes($boardOptions['moderator_string']), ENT_QUOTES), array('"' => '"'));


değiştir
Kod:
$moderator_string = strtr(addslashes($func['htmlspecialchars'](stripslashes($boardOptions['moderator_string']), ENT_QUOTES)), array('"' => '"'));



$sourcedir/Subs-Post.php


ara
Kod:
* Software Version: SMF 1.1.2 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$parts[$i] = preg_replace('~\[([/]?)(list|li|table|tr|td)([^\]]*)\]~e', '"[$1" . strtolower("$2") . "$3]"', $parts[$i]);


değiştir
Kod:
$parts[$i] = preg_replace('~\[([/]?)(list|li|table|tr|td)([^\]]*)\]~ie', '\'[$1\' .

ara
Kod:
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' +0000' . $line_break;


değiştir
Kod:
$headers .= 'Date: ' . gmdate('D, d M Y H:i:s') . ' -0000' . $line_break;


ara
Kod:
return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : pack('C*', 0xF7, 0xBF, 0xBF, 0xBF)) . '])~eu', '$entityConvert("\1")', $string), '7bit');


değiştir
Kod:
return array($charset, preg_replace('~([\x80-' . ($context['server']['complex_preg_chars'] ? '\x{10FFFF}' : pack('C*', 0xF7, 0xBF, 0xBF, 0xBF)) . '])~eu', '$entityConvert(\'\1\')', $string), '7bit');


ara
Kod:
if (!is_array($setboards))


değiştir
Kod:
// Please - let's be sane.
if (empty($setboards))
return false;

if (!is_array($setboards))



$sourcedir/Subs.php


ara
Kod:
* Software Version: SMF 1.1.3 *


değiştir
Kod:
* Software Version: SMF 1.1.4 *


ara
Kod:
$clean .= '%s';


değiştir
Kod:
$clean .= ' %s ';


ara
Kod:
elseif (strpos($clean, 'set password') !== false && preg_match('~(^|[^a-z])set password($|[^[a-z])~s', $clean) != 0)


değiştir
Kod:
elseif (strpos($clean, 'sleep') !== false && preg_match('~(^|[^a-z])sleep($|[^[a-z])~s', $clean) != 0)


ara
Kod:
if ($ref-resh)


değiştir
Kod:
if ($ref-resh && !WIRELESS)


ara
Kod:
elseif (strpos($test, 'invalid option') && !isset($modSettings['host_to_dis']))


değiştir
Kod:
elseif ((strpos($test, 'invalid option') || strpos($test, 'Invalid query name 1')) && !isset($modSettings['host_to_dis']))
__________________
1ßeN Ofline   Alıntı ile Cevapla