Skip to Content.
Sympa Menu

devel - Small bug in d_read.it.tpl

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Petrucci Andrea <address@concealed>
  • To: address@concealed
  • Subject: Small bug in d_read.it.tpl
  • Date: 21 Jul 2003 11:54:01 +0200

Hi,

My name is Andrea Petrucci and I'm a researcher at the Computer Science
Department of the University of Bologna.

I manage two installations of sympa ( www.ei.unibo.it/wws and
www.svic.spbo.unibo.it/wws) and I have found a small error in
r_read.it.tpl.

In attached the correct version of the file.

bye-bye
Andrea
--
Petrucci Andrea <address@concealed>
<!-- RCS Identication ; $Revision: 1.5 $ ; $Date: 2002/08/14 06:48:31 $ -->

[IF file]
[INCLUDE file]
[ELSE]

[IF path]
<h2> <B> Lista del contenuto di [path] </B> </h2>
Proprietario : [doc_owner] <BR>
Ultimo aggiornamento : [doc_date] <BR>
Descrizione : [doc_title] <BR><BR>
<font size=+1> <A HREF="[path_cgi]/d_read/[list]/[father]"> <IMG
ALIGN="bottom" src="[father_icon]"> Sali di una directory</A></font>
<BR>
[ELSE]
<h2> <B> Lista del contenuto della directory condivisa SHARED </B> </h2>
[ENDIF]

<TABLE width=100%>
<TR BGCOLOR="[dark_color]">

<th><TABLE width=100%><TR><TD ALIGN="left"><font
color="[bg_color]">Documento</font></TD>
[IF order_by<>order_by_doc]
<form method="post" ACTION="[path_cgi]">
<TD ALIGN="right">
<INPUT ALIGN="top" type="image" src="[sort_icon]" WIDTH=15 HEIGHT=15
name="Ordina per nome">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<INPUT TYPE="hidden" NAME="action" VALUE="d_read">
<INPUT TYPE="hidden" NAME="order" VALUE="order_by_doc">
</TD>
</form>
[ENDIF]
</TR></TABLE>
</th>

<th><TABLE width=100%><TR><TD ALIGN="left"><font
color="[bg_color]">Autore</font></TD>
[IF order_by<>order_by_author]
<form method="post" ACTION="[path_cgi]">
<TD ALIGN="right">
<INPUT ALIGN="top" type="image" src="[sort_icon]" WIDTH=15 HEIGHT=15
name="Ordina per autore">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<INPUT TYPE="hidden" NAME="action" VALUE="d_read">
<INPUT TYPE="hidden" NAME="order" VALUE="order_by_author">
</TD>
</form>
[ENDIF]
</TR></TABLE>
</th>

<th><TABLE width=100%><TR><TD ALIGN="left"><font
color="[bg_color]">Dimensioni (Kb)</font></TD>
[IF order_by<>order_by_size]
<form method="post" ACTION="[path_cgi]">
<TD ALIGN="right">
<INPUT ALIGN="top" type="image" src="[sort_icon]" WIDTH=15 HEIGHT=15
name="Ordina per dimensioni">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<INPUT TYPE="hidden" NAME="action" VALUE="d_read">
<INPUT TYPE="hidden" NAME="order" VALUE="order_by_size">
</TD>
</form>
[ENDIF]
</TR></TABLE>
</th>

<th><TABLE width=100%><TR><TD ALIGN="left"><font color="[bg_color]">Ultimo
aggiornamento</font></TD>
[IF order_by<>order_by_date]
<form method="post" ACTION="[path_cgi]">
<TD ALIGN="right">
<INPUT ALIGN="top" type="image" src="[sort_icon]" WIDTH=15 HEIGHT=15
name="Ordina per data">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<INPUT TYPE="hidden" NAME="action" VALUE="d_read">
<INPUT TYPE="hidden" NAME="order" VALUE="order_by_date">
</TD>
</form>
[ENDIF]
</TR></TABLE>
</th>

<th ALIGN="left"><font color="[bg_color]">Descrizione</font></th>
<th ALIGN="center"><font color="[bg_color]">Modifica</font></th>
<th ALIGN="center"><font color="[bg_color]">Cancella</font></th>
<th ALIGN="center"><font color="[bg_color]">Accedi</font></th></TR>

[IF empty]
<TR BGCOLOR="[light_color]">
<TD COLSPAN=8 ALIGN="center"> Folder vuoto </TD>
</TR>
[ELSE]
[IF sort_subdirs]
[FOREACH s IN sort_subdirs]
<TR BGCOLOR="[light_color]">
<TD> <A HREF="[path_cgi]/d_read/[list]/[path][s->doc]/">
<IMG ALIGN=bottom BORDER=0 SRC=[s->icon]> [s->doc]</A></TD>
<TD>
[IF s->author_known]
[s->author_mailto]
[ELSE]
Sconosciuto
[ENDIF]
</TD>
<TD>&nbsp;</TD>
<TD> [s->date] </TD>
<TD>&nbsp; [s->title]</TD>

<TD>&nbsp; </TD>

