Empty commit

This commit is contained in:
Git 2012-08-15 08:00:15 +00:00
parent 3f63000a1d
commit e0b231fc39
3 changed files with 27 additions and 24 deletions

View File

@ -525,15 +525,8 @@ function to_html($Array) {
if(!empty($Block['Attr'])) {
$Exploded = explode("|", $this->to_html($Block['Attr']));
if(isset($Exploded[1]) && is_numeric($Exploded[1])) {
$PostURL = 'forums.php?action=viewthread&postid='.trim($Exploded[1]);
/* $Current = substr($_SERVER['PHP_SELF'], 1, -4);
switch($Current) {
case 'forums':
$PostURL = $Current.'?action=viewthread&postid='.$PostID;
break;
}*/
$Str.= '<a href="' .$PostURL. '"><strong class="quoteheader">'.$Exploded[0].'</strong> wrote: </a>';
// $Str.= '<strong>'.$Exploded[0].'</strong> wrote: ';
$PostID = trim($Exploded[1]);
$Str.= '<a href="#" onclick="QuoteJump('.$PostID.'); return false;"><strong class="quoteheader">'.$Exploded[0].'</strong> wrote: </a>';
}
else {
$Str.= '<strong class="quoteheader">'.$Exploded[0].'</strong> wrote: ';

View File

@ -37,7 +37,7 @@
),
'banned' => array(
'priority' => '230',
'reason' => '13',
'reason' => '14',
'title' => 'Specifically Banned',
'report_messages' => array(
'Please specify exactly which entry on the Do Not Upload list this is violating.'
@ -191,7 +191,7 @@
),
'tracks_missing' => array(
'priority' => '240',
'reason' => '14',
'reason' => '15',
'title' => 'Track(s) Missing',
'report_messages' => array(
'Please list the track number and title of the missing track',
@ -251,7 +251,7 @@
),
'transcode' => array(
'priority' => '250',
'reason' => '15',
'reason' => '16',
'title' => 'Transcode',
'report_messages' => array(
"Please list the tracks you checked, and the method used to determine the transcode.",
@ -271,7 +271,7 @@
),
'low' => array(
'priority' => '170',
'reason' => '9',
'reason' => '10',
'title' => 'Low Bitrate',
'report_messages' => array(
"Please tell us the actual bitrate, and the software used to check."
@ -289,7 +289,7 @@
),
'mutt' => array(
'priority' => '180',
'reason' => '10',
'reason' => '11',
'title' => 'Mutt Rip',
'report_messages' => array(
"Please list at least two (2) tracks which have different bitrates and/or encoders."
@ -307,7 +307,7 @@
),
'single_track' => array(
'priority' => '270',
'reason' => '17',
'reason' => '18',
'title' => 'Unsplit Album Rip',
'report_messages' => array(
"If possible, please provide a link to Amazon.com or another source showing the proper track listing.",
@ -366,7 +366,7 @@
),
'wrong_format' => array(
'priority' => '320',
'reason' => '19',
'reason' => '20',
'title' => 'Wrong Specified Format',
'report_messages' => array(
"Please specify the correct format."
@ -383,7 +383,7 @@
),
'wrong_media' => array(
'priority' => '330',
'reason' => '20',
'reason' => '21',
'title' => 'Wrong Specified Media',
'report_messages' => array(
"Please specify the correct media."
@ -419,7 +419,7 @@
),
'bitrate' => array(
'priority' => '150',
'reason' => '8',
'reason' => '9',
'title' => 'Inaccurate Bitrate',
'report_messages' => array(
"Please tell us the actual bitrate, and the software used to check.",
@ -439,7 +439,7 @@
),
'source' => array(
'priority' => '210',
'reason' => '11',
'reason' => '12',
'title' => 'Radio/TV/FM/WEB Rip',
'report_messages' => array(
"Please include as much information as possible to verify the report"
@ -475,7 +475,7 @@
),
'user_discog' => array(
'priority' => '290',
'reason' => '18',
'reason' => '19',
'title' => 'User Compilation',
'report_messages' => array(
"Please include as much information as possible to verify the report"
@ -530,7 +530,7 @@
),
'audience' => array(
'priority' => '70',
'reason' => '21',
'reason' => '22',
'title' => 'Audience Recording',
'report_messages' => array(
"Please include as much information as possible to verify the report"
@ -567,7 +567,7 @@
),
'cassette' => array(
'priority' => '260',
'reason' => '16',
'reason' => '17',
'title' => 'Unapproved Cassette',
'report_messages' => array(
"If the album was never released other than on cassette, please include a source."
@ -587,7 +587,7 @@
),
'skips' => array(
'priority' => '220',
'reason' => '12',
'reason' => '13',
'title' => 'Skips / Encode Errors',
'report_messages' => array(
"Please tell us which track(s) we should check.",
@ -816,7 +816,7 @@
'4' => array( //Audiobook Rules Broken
'skips' => array(
'priority' => '210',
'reason' => '12',
'reason' => '13',
'title' => 'Skips / Encode Errors',
'report_messages' => array(
"Please tell us which track(s) we should check.",

View File

@ -1,6 +1,16 @@
var username;
var postid;
function QuoteJump(post) {
var hash = "#post" + post;
if($(hash).raw() != null) {
window.location.hash = hash;
}
else {
window.open("forums.php?action=viewthread&postid="+post, '_self');
}
}
function Quote(post, user) {
Quote(post, user, false)
}