summaryrefslogtreecommitdiff
path: root/templates/edit_structure_content.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-07-25 20:02:14 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-07-25 20:02:14 +0000
commit58db6b4a6f61527b78374143035ad0420e933b61 (patch)
tree716817d43ecd0e10c05d6b79440d28972a6b0f9a /templates/edit_structure_content.tpl
parent1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c (diff)
downloadliberty-58db6b4a6f61527b78374143035ad0420e933b61.tar.gz
liberty-58db6b4a6f61527b78374143035ad0420e933b61.tar.bz2
liberty-58db6b4a6f61527b78374143035ad0420e933b61.zip
Merge recent changes R1 1.0.2 beta --> HEAD
Diffstat (limited to 'templates/edit_structure_content.tpl')
-rw-r--r--templates/edit_structure_content.tpl20
1 files changed, 8 insertions, 12 deletions
diff --git a/templates/edit_structure_content.tpl b/templates/edit_structure_content.tpl
index f7ebdcb..07c3c75 100644
--- a/templates/edit_structure_content.tpl
+++ b/templates/edit_structure_content.tpl
@@ -19,30 +19,26 @@
{/if}
<div class="row">
- {formlabel label="Add" for="content_type"}
+ {formlabel label="Content" for="content"}
{forminput}
- <select name="content_type" id="content_type" onchange="submit();">
+ <select name="content_type" onchange="submit();">
<option {if !$contentSelect}selected="selected"{/if} value="">All Content</option>
{foreach from=$contentTypes key=guid item=description}
- <option value="{$guid}" {if $contentSelect == $guid}selected="selected"{assign var=selectDescription value=$description}{/if}>{$description}</option>
+ <option value="{$guid}" {if $contentSelect eq $guid}selected="selected"{assign var=selectDescription value=$description}{/if}>{$description}</option>
{/foreach}
</select>
+ <noscript>
+ <div><input type="submit" name="content_switch" value="{tr}change content type{/tr}" /></div>
+ </noscript>
{/forminput}
{forminput}
- <select name="content[]" multiple="multiple" size="8">
- {section name=list loop=$listContent}
- {assign var=guid value=$listContent[list].content_type_guid}
- <option value="{$listContent[list].content_id}">{$contentTypes.$guid} {$listContent[list].content_id}{if $listContent[list]}: "{$listContent[list].title|truncate:40:"(...)":true}"{/if}</option>
- {sectionelse}
- <option disabled="disabled">{tr}No {$selectDescription} content found{/tr}</option>
- {/section}
- </select>
+ {html_options multiple="multiple" id="content" size="12" name="content[]" values=$contentList options=$contentList selected=$pigeonInfo.selected_content}
{/forminput}
{forminput}
<input type="text" name="find_objects" />
- <input type="submit" value="{tr}filter{/tr}" name="search_objects" />
+ <input type="submit" value="{tr}Apply filter{/tr}" name="search_objects" />
{formhelp note=""}
{/forminput}
</div>