mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Удаление ссылки по просьбе, правки путей к картинкам, правка функции перезагрузки аватара.
This commit is contained in:
parent
75922449d7
commit
d3b8049006
4 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@ qaqra
|
||||||
rserg99
|
rserg99
|
||||||
leszav
|
leszav
|
||||||
Dr_Brown
|
Dr_Brown
|
||||||
Bullit (http://bestrip.org/)
|
Bullit
|
||||||
Triceratop (http://goldenshara.com/)
|
Triceratop (http://goldenshara.com/)
|
||||||
Ramzess
|
Ramzess
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ Ramzess
|
||||||
|
|
||||||
SamSeGo
|
SamSeGo
|
||||||
alesel (http://sporttracker.kz/)
|
alesel (http://sporttracker.kz/)
|
||||||
Bullit (http://bestrip.org/)
|
Bullit
|
||||||
igorsaevets
|
igorsaevets
|
||||||
vasilich619
|
vasilich619
|
||||||
wint1000 (http://asmlocator.ru/)
|
wint1000 (http://asmlocator.ru/)
|
||||||
|
|
|
@ -58,7 +58,7 @@ switch ($mode)
|
||||||
'ROW_CLASS' => !($i % 2) ? 'row2' : 'row1',
|
'ROW_CLASS' => !($i % 2) ? 'row2' : 'row1',
|
||||||
'JOB_ID' => $i + 1,
|
'JOB_ID' => $i + 1,
|
||||||
'CRON_ID' => $row['cron_id'],
|
'CRON_ID' => $row['cron_id'],
|
||||||
'CRON_ACTIVE' => $row['cron_active'] ? '<img src="../images/icon_run.gif" alt="'. $lang['YES'] .'" />' : '<img src="../images/icon_delete.gif" alt="'. $lang['NO'] .'" />',
|
'CRON_ACTIVE' => $row['cron_active'] ? '<img src="../styles/images/icon_run.gif" alt="'. $lang['YES'] .'" />' : '<img src="../styles/images/icon_delete.gif" alt="'. $lang['NO'] .'" />',
|
||||||
'CRON_TITLE' => $row['cron_title'],
|
'CRON_TITLE' => $row['cron_title'],
|
||||||
'CRON_SCRIPT' => $row['cron_script'],
|
'CRON_SCRIPT' => $row['cron_script'],
|
||||||
'SCHEDULE' => $row['schedule'] ? $lang['SCHEDULE'][$row['schedule']] : '<b class="leech">'. $lang['NOSELECT'] .'</b>',
|
'SCHEDULE' => $row['schedule'] ? $lang['SCHEDULE'][$row['schedule']] : '<b class="leech">'. $lang['NOSELECT'] .'</b>',
|
||||||
|
|
|
@ -1963,7 +1963,7 @@ function topic_attachment_image($switch_attachment)
|
||||||
{
|
{
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return '<img src="images/icon_clip.gif" alt="" border="0" /> ';
|
return '<img src="styles/images/icon_clip.gif" alt="" border="0" /> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
function transliterate ($str)
|
function transliterate ($str)
|
||||||
|
@ -2825,10 +2825,10 @@ function is_gold ($type)
|
||||||
switch ($type)
|
switch ($type)
|
||||||
{
|
{
|
||||||
case TOR_TYPE_GOLD:
|
case TOR_TYPE_GOLD:
|
||||||
$is_gold = '<img src="images/tor_gold.gif" width="16" height="15" title="'. $lang['GOLD'] .'" /> ';
|
$is_gold = '<img src="styles/images/tor_gold.gif" width="16" height="15" title="'. $lang['GOLD'] .'" /> ';
|
||||||
break;
|
break;
|
||||||
case TOR_TYPE_SILVER:
|
case TOR_TYPE_SILVER:
|
||||||
$is_gold = '<img src="images/tor_silver.gif" width="16" height="15" title="'. $lang['SILVER'] .'" /> ';
|
$is_gold = '<img src="styles/images/tor_silver.gif" width="16" height="15" title="'. $lang['SILVER'] .'" /> ';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$is_gold = '';
|
$is_gold = '';
|
||||||
|
|
|
@ -104,12 +104,12 @@ class upload_common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// check ext
|
// check ext
|
||||||
if (!isset($this->ext_ids[$this->file_ext]) || !in_array($this->file_ext, $this->cfg['allowed_ext'], true))
|
if ($uploaded_only && (!isset($this->ext_ids[$this->file_ext]) || !in_array($this->file_ext, $this->cfg['allowed_ext'], true)))
|
||||||
{
|
{
|
||||||
$this->errors[] = sprintf($lang['UPLOAD_ERROR_NOT_ALLOWED'], htmlCHR($this->file_ext));
|
$this->errors[] = sprintf($lang['UPLOAD_ERROR_NOT_ALLOWED'], htmlCHR($this->file_ext));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$this->file_ext_id = $this->ext_ids[$this->file_ext];
|
$this->file_ext_id = @$this->ext_ids[$this->file_ext];
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue