mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
fca1286884
commit
9619fbae40
@ -122,7 +122,7 @@
|
||||
<li id="stats_required"><a href="rules.php?p=ratio">Required</a>: <span class="stat" title="<?=number_format($LoggedUser['RequiredRatio'], 5)?>"><?=number_format($LoggedUser['RequiredRatio'], 2)?></span></li>
|
||||
<? }
|
||||
if($LoggedUser['FLTokens'] > 0) { ?>
|
||||
<li id="fl_tokens"><a href="wiki.php?action=article&id=754">Tokens: </a><span class="stat"><a href="userhistory.php?action=token_history&userid=<?=$LoggedUser['ID']?>"><?=$LoggedUser['FLTokens']?></a></span></li>
|
||||
<li id="fl_tokens"><a href="wiki.php?action=article&id=754">Tokens</a>: <span class="stat"><a href="userhistory.php?action=token_history&userid=<?=$LoggedUser['ID']?>"><?=$LoggedUser['FLTokens']?></a></span></li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
<?
|
||||
|
@ -548,7 +548,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
|
||||
|
||||
?>
|
||||
<div class="thin">
|
||||
<div class="thin widethin">
|
||||
<form class="search_form" name="torrents" method="get" action="">
|
||||
<div class="filter_torrents <?=$AdvancedSearch ? 'ft_advanced' : 'ft_basic'?>">
|
||||
<h3>
|
||||
|
@ -134,7 +134,7 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
View::show_header('My notifications', 'notifications');
|
||||
|
||||
?>
|
||||
<div class="thin">
|
||||
<div class="thin widethin">
|
||||
<div class="header">
|
||||
<h2>Latest notifications</h2>
|
||||
</div>
|
||||
|
@ -368,6 +368,8 @@
|
||||
$HasLog = "'0'";
|
||||
$HasCue = "'0'";
|
||||
|
||||
$TooLongPaths = array();
|
||||
|
||||
foreach($FileList as $File) {
|
||||
list($Size, $Name) = $File;
|
||||
// add +log to encoding
|
||||
@ -381,16 +383,22 @@
|
||||
|
||||
check_file($Type, $Name);
|
||||
|
||||
|
||||
// Make sure the filename is not too long
|
||||
if(mb_strlen($Name, 'UTF-8') + mb_strlen($DirName, 'UTF-8') + 1 > MAX_FILENAME_LENGTH) {
|
||||
$Err = 'The torrent contained one or more files with too long a name ('.$Name.')';
|
||||
$TooLongPaths[] = $Name;
|
||||
}
|
||||
|
||||
// Add file and size to array
|
||||
$TmpFileList[] = $Name .'{{{'.$Size.'}}}'; // Name {{{Size}}}
|
||||
}
|
||||
|
||||
if(count($TooLongPaths)!=0) {
|
||||
$Names = '';
|
||||
foreach($TooLongPaths as $Name) {$Names .= '<br>'.$Name;}
|
||||
/* $Err = 'The torrent contained one or more files with too long a name ('.$Name.')'; */
|
||||
$Err = 'The torrent contained one or more files with too long a name:'.$Names;
|
||||
}
|
||||
|
||||
// To be stored in the database
|
||||
$FilePath = isset($Tor->Val['info']->Val['files']) ? db_string(Format::make_utf8($DirName)) : "";
|
||||
|
||||
|
@ -317,6 +317,11 @@ input.hidden {
|
||||
margin-right:auto;
|
||||
}
|
||||
|
||||
.widethin { /* overriding the thin class on torrents.php */
|
||||
width: 95% !important;
|
||||
margin: 0px auto;
|
||||
}
|
||||
|
||||
div.linkbox {
|
||||
text-align:center;
|
||||
padding: 5px;
|
||||
|
@ -436,6 +436,11 @@ input.hidden {
|
||||
margin: 0px auto;
|
||||
}
|
||||
|
||||
.widethin { /* overriding the thin class on torrents.php */
|
||||
width: 95% !important;
|
||||
margin: 0px auto;
|
||||
}
|
||||
|
||||
#userinfo_username .brackets:before {
|
||||
content: "[";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user