Revision: 1402
Author: magike.net
Date: Thu Apr 15 21:15:32 2010
Log: fix issue 420
http://code.google.com/p/typecho/source/detail?r=1402

Modified:
  /trunk/admin/javascript/typecho.js
  /trunk/var/Widget/Abstract/Contents.php

=======================================
--- /trunk/admin/javascript/typecho.js  Fri Jan 15 04:00:34 2010
+++ /trunk/admin/javascript/typecho.js  Thu Apr 15 21:15:32 2010
@@ -461,7 +461,7 @@
                      }

                  }).bind(this)
-            }).send($(this.options.form).toQueryString() +  
Hash.toQueryString(o));
+            }).send($(this.options.form).toQueryString() + '&' +  
Hash.toQueryString(o));
          }
      }
  });
=======================================
--- /trunk/var/Widget/Abstract/Contents.php     Tue Mar  9 21:57:37 2010
+++ /trunk/var/Widget/Abstract/Contents.php     Thu Apr 15 21:15:32 2010
@@ -560,7 +560,10 @@
       */
      public function title($length = 0, $trim = '...')
      {
-        echo $length > 0 ? Typecho_Common::subStr($this->title, 0,  
$length, $trim) : $this->title;
+        $title =  
$this->pluginHandle()->trigger($plugged)->title($this->title, $this);
+        if (!$plugged) {
+            echo $length > 0 ? Typecho_Common::subStr($this->title, 0,  
$length, $trim) : $this->title;
+        }
      }

      /**
_______________________________________________
announce mailing list
[email protected]
http://lists.typecho.org/mailman/listinfo/announce

回复