[cpif] r168 - in trunk/frontend-web: . skins/default

svn at argo.es svn at argo.es
Tue Jun 19 22:25:41 CEST 2007


Author: alvaro
Date: Tue Jun 19 22:25:39 2007
New Revision: 168

Log:
Bugfix al crear en enlace de "No leido".


Modified:
   trunk/frontend-web/skins.py
   trunk/frontend-web/skins/default/body_show_thread.html
   trunk/frontend-web/skins/default/body_show_thread_entry.html
   trunk/frontend-web/skins/default/body_show_thread_entry_anonymous.html

Modified: trunk/frontend-web/skins.py
==============================================================================
--- trunk/frontend-web/skins.py	(original)
+++ trunk/frontend-web/skins.py	Tue Jun 19 22:25:39 2007
@@ -170,7 +170,7 @@
           page = ((nr[0] - 1) / thread_len)  * thread_len + 1
           aux = available_skins[self._skin]['thread_unread'] % {"title":title,
               "link": "/hilo/%d" %(thread),
-              "link_notread": "/hilo/%d/%d#%d" %(thread,page,nr_point),
+              "link_notread": "/hilo/%d/%d#m%d" %(thread,page,nr_point),
               "t_date": hourdate(ts,self._tz),
               "format": format,
               "not_read":nr_point,

Modified: trunk/frontend-web/skins/default/body_show_thread.html
==============================================================================
--- trunk/frontend-web/skins/default/body_show_thread.html	(original)
+++ trunk/frontend-web/skins/default/body_show_thread.html	Tue Jun 19 22:25:39 2007
@@ -27,6 +27,10 @@
 <script type="text/javascript">
 <!--
 function toggleBox(id,type) {
+  /* type = 0 hide
+     type = 1 show
+     type = 2 toggle 
+   */
   if(document.layers) {
     if(type<2) 
       document.layers[id].display = type ? "block" : "none";

Modified: trunk/frontend-web/skins/default/body_show_thread_entry.html
==============================================================================
--- trunk/frontend-web/skins/default/body_show_thread_entry.html	(original)
+++ trunk/frontend-web/skins/default/body_show_thread_entry.html	Tue Jun 19 22:25:39 2007
@@ -1,13 +1,13 @@
-<div class="%(format)s" id="c%(msg_num)s">
-  <a name="c%(msg_num)s"></a>
+<div class="%(format)s" id="m%(msg_num)s">
+  <a name="m%(msg_num)s"></a>
   <div class="autor">Autor: %(author)s</div>
   <div class="texto">
     <div class="fecha">
-      <a href="#c%(msg_num)s">#</a>
+      <a href="#m%(msg_num)s">#</a>
       Fecha: %(date)s
     </div>
     %(text)s
-    <div id="rc%(msg_num)s" class="responder"><a href="javascript:responder('c%(msg_num)s')">Responder</a></div>
+    <div id="rm%(msg_num)s" class="responder"><a href="javascript:responder('m%(msg_num)s')">Responder</a></div>
   </div>
   <p style="clear:both"></p>
 </div>

Modified: trunk/frontend-web/skins/default/body_show_thread_entry_anonymous.html
==============================================================================
--- trunk/frontend-web/skins/default/body_show_thread_entry_anonymous.html	(original)
+++ trunk/frontend-web/skins/default/body_show_thread_entry_anonymous.html	Tue Jun 19 22:25:39 2007
@@ -1,10 +1,10 @@
-<div class="%(format)s" id="c%(msg_num)s">
-  <a name="c%(msg_num)s"></a>
-  <a href="#c%(msg_num)s">#</a>
+<div class="%(format)s" id="m%(msg_num)s">
+  <a name="m%(msg_num)s"></a>
+  <a href="#m%(msg_num)s">#</a>
   <div class="autor">Autor: %(author)s</div>
   <div class="texto">
     <div class="fecha">
-      <a href="#c%(msg_num)s">#</a>
+      <a href="#m%(msg_num)s">#</a>
       Fecha: %(date)s
     </div>
     %(text)s



More information about the cpif mailing list