Empty commit

This commit is contained in:
Git 2014-01-18 08:01:25 +00:00
parent 49c5593aa1
commit 16afc03e25
15 changed files with 105 additions and 93 deletions

View File

@ -333,7 +333,7 @@ public function load_staff_pms() {
}
if ($NewStaffPMs > 0) {
$Title = 'You have new ' . ($NewStaffPMs == 1 ? 'a' : $NewStaffPMs) . ' Staff PM' . ($NewStaffPMs > 1 ? 's' : '');
$Title = 'You have ' . ($NewStaffPMs == 1 ? 'a' : $NewStaffPMs) . ' new Staff PM' . ($NewStaffPMs > 1 ? 's' : '');
$this->create_notification(self::STAFFPM, 0, $Title, 'staffpm.php', self::INFO);
}
}

View File

@ -1,5 +1,14 @@
CHANGE LOG
2014-01-18 by alderaan
Fix grammar in pop-up notifications about new Staff PMs.
2014-01-18 by flaming
Rename "Unrelated Ebooks" torrent report type to "Ebook Collection".
2014-01-18 by alderaan
Rename the "Dismiss" button to "Hide" for pop-up notifications.
2014-01-05 by Ajax
Wildcard searches in IP history

View File

@ -818,7 +818,7 @@
'unrelated' => array(
'priority' => '270',
'reason' => '-1',
'title' => 'Unrelated Ebooks',
'title' => 'Ebook Collection',
'report_messages' => array(
'Please include as much information as possible to verify the report.'
),

View File

@ -22,8 +22,8 @@ function Vote(amount, requestid) {
upload = $('#current_uploaded').raw().value;
download = $('#current_downloaded').raw().value;
rr = $('#current_rr').raw().value;
if (amount > .3*(upload - rr * download)) {
if (!confirm('This vote is more than 30% of your buffer. Please confirm that you wish to place this large a vote.')) {
if (amount > 0.3 * (upload - rr * download)) {
if (!confirm('This vote is more than 30% of your buffer. Please confirm that you wish to place this large of a vote.')) {
return false;
}
}
@ -120,7 +120,9 @@ function AddArtistField() {
function RemoveArtistField() {
var ArtistCount = document.getElementsByName("artists[]").length;
if (ArtistCount == 1) { return; }
if (ArtistCount == 1) {
return;
}
var x = $('#artistfields').raw();
while (x.lastChild.tagName != "INPUT") {

View File

@ -24,10 +24,12 @@ $(document).ready(function() {
}
function getResized(srcWidth, srcHeight, maxWidth, maxHeight) {
var ratio = [maxWidth / srcWidth, maxHeight / srcHeight ];
ratio = Math.min(ratio[0], ratio[1]);
return { width:srcWidth*ratio, height:srcHeight*ratio };
return {
width: srcWidth * ratio,
height: srcHeight * ratio
};
}
});

View File

@ -83,7 +83,7 @@ function createNoty(type, id, message, url, importance) {
}
},
{
addClass: 'brackets noty_button_close ', text: 'Dismiss', onClick: function($noty) {
addClass: 'brackets noty_button_close ', text: 'Hide', onClick: function($noty) {
$noty.close();
}
},

View File

@ -1,4 +1,3 @@
.tiles_container {
position: relative;
}