mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-21 20:59:02 +00:00
Empty commit
This commit is contained in:
parent
b269410a01
commit
69ae9639ca
@ -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;
|
||||
|
@ -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` (
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
<?
|
||||
|
@ -24,18 +24,18 @@ function diff($OldText, $NewText) {
|
||||
$Result[] = '<span class="line_deleted">← '.$OldString.'</span><br />';
|
||||
$LineOffset = $LineOffset - 1;
|
||||
} elseif ($Found ==$OldLine+$LineOffset) {
|
||||
$Result[] = '<span class="line_unchanged"><strong>↕ '.$OldString.'</strong></span><br />';
|
||||
$Result[] = '<span class="line_unchanged">↕ '.$OldString.'</span><br />';
|
||||
} elseif ($Found != $OldLine+$LineOffset) {
|
||||
if ($Found < $OldLine+$LineOffset) {
|
||||
$Result[] = '<span class="line_moved"><strong>⇤ '.$OldString.'</strong></span><br />';
|
||||
$Result[] = '<span class="line_moved">⇤ '.$OldString.'</span><br />';
|
||||
} else {
|
||||
$Result[] = '<span class="line_moved">← '.$OldString.'</span><br />';
|
||||
$Key = $OldLine + $LineOffset;
|
||||
while ($Key<$Found) {
|
||||
$Result[] = '<span class="line_new"><strong>→ '.$LineArrayNew[$Key].'</strong></span><br />';
|
||||
$Result[] = '<span class="line_new">→ '.$LineArrayNew[$Key].'</span><br />';
|
||||
$Key++;
|
||||
}
|
||||
$Result[] = '<span class="line_moved"><strong>→ '.$OldString.'</strong></span><br />';
|
||||
$Result[] = '<span class="line_moved">→ '.$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>→ '.$LineArrayNew[$Key].'</strong></span><br />';
|
||||
$Result[] = '<span class="line_new">→ '.$LineArrayNew[$Key].'</span><br />';
|
||||
$Key++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user