From 43feda7e4a3d554982b6ae1904abbbd927c987f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 15 May 2009 14:21:13 +0000 Subject: [PATCH] small fixes --- plekit/python/table.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/plekit/python/table.py b/plekit/python/table.py index 2b47da6..ad67ee1 100644 --- a/plekit/python/table.py +++ b/plekit/python/table.py @@ -74,17 +74,19 @@ class="plekit_table sortable-onload-self.sort_column rowstyle-alt colstyle-alt n def pagesize_area_html (self): width=len(self.headers) pagesize_text_id = self.table_id + "_pagesize" + result_dict = locals() + result_dict.update(self.__dict__) result = """
- reset visible size + onmousedown='plekit_pagesize_reset("%(table_id)s","%(pagesize_text_id)s",%(pagesize_def)s);' />
-""" % locals() +""" % result_dict return result ########## @@ -93,21 +95,23 @@ class="plekit_table sortable-onload-self.sort_column rowstyle-alt colstyle-alt n search_text_id = self.table_id + "_search" search_reset_id = self.table_id + "_search_reset" search_and_id = self.table_id + "_search_and" + result_dict = locals() + result_dict.update(self.__dict__) result = """ -""" % locals() +""" % result_dict return result ########## -- 2.47.0