Добро пожаловать! Этот шаблон по умолчанию для HFS версии 2.3 Редакция шаблона TR2. Ниже вы найдете несколько вариантов, влияющих на шаблон. Рассмотрим 1 используется для "да", и 0 используется для "нет". Не изменяйте этот шаблон просто измените параметры. Это очень плохо делать это, и вы будете платить за это! Правильный способ: в виртуальной файловой системе, щелкните правой кнопкой мыши на домашнем / корень, свойства различий шаблона, поместить этот текст [+ специальный: строки] и после все варианты, которые вы хотите изменить, используя тот же синтаксис, который вы видите здесь. [+special:strings] option.paged=0 КОММЕНТАРИЙ эта опция показывает номера страниц в браузере в Вашей файловой системе сервера по умолчанию ВКЛЮЧЕНО option.newfolder=1 option.move=1 option.comment=1 option.rename=1 КОММЕНТАРИЙ тут вы можете отключить некоторые функции шаблона. Пожалуйста, обратите внимание, речь идет не о разрешениях пользователей, это глобальная настройка, влияющая на весь шаблон! [] {.!HFS.} %folder%

ВНИМАНИЕ: этот шаблон может использоваться только с версией HFS 2.3 (и с включенными макросами)

{.$box panel.} {.$list.} [list]
{.comment| это вполне уродливой, я знаю, но если я использовать любой вертикальный отступ с высоты:100% я получу прокрутки .} {.if not| %number% |{:
{.!No {.if|{.length|{.?search.}.}|results|files.}.}
:}|{:
{.set|sortlink| {:{.!$2.}{.if| {.{.?sort.} = $1.} | &{.if|{.?rev.}|u|d.}arr;.}:} .}
{.^sortlink|n|Имя.}{.^sortlink|e|.расширение.} {.^sortlink|s|Размер.} {.^sortlink|t|Добавлен.} {.^sortlink|d|Запрошен.} %list%
:}.}
[file.wmv = file.swf = file.3gp = file.mp4 = file.mov = file.mkv = file.mpeg = file.mpg = file.ogg = file.mov = file.avi = file.flv] %item-name%
{.commentNL|%item-comment%.}
Видео файл
%item-size% %date% %time% %total-downloads% [file.wav = file.mp3 = file.wma = file.aif = file.m4a = file.m4b = file.m4v] %item-name%
{.commentNL|%item-comment%.}
Аудио файл
%item-size% %date% %time% %total-downloads% [file.tpl] %item-name%
{.commentNL|%item-comment%.}
Файл шаблона HFS
%item-size% %date% %time% %sequential% [file.zip] %item-name%
{.commentNL|%item-comment%.}
ZIP архив
%item-size% %date% %time% %sequential% [file.rar] %item-name%
{.commentNL|%item-comment%.}
RAR архив
%item-size% %date% %time% %sequential% [file.xls] %item-name%
{.commentNL|%item-comment%.}
Документ Microsoft Excel
%item-size% %date% %time% %sequential% [file.txt] %item-name%
{.commentNL|%item-comment%.}
Текстовый документ
%item-size% %date% %time% %sequential% [file.bmp] %item-name%
{.commentNL|%item-comment%.}
Растровое изображение
%item-size% %date% %time% %sequential% [file.jpg] %item-name%
{.commentNL|%item-comment%.}
Изображение
%item-size% %date% %time% %sequential% [file.ppt] %item-name%
{.commentNL|%item-comment%.}
Файл презентации Microsoft PowerPoint
%item-size% %date% %time% %sequential% [file.doc] %item-name%
{.commentNL|%item-comment%.}
Документ Microsoft Word
%item-size% %date% %time% %sequential% [file.mdb] %item-name%
{.commentNL|%item-comment%.}
Файл базы данных Microsoft Access
%item-size% %date% %time% %sequential% [file.css] %item-name%
{.commentNL|%item-comment%.}
Файл каскадных таблиц стилей
%item-size% %date% %time% %sequential% [file.js] %item-name%
{.commentNL|%item-comment%.}
Файл JavaScript
%item-size% %date% %time% %sequential% [box panel]
{.$box messages.} {.$box login.} {.$box folder.} {.$box search.} {.$box selection.} {.$box upload.} {.$box actions.} {.$box server info.} {.$box info.}
[box messages]
{.!Сообщения.}
[box info]
{.!Инфо.} H F S %version%, Выпуск %build%
{.!Версия шаблона.}: 9
Справка HFS
Перейти на форум
[box login]
{.!Пользователь.}
{.if| {.length|%user%.} |{: Вы вошли как %user% {.if|{.can change pwd.} | .} :} | .}
[box folder]
{.!Сервер.}
{.if| {.length|{.?search.}.} | {.!Вниз.} | {.if| {.%folder% != / .} | {.!Вверх.} .} /if.}
Папок %number-folders%, Файлов %number-files%, {.add bytes|%total-size%.}
{.123 if 2|
|{.commentNL|%folder-item-comment%.}|
.}
[box search] {.if| {.get|can recur.} | /if.} [box selection]
{.!Выбрать.}

