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

📄 list.smarty.2.tmp

📁 PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。
💻 TMP
字号:
<h2>{i18n}Document Fieldsets{/i18n}</h2><p class="descriptiveText">{i18n}Collections of fields are associated into fieldsets.  These represent a set of related information which can be associated with a document and thus comprise part of the document's metadata.{/i18n}</p><p><a class="ktAction ktAdd ktActionDescribed" href="{addQS context=$context}action=newfieldset{/addQS}">{i18n}Create new Fieldset{/i18n}</a><a href="{addQS context=$context}action=newfieldset{/addQS}">{i18n}Create New Fieldset{/i18n}</a></p>{ if $fieldsets}<h3>{i18n}Existing document fieldsets{/i18n}</h3><table class="kt_collection narrow" cellpadding="1.5em" cellspacing="0">  <thead>    <tr>      <th>{i18n}Name{/i18n}</th>      <th class="centered">{i18n}Generic{/i18n}</th>      <th class="centered">{i18n}System{/i18n}</th>      <th>{i18n}Fields{/i18n}</th>      <th>{i18n}Document Types{/i18n}</th>      <th>{i18n}Edit{/i18n}</th>      <th>{i18n}Delete{/i18n}</th>    </tr>  </thead>  <tbody>{foreach from=$fieldsets item=oFieldset}    <tr>      <td>         { $oFieldset->getName()|mb_truncate:40:"..." }        </a>      </td>      <td class="centered">{if ($oFieldset->getIsGeneric())}    <span class="ktAction ktAllowed">{i18n}Yes{/i18n}</span>{else}	<span class="ktAction ktDenied">{i18n}No{/i18n}</span>{/if}      </td>      <td class="centered">{if ($oFieldset->getIsSystem())}	<span class="ktAction ktAllowed">{i18n}Yes{/i18n}</span>{else}	<span class="ktAction ktDenied">{i18n}No{/i18n}</span>{/if}      </td>      <td>{assign var="aFields" value=$oFieldset->getFields()}{if $aFields}{foreach from=$aFields item=oField name=fields}{$oField->getName()|mb_truncate:40}{if (!$smarty.foreach.fields.last)}<br/> {/if}{/foreach}{else}&mdash;{/if}      </td>	  <td>	     <span class="descriptiveText">{$context->getTypesForFieldset($oFieldset)}</span>	  </td>	  <td>	     <a href="{addQS}action=edit&fFieldsetId={$oFieldset->getId()}{/addQS}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a>	  </td>	  <td>	     <a href="{addQS}action=delete&fFieldsetId={$oFieldset->getId()}{/addQS}" class="ktAction ktDelete">{i18n}Delete{/i18n}</a>	  </td>    </tr>  </tbody>{/foreach}</table>{/if}

⌨️ 快捷键说明

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