diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-10-17 16:27:06 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-10-17 16:27:06 +0000 |
| commit | 3d146c05309dd181172a4ec5683d623f0379b4f7 (patch) | |
| tree | 8354d155b72da4c62fe32ac73a38f19bc3d93e0e /templates | |
| parent | 2fd4920e67dc946233468f3ba31c31d9f61af816 (diff) | |
| download | nexus-3d146c05309dd181172a4ec5683d623f0379b4f7.tar.gz nexus-3d146c05309dd181172a4ec5683d623f0379b4f7.tar.bz2 nexus-3d146c05309dd181172a4ec5683d623f0379b4f7.zip | |
various fixes to the way URLs are processed when they are entered into the formpre_update_permission
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/menu_items_details_inc.tpl | 4 | ||||
| -rw-r--r-- | templates/menu_items_edit_inc.tpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/menu_items_details_inc.tpl b/templates/menu_items_details_inc.tpl index 1fdf913..7030caf 100644 --- a/templates/menu_items_details_inc.tpl +++ b/templates/menu_items_details_inc.tpl @@ -19,8 +19,8 @@ <small> {foreach from=$rsrcTypes key=key item=rsrc_type} {if $item.rsrc_type eq $key}{$rsrc_type}{/if} - {/foreach} - : {$item.rsrc|escape} + {/foreach}: {$item.rsrc|escape}<br /> + Final link: <a{if $item.rsrc_type == 'external'} class="external"{/if}{if $item.hint} title="{$item.hint}"{/if} href="{$item.display_url}">{$item.title}</a> {if $item.perm} • {tr}Permission{/tr}: {$item.perm}{/if} </small> </div> diff --git a/templates/menu_items_edit_inc.tpl b/templates/menu_items_edit_inc.tpl index 2d1e302..1bb5581 100644 --- a/templates/menu_items_edit_inc.tpl +++ b/templates/menu_items_edit_inc.tpl @@ -69,7 +69,7 @@ {formlabel label="Resource link" for="rsrc"} {forminput} <input type="text" name="rsrc" id="rsrc" size="50" value="{$editItem.rsrc|escape}" /> - {formhelp note="<dl><dt>External URL</dt><dd>enter full link. e.g.: <strong>http://www.example.com</strong></dd><dt>Internal URL</dt><dd>enter link beginning from your bitweaver installation directory. e.g.: <strong>wiki/rankings.php</strong></dd><dt>Content ID</dt><dd>enter the number referring to some content (e.g. the number assoctiated with each item in the content dropdown is a content ID). e.g.: <strong>3</strong></dd><dt>Structure ID</dt><dd>Enter the structure ID that you want to use.</dd></dl>"} + {formhelp note="<dl><dt>External URL</dt><dd>enter full link. e.g.: <strong>http://www.example.com/</strong></dd><dt>Internal URL</dt><dd>enter link beginning from your bitweaver installation directory. e.g.: <strong>wiki/rankings.php</strong></dd><dd>or the absolute URL. e.g.: <strong>/subpath/wiki/rankings.php</strong></dd><dt>Content ID</dt><dd>enter the number referring to some content (e.g. the number assoctiated with each item in the content dropdown is a content ID). e.g.: <strong>3</strong></dd><dt>Structure ID</dt><dd>Enter the structure ID that you want to use.</dd></dl>"} {/forminput} </div> |
