Ignore:
Timestamp:
2004-12-06T11:44:03+13:00 (19 years ago)
Author:
schweer
Message:

user authentication works; user information and subscriptions/predicates are stored to thedatabase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/packages/gsdl-as/lib/templates/sub_collection.vm

    r8724 r8738  
    3737                    <ol>
    3838                    <li>You can choose one or more collections from the list below. Only events from the collections(s) you have chosen will be sent to you<br/>
    39                     <select multiple="multiple" name="host" size="7" style="margin:5px 0px;">
    40                     <optgroup label="localhost">
    41                     <option>greenstone 2 mg demo</option>
    42                     <option>greenstone 2 mgpp demo</option>
    43                     <option>greenstone 3 mg demo</option>
    44                     <option selected="selected">any collection on host localhost</option>
    45                     </optgroup>
    46                     <optgroup label="nzdl.org">
    47                     <option>acronym extraction demo</option>
    48                     <option>music library</option>
    49                     <option>youth oral history</option>
    50                     <option>kiwi aircraft images</option>
    51                     <option selected="selected">any collection on host nzdl.org</option>
    52                     </optgroup>
     39                    <select multiple="multiple" name="collection" size="7" style="margin:5px 0px;">
     40                        #foreach($host in $hostnames)
     41                        <optgroup label="$host">
     42                            #foreach($collection in $collectionnames.get($host))
     43                            <option>$collection</option>
     44                            #end
     45                            <option selected="selected">any collection on host $host</option>
     46                        </optgroup>
     47                    #end
    5348                    </select></li>
    5449                    <li>You can enter a query in the field below. Only events coming from a collection whose name matches this query will be sent to you.<br/>
     
    5954                            </td>
    6055                            <td>
    61                                 <input type="text" name="document_title" style="width:80%;"/>
     56                                <input type="text" name="collection_query" style="width:80%;" value="$!prefill.collection_query"/>
    6257                            </td>
    6358                        </tr>
Note: See TracChangeset for help on using the changeset viewer.