⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bulkupload.smarty.2.tmp

📁 PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。
💻 TMP
字号:
{$context->oPage->requireJSResource('resources/js/taillog.js')}{$context->oPage->requireJSResource('resources/js/conditional_usage.js')}{$context->oPage->requireCSSResource('resources/css/kt-treewidget.css')}{capture assign=sJavascript}{literal}function swapInItem(elementId, req) {    var cp = getElement(elementId);    cp.innerHTML = req.responseText;    initialiseConditionalFieldsets();}function xmlFailure(err) {    alert('failed');}function swapElementFromRequest(elementId, url) {    var deff = doSimpleXMLHttpRequest(url);    var cp = getElement(elementId);    cp.innerHTML=_("loading...");    deff.addCallback(partial(swapInItem, elementId));}function getMetadataForType(id) {    swapElementFromRequest('type_metadata_fields',        '{/literal}{$rootUrl}{literal}/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID='        + id);}function document_type_changed() {    typeselect = getElement('add-document-type');    getMetadataForType(typeselect.value);}function startupMetadata() {    typeselect = getElement('add-document-type');    addToCallStack(typeselect, "onchange", document_type_changed, false);    document_type_changed();}addLoadEvent(startupMetadata);{/literal}{/capture}{$context->oPage->requireJSStandalone($sJavascript)}<h2><img src="{if $config->get("ui/morphEnabled") == '1'}{$rootUrl}/skins/kts_{$config->get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Upload files into{/i18n}:<br />{$context->oFolder->getName()|sanitize}</h2><form method="POST" action="{$smarty.server.PHP_SELF|addQueryString:"postExpected=1&fFolderId="}{$context->oFolder->getId()}" enctype="multipart/form-data"><fieldset><legend>{i18n}Bulk upload{/i18n}</legend><p class="descriptiveText">{i18n}The bulk upload facility allows for a numberof documents to be added to the document management system.Provide an archive (ZIP) file from your local computer, and alldocuments and folders within that archive will be added to the documentmanagement system.{/i18n}</p><input type="hidden" name="action" value="upload" /><input type="hidden" name="fFolderId" value="{$context->oFolder->getId()}" />{foreach from=$add_fields item=oWidget }  {$oWidget->render()}{/foreach}<p class="descriptiveText">{i18n}If you do not need to modify any the metadatafor this document (see below), then you can simply click "Add" here to finish theprocess and add the document.{/i18n}</p><input type="submit" name="submit" value="{i18n}Add{/i18n}" /><hr /><div id="generic_metadata_fields">{foreach item=oFieldset from=$generic_fieldsets}    {$oFieldset->renderEdit($document_data)}{/foreach}</div><div id="type_metadata_fields">{$type_metadata_fields}</div><div class="form_actions">  <input type="submit" name="submit" value="{i18n}Upload{/i18n}" /></div><input type="hidden" name="postReceived" value="1" /></form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -