summaryrefslogtreecommitdiff
path: root/templates/edit_structure.tpl
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-10-15 07:31:16 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-10-15 07:31:16 +0000
commit78eaaa9b043e7555622d9e57fb0fa53ca45c3b88 (patch)
tree2843e7d66e6116bd6252676bc3adc2557069650c /templates/edit_structure.tpl
parent352099565b6435e86cb278e974b82a09e4b1d465 (diff)
downloadliberty-78eaaa9b043e7555622d9e57fb0fa53ca45c3b88.tar.gz
liberty-78eaaa9b043e7555622d9e57fb0fa53ca45c3b88.tar.bz2
liberty-78eaaa9b043e7555622d9e57fb0fa53ca45c3b88.zip
typo
Diffstat (limited to 'templates/edit_structure.tpl')
-rw-r--r--templates/edit_structure.tpl41
1 files changed, 22 insertions, 19 deletions
diff --git a/templates/edit_structure.tpl b/templates/edit_structure.tpl
index 2c786cf..9af725b 100644
--- a/templates/edit_structure.tpl
+++ b/templates/edit_structure.tpl
@@ -1,34 +1,37 @@
{strip}
+
{formfeedback hash=$feedback}
+
{if !$structureName}
{assign var=structureName value="Structure"}
{/if}
{if $gBitThemes->isAjaxLib('mochikit')}
-<div class="row">
- <div class="formlabel">
- {$gContent->getContentTypeDescription()} {tr}Structure{/tr}
-<br/><a href="{$smarty.const.LIBERTY_PKG_URL}add_structure_content.php?structure_id={$smarty.request.structure_id}&amp;content_type_guid={$smarty.request.content_type_guid}" title="Add Content to {$gContent->getTitle()}" title="Add Content">Add Content</a>
+ <div class="row">
+ <div class="formlabel">
+ {$gContent->getContentTypeDescription()} {tr}Structure{/tr}
+ <br/>
+ <a href="{$smarty.const.LIBERTY_PKG_URL}add_structure_content.php?structure_id={$smarty.request.structure_id}&amp;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>
- {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_edit_add_content' )}
- {jstab title="`$structureName` Content"}
- {include file="bitpackage:liberty/edit_structure_content.tpl"}
- {/jstab}
-{/if}
-{/jstabs}
+ {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}
+{/strip} \ No newline at end of file