source: trunk/www/biomaterials/labeledextracts/list_labeledextracts.jsp @ 2893

Last change on this file since 2893 was 2893, checked in by Martin Svensson, 17 years ago

Fixes #428 HTML tags in annotation values are not escaped.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 20.3 KB
Line 
1<%-- $Id: list_labeledextracts.jsp 2893 2006-11-10 09:35:34Z martin $
2  ------------------------------------------------------------------
3  Copyright (C) Authors contributing to this file.
4
5  This file is part of BASE - BioArray Software Environment.
6  Available at http://base.thep.lu.se/
7
8  BASE is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License
10  as published by the Free Software Foundation; either version 2
11  of the License, or (at your option) any later version.
12
13  BASE is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  GNU General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 59 Temple Place - Suite 330,
21  Boston, MA  02111-1307, USA.
22  ------------------------------------------------------------------
23
24  @author Nicklas
25  @version 2.0
26--%>
27<%@ page
28  import="net.sf.basedb.core.SessionControl"
29  import="net.sf.basedb.core.DbControl"
30  import="net.sf.basedb.core.Item"
31  import="net.sf.basedb.core.LabeledExtract"
32  import="net.sf.basedb.core.BioMaterialEvent"
33  import="net.sf.basedb.core.Extract"
34  import="net.sf.basedb.core.AnnotationType"
35  import="net.sf.basedb.core.AnnotationSet"
36  import="net.sf.basedb.core.Hybridization"
37  import="net.sf.basedb.core.ItemQuery"
38  import="net.sf.basedb.core.Include"
39  import="net.sf.basedb.core.ItemResultIterator"
40  import="net.sf.basedb.core.ItemResultList"
41  import="net.sf.basedb.core.ItemContext"
42  import="net.sf.basedb.core.Permission"
43  import="net.sf.basedb.core.PluginDefinition"
44  import="net.sf.basedb.core.query.Hql"
45  import="net.sf.basedb.core.query.Orders"
46  import="net.sf.basedb.core.query.Restrictions"
47  import="net.sf.basedb.core.query.Expressions"
48  import="net.sf.basedb.core.plugin.GuiContext"
49  import="net.sf.basedb.core.plugin.Plugin"
50  import="net.sf.basedb.core.Type"
51  import="net.sf.basedb.util.Enumeration"
52  import="net.sf.basedb.clients.web.Base"
53  import="net.sf.basedb.clients.web.ModeInfo"
54  import="net.sf.basedb.clients.web.PermissionUtil"
55  import="net.sf.basedb.clients.web.util.HTML"
56  import="net.sf.basedb.util.Values"
57  import="java.util.List"
58  import="java.util.Map"
59%>
60<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
61<%@ taglib prefix="tbl" uri="/WEB-INF/table.tld" %>
62<%!
63  private static final Item itemType = Item.LABELEDEXTRACT;
64  private static final GuiContext guiContext = new GuiContext(itemType, GuiContext.Type.LIST);
65%>
66<%
67final SessionControl sc = Base.getExistingSessionControl(pageContext, Permission.DENIED, itemType);
68final String ID = sc.getId();
69final boolean createPermission = sc.hasPermission(Permission.CREATE, itemType);
70final boolean createHybridizationPermission = sc.hasPermission(Permission.CREATE, Item.HYBRIDIZATION);
71final ItemContext cc = Base.getAndSetCurrentContext(sc, itemType, null, null);
72
73final ModeInfo mode = ModeInfo.get(request.getParameter("mode"));
74final String callback = request.getParameter("callback");
75final String title = mode.generateTitle("labeled extract", "labeled extracts");
76final DbControl dc = sc.newDbControl();
77ItemResultIterator<LabeledExtract> labeledExtracts = null;
78ItemResultList<AnnotationType> annotationTypes = null;
79try
80{
81  final ItemQuery<AnnotationType> annotationTypeQuery = Base.getAnnotationTypesQuery(itemType);
82  final ItemQuery<LabeledExtract> query = Base.getConfiguredQuery(cc, true, LabeledExtract.getQuery(), mode);
83 
84  Map<Plugin.MainType, Integer> pluginCount = PluginDefinition.countPlugins(dc, guiContext);
85  annotationTypes = annotationTypeQuery.list(dc);
86  try
87  {
88    labeledExtracts = query.iterate(dc);
89  }
90  catch (Throwable t)
91  {
92    cc.setMessage(t.getMessage());
93  }
94  int numListed = 0;
95  %>
96  <base:page title="<%=title==null ? "Labeled extract" : title%>" type="<%=mode.getPageType()%>">
97  <base:head scripts="menu.js,table.js" styles="menu.css,table.css">
98    <script language="JavaScript">
99    var submitPage = 'index.jsp';
100    var formId = 'labeledextracts';
101    function newItem()
102    {
103      Main.viewOrEditItem('<%=ID%>', '<%=itemType.name()%>', 0, true);
104    }
105    function newPooledItem()
106    {
107      Table.poolItems(submitPage, '<%=ID%>', formId, '<%=itemType.name()%>', 'NewPooledItem');
108    }
109    function newHybridization()
110    {
111      Table.poolItems(submitPage, '<%=ID%>', formId, '<%=itemType.name()%>', 'NewHybridization');
112    }
113    function editItem(itemId)
114    {
115      Main.viewOrEditItem('<%=ID%>', '<%=itemType.name()%>', itemId, true);
116    }
117    function viewItem(itemId)
118    {
119      Main.viewOrEditItem('<%=ID%>', '<%=itemType.name()%>', itemId, false);
120    }
121    function itemOnClick(evt, itemId)
122    {
123      Table.itemOnClick(formId, evt, itemId, '<%=mode.getName()%>', viewItem, editItem, returnSelected);
124    }
125    function deleteItems()
126    {
127      var frm = document.forms[formId];
128      if (Forms.numChecked(frm) == 0)
129      {
130        alert('Please select at least one item in the list');
131        return;
132      }
133      frm.action = submitPage;
134      frm.cmd.value = 'DeleteItems';
135      frm.submit();
136    }
137    function restoreItems()
138    {
139      var frm = document.forms[formId];
140      if (Forms.numChecked(frm) == 0)
141      {
142        alert('Please select at least one item in the list');
143        return;
144      }
145      frm.action = submitPage;
146      frm.cmd.value = 'RestoreItems';
147      frm.submit();
148    }
149    function shareItem(itemId)
150    {
151      Main.openPopup('index.jsp?ID=<%=ID%>&cmd=ShareItem&item_id='+itemId, 'ShareLabeledExtracts', 500, 400);
152    }
153    function shareItems()
154    {
155      Table.shareItems(submitPage, '<%=ID%>', formId, '<%=itemType.name()%>', 'ShareItems');
156    }
157    function configureColumns()
158    {
159      Table.configureColumns('<%=ID%>', formId, '<%=itemType.name()%>', '<%=(String)cc.getObject("defaultColumns")%>');
160    }
161    function runPlugin(cmd)
162    {
163      Table.submitToPopup(formId, cmd, 740, 540);
164    }
165    function returnSelected()
166    {
167      Table.returnSelected(formId, <%=callback != null ? "window.opener."+callback : "null" %>);
168      window.close();
169    }
170    function presetOnChange()
171    {
172      Table.presetOnChange('<%=ID%>', formId, '<%=itemType.name()%>', '<%=(String)cc.getObject("defaultColumns")%>');
173    }
174    </script>
175  </base:head>
176 
177  <base:body>
178    <%
179    if (cc.getMessage() != null)
180    {
181      %>
182      <div class="error"><%=cc.getMessage()%></div>
183      <%
184      cc.setMessage(null);
185    }
186    %>
187    <tbl:table 
188      id="labeledextracts" 
189      clazz="itemlist" 
190      columns="<%=cc.getSetting("columns")%>"
191      sortby="<%=cc.getSortProperty()%>" 
192      direction="<%=cc.getSortDirection()%>"
193      title="<%=title%>"
194      action="index.jsp"
195      sc="<%=sc%>"
196      item="<%=itemType%>"
197      >
198      <tbl:hidden 
199        name="mode" 
200        value="<%=mode.getName()%>" 
201      />
202      <tbl:hidden 
203        name="callback" 
204        value="<%=callback%>" 
205        skip="<%=callback == null%>" 
206      />
207      <tbl:columndef 
208        id="name"
209        property="name"
210        datatype="string"
211        title="Name"
212        sortable="true" 
213        filterable="true"
214        exportable="true"
215        show="always" 
216      />
217      <tbl:columndef 
218        id="label"
219        property="label"
220        sortproperty="label.name"
221        filterproperty="label.name"
222        exportproperty="label.name"
223        datatype="string"
224        title="Label"
225        sortable="true" 
226        filterable="true"
227        exportable="true"
228      />
229      <tbl:columndef 
230        id="externalId"
231        property="externalId"
232        datatype="string"
233        title="External id"
234        sortable="true" 
235        filterable="true"
236        exportable="true"
237      />
238      <tbl:columndef 
239        id="originalQuantity"
240        property="originalQuantity"
241        datatype="float"
242        title="Original quantity (µg)"
243        sortable="true" 
244        filterable="true"
245        exportable="true"
246      />
247      <tbl:columndef 
248        id="remainingQuantity"
249        property="remainingQuantity"
250        datatype="float"
251        title="Remaining quantity (µg)"
252        sortable="true" 
253        filterable="true"
254        exportable="true"
255      />
256      <tbl:columndef 
257        id="protocol"
258        property="creationEvent.protocol"
259        sortproperty="creationEvent.protocol.name"
260        filterproperty="creationEvent.protocol.name"
261        exportproperty="creationEvent.protocol.name"
262        datatype="string"
263        title="Protocol"
264        sortable="true" 
265        filterable="true"
266        exportable="true"
267      />
268      <tbl:columndef 
269        id="eventDate"
270        property="creationEvent.eventDate"
271        datatype="date"
272        title="Created"
273        sortable="true" 
274        filterable="true"
275        exportable="true"
276      />
277      <tbl:columndef 
278        id="entryDate"
279        property="creationEvent.entryDate"
280        datatype="date"
281        title="Registered"
282        sortable="true" 
283        filterable="true"
284        exportable="true"
285      />
286      <tbl:columndef 
287        id="pooled"
288        property="pooled"
289        datatype="boolean"
290        title="Pooled"
291        sortable="true" 
292        filterable="true"
293        exportable="true"
294      />
295      <tbl:columndef
296        id="parents"
297        title="Parents"
298      />
299      <tbl:columndef
300        id="hybridizations"
301        title="Hybridizations"
302      />
303      <tbl:columndef 
304        id="owner"
305        property="owner.name"
306        datatype="string"
307        title="Owner"
308        sortable="true" 
309        filterable="true"
310        exportable="true"
311      />
312      <tbl:columndef 
313        id="description"
314        property="description"
315        datatype="string"
316        title="Description" 
317        sortable="true" 
318        filterable="true" 
319        exportable="true"
320      />     
321      <%
322      for (AnnotationType at : annotationTypes)
323      {
324        Enumeration<String, String> annotationEnum = null;
325        if (at.isEnumeration())
326        {
327          annotationEnum = new Enumeration<String, String>();
328          List<?> values = at.getValues();
329          for (Object value : values)
330          {
331            String encoded = HTML.encodeTags(value.toString());
332            annotationEnum.add(encoded, encoded);
333          }
334        }
335        %>
336        <tbl:columndef 
337          id="<%="at"+at.getId()%>"
338          title="<%=HTML.encodeTags(at.getName())+" [A]"%>" 
339          property="<%="#"+at.getId()%>"
340          annotation="true"
341          datatype="<%=at.getValueType().getStringValue()%>"
342          enumeration="<%=annotationEnum%>"
343          sortable="false" 
344          filterable="true" 
345          exportable="true"
346        />
347        <%
348      }
349      %>
350      <tbl:columndef
351        id="permission"
352        title="Permission"
353      />
354      <tbl:toolbar
355        visible="<%=mode.hasToolbar()%>"
356        >
357        <tbl:button 
358          disabled="<%=createPermission ? false : true%>" 
359          image="<%=createPermission ? "new.gif" : "new_disabled.gif"%>" 
360          onclick="newItem()" 
361          title="New&hellip;" 
362          tooltip="<%=createPermission ? "Create new labeled extract" : "You do not have permission to create labeled extracts"%>" 
363        />
364        <tbl:button 
365          disabled="<%=createPermission ? false : true%>" 
366          image="<%=createPermission ? "new_pooled.gif" : "new_pooled_disabled.gif"%>" 
367          onclick="newPooledItem()" 
368          title="Pool&hellip;" 
369          tooltip="<%=createPermission ? "Create new pooled labeled extract" : "You do not have permission to create labeled extracts"%>" 
370        />
371        <tbl:button 
372          disabled="<%=createHybridizationPermission ? false : true%>" 
373          image="<%=createHybridizationPermission ? "add.png" : "add_disabled.png"%>" 
374          onclick="newHybridization()" 
375          title="New hybridzation&hellip;" 
376          tooltip="<%=createHybridizationPermission ? "Create new hybridization with the selected labeled extract" : "You do not have permission to create hybridizations"%>" 
377        />
378        <tbl:button 
379          image="delete.gif"
380          onclick="deleteItems()" 
381          title="Delete" 
382          tooltip="Delete the selected items" 
383        />
384        <tbl:button 
385          image="restore.gif"
386          onclick="restoreItems()" 
387          title="Restore" 
388          tooltip="Restore the selected (deleted) items"
389        />
390        <tbl:button 
391          image="share.gif"
392          onclick="shareItems()" 
393          title="Share&hellip;" 
394          tooltip="Share the selected items"
395        />
396        <tbl:button 
397          image="columns.gif" 
398          onclick="configureColumns()" 
399          title="Columns&hellip;" 
400          tooltip="Show, hide and re-order columns" 
401        />
402        <tbl:button 
403          image="import.gif" 
404          onclick="runPlugin('ImportItems')" 
405          title="Import&hellip;" 
406          tooltip="Import data" 
407          visible="<%=pluginCount.containsKey(Plugin.MainType.IMPORT)%>"
408        />
409        <tbl:button 
410          image="export.gif" 
411          onclick="runPlugin('ExportItems')" 
412          title="Export&hellip;" 
413          tooltip="Export data" 
414          visible="<%=pluginCount.containsKey(Plugin.MainType.EXPORT)%>"
415        />
416        <tbl:button 
417          image="runplugin.gif" 
418          onclick="runPlugin('RunListPlugin')" 
419          title="Run plugin&hellip;" 
420          tooltip="Run a plugin" 
421          visible="<%=pluginCount.containsKey(Plugin.MainType.OTHER)%>"
422        />
423      </tbl:toolbar>
424      <tbl:navigator
425        page="<%=cc.getPage()%>" 
426        rowsperpage="<%=cc.getRowsPerPage()%>" 
427        totalrows="<%=labeledExtracts == null ? 0 : labeledExtracts.getTotalCount()%>" 
428        visible="<%=mode.hasNavigator()%>"
429      />
430      <tbl:data>
431        <tbl:columns>
432        <tbl:presetselector 
433          clazz="columnheader"
434          colspan="3"
435          onchange="presetOnChange()"
436        />
437        </tbl:columns>
438
439        <tr>
440          <tbl:header 
441            clazz="index"
442            >&nbsp;</tbl:header>
443          <tbl:header 
444            clazz="check" 
445            visible="<%=mode.hasCheck()%>"
446            ><base:icon 
447              image="check_uncheck.gif" 
448              tooltip="Check/uncheck all" 
449              onclick="Forms.checkUncheck(document.forms[formId])" style="align: left;"
450            /></tbl:header>
451          <tbl:header 
452            clazz="check" 
453            visible="<%=mode.hasRadio()%>"
454            >&nbsp;</tbl:header>
455          <tbl:header 
456            clazz="icons" 
457            visible="<%=mode.hasIcons()%>"
458            >&nbsp;</tbl:header>
459          <tbl:propertyfilter />
460        </tr>
461         
462          <tbl:rows>
463          <%
464          int index = cc.getPage()*cc.getRowsPerPage();
465          int selectedItemId = cc.getId();
466          if (labeledExtracts != null)
467          {           
468            while (labeledExtracts.hasNext())
469            {
470              LabeledExtract item = labeledExtracts.next();
471              BioMaterialEvent creationEvent = item.getCreationEvent();
472              int itemId = item.getId();
473              String openSharePopup = "shareItem("+itemId+")";
474              boolean usePermission = item.hasPermission(Permission.USE);
475              boolean sharePermission = item.hasPermission(Permission.SET_PERMISSION);             
476              boolean writePermission = item.hasPermission(Permission.WRITE);
477              String tooltip = mode.isSelectionMode() ?
478                  "Select this item" : "View this item" + (writePermission ? " (use CTRL, ALT or SHIFT to edit)" : "");
479              String name = HTML.encodeTags(item.getName());
480              index++;
481              numListed++;
482              %>
483              <tbl:row>
484                <tbl:header 
485                  clazz="index"
486                  ><%=index%></tbl:header>
487                <tbl:header 
488                  clazz="check" 
489                  visible="<%=mode.hasCheck()%>"
490                  ><input 
491                    type="checkbox" 
492                    name="<%=itemId%>" 
493                    value="<%=itemId%>" 
494                    title="<%=name%>" 
495                    <%=cc.getSelected().contains(itemId) ? "checked" : ""%> 
496                  ></tbl:header>
497                <tbl:header 
498                  clazz="check" 
499                  visible="<%=mode.hasRadio()%>"
500                  ><input 
501                    type="radio" 
502                    name="item_id" 
503                    value="<%=itemId%>" 
504                    title="<%=name%>" 
505                    <%=selectedItemId == itemId ? "checked" : ""%>
506                  ></tbl:header>
507                <tbl:header 
508                  clazz="icons" 
509                  visible="<%=mode.hasIcons()%>"
510                  ><base:icon 
511                    image="deleted.gif" 
512                    tooltip="This item has been scheduled for deletion" 
513                    visible="<%=item.isRemoved()%>"
514                  /><base:icon 
515                    image="<%=sharePermission ? "shared.gif" : "shared_disabled.gif"%>" 
516                    onclick="<%=sharePermission ? openSharePopup : null%>"
517                    tooltip="This item is shared to other users, groups and/or projects" 
518                    visible="<%=item.isShared()%>"
519                  />&nbsp;</tbl:header>
520                <tbl:cell column="name"><div class="link" 
521                  onclick="itemOnClick(<%=writePermission ? "event" : null%>, <%=itemId%>)" 
522                  title="<%=tooltip%>"><%=name%></div></tbl:cell>
523                <tbl:cell column="label"
524                  ><base:propertyvalue 
525                    item="<%=item%>" 
526                    property="label"
527                    enableEditLink="<%=mode.hasEditLink()%>" 
528                    enablePropertyLink="<%=mode.hasPropertyLink()%>"
529                  /></tbl:cell>
530                <tbl:cell column="externalId"><%=HTML.encodeTags(item.getExternalId())%></tbl:cell>
531                <tbl:cell column="originalQuantity"><%=Values.formatNumber(item.getOriginalQuantity(), 2)%></tbl:cell>
532                <tbl:cell column="remainingQuantity"><%=Values.formatNumber(item.getRemainingQuantity(), 2)%></tbl:cell>
533                <tbl:cell column="pooled"><%=item.isPooled()%></tbl:cell>
534                <tbl:cell column="protocol"
535                  ><base:propertyvalue 
536                    item="<%=creationEvent%>" 
537                    property="protocol"
538                    enableEditLink="<%=mode.hasEditLink()%>" 
539                    enablePropertyLink="<%=mode.hasPropertyLink()%>"
540                  /></tbl:cell>
541                <tbl:cell column="eventDate"><%=Values.formatDate(creationEvent.getEventDate())%></tbl:cell>
542                <tbl:cell column="entryDate"><%=Values.formatDate(creationEvent.getEntryDate())%></tbl:cell>
543                <tbl:cell column="parents">
544                  <%
545                  if (!item.isPooled())
546                  {
547                    %>
548                    <base:propertyvalue item="<%=item%>" property="parent"/>
549                    <%
550                  }
551                  else
552                  {
553                    String separator = "";
554                    ItemQuery<LabeledExtract> parentQuery = (ItemQuery<LabeledExtract>)item.getCreationEvent().getSources();
555                    parentQuery.include(Include.MINE, Include.OTHERS, Include.IN_PROJECT, Include.SHARED);
556                    parentQuery.order(Orders.asc(Hql.property("name")));
557                   
558                    for (LabeledExtract e : parentQuery.list(dc))
559                    {
560                      out.write(separator);
561                      if (mode.hasPropertyLink())
562                      {
563                        out.write(Base.getLinkedName(ID, e, false, mode.hasEditLink()));
564                      }
565                      else
566                      {
567                        out.write(HTML.encodeTags(e.getName()));
568                      }
569                      separator = ", ";
570                    }
571                  }
572                  %></tbl:cell> 
573                <tbl:cell column="hybridizations">
574                  <%                 
575                  try
576                  {
577                    ItemQuery<Hybridization> hybridizationQuery = item.getHybridizations();
578                    hybridizationQuery.include(cc.getInclude());
579                    hybridizationQuery.order(Orders.asc(Hql.property("name")));
580                    String separator = "";
581                    for (Hybridization h : hybridizationQuery.list(dc))
582                    {
583                      out.write(separator);
584                      if (mode.hasPropertyLink())
585                      {
586                        out.write(Base.getLinkedName(ID, h, false, mode.hasEditLink()));
587                      }
588                      else
589                      {
590                        out.write(HTML.encodeTags(h.getName()));
591                      }
592                      separator = ", ";
593                    }
594                  }
595                  catch (Throwable t)
596                  {
597                    %>
598                    <div class="error"><%=t.getMessage()%></div>
599                    <%
600                  }
601                  %>
602                  </tbl:cell>
603                <tbl:cell column="owner"
604                  ><base:propertyvalue 
605                    item="<%=item%>" 
606                    property="owner"
607                    enableEditLink="<%=mode.hasEditLink()%>" 
608                    enablePropertyLink="<%=mode.hasPropertyLink()%>"
609                  /></tbl:cell>
610                <tbl:cell column="description"><%=HTML.encodeTags(item.getDescription())%></tbl:cell>               
611                <%
612                AnnotationSet as = item.isAnnotated() ? item.getAnnotationSet() : null;
613                for (AnnotationType at : annotationTypes)
614                {
615                  %>
616                  <tbl:cell column="<%="at"+at.getId()%>">
617                    <%
618                    List<?> values = as == null || !as.hasAnnotation(at) ? null : as.getAnnotation(at).getValues();
619                    %>
620                    <%=values == null || values.size() == 0 ? "" : HTML.encodeTags(Values.getString(values, ", ", true))%>
621                  </tbl:cell>
622                  <%
623                }
624                %>
625                <tbl:cell column="permission"><%=PermissionUtil.getShortPermissions(item)%></tbl:cell>
626              </tbl:row>
627              <%
628              }
629            }
630          %>
631          </tbl:rows>
632      </tbl:data>
633      <%
634      if (numListed == 0)
635      {
636        %>
637        <tbl:panel><%=labeledExtracts == null || labeledExtracts.getTotalCount() == 0 ? "No labeled extracts where found" : "No labeled extracts on this page. Please select another page!" %></tbl:panel>
638        <%
639      }
640      else
641      {
642        %>
643        <tbl:navigator
644          page="<%=cc.getPage()%>" 
645          rowsperpage="<%=cc.getRowsPerPage()%>" 
646          totalrows="<%=labeledExtracts == null ? 0 : labeledExtracts.getTotalCount()%>" 
647          visible="<%=mode.hasNavigator()%>"
648          locked="true"
649        />
650        <%
651      }
652      %>
653    </tbl:table>
654    <base:buttongroup align="center" clazz="fixedatbottom">
655      <base:button onclick="returnSelected();" title="Ok" visible="<%=mode.hasOkButton()%>" />
656      <base:button onclick="window.close();" title="Cancel" visible="<%=mode.hasCancelButton()%>" />
657      <base:button onclick="window.close();" title="Close" visible="<%=mode.hasCloseButton()%>" />
658    </base:buttongroup>
659    <br><br><br>
660  </base:body>
661  </base:page>
662  <%
663}
664finally
665{
666  if (labeledExtracts != null) labeledExtracts.close();
667  if (dc != null) dc.close();
668}
669%>
Note: See TracBrowser for help on using the repository browser.