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)
def _getPageContent(self, params): p = conferences.WConferenceClone(self._conf) pars = { "cancelURL": urlHandlers.UHConfModifTools.getURL(self._conf), "cloning": urlHandlers.UHConfPerformCloning.getURL(self._conf), "cloneOptions": EventCloner.get_form_items(self._conf.as_event).encode('utf-8') } return p.getHTML(pars)
def _getPageContent(self, params): p = conferences.WConferenceClone(self._conf) pars = { "cancelURL": urlHandlers.UHConfModifTools.getURL(self._conf), "cloning": urlHandlers.UHConfPerformCloning.getURL(self._conf), "startTime": self._conf.getUnixStartDate(), "cloneOptions": '' } pars['cloneOptions'] += EventCloner.get_form_items( self._conf.as_event).encode('utf-8') return p.getHTML(pars)
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)
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="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> <li><input type="checkbox" name="cloneParticipants" id="cloneParticipants" value="1" checked="checked" />_("Participants")</li> <li><input type="checkbox" name="cloneEvaluation" id="cloneEvaluation" value="1" />_("Evaluation")</li> """) } #let the plugins add their own elements self._notify('addCheckBox2CloneConf', pars) return p.getHTML( pars )
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)
def _getTabContent(self, params): p = conferences.WConferenceClone(self._conf) pars = { \ "cancelURL": urlHandlers.UHConfModifTools.getURL( self._conf ), \ "cloneOnce": urlHandlers.UHConfPerformCloneOnce.getURL( self._conf ), \ "cloneInterval": urlHandlers.UHConfPerformCloneInterval.getURL( self._conf ), \ "cloneday": urlHandlers.UHConfPerformCloneDays.getURL( self._conf ), \ "cloning" : urlHandlers.UHConfPerformCloning.getURL( self._conf ), "cloneOptions": _(""" <li><input type="checkbox" name="cloneParticipants" id="cloneParticipants" value="1" > _("Participants")</li> <li><input type="checkbox" name="cloneAddedInfo" id="cloneAddedInfo" value="1" > _("send email to the participants of the created event")</li> <li><input type="checkbox" name="cloneEvaluation" id="cloneEvaluation" value="1" > _("Evaluation")</li> """) } return p.getHTML(pars)