#  $Id: license,v 1.7 2001/06/19 08:37:54 bryony Exp $
#  Copyright (C) 2000-2001 Tarantella, Inc.
#  This software code contains proprietary information 
#  and should be treated as confidential.
#
#  Component: Licensing
#  Author: Chris Reed
#
#  The contents of this file are sourced for generating the license 
#  infringement page displayed on an admin's webtop.
#


# license_usage - the header for the table

license_usage='<h1>Tarantella license usage</h1>

<p><strong>Your license limits have been reached or exceeded</strong>
for some Tarantella components. The table shows recent license usage,
highlighting any license infringements.</p>'

# license_table_* : head, end, row_* are obvious.
# *_normal are for non-violating licenses - e.g. 3 of 0, 3 of 6
# *_violation are for the violating licenses - e.g. 3 of 2, 6 of 4
# *_other are for the other cells, i.e. heading and dates.
# *_eval are for when the server was in eval mode.
# *_unlimited are for unlimited licenses.
# *_rental are for rental licenses.
# *_usage_* is the string used to display the variables $used (max. number of
#           licenses used) and $have (the number of licenses we have)

license_table_head='<table class=licusage border=0 cellspacing=0 cellpadding=4>'
license_table_end='</table>'
license_table_row_begin='<tr>'
license_table_row_end='</tr>'
license_table_cell_begin_normal='<td class=normal><p><span title="Licenses in use at that time, of the total then available">'
license_table_cell_begin_violation='<td class=violation><p><span title="License infringement">'
license_table_cell_begin_eval='<td class=eval><p><span title="Evaluation mode">'
license_table_cell_begin_unlimited='<td class=unlimited><p>'
license_table_cell_begin_rental='<td class=rental><p>'
license_table_cell_begin_other='<td class=other><p>'
license_table_cell_end_normal='</span></p></td>'
license_table_cell_end_violation='</span></p></td>'
license_table_cell_end_eval='</span></p></td>'
license_table_cell_end_unlimited='</p></td>'
license_table_cell_end_rental='</p></td>'
license_table_cell_end_other='</p></td>'


usage='"&nbsp;$used/$have&nbsp;"'
license_table_cell_usage_normal=$usage
license_table_cell_usage_violation=$usage
license_table_cell_usage_eval='"$used"'
license_table_cell_usage_unlimited='"$used (unlimited)"'
license_table_cell_usage_rental='"$used (rental)"'

