link.smarty
866 Bytes
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
38
<h2>{i18n}Add Link{/i18n}</h2>
{if $link_types}
<p class="descriptiveText">{i18n}Select a target document to link to.{/i18n}
</p>
<!--
<form method="POST" action="{$smarty.server.PHP_SELF}">
-->
<p class="descriptiveText">{i18n}Use the folder collection and path below to
browse to the document you wish to link to.{/i18n}</p>
<!--
<input type="hidden" name="fFolderId" value="{$folder->getId()}" />
-->
{foreach from=$collection_breadcrumbs item=breadcrumb name=bc}
<a href="{$breadcrumb.url}">{$breadcrumb.name}</a>
{if !$smarty.foreach.bc.last}
»
{/if}
{/foreach}
{$collection->render()}
<!--
<div class="form_actions">
<input type="submit" name="submit[move]" value="{i18n}Link{/i18n}" />
</div>
</fieldset>
</form>
-->
{else}
<div class="ktInfo"><p>
{i18n}No link types are defined. Please ask the administrator to add them.{/i18n}</p></div>
{/if}