[IF s->edit]
<TD><center>
<FONT size=-1>
<A HREF="[path_cgi]/d_delete/[list]/[escaped_path][s->escaped_doc]"
onClick="request_confirm_link('[path_cgi]/d_delete/[list]/[escaped_path][s->escaped_doc]',
'Vuoi veramente cancellare [path][s->doc] ?'); return false;">Cancella</A>
</FONT>
</center></TD>
[ELSE]
<TD>&nbsp; </TD>
[ENDIF]

[IF s->control]
<TD>
<center>
<FONT size=-1>
<A
HREF="[path_cgi]/d_control/[list]/[escaped_path][s->escaped_doc]">accedi</A>
</font>
</center>
</TD>
[ELSE]
<TD>&nbsp; </TD>
[ENDIF]
</TR>
[END]
[ENDIF]

[IF sort_files]
[FOREACH f IN sort_files]
<TR BGCOLOR="[light_color]">
<TD>&nbsp;
[IF f->html]
<A HREF="[path_cgi]/d_read/[list]/[path][f->doc]"
TARGET="html_window">
<IMG ALIGN=bottom BORDER=0 SRC=[f->icon]> [f->doc] </A>
[ELSE]
<A HREF="[path_cgi]/d_read/[list]/[path][f->doc]">
<IMG ALIGN=bottom BORDER=0 SRC=[f->icon]> [f->doc] </A>
[ENDIF]
</TD>

<TD>
[IF f->author_known]
<A HREF="mailto:[f->author]">[f->author]</A>
[ELSE]
Unknown
[ENDIF]
</TD>

<TD> [f->size] </TD>
<TD> [f->date] </TD>
<TD>&nbsp; [f->title]</TD>

[IF f->edit]
<TD>
<center>
<font size=-1>
<A HREF="[path_cgi]/d_editfile/[list]/[path][f->doc]">modifica</A>
</font>
</center>

</TD>
<TD>
<center>
<FONT size=-1>
<A HREF="[path_cgi]/d_delete/[list]/[escaped_path][f->escaped_doc]"
onClick="request_confirm_link('[path_cgi]/d_delete/[list]/[escaped_path][f->escaped_doc]',
'Vuoi veramente cancellare [path][f->doc] ([f->size] Kb) ?'); return
false;">cancella</A>
</FONT>
</center>
</TD>
[ELSE]
<TD>&nbsp; </TD> <TD>&nbsp; </TD>
[ENDIF]

[IF f->control]
<TD> <center>
<FONT size=-1>
<A HREF="[path_cgi]/d_control/[list]/[path][f->doc]">accedi</A>
</font>
</center></TD>
[ELSE]
<TD>&nbsp; </TD>
[ENDIF]
</TD>
</TR>
[END]
[ENDIF]
[ENDIF]
</TABLE>

<HR>
<TABLE CELLSPACING=20>

[IF path]

[IF may_edit]
<TR>
<form method="post" ACTION="[path_cgi]">
<TD ALIGN="right" VALIGN="bottom">
<B> Describe the folder [path] </B> <BR>

<input MAXLENGTH=100 type="text" name="content" value="[description]"
SIZE=50>
</TD>

<TD ALIGN="left" VALIGN="bottom">
<input type="submit" value="Apply" name="action_d_describe">
<INPUT TYPE="hidden" NAME="serial" VALUE="[serial_desc]">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<INPUT TYPE="hidden" NAME="action" VALUE="d_describe">
</TD>

</form>
</TR>
[ENDIF]

[IF may_control]
<TR>
<form method="post" ACTION="[path_cgi]">

<TD ALIGN="right" VALIGN="center">
<B> Edit the access of the folder [path]</B>

</TD>

<TD ALIGN="left" VALIGN="bottom">
<input type="submit" value=" Access " name="action_d_control">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
</TD>

</form>
</TR><BR>
[ENDIF]

[ENDIF]


[IF may_edit]
<TR>
<form method="post" ACTION="[path_cgi]">
<TD ALIGN="right" VALIGN="bottom">
[IF path]
<B> Create a new folder inside the folder [path]</B> <BR>
[ELSE]
<B> Create a new folder inside the folder SHARED</B> <BR>
[ENDIF]
<input MAXLENGTH=30 type="text" name="name_doc">
</TD>

<TD ALIGN="left" VALIGN="bottom">
<input type="submit" value="Create a new subdirectory"
name="action_d_create_dir">
<INPUT TYPE="hidden" NAME="previous_action" VALUE="d_read">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<INPUT TYPE="hidden" NAME="action" VALUE="d_create_dir">
</TD>
</form>
</TR><BR>

<TR>
<form method="post" ACTION="[path_cgi]" ENCTYPE="multipart/form-data">
<TD ALIGN="right" VALIGN="bottom">
[IF path]
<B> Upload a file inside the folder [path]</B><BR>
[ELSE]
<B> Upload a file inside the folder SHARED </B><BR>
[ENDIF]
<input type="file" name="uploaded_file">
</TD>

<TD ALIGN="left" VALIGN="bottom">
<input type="submit" value="Publish" name="action_d_upload">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="path" VALUE="[path]">
<TD>
</form>
</TR>
[ENDIF]
</TABLE>
[ENDIF]








Archive powered by MHonArc 2.6.19+.

Top of Page