Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(10)  |  Derive(0)  |  Import(2)

src/s/c/sc.base.uploader-1.0b3/src/sc/base/uploader/browser/controlpanel.py   sc.base.uploader(Download)
from Products.CMFDefault.formlib.schema import SchemaAdapterBase
from Products.CMFPlone.interfaces import IPloneSiteRoot
from sc.base.uploader import MessageFactory as _
from zope import schema
from zope.component import adapts
from zope.interface import Interface, implements
 
quickset = FormFieldsets(quickupload_settings.IQuickUploadControlPanel)
quickset.id = 'quickupload'
quickset.label = _(u'Quick Upload settings')
zipset = FormFieldsets(zipfiletransportprefs.IZipFileTransportPrefsForm)
zipset.id = 'ziptransport'
zipset.label = _(u'ZipFileTransport Settings Form')
 
EXPORTER_DESC = _(u'Should exporting contents from a folder be enabled '
class IExporterPrefsForm(Interface):
    """ A configlet for exporting content. """
 
    enable_export = schema.Bool(title=_(u"Enable anonymous export"),
                                description=EXPORTER_DESC,

src/s/c/sc.base.uploader-1.0b3/src/sc/base/uploader/browser/menu.py   sc.base.uploader(Download)
# -*- coding:utf-8 -*-
from Acquisition import aq_base
from Acquisition import aq_inner
from plone.app.contentmenu.menu import FactoriesMenu
from sc.base.uploader import MessageFactory as _
                                  'class': 'contenttype-multiple-files'},
                        'submenu': None,
                        'description': _(u'A form to upload multiple files.'),
                        'title': _(u'Multiple Files'),
                        'action': '%s/@@mass-import' % url,