Empty commit

This commit is contained in:
Git 2012-09-26 07:15:36 +00:00
parent b269410a01
commit 69ae9639ca
5 changed files with 21 additions and 23 deletions

View File

@ -180,8 +180,8 @@ function make_tree(){
echo '<p style="font-weight: bold;">';
echo 'The total amount uploaded by the entire tree was '.get_size($TotalUpload);
echo ', the total amount downloaded was '.get_size($TotalDownload);
echo ', and the total ratio is '.ratio($TotalUpload, $TotalDownload).'. ';
echo '; the total amount downloaded was '.get_size($TotalDownload);
echo '; and the total ratio is '.ratio($TotalUpload, $TotalDownload).'. ';
echo '</p>';
echo '<p style="font-weight: bold;">';
@ -192,7 +192,6 @@ function make_tree(){
echo 'These numbers include the stats of paranoid users, and will be factored in to the invitation giving script.</p>';
if($ParanoidCount){
echo '<p style="font-weight: bold;">';
echo $ParanoidCount;

View File

@ -1339,8 +1339,7 @@ CREATE TABLE `users_notify_torrents` (
`TorrentID` int(10) NOT NULL,
`UnRead` tinyint(4) NOT NULL DEFAULT '1',
PRIMARY KEY (`UserID`,`TorrentID`),
KEY `TorrentID` (`TorrentID`),
KEY `UserID` (`UserID`,`UnRead`)
KEY `TorrentID` (`TorrentID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `users_points` (

View File

@ -73,18 +73,18 @@ function toggle_visibility(id) {
<p>Please read the topic carefully.</p>
</div>
<applet codebase="static/irc/" code="IRCApplet.class" archive="irc.jar,sbox.jar" width="800" height="600" align="center">
<param name="nick" value="<?=$nick?>">
<param name="alternatenick" value="WhatGuest????">
<param name="name" value="Java IRC User">
<param name="host" value="<?=BOT_SERVER?>">
<param name="multiserver" value="false">
<param name="autorejoin" value="false">
<param name="nick" value="<?=$nick?>" />
<param name="alternatenick" value="WhatGuest????" />
<param name="name" value="Java IRC User" />
<param name="host" value="<?=BOT_SERVER?>" />
<param name="multiserver" value="false" />
<param name="autorejoin" value="false" />
<param name="gui" value="sbox">
<param name="pixx:highlight" value="true">
<param name="pixx:highlightnick" value="true">
<param name="pixx:prefixops" value="true">
<param name="sbox:scrollspeed" value="5">
<param name="gui" value="sbox" />
<param name="pixx:highlight" value="true" />
<param name="pixx:highlightnick" value="true" />
<param name="pixx:prefixops" value="true" />
<param name="sbox:scrollspeed" value="5" />
</applet>
</div>
</div>

View File

@ -989,7 +989,7 @@ function check_paranoia_here($Setting) {
<div class="box">
<div class="head">Staff Notes <a href="#" name="admincommentbutton" onclick="ChangeTo('text'); return false;">(Edit)</a></div>
<div class="pad">
<input type="hidden" name="comment_hash" value="<?=$CommentHash?>">
<input type="hidden" name="comment_hash" value="<?=$CommentHash?>" />
<div id="admincommentlinks" class="AdminComment box" style="width:98%;"><?=$Text->full_format($AdminComment)?></div>
<textarea id="admincomment" onkeyup="resize('admincomment');" class="AdminComment hidden" name="AdminComment" cols="65" rows="26" style="width:98%;"><?=display_str($AdminComment)?></textarea>
<a href="#" name="admincommentbutton" onclick="ChangeTo('text'); return false;">Toggle Edit</a>
@ -1013,7 +1013,7 @@ function check_paranoia_here($Setting) {
if (check_perms('users_edit_titles')) {
?>
<tr>
<td class="label">CustomTitle:</td>
<td class="label">Custom Title:</td>
<td><input type="text" size="50" name="Title" value="<?=display_str($CustomTitle)?>" /></td>
</tr>
<?

View File

@ -24,18 +24,18 @@ function diff($OldText, $NewText) {
$Result[] = '<span class="line_deleted">&larr; '.$OldString.'</span><br />';
$LineOffset = $LineOffset - 1;
} elseif ($Found ==$OldLine+$LineOffset) {
$Result[] = '<span class="line_unchanged"><strong>&#8597; '.$OldString.'</strong></span><br />';
$Result[] = '<span class="line_unchanged">&#8597; '.$OldString.'</span><br />';
} elseif ($Found != $OldLine+$LineOffset) {
if ($Found < $OldLine+$LineOffset) {
$Result[] = '<span class="line_moved"><strong>&#8676; '.$OldString.'</strong></span><br />';
$Result[] = '<span class="line_moved">&#8676; '.$OldString.'</span><br />';
} else {
$Result[] = '<span class="line_moved">&larr; '.$OldString.'</span><br />';
$Key = $OldLine + $LineOffset;
while ($Key<$Found) {
$Result[] = '<span class="line_new"><strong>&rarr; '.$LineArrayNew[$Key].'</strong></span><br />';
$Result[] = '<span class="line_new">&rarr; '.$LineArrayNew[$Key].'</span><br />';
$Key++;
}
$Result[] = '<span class="line_moved"><strong>&rarr; '.$OldString.'</strong></span><br />';
$Result[] = '<span class="line_moved">&rarr; '.$OldString.'</span><br />';
}
$LineOffset = $Found-$OldLine;
}
@ -43,7 +43,7 @@ function diff($OldText, $NewText) {
if(count($LineArrayNew)>count($LineArrayOld) + $LineOffset) {
$Key = count($LineArrayOld) + $LineOffset;
while($Key<count($LineArrayNew)) {
$Result[] = '<span class="line_new"><strong>&rarr; '.$LineArrayNew[$Key].'</strong></span><br />';
$Result[] = '<span class="line_new">&rarr; '.$LineArrayNew[$Key].'</span><br />';
$Key++;
}
}