Changeset 1247

Show
Ignore:
Timestamp:
09/12/08 19:51:35
Author:
liebster
Message:

Modified manage_overview of PingTool?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPingTool/branches/plone-3.1/PingTool.py

    r1237 r1247  
    4545        ) + ATFolder.manage_options 
    4646 
    47     manage_overview = PageTemplateFile(os.path.join('www','overview'), globals()) 
    48     manage_overview.__name__ = 'manage_overview' 
    49     manage_overview._need__name__ = 0 
     47    manage_overview = PageTemplateFile(os.path.join('www', 'overview'), globals(), __name__='manage_overview') 
    5048 
    5149    def om_icons(self): 
  • qPingTool/branches/plone-3.1/tests/testSetup.py

    r1242 r1247  
    3434        content.sort() 
    3535        skins_content.sort() 
    36         import pdb;pdb.set_trace() 
    3736        self.failUnless(content==skins_content) 
    3837 
  • qPingTool/branches/plone-3.1/www/overview.zpt

    r1237 r1247  
    3030      <p tal:condition="not:hasCanonicalURL">Until you setup canonical_url - Ping Tool will not work.</p> 
    3131 
    32       <form method="post" action="" tal:attributes="action python:'manage_'+template.getId()"> 
     32      <form method="post" action="" tal:attributes="action template/getId"> 
    3333         <input type="hidden" name="submitted" value="1" /> 
    3434         <p class="form-help"