diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2008-10-16 22:25:39 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2008-10-16 22:25:39 +0000 |
| commit | f5a7be66ed5be3ad4f2ca7302f302ec0409b15e6 (patch) | |
| tree | 49b0cdd5c6dc81fd1fd495b8b5b83831d23c2bf2 | |
| parent | 7b657b258f8155c6414b72142f6061cf070ab49c (diff) | |
| download | tags-f5a7be66ed5be3ad4f2ca7302f302ec0409b15e6.tar.gz tags-f5a7be66ed5be3ad4f2ca7302f302ec0409b15e6.tar.bz2 tags-f5a7be66ed5be3ad4f2ca7302f302ec0409b15e6.zip | |
merged 'existing tags' form row with 'add tags' to avoid info duplication and links
| -rw-r--r-- | templates/edit_tags.tpl | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/templates/edit_tags.tpl b/templates/edit_tags.tpl index 0daad50..56a6eaf 100644 --- a/templates/edit_tags.tpl +++ b/templates/edit_tags.tpl @@ -1,26 +1,32 @@ {strip} {if $gContent->mContentTypeGuid != 'bitcomment' || $gBitSystem->isFeatureActive('tags_on_comments')} + <div class="row"> {formlabel label="Add Tags" for="tags"} {forminput} - <input type="text" name="tags" id="tags" value="{if $smarty.post.preview}{$smarty.post.tags}{elseif $tagList}{$tagList}{/if}" /> - {formhelp note="Enter key words to describe your content. Separate each tag with a comma: tag one,tag two."} + <input type="text" name="tags" id="tags" value="{if $smarty.post.preview}{$smarty.post.tags}{elseif $tagList}{$tagList}{/if}" /> + <br /> + {jspopup class="popup_link" href=$smarty.const.TAGS_PKG_URL title="View all tags" width="null" height="null"} + {formhelp note="Key words to describe the content, separated by commas: tag one, tag two. To remove tags use the \"Drop Tag\" options when just viewing this content."} {/forminput} </div> - <div class="row"> - {jspopup notra=1 href=$smarty.const.TAGS_PKG_URL title="View all tags" width="null" height="null"} - </div> - {if count($tagData) > 0 } + + {* + existing tags are already visible in the tags input field + note on how to delete them available in formhelp + *} + {*if count($tagData) > 0 } <div class="row tags"> + {formlabel label="Existing Tags"} {forminput} - <strong>{tr}Existing Tags:{/tr}</strong> {section name=tag loop=$tagData} {if $smarty.section.tag.index > 0}, {/if} <a href="{$smarty.const.TAGS_PKG_URL}index.php?tags={$tagData[tag].tag}">{$tagData[tag].tag}</a> {/section} - {formhelp note="NOTE: To remove tags use the \"Drop Tag\" options that are available when just viewing this content."} + {formhelp note="To remove tags use the \"Drop Tag\" options when just viewing this content."} {/forminput} </div> - {/if} + {/if*} + {/if} -{/strip} +{/strip}
\ No newline at end of file |
