[cpif] r334 - trunk/backend
svn at argo.es
svn at argo.es
Thu Sep 6 18:35:33 CEST 2007
Author: jcea
Date: Thu Sep 6 18:35:32 2007
New Revision: 334
Log:
Mas soporte 'solo lectura' para el skin
Modified:
trunk/backend/database.py
Modified: trunk/backend/database.py
==============================================================================
--- trunk/backend/database.py (original)
+++ trunk/backend/database.py Thu Sep 6 18:35:32 2007
@@ -506,7 +506,7 @@
for ts,hilo in root["metatags"]["metatags"][metatag]["TS2hilo"].items_range(ts,ts2) :
hilo_num,hilo=hilo
- resultado.append((hilo_num,hilo["titulo"],hilo_num in no_leidos,hilo_num in monitor_hilos))
+ resultado.append((hilo_num,hilo["titulo"],hilo_num in no_leidos,hilo_num in monitor_hilos,"read only" in hilo))
return resultado
@@ -516,7 +516,7 @@
if not hilo : return None,None,None,None,None,None
meta={"titulo":hilo["titulo"],"creador":hilo["creador"],
- "TS creacion":hilo["TS creacion"]}
+ "TS creacion":hilo["TS creacion"],"read only":("read only" in hilo)}
avatares=root["static"]["avatars"]
usuarios=root["usuarios"]["usuarios"]
More information about the cpif
mailing list