mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-14 11:26:26 +00:00
Empty commit
This commit is contained in:
parent
564a9c9faf
commit
c52d1a6c9e
@ -108,12 +108,16 @@ function make_tree(){
|
|||||||
|
|
||||||
// Manage tree depth
|
// Manage tree depth
|
||||||
if($TreeLevel > $PreviousTreeLevel){
|
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){
|
} 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>
|
<strong><?=format_username($ID, true, true, $Enabled != 2 ? false : true, true)?></strong>
|
||||||
<?
|
<?
|
||||||
if(check_paranoia(array('uploaded', 'downloaded'), $Paranoia, $UserClass)) {
|
if(check_paranoia(array('uploaded', 'downloaded'), $Paranoia, $UserClass)) {
|
||||||
@ -131,11 +135,14 @@ function make_tree(){
|
|||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</li>
|
|
||||||
<? $PreviousTreeLevel = $TreeLevel;
|
<? $PreviousTreeLevel = $TreeLevel;
|
||||||
$DB->set_query_id($TreeQuery);
|
$DB->set_query_id($TreeQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
$Tree = ob_get_clean();
|
$Tree = ob_get_clean();
|
||||||
|
for($i = 0; $i<$PreviousTreeLevel-$OriginalTreeLevel; $i++){ $Tree .= "</li></ul>\n"; }
|
||||||
|
|
||||||
if($Count){
|
if($Count){
|
||||||
|
|
||||||
?> <p style="font-weight: bold;">
|
?> <p style="font-weight: bold;">
|
||||||
|
Binary file not shown.
@ -328,7 +328,7 @@ function compare($X, $Y){
|
|||||||
?>
|
?>
|
||||||
<img src="<?=to_thumbnail($Image)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?>" width="118" />
|
<img src="<?=to_thumbnail($Image)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?>" width="118" />
|
||||||
<? } else { ?>
|
<? } else { ?>
|
||||||
<div style="width:107px;padding:5px"><?=$DisplayName?></div>
|
<span style="width:107px;padding:5px"><?=$DisplayName?></span>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@ -548,7 +548,7 @@ function compare($X, $Y){
|
|||||||
<input type="hidden" name="action" value="add_torrent_batch" />
|
<input type="hidden" name="action" value="add_torrent_batch" />
|
||||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||||
<input type="hidden" name="collageid" value="<?=$CollageID?>" />
|
<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" />
|
<input type="submit" value="Add" />
|
||||||
<br />
|
<br />
|
||||||
<span style="font-style: italic;">Enter the URLs of torrents on the site, one per line.</span>
|
<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) { ?>
|
<? if ($NumGroups > $CollageCovers) { ?>
|
||||||
<div class="linkbox pager" style="clear: left;" id="pageslinksdiv">
|
<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;"><< First</a> | </span>
|
<span id="firstpage" class="invisible"><a href="#" class="pageslink" onclick="collageShow.page(0, this); return false;"><< First</a> | </span>
|
||||||
<span id="prevpage" class="invisible"><a href="#" id="prevpage" class="pageslink" onclick="collageShow.prevPage(); return false;">< Prev</a> | </span>
|
<span id="prevpage" class="invisible"><a href="#" class="pageslink" onclick="collageShow.prevPage(); return false;">< Prev</a> | </span>
|
||||||
<? for ($i=0; $i < $NumGroups/$CollageCovers; $i++) { ?>
|
<? 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="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="nextbar" class="<?=($NumGroups/$CollageCovers > 5)?'hidden':''?>"> | </span>
|
||||||
<span id="nextpage"><a href="#" class="pageslink" onclick="collageShow.nextPage(); return false;">Next ></a></span>
|
<span id="nextpage"><a href="#" class="pageslink" onclick="collageShow.nextPage(); return false;">Next ></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 >></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 >></a></span>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">//<![CDATA[
|
||||||
collageShow.init(<?=json_encode($CollagePages)?>);
|
collageShow.init(<?=json_encode($CollagePages)?>);
|
||||||
</script>
|
//]]></script>
|
||||||
<? }
|
<? }
|
||||||
} ?>
|
} ?>
|
||||||
<table class="torrent_table grouping cats" id="discog_table">
|
<table class="torrent_table grouping cats" id="discog_table">
|
||||||
|
@ -160,7 +160,7 @@ function user_dupes_table($UserID) {
|
|||||||
$Dupes = array();
|
$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="action" value="dupes" />
|
||||||
<input type="hidden" name="dupeaction" value="update" />
|
<input type="hidden" name="dupeaction" value="update" />
|
||||||
<input type="hidden" name="userid" value="<?=$UserID?>" />
|
<input type="hidden" name="userid" value="<?=$UserID?>" />
|
||||||
|
Loading…
Reference in New Issue
Block a user