You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/htroot/htdocsdefault/dir.html

264 lines
13 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>YaCy: Public Files</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Language" content="English, Englisch">
<meta name="keywords" content="yacy file share">
<meta name="description" content="YACY public share zone">
<meta name="copyright" content="Michael Christen">
<link rel="stylesheet" media="all" href="/env/style.css">
<!-- (C), Architecture and Realisation: Michael Peter Christen; Contact: mc <at> anomic.de -->
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td>
<table class="Heading" border="0" cellspacing="0" cellpadding="0" width="100%">
<tr height="36">
<td width="240">
<a href="http://www.yacy.net">
<img width="52" height="33" border="0" src="/env/grafics/yacy.gif" align="top" alt="YaCy-Logo">
</a>
</td>
<td width="50%" align="center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td height="4"></td></tr>
<tr><td valign="top">
<center>
<font size="4" face="Helvetica, Arial" color="#ffffff">
<b>Public&nbsp;File&nbsp;Directory</b>
</font>
</center>
</td>
</tr>
</table>
</td>
<td width="240" align="right">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td height="4"></td><td></td></tr>
<tr><td valign="top">
<form action="http://#[peerdomain]#.yacy" method="get">
<input type="submit" value="#[peername]#'s Console" class="small">
</form>
</td><td>&nbsp;&nbsp;</td></tr>
</table>
</td>
</tr>
</table>
</td></tr>
<tr><td height="2"></td></tr>
</table>
<!-- BODY -->
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td width="10">&nbsp;</td><td>
<!-- steering elements -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr height="8"><td></td><td></td></tr>
<tr height="10" valign="top">
<td>Welcome! You are identified and authorized as "<b>#(ident)#Administrator::Uploader::Downloader::not authorized#(/ident)#</b>".</td>
<td align="right">
#(logout)#<!-- adminAuthorization -->
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="logout">
<input type="submit" value="Log-Out Administrator" class="small">&nbsp;(enter&nbsp;empty&nbsp;account)
</form>
::<!-- uploadAuthorization -->
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="logout">
<input type="submit" value="Log-Out 'upload'" class="small">&nbsp;(enter&nbsp;empty&nbsp;account)
</form>
::<!-- downloadAuthorization -->
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="logout">
<input type="submit" value="Log-Out 'download'" class="small">&nbsp;(enter&nbsp;empty&nbsp;account)
</form>
::
#(/logout)#
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="6" width="100%">
<tr valign="top">
<td width="50%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top" class="TableHeader" height="6"><td class="small">Service</td></tr>
<tr valign="top" class="TableCellLight">
<td class="small">
#(service)#<!-- adminAuthorization, uploadAuthorization -->
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr class="TableCellDark">
<td class="small">New Directory:</td>
<td><form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="newdir">
<input type="text" name="directory" size="10" class="small">&nbsp;
<input type="submit" value="Create" class="small">
</form>
</td>
</tr>
<tr class="TableCellLight">
<td class="small">File Upload:</td>
<td class="small"><form action="#" method="post" enctype="multipart/form-data">
Resource&nbsp;=&nbsp;
<input type="hidden" name="action" value="upload">
<input type="file" name="file" size="10" class="small"><br>
Description&nbsp;=&nbsp;<input type="text" name="description" size="30" class="small"><br>
Indexing&nbsp;:&nbsp;<input type="checkbox" name="indexing" checked><br>
<input type="submit" value="Transfer" class="small">
</form>
</td>
</tr>
</table>
::<!-- downloadAuthorization -->
You are granted to view directory listings and do downloads in this directory.<br>
If you want to upload, please log in as user 'upload'
::<!-- not authorized -->
No service available.
#(/service)#
</td>
</tr>
</table>
</td>
<td rowspan="2" width="50%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top" class="TableHeader" height="6"><td width="130" class="small">Account</td></tr>
<tr valign="top" class="TableCellLight">
<td width="130" class="small">
#(account)#<!-- adminAuthorization -->
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr class="TableCellDark">
<td class="small">upload:</td>
<td><form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="uploadPassword">
<input type="password" name="password" size="12">&nbsp;
<input type="submit" value="Set Password" class="small">
</form>
</td>
</tr>
<tr class="TableCellLight">
<td class="small">download:</td>
<td><form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="downloadPassword">
<input type="password" name="password" size="12">&nbsp;
<input type="submit" value="Set Password" class="small">
</form>
</td>
</tr>
</table>
::<!-- uploadAuthorization -->
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="authenticateAdmin">
<input type="submit" value="Log-In as Administrator" class="small">
</form>
::<!-- downloadAuthorization -->
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="authenticateAdmin" class="small">
<input type="submit" value="Log-In as Administrator" class="small">
</form>
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="authenticateUpload" class="small">
<input type="submit" value="Log-In as user 'upload'" class="small">
</form>
:: <!-- not authorized -->
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="authenticateAdmin">
<input type="submit" value="Log-In as Administrator" class="small">
</form>
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="authenticateUpload">
<input type="submit" value="Log-In as user 'upload'" class="small">
</form>
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="authenticateDownload">
<input type="submit" value="Log-In as user 'download'" class="small">
</form>
#(/account)#
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top" class="TableHeader" height="6"><td class="small">Info</td></tr>
<tr valign="top" class="TableCellLight">
<td class="small">
#(info)#<!-- adminAuthorization -->
Admin and download accounts are necessary to grant their services to clients;
no password is required for the download-account unless you set one.
Files uploaded and indexed here have a special index entry 'yacyshare';
if you want to find files that are indexed in any share zone, add the word 'yacyshare' to the search words.
:: <!-- uploadAuthorization -->
Uploaders are not granted to delete files or directories. If you want to do this, log-in as admin.
:: <!-- downloadAuthorization -->
Download is granted even if no download account has been defined.<br>
If you are an administrator and you wish to block non-authorized downloades, please log in as user 'admin' and set a download password.
:: <!-- not authorized -->
You must log-in to upload or download.
#(/info)#
</td>
</tr>
</table>
</td>
<td></td>
</tr>
</table>
<br>
<!-- directory listing -->
<hr>
<p>
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr height="8" class="TableHeader">
<td colspan="7" class="tt">#[path]#</td>
</tr>
#{dirlist}#
<tr height="8" class="TableCell#(dark)#Light::Dark#(/dark)#" valign="top">
#(dir)#<!-- dirlist entry is a file -->
<td class="tt" align="left" width="20"><img src="/env/grafics/fileIconSmall.gif" align="top">
<td class="tt" align="left" width="60">#[date]#</td>
<td class="tt" align="left" width="150"><a href="#[name]#" class="tt">#[name]#</a></td>
<td class="tt" align="right" width="60">#[size]#</td>
<td class="tt" align="left" width="220"><a href="#[yacyhURL]#" class="tt">#[md5s]#</a></td>
<td class="small" align="left">#(descriptionMode)#<img src="#[image]#" border="0" height="32" width="32">::#[text]##(/descriptionMode)#</td>
::<!-- dirlist entry is a directory -->
<td class="tt" align="left" width="20"><img src="/env/grafics/folderIconSmall.gif" align="top" class="small"></td>
<td class="tt" align="left" width="60">#[date]#</td>
<td class="tt" align="left" width="150"><a href="#[name]#/" class="tt">#[name]#</a></td>
<td class="tt" align="right" width="60">&nbsp;</td>
<td class="tt" align="left" colspan="2"><i>Directory</i></td>
#(/dir)#
#(adminAuthorization)#
::
<td class="small" align="center" width="50">
<form action="#" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="file" value="#[name]#">
<input type="submit" value="delete" class="small">
</form>
</td>
#(/adminAuthorization)#
</tr>
#{/dirlist}#
</table>
#(emptydir)#::<b>EMPTY</b><br>#(/emptydir)#
#(authenticated)#To inspect this directory you need either an admin, upload or download account. Please log in.::#(/authenticated)#
</p>
<hr>
<p class="small">
Access of this page with the URLs:
<a href="http://#[peeraddress]#/share/" class="tt">http://#[peeraddress]#/share/</a>, or
<a href="http://share.#[peerdomain]#.yacy" class="tt">http://share.#[peerdomain]#.yacy</a> from within the YaCy network.
</p>
</td><td width="20">&nbsp;</td></tr></table>
</body>
</html>