https://rejetto.com/wiki/api.php?action=feedcontributions&user=207.47.216.27&feedformat=atomrejetto wiki - User contributions [en-gb]2024-03-29T15:12:37ZUser contributionsMediaWiki 1.38.4https://rejetto.com/wiki/index.php?title=HFS_Documentation_(English)&diff=4757HFS Documentation (English)2009-09-27T16:24:26Z<p>207.47.216.27: </p>
<hr />
<div>This documentation refers to the latest HFS version.<br />
<br />
== Tutorials ==<br />
* [[HFS: Introduction|Introduction]]<br />
* [[HFS: Secure your server|Secure your server]]<br />
* [[Use HFS to host a website]]<br />
* [[HFS: Working with uploads|Working with uploads]]<br />
* [[First time configuration]]<br />
* [[Refinements]]<br />
* [[User groups]]<br />
<br />
== Menus ==<br />
* [[HFS: Main menu|Main menu]]<br />
* [[HFS: Virtual File System menu|Virtual File System menu]]<br />
* [[HFS: Log menu|Log menu]]<br />
* [[HFS: Connections menu|Connections menu]]<br />
<br />
== Technology explained ==<br />
* [[HFS: The Virtual File System|Virtual File System]]<br />
* [[HFS: MIME Types|MIME types]]<br />
* [[HFS: File masks|File masks]]<br />
* [[HFS: IP masks|IP masks]]<br />
* [[HFS: Realms|Realms]]<br />
* [[HFS: Template|How the template system works]]<br />
* [[How does a webserver work]]?<br />
* [[HFS: Comment files|Loading comments from external files]]<br />
* [[HFS: Folder Archives|Folder Archives]]<br />
* [[HFS: URL parameters|URL parameters (formerly: address operators)]]<br />
* [[HFS: Template macros|Template macros]]<br />
* [[HFS: Event scripts|Event scripts]]<br />
<br />
== Miscellaneous ==<br />
* [[HFS: Hidden things|Hidden things]]<br />
* [[HFS: Command line parameters|Command line parameters]]<br />
* [[HFS Frequently Asked Questions (english)|F.A.Q.]]<br />
* [[HFS: Similar software|Similar software]]<br />
* [[HFS: Glossary|Glossary]]<br />
* [[Gallery|Gallery (HFS Templates)]]<br />
* [[HFS: Known limits|Known limits]]<br />
* [[HFS: History|History]]</div>207.47.216.27https://rejetto.com/wiki/index.php?title=HFS:_Template_symbols&diff=4755HFS: Template symbols2009-09-10T04:12:34Z<p>207.47.216.27: /* Symbols available in all sections */</p>
<hr />
<div>== Symbols list - by section ==<br />
<br />
=== Symbols available in all sections ===<br />
; %style% : inserts the HTML from section [style]<br />
; %login-link% : inserts HTML from section [login-link] if no user is logged in, void otherwise<br />
; %loggedin% : inserts HTML from section [loggedin] if a user is logged in, void otherwise<br />
; %user% : returns the name of the authenticated user, void if no user is logged in<br />
; %ip% : inserts the client IP address on the page<br />
; %version% : returns the HFS version number<br />
; %timestamp% : returns the value for the date and time of the server (format is defined by OS settings)<br />
; %uptime% : returns the value for how long HFS has been running without quitting<br />
; %connections% : returns the value for the current number of connections to HFS<br />
; %speed-out% : returns the value for the current outbound speed<br />
; %speed-in% : returns the value for the current inbound speed<br />
; %total-out% : returns the value for the total amount of bytes sent<br />
; %total-in% : returns the value for total amount the of bytes received<br />
; %total-downloads% : returns the value for the number of downloads <br />
; %total-uploads% : returns the value for the number of uploads <br />
; %number-addresses% : returns the value for the current number of connected clients (IP addresses)<br />
; %number-addresses-downloading% : returns the value for the current number of downloading clients (IP addresses)<br />
; %build% : returns the HFS build number<br />
; %sequential% : returns an increasing number. if it appears 3 times in a page, it will be 1, 2 and 3...<br />
; %number-addresses-ever% : returns the number of unique IP addresses ever connected.<br />
<br />
=== Symbols available in the main section ===<br />
; %up% : inserts HTML from section [up] if the current folder is not the root, void otherwise<br />
; %upload-link% : inserts HTML from section [upload-link] if upload is available in the current folder, void otherwise<br />
; %host% : returns the Host http header field, as sent by the browser eg. Server-URL(:port) or Server-IP(:port)<br />
; %number% : returns the value for the number of items in the current folder<br />
; %number-folders% : returns the value for the number of folders in the current folder<br />
; %number-files% : returns the value for the number of files in the current folder<br />
; %total-size% : returns the smart value for the amount of space occupied by items in the current folder<br />
; %total-kbytes% : same as '''%total-size%''', but expressed in kilobytes<br />
; %total-bytes% : same as '''%total-size%''', but expressed in bytes<br />
; %build-time% : returns the value for how long it took to generate the page<br />
; %files% : inserts HTML from section [files] if at least one item is present in the current folder, inserts HTML from section [nofiles] otherwise<br />
<br />
=== Symbols available in section [files] === <br />
; %list% : the full list of items in the current folder, got by pasting each item after the pertinent section where [folder], [file] or [link] was inserted.<br />
; %item-archive% : Expands to the [item-archive] section if the folder is archivable.<br />
; %item-ext% : returns the extension of the current item.<br />
<br />
=== Symbols available in sections [file], [folder] and [link] === <br />
; %item-type% : returns ''file'' if current item is a file, ''folder'' if it's a folder, ''link'' if it's a link<br />
; %new% : inserts HTML from section [new] if the file is marked as new, void otherwise<br />
; %comment% : inserts HTML from section [comment] if a comment is available for the item, void otherwise<br />
; %item-url% : returns the value for the path to get the item<br />
; %item-name% : returns the value for the label of the item<br />
; %item-folder% : returns the path to the item, not in URL format. Most times it is the same as %folder%, but it is different for recursive listings.<br />
; %item-added% : returns the value for date and time when the item was added to the VFS (date and time format is defined by OS settings)<br />
<br />
=== Symbols available in sections [file] and [folder] ===<br />
; %item-dl-count% : returns the value for the download counter (virtual folders totalize inner counters)<br />
; %item-modified% : returns the value for the modification time as reported by file or folder (date and time format is defined by OS settings)<br />
<br />
<br />
=== Symbols available in section [file] ===<br />
; %item-size% : returns the value for the amount of space occupied by the item<br />
; %item-size-b% : same as '''%item-size%''', but expressed in bytes<br />
; %item-size-kb% : same as '''%item-size%''', but expressed in kilobytes<br />
<br />
=== Symbols available in sections [upload], [upload+progress], [upload-results] and main section ===<br />
; %diskfree% : returns the value for the total amount of available space minus the reserved space in the drive containing the current folder (makes sense only for real folders)<br />
; %folder% : returns the value for the path to the current folder<br />
; %encoded-folder% : returns the value for the encoded path to the current folder<br />
; %parent-folder% : returns the value for the encoded path to the parent folder<br />
; %folder-comment% : inserts the HTML from section [folder-comment] if a comment is available for the current folder, void otherwise<br />
<br />
=== Symbols available in section [error-page] ===<br />
; %content% : inserts the HTML from sections [ban], [deny], [not found], [unauthorized] or [overload], depending on the error code<br />
<br />
=== Symbols available in section [ban] ===<br />
; %reason% : returns value for the ban description from the hfs.ini<br />
<br />
=== Symbols available in section [progress] ===<br />
; %progress-files% : inserts the HTML from section [progress-nofiles] if no file is transferred with the current client, otherwise the list of transferring files got by pasting each file after the pertinent section [progress-download-file] and/or [progress-upload-file] is inserted<br />
<br />
=== Symbols available in sections [progress-download-file] and [progress-upload-file] ===<br />
These sections are related to file transferring.<br />
; %perc% : returns the value for the percentage done<br />
; %filename% : returns the value for the name of the file<br />
; %done-bytes% : returns the value for the transferred bytes<br />
; %done% : same as '''%done-bytes%''', but using dynamic measure units<br />
; %total-bytes% : returns the value for the number of bytes of the completed transfer<br />
; %total% : same as '''%total-bytes%''', but using dynamic measure units<br />
; %speed-kb% : returns the value for the throughput speed<br />
; %time-left% : esteemed time of arrival<br />
<br />
=== Symbols available in section [upload] ===<br />
; %uploaded-files% : input boxes for files to be uploaded got by pasting [upload-file] for each file<br />
; %host% : returns the Host http header field, as sent by the browser eg. Server-URL(:port) or Server-IP(:port) (since v2.1beta)<br />
; %up% : inserts HTML from section [up] if the current folder is not the root, void otherwise (since v2.1beta)<br />
<br />
=== Symbols available in section [upload-file] ===<br />
; %idx% : ordinal index of the input box<br />
<br />
=== Symbols available in section [upload-results] ===<br />
; %uploaded-files% : list of uploaded files got by pasting section[upload-success] and/or section [upload-failed] for each file<br />
; %host% : returns the Host http header field, as sent by the browser eg. Server-URL(:port) or Server-IP(:port) (since v2.1beta)<br />
; %up% : inserts HTML from section [up] if the current folder is not the root, void otherwise (since v2.1beta)<br />
<br />
=== Symbols available in sections [upload-success] and [upload-failed] ===<br />
; %item-name% : name of the file<br />
; %item-url% : address of the file<br />
<br />
=== Symbols available in section [upload-success] ===<br />
; %item-size% : returns the value for the size of the uploaded file<br />
; %speed% : returns the value for the average upload speed<br />
<br />
=== Symbols available in section [upload-failed] ===<br />
; %reason% : returns the value for the error occurred while uploading</div>207.47.216.27