~ubuntu-branches/debian/squeeze/movabletype-opensource/squeeze

« back to all changes in this revision

Viewing changes to tmpl/cms/include/itemset_action_widget.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-06-13 23:28:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080613232840-ya4jfxv1jgl45a3d
Tags: 4.2~rc2-1
* New upstream release candidate
* Update Standards-Version (no changes)
* Ensure that schema upgrade message is always seen

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<mt:if name="has_list_actions">
2
2
<script type="text/javascript">
 
3
/* <![CDATA[ */
3
4
<mt:loop name="list_actions">itemset_options['<mt:var name="key">'] = {type:'core'<mt:if name="input">,input:'<mt:var name="input_label" escape="js">'</mt:if><mt:if name="continue_prompt">,continue_prompt:"<mt:var name="continue_prompt" escape="js">"</mt:if><mt:if name="dialog">,dialog:1</mt:if><mt:if name="js">,js:'<mt:var name="js" escape="js">'</mt:if><mt:if name="min">,min:'<mt:var name="min" escape="js">'</mt:if><mt:if name="max">,max:'<mt:var name="max" escape="js">'</mt:if>};
4
5
</mt:loop>
5
6
<mt:loop name="more_list_actions">itemset_options['<mt:var name="key">'] = {type:'plugin'<mt:if name="input">,input:'<mt:var name="input_label" escape="js">'</mt:if><mt:if name="continue_prompt">,continue_prompt:"<mt:var name="continue_prompt" escape="js">"</mt:if><mt:if name="dialog">,dialog:1</mt:if><mt:if name="js">,js:'<mt:var name="js" escape="js">'</mt:if><mt:if name="min">,min:'<mt:var name="min" escape="js">'</mt:if><mt:if name="max">,max:'<mt:var name="max" escape="js">'</mt:if>};
6
7
</mt:loop>
 
8
/* ]]> */
7
9
</script>
8
10
<div style="position:relative; display:inline;">
9
11
<select name="plugin_action_selector" onchange="updatePluginAction(this)">
22
24
    </mt:loop>
23
25
</select>
24
26
</div>
25
 
<a href="javascript:void(0)" class="small-button" onclick="doPluginAction(getByID('<$mt:var name="object_type"$>-listing-form'), '<mt:if name="object_label_plural"><mt:var name="object_label_plural" escape="js"></mt:if>', '<__trans phrase="to act upon" escape="js">'); return false;"><__trans phrase="Go"></a>
 
27
<a href="javascript:void(0)" class="small-button" onclick="doPluginAction(getByID('<mt:if name="form_id"><mt:var name="form_id"><mt:else><$mt:var name="object_type"$>-listing-form</mt:if>'), '<mt:if name="object_label_plural"><mt:var name="object_label_plural" escape="js"></mt:if>', '<__trans phrase="to act upon" escape="js">'); return false;"><__trans phrase="Go"></a>
26
28
</mt:if>