blob: db55e9a62ec2e6f7f7bd9035ee6874944044d17f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{strip}
{formfeedback hash=$feedback}
{if !$structureName}
{assign var=structureName value="Structure"}
{/if}
{if $gBitThemes->isAjaxLib('mochikit')}
<div class="control-group">
<div class="formlabel">
{$gContent->getContentTypeName()} {tr}Structure{/tr}
<br/>
<a href="{$smarty.const.LIBERTY_PKG_URL}add_structure_content.php?structure_id={$smarty.request.structure_id}&content_type_guid={$smarty.request.content_type_guid}" title="Add Content to {$gContent->getTitle()}" title="Add Content">Add Content</a>
</div>
{forminput}
{include file="bitpackage:liberty/edit_structure_inc.tpl"}
{/forminput}
</div>
{else}
{jstabs}
{jstab title="`$structureName` Organization"}
{include file="bitpackage:liberty/edit_structure_inc.tpl"}
{/jstab}
{if !$gBitSystem->isFeatureActive( 'wikibook_hide_add_content' )}
{jstab title="`$structureName` Content"}
{include file="bitpackage:liberty/edit_structure_content.tpl"}
{/jstab}
{/if}
{/jstabs}
{/if}
{/strip}
|