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/extensions/gsdl-as/lib/templates/sub_host.vm

    r8724 r8738  
    3838                    <li>You can choose one or more hosts from the list below. Only events from the host(s) you have chosen will be sent to you.<br/>
    3939                    <select multiple="multiple" name="host" size="3" style="margin:5px 0px;">
    40                     <option selected="selected">localhost</option>
    41                     <option>www.greenstone.org</option>
    42                     <option>www.nzdl.org</option>
    43                     <option>any host</option>
     40                    #set($firstoption = true);
     41                    #foreach($host in $hostnames)
     42                    <option #if($firstoption) selected="selected" #set($firstoption = false) #end>$host</option>
     43                    #end
     44                    <option value="any">any host</option>
    4445                    </select></li>
    4546                    <li>You can enter a query in the field below. Only events coming from a host whose name matches this query will be sent to you.<br/>
     
    5051                            </td>
    5152                            <td>
    52                                 <input type="text" name="document_title" style="width:80%;"/>
     53                                <input type="text" name="host_query" style="width:80%;" value="$!prefill.host_query"/>
    5354                            </td>
    5455                        </tr>
Note: See TracChangeset for help on using the changeset viewer.