Created
September 18, 2014 14:52
-
-
Save dlenettr/c74541bcac0d4c69c855 to your computer and use it in GitHub Desktop.
Broken Links (168)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dosya: engine/modules/show.full.php | |
Bul : | |
-----------------8<----------------------- | |
if( $row['votes'] ) $tpl->set( '{poll}', $tpl->result['poll'] ); | |
-----------------8<----------------------- | |
Üstüne Ekle : | |
-----------------8<----------------------- | |
// Broken Links | |
$broken_arr = explode( ',', $row['nolink_users'] ); | |
if ( ! $is_logged ) $member_id['name'] = "Guest"; | |
if( ! in_array( $member_id['name'], $broken_arr ) ) $tpl->set( '{brokenLink}', "<span class=\"brokenbt\" id=\"broken-id-" . $row['id'] . "\"><span class=\"brokenclick\" onclick=\"brokenLink('" . $row['id'] . "'); return false;\" title=\"\">Kırık Link</span></span>" ); | |
else $tpl->set( '{brokenLink}', "" ); | |
// Broken Links | |
-----------------8<----------------------- | |
Dosya: engine/ajax/message.php | |
Bul : | |
-----------------8<----------------------- | |
$message = $db->safesql( $parse->BB_Parse( $parse->process( trim( $message ) ), false ) ); | |
-----------------8<----------------------- | |
Üstüne Ekle : | |
-----------------8<----------------------- | |
// Broken Links | |
if ( isset( $_POST['from'] ) && $_POST['from'] == "brokenlinks" ) { | |
$lang['message_pm'] = "Kırık Link Bildirimi"; | |
$message = <<<HTML | |
Merhaba, [b]{$row['name']}[/b], | |
{$lang['message_pm_1']} "{$title}" {$lang['message_pm_5']} [b]{$member_id['name']}[/b]. | |
Link kırık | |
[quote]{$text}[/quote] | |
HTML; | |
} | |
// Broken Links | |
-----------------8<----------------------- | |
Dosya: engine/classes/js/dle_js.js | |
Bul : | |
-----------------8<----------------------- | |
function fast_vote(a) | |
-----------------8<----------------------- | |
Hemen Sonrasına Ekle : | |
-----------------8<----------------------- | |
function brokenLink( id ) { ShowLoading(''); $.get(dle_root + "engine/ajax/brokenlink.php", { news_id: id, skin: dle_skin }, function(data) { HideLoading(''); $("#broken-id-" + id).html(data); }); return false; } | |
-----------------8<----------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment