Ignore:
Timestamp:
Aug 3, 2006, 3:39:16 PM (15 years ago)
Author:
nick
Message:

Few missing metadata related tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/missing_metadata.tt

    r824 r825  
    77
    88<form method="get" action="wiki.cgi">
     9<input type="hidden" name="action" value="show_missing_metadata" />
    910<div>
    1011        <label for="metadata_type">Metadata Type:</label>
    11         <select name="metadata_type">
     12        <select name="metadata_type" id="metadata_type">
    1213                <option value="category">Category</option>
    1314                <option value="locale">Locale</option>
     
    2021                <option value="os_y">OS Y</option>
    2122        </select>
     23        <script type="text/javascript">
     24                var metadata_type = document.getElementById("metadata_type");
     25                for(var i=0; i<metadata_type.options.length; i++) {
     26                        if(metadata_type.options[i].value == '[% metadata_type %]') {
     27                                metadata_type.options[i].selected = true;
     28                        }
     29                }
     30        </script>
    2231</div>
    2332<div>
     
    2635        <br />
    2736        <i>Optional, eg 'pub' when metadata value is Category</i>
     37</div>
     38<div>
     39        <label for="exclude_locales">Exclude Locales:</label>
     40        <input type="checkbox" name="exclude_locales" [% IF exclude_locales %]checked="true"[% END %] />
     41</div>
     42<div>
     43        <label for="exclude_categories">Exclude Categories:</label>
     44        <input type="checkbox" name="exclude_categories" [% IF exclude_categories %]checked="true"[% END %] />
    2845</div>
    2946<div>
Note: See TracChangeset for help on using the changeset viewer.