[cpif] r73 - in trunk/frontend-web: . skins/default/body
svn at argo.es
svn at argo.es
Tue May 22 02:45:24 CEST 2007
Author: alvaro
Date: Tue May 22 02:45:24 2007
New Revision: 73
Log:
Corregido bug al publicar un nuevo mensaje...
Modified:
trunk/frontend-web/skins/default/body/body_thread.html
trunk/frontend-web/url_hilo.py
Modified: trunk/frontend-web/skins/default/body/body_thread.html
==============================================================================
--- trunk/frontend-web/skins/default/body/body_thread.html (original)
+++ trunk/frontend-web/skins/default/body/body_thread.html Tue May 22 02:45:24 2007
@@ -8,11 +8,10 @@
<h3>%(thread_date)s</h3>
%(body)s
<hr>
- <form action="/nuevo_post_POST" method="post" enctype="multipart/form-data">
+ <p><form action="/nuevo_post_POST/%(msg_num)s" method="post" enctype="multipart/form-data">
<table>
- <tr><td>Título:</td><td><input type="text" name="titulo" size="60" value="" /></td></tr>
<tr><td>Texto:</td><td><br><textarea name="texto" rows="10" cols="60"></textarea></td></tr>
- <tr><td colspan=2 align=right><input class="form-element" type="submit" name="submit" value="Publicar nuevo hilo"/></td></tr>
+ <tr><td colspan=2 align=right><input class="form-element" type="submit" name="submit" value="Publicar nuevo mensaje"/></td></tr>
</table>
</form>
<a href="/">Pagina principal</a>
Modified: trunk/frontend-web/url_hilo.py
==============================================================================
--- trunk/frontend-web/url_hilo.py (original)
+++ trunk/frontend-web/url_hilo.py Tue May 22 02:45:24 2007
@@ -20,7 +20,8 @@
pagina.load_dict({
"thread_title": "Hilo: %s (%s)" %(meta["titulo"],meta["creador"]),
- "thread_date": "%s" %time.ctime(meta["TS creacion"])
+ "thread_date": "%s" %time.ctime(meta["TS creacion"]),
+ "msg_num": hilo_num
})
pagina.thread_entries(mensajes)
More information about the cpif
mailing list