Выбрано файлов 0

[box upload] {.if| {.get|can upload.} |{:
{.!Загрузка на сервер.}
:}.} [box actions]
{.!Действия.}
{.if|{.can mkdir.}| .} {.if|{.can comment.}| .} {.if|{.get|can delete.}| {.if|{.and|{.!option.move.}|{.can move.}.}| .} .} {.if|{.can rename.}| .} {.if|{.get|can archive.}| .} {.!Список файлов.}
[box server info]
{.!Информация.} H F S версии: %version% выпуск %build%
{.!Время работы.}: %uptime%
{.!Версия шаблона.}: 8
Справка HFS
Перейти на форум
[+special:strings] max s dl msg=There is a limit on the number of simultaneous downloads on this server.
This limit has been reached. Retry later. retry later=Please, retry later. item folder=in folder no files=Файлы в папке отсутствуют. no results=По Вашему запросу, ничего не найдено. confirm=Вы уверены? [style.css|no log] body { font-family:tahoma, verdana, arial, helvetica, sans; font-weight:normal; font-size:9pt; background-color:#eef; } html, body { padding:0; border:0; height:100%; } html, body, p, form { margin:0 } a { text-decoration:none; color:#47c; border:1px solid transparent; padding:0 0.1em; } a:visited { color:#55F; } a:hover { background-color:#fff; border-color:#47c; } img { border-style:none } fieldset { margin-bottom:0.7em; text-align:left; padding:0.6em; } #panel { float:left; margin-top:1em; margin-left:1em; max-width:250px; } #panel hr { width:80%; margin:1em auto; } #files_outer { height:100%; overflow:auto; text-align:left; padding:0 1.6em; } #files { background:#ddf; border:0; } #files tr { background:#fff; } #files tr.even { background:#eef; } #files tr.selected { background:#bcf; } #files td { padding:0.2em 0.5em; text-align:right; } #files tr td:first-child { text-align:left; } #files th { padding:0.5em 1em; background:#47c; text-align:center; } #files th a { color:white; font-size:130%; } #files th a:hover { background:transparent; border-color:#fff; color:#fff; font-size:130%; } #files td:first-child { text-align:left; } #files td.nosize { text-align:center; font-style:italic; } #files .selector { display:none; } #actions button { margin:0.2em; } #breadcrumbs { margin-top:1em; padding-left:0.5em; } #breadcrumbs a { padding:0.15em 0; border-width:2px; display:block; word-break:break-all; } #folder-stats, #foldercomment { margin-top:1em; padding-top:0.5em; border-top:1px solid #666; } #folder-stats { color:#666; text-align:center; } #msgs { display:none; } #msgs li:first-child { font-weight:bold; } #pages span { padding-left:0.5em; padding-right:0.5em; cursor:pointer; } #pages button { font-size:smaller; } .selectedPage { font-weight:bold; font-size:larger; } .hidden { display:none; } [file=folder=link|private] {.if|{.get|is new.}| НОВЫЙ .} {.if not|{.get|can access.}|.} %item-name% {.if| {.length|{.?search.}.} |{:{.123 if 2|
{.!item folder.} |{.breadcrumbs|{:%bread-name%/:}|from={.count substring|/|%folder%.}/breadcrumbs.}|
.}:} .} {.123 if 2|
{.commentNL|%item-comment%.}|
.} [+file] %item-size%B%item-modified%%item-dl-count% [+folder] Директория%item-modified%%item-dl-count% [+link] Ссылка [error-page] %content%
HttpFileServer %version%
%timestamp%
[not found]

{.!Not found.}

{.!go to root.} [overload]

{.!Server Too Busy.}

{.!The server is too busy to handle your request at this time. Retry later.} [max contemp downloads]

{.!Download limit.}

{.!max s dl msg.}
({.disconnection reason.}) [unauthorized]

{.!Вы не авторизированы.}

Доступ к ресурсу закрыт!
Введите Ваши учетные данные ЛОГИН И ПАРОЛЬ
[deny]

{.!Forbidden.}

{.or|%reason%|{.!This resource is not accessible..}.} [ban]

{.!You are banned.}

%reason% [upload] [upload-file] [upload-results] HFS %folder%

{.!Результат загрузки файлов на сервер.}

