tao-test/app/taoItems/views/templates/item_locked.tpl

14 lines
315 B
Smarty
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?php
use oat\tao\helpers\Template;
Template::inc('Lock/locked.tpl', 'tao');
?>
<script>
requirejs.config({
config: {
'taoItems/controller/items/edit': {
'isPreviewEnabled' : <?= json_encode(true) ?>,
'isAuthoringEnabled' : <?= json_encode(false) ?>
}
}
});
</script>