Commit d93a7f4eab0adf33f4b9ac191cf290bb86047200

Authored by bshuttle
1 parent ba12088b

conditional editable + values.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5003 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/kt3/fieldsets/conditional_editable_values.smarty 0 → 100644
  1 +<fieldset class="cm">
  2 + <legend>{$title}</legend>
  3 + <input type="hidden" class="fixed" name="fieldset" value="{$fieldset_id}" />
  4 + <p class="descriptiveText">
  5 + {$description}
  6 + </p>
  7 + {* non-fixed *}
  8 + <div class="conditional_target">
  9 + {foreach from=$fields item=oField}
  10 + <div class="field">
  11 + <label for="md_{$oField->getId()}">{$oField->getName()}</label>{capture assign=fid}{$oField->getId()}{/capture}
  12 + <p class="descriptiveText">{$oField->getDescription()}</p>
  13 + {if ($values.$fid !== null)}{$values.$fid}
  14 + {else}<span class="descriptiveText">{i18n}no value{/i18n}</span>{/if}
  15 + </div>
  16 + {/foreach}
  17 + <input type="button" onclick="reviseConditional(this)" value="Change"/>
  18 + </div>
  19 +
  20 +
  21 +
  22 +</fieldset>
  23 +<!--
  24 +<table id="brad-log"><tbody></tbody>
  25 +</table>
  26 +-->
... ...