Загружено файлов {.or|{.^ok.}|0.} {.!УДАЧНО.} {.123 if 2|
|{.^ko.}| files failed..} {.!Назад.} {.^back.} {.!Назад.} [upload-success] {.inc|ok.}
  • %item-name%
    %item-size% @ %smart-speed%B/s {.if| {.length|%user%.} |{: {.append| %folder-resource%\hfs.comments.txt |{.filename|%item-resource%.}=uploaded by %user% /append.} :}/if.} [upload-failed] {.inc|ko.}
  • %item-name%
    {.!%reason%.} [progress|no log] [progress-nofiles] {.!No file exchange in progress..} [progress-upload-file] {.if not|{.{.?only.} = down.}|{:
  • Uploading %total% @ %speed-kb% KB/s
    %filename%
    {.!Time left.} %time-left%"
    %perc%% :}.} [progress-download-file] {.if not|{.{.?only.} = up.}|{:
  • Downloading %total% @ %speed-kb% KB/s
    %filename%
    {.!Time left.} %time-left%"
    %perc%% :}.} [ajax.mkdir|no log] {.check session.} {.set|x|{.postvar|name.}.} {.break|if={.pos|\|var=x.}{.pos|/|var=x.}|result=forbidden.} {.break|if={.not|{.can mkdir.}.}|result=not authorized.} {.set|x|{.force ansi|%folder%{.^x.}.}.} {.break|if={.exists|{.^x.}.}|result=exists.} {.break|if={.not|{.length|{.mkdir|{.^x.}.}.}.}|result=failed.} {.add to log|User %user% created folder "{.^x.}".} {.pipe|ok.} [ajax.rename|no log] {.check session.} {.break|if={.not|{.can rename.}.}|result=forbidden.} {.break|if={.is file protected|{.postvar|from.}.}|result=forbidden.} {.break|if={.is file protected|{.postvar|to.}.}|result=forbidden.} {.set|x|{.force ansi|%folder%{.postvar|from.}.}.} {.set|y|{.force ansi|%folder%{.postvar|to.}.}.} {.break|if={.not|{.exists|{.^x.}.}.}|result=not found.} {.break|if={.exists|{.^y.}.}|result=exists.} {.break|if={.not|{.length|{.rename|{.^x.}|{.^y.}.}.}.}|result=failed.} {.add to log|User %user% renamed "{.^x.}" to "{.^y.}".} {.pipe|ok.} [ajax.move|no log] {.check session.} {.set|dst|{.force ansi|{.postvar|dst.}.}.} {.break|if={.not|{.and|{.can move.}|{.get|can delete.}|{.get|can upload|path={.^dst.}.}/and.}.} |result={.!forbidden.}.} {.set|log|{.!Moving items to.} {.^dst.}.} {.for each|fn|{.replace|:|{.no pipe||.}|{.force ansi|{.postvar|files.}.}.}|{: {.break|if={.is file protected|var=fn.}|result=forbidden.} {.set|x|{.force ansi|%folder%.}{.^fn.}.} {.set|y|{.^dst.}/{.^fn.}.} {.if not |{.exists|{.^x.}.}|{.^x.}: {.!not found.}|{: {.if|{.exists|{.^y.}.}|{.^y.}: {.!already exists.}|{: {.if|{.length|{.move|{.^x.}|{.^y.}.}.} |{: {.set|log|{.chr|13.}{.^fn.}|mode=append.} {.move|{.^x.}.md5|{.^y.}.md5.} {.move|{.^x.}.comment|{.^y.}.comment.} :} | {: {.set|log|{.chr|13.}{.^fn.} (failed)|mode=append.} {.maybe utf8|{.^fn.}.}: {.!not moved.} :}/if.} :}/if.} :}.} ; :}.} {.add to log|{.^log.}.} [ajax.comment|no log] {.check session.} {.break|if={.not|{.can comment.}.} |result=forbidden.} {.for each|fn|{.replace|:|{.no pipe||.}|{.postvar|files.}.}|{: {.break|if={.is file protected|var=fn.}|result=forbidden.} {.set item|{.force ansi|%folder%{.^fn.}.}|comment={.encode html|{.force ansi|{.postvar|text.}.}.}.} :}.} {.pipe|ok.} [ajax.changepwd|no log] {.check session.} {.break|if={.not|{.can change pwd.}.} |result=forbidden.} {.if|{.length|{.set account||password={.force ansi|{.postvar|new.}.}.}/length.}|ok|failed.} [special:alias] check session=if|{.{.cookie|HFS_SID_.} != {.postvar|token.}.}|{:{.cookie|HFS_SID_|value=|expires=-1.} {.break|result=bad session}:} can mkdir=and|{.get|can upload.}|{.!option.newfolder.} can comment=and|{.get|can upload.}|{.!option.comment.} can rename=and|{.get|can delete.}|{.!option.rename.} can change pwd=member of|can change password can move=or|1 escape attr=replace|"|"|$1 commentNL=if|{.pos||$1.} add bytes=switch|{.cut|-1||$1.}|,|0,1,2,3,4,5,6,7,8,9|$1 bytes|K,M,G,T|$1байт [special:import] {.new account|can change password|enabled=1|is group=1|notes=accounts members of this group will be allowed to change their password.} [lib.js|no log] //