Empty commit

This commit is contained in:
Git 2012-09-29 08:00:21 +00:00
parent 564a9c9faf
commit c52d1a6c9e
5 changed files with 209 additions and 202 deletions

View File

@ -108,12 +108,16 @@ function make_tree(){
// Manage tree depth
if($TreeLevel > $PreviousTreeLevel){
for($i = 0; $i<$TreeLevel-$PreviousTreeLevel; $i++){ echo "<ul class=\"invitetree\">\n"; }
for($i = 0; $i<$TreeLevel-$PreviousTreeLevel; $i++){ echo "<ul class=\"invitetree\"><li>"; }
} elseif($TreeLevel < $PreviousTreeLevel){
for($i = 0; $i<$PreviousTreeLevel-$TreeLevel; $i++){ echo "</ul>\n"; }
for($i = 0; $i<$PreviousTreeLevel-$TreeLevel; $i++){ echo "</li></ul>"; }
echo "</li>";
echo "<li>";
} else {
echo "</li>";
echo "<li>";
}
?>
<li>
<strong><?=format_username($ID, true, true, $Enabled != 2 ? false : true, true)?></strong>
<?
if(check_paranoia(array('uploaded', 'downloaded'), $Paranoia, $UserClass)) {
@ -131,11 +135,14 @@ function make_tree(){
<?
}
?>
</li>
<? $PreviousTreeLevel = $TreeLevel;
$DB->set_query_id($TreeQuery);
}
$Tree = ob_get_clean();
for($i = 0; $i<$PreviousTreeLevel-$OriginalTreeLevel; $i++){ $Tree .= "</li></ul>\n"; }
if($Count){
?> <p style="font-weight: bold;">

Binary file not shown.

View File

@ -328,7 +328,7 @@ function compare($X, $Y){
?>
<img src="<?=to_thumbnail($Image)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?>" width="118" />
<? } else { ?>
<div style="width:107px;padding:5px"><?=$DisplayName?></div>
<span style="width:107px;padding:5px"><?=$DisplayName?></span>
<? } ?>
</a>
</li>
@ -548,7 +548,7 @@ function compare($X, $Y){
<input type="hidden" name="action" value="add_torrent_batch" />
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
<textarea name="urls" rows="5" cols="25" wrap="off"></textarea><br />
<textarea name="urls" rows="5" cols="25" style="white-space: nowrap;"></textarea><br />
<input type="submit" value="Add" />
<br />
<span style="font-style: italic;">Enter the URLs of torrents on the site, one per line.</span>
@ -620,17 +620,17 @@ function compare($X, $Y){
<? if ($NumGroups > $CollageCovers) { ?>
<div class="linkbox pager" style="clear: left;" id="pageslinksdiv">
<span id="firstpage" class="invisible"><a href="#" class="pageslink" onclick="collageShow.page(0, this); return false;">&lt;&lt; First</a> | </span>
<span id="prevpage" class="invisible"><a href="#" id="prevpage" class="pageslink" onclick="collageShow.prevPage(); return false;">&lt; Prev</a> | </span>
<span id="prevpage" class="invisible"><a href="#" class="pageslink" onclick="collageShow.prevPage(); return false;">&lt; Prev</a> | </span>
<? for ($i=0; $i < $NumGroups/$CollageCovers; $i++) { ?>
<span id="pagelink<?=$i?>" class="<?=(($i>4)?'hidden':'')?><?=(($i==0)?'selected':'')?>"><a href="#" class="pageslink" onclick="collageShow.page(<?=$i?>, this); return false;"><?=$CollageCovers*$i+1?>-<?=min($NumGroups,$CollageCovers*($i+1))?></a><?=($i != ceil($NumGroups/$CollageCovers)-1)?' | ':''?></span>
<? } ?>
<span id="nextbar" class="<?=($NumGroups/$CollageCovers > 5)?'hidden':''?>"> | </span>
<span id="nextpage"><a href="#" class="pageslink" onclick="collageShow.nextPage(); return false;">Next &gt;</a></span>
<span id="lastpage" class="<?=ceil($NumGroups/$CollageCovers)==2?'invisible':''?>"> | <a href="#" id="lastpage" class="pageslink" onclick="collageShow.page(<?=ceil($NumGroups/$CollageCovers)-1?>, this); return false;">Last &gt;&gt;</a></span>
<span id="lastpage" class="<?=ceil($NumGroups/$CollageCovers)==2?'invisible':''?>"> | <a href="#" class="pageslink" onclick="collageShow.page(<?=ceil($NumGroups/$CollageCovers)-1?>, this); return false;">Last &gt;&gt;</a></span>
</div>
<script type="text/javascript">
<script type="text/javascript">//<![CDATA[
collageShow.init(<?=json_encode($CollagePages)?>);
</script>
//]]></script>
<? }
} ?>
<table class="torrent_table grouping cats" id="discog_table">

View File

@ -160,7 +160,7 @@ function user_dupes_table($UserID) {
$Dupes = array();
}
?>
<form class="manage_form" name="user" method="post" id="linkedform">
<form class="manage_form" name="user" method="post" id="linkedform" action="">
<input type="hidden" name="action" value="dupes" />
<input type="hidden" name="dupeaction" value="update" />
<input type="hidden" name="userid" value="<?=$UserID?>" />