コード例 #1
0
 def _getPageContent(self, params):
     p = conferences.WConferenceClone(self._conf)
     pars = {
         "cancelURL": urlHandlers.UHConfModifTools.getURL(self._conf),
         "cloning": urlHandlers.UHConfPerformCloning.getURL(self._conf),
         "cloneOptions": ''
     }
     pars['cloneOptions'] += EventCloner.get_plugin_items(self._conf)
     return p.getHTML(pars)
コード例 #2
0
ファイル: simple_event.py プロジェクト: marcosmolla/indico
 def _getTabContent( self, params ):
     p = conferences.WConferenceClone( self._conf )
     pars = {
         "cancelURL": urlHandlers.UHConfModifTools.getURL(self._conf),
         "cloning": urlHandlers.UHConfPerformCloning.getURL(self._conf),
         "cloneOptions": i18nformat("""
 <li><input type="checkbox" name="cloneParticipants" id="cloneParticipants" value="1" >
     _("Participants")</li>
 <li><input type="checkbox" name="cloneEvaluation" id="cloneEvaluation" value="1" >
     _("Evaluation")</li>
        """)
     }
     pars['cloneOptions'] += EventCloner.get_plugin_items(self._conf)
     return p.getHTML(pars)
コード例 #3
0
 def _getPageContent(self, params):
     p = conferences.WConferenceClone(self._conf)
     pars = {
         "cancelURL":
         urlHandlers.UHConfModifTools.getURL(self._conf),
         "cloning":
         urlHandlers.UHConfPerformCloning.getURL(self._conf),
         "cloneOptions":
         i18nformat(
             """<li><input type="checkbox" name="cloneTimetable" id="cloneTimetable" value="1" checked="checked" />_("Full timetable")</li>
                  <li><ul style="list-style-type: none;"><li><input type="checkbox" name="cloneSessions" id="cloneSessions" value="1" />_("Sessions")</li></ul></li>
            """)
     }
     pars['cloneOptions'] += EventCloner.get_plugin_items(self._conf)
     return p.getHTML(pars)