lot more quick-help title strings


			
			
				2.1@2833
			
			
		
Daniel Tiefnig 15 years ago
parent 4c5b427c46
commit 6985d1ca31

@ -56,7 +56,8 @@
<td class="tdkey">CustomerID:</td>
<td>
[% IF edit_account %]
<input type="text" name="customer_id" value="[% account.customer_id %]" />
<input type="text" name="customer_id" value="[% account.customer_id %]"
title="unique ID of the customer the account belongs to, integer, optional" />
[% ELSE %]
[% IF account.customer_id %]
<a href="/customer/detail?customer_id=[% account.customer_id %]">[% account.customer_id %]</a>
@ -135,7 +136,11 @@
<td class="nowrap">&euro; [% account.balance.cash_balance %]</td>
<td>
[% IF edit_balance %]
<div class="account_add">add <input type="text" name="add_cash" value="[% balanceadd.cash %]" /> Euro</div>
<div class="account_add">
add
<input type="text" name="add_cash" value="[% balanceadd.cash %]"
title="amount of money to add, float" />
Euro</div>
[% END %]
</td>
</tr>
@ -145,7 +150,12 @@
<td class="nowrap">[% account.balance.free_time_balance %] s</td>
<td>
[% IF edit_balance %]
<div class="account_add">add <input type="text" name="add_time" value="[% balanceadd.free_time %]" /> seconds</div>
<div class="account_add">
add
<input type="text" name="add_time" value="[% balanceadd.free_time %]"
title="amount of free time in seconds to add, integer" />
seconds
</div>
[% END %]
</td>
</tr>

@ -20,28 +20,33 @@
<tr>
<td>[% admin.login %]</td>
[% IF admin.login == edit_admin %]
<form action="/admin/do_edit_admin" method="post">
<form autocomplete="off" action="/admin/do_edit_admin" method="post">
<input type="hidden" name="admin" value="[% admin.login %]" />
<td><input type="password" name="password" value="" /></td>
<td><input type="password" name="password" value=""
title="if set, the new login password for the account, string" /></td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" name="is_master"
[% IF admin.login == Catalyst.session.admin.login %]disabled="disabled"[% END %]
[% IF erefill.is_master or !erefill && admin.is_master %]checked="checked" [% END %] />
[% IF erefill.is_master or !erefill && admin.is_master %]checked="checked" [% END %]
title="if checked, the administrator can create and edit other administrator accounts" />
</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" name="is_active"
[% IF admin.login == Catalyst.session.admin.login %]disabled="disabled"[% END %]
[% IF erefill.is_active or !erefill && admin.is_active %]checked="checked" [% END %] />
[% IF erefill.is_active or !erefill && admin.is_active %]checked="checked" [% END %]
title="if checked, the administrator account is active and may be used" />
</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" name="read_only"
[% IF admin.login == Catalyst.session.admin.login %]disabled="disabled"[% END %]
[% IF erefill.read_only or !erefill && admin.read_only %]checked="checked" [% END %] />
[% IF erefill.read_only or !erefill && admin.read_only %]checked="checked" [% END %]
title="if checked, the administrator may not change any data" />
</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" name="show_passwords"
[% IF admin.login == Catalyst.session.admin.login %]disabled="disabled"[% END %]
[% IF erefill.show_passwords or !erefill && admin.show_passwords %]checked="checked" [% END %] />
[% IF erefill.show_passwords or !erefill && admin.show_passwords %]checked="checked" [% END %]
title="if checked, the new administrator may view subscriber passwords" />
</td>
<td>
<div class="postlink">
@ -55,19 +60,23 @@
<td>********</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" disabled="disabled"
[% IF admin.is_master %]checked="checked"[% END %] />
[% IF admin.is_master %]checked="checked"[% END %]
title="if checked, the administrator can create and edit other administrator accounts" />
</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" disabled="disabled"
[% IF admin.is_active %] checked="checked"[% END %] />
[% IF admin.is_active %] checked="checked"[% END %]
title="if checked, the administrator account is active and may be used" />
</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" disabled="disabled"
[% IF admin.read_only %] checked="checked"[% END %] />
[% IF admin.read_only %] checked="checked"[% END %]
title="if checked, the administrator may not change any data" />
</td>
<td class="tdcenter">
<input type="checkbox" class="checkbox" disabled="disabled"
[% IF admin.show_passwords %] checked="checked"[% END %] />
[% IF admin.show_passwords %] checked="checked"[% END %]
title="if checked, the new administrator may view subscriber passwords" />
</td>
<td>
[% UNLESS Catalyst.session.admin.read_only && admin.login != Catalyst.session.admin.login %]
@ -114,38 +123,46 @@
<form autocomplete="off" action="/admin/do_create_admin" method="post">
<tr>
<td>login:</td>
<td><input type="text" size="20" name="admin" id="adminaddtxt" value="[% arefill.admin %]" /></td>
<td><input type="text" size="20" name="admin" id="adminaddtxt" value="[% arefill.admin %]"
title="the login username for the new account, string" />
</td>
</tr>
<tr>
<td>password:</td>
<td><input type="password" name="password" value="" /></td>
<td><input type="password" name="password" value=""
title="the login password for the new account, string" />
</td>
</tr>
<tr>
<td>master:</td>
<td>
<input type="checkbox" class="checkbox" name="is_master"
[% IF arefill.is_master %]checked="checked"[% END %] />
[% IF arefill.is_master %]checked="checked"[% END %]
title="if checked, the new administrator can create and edit other administrator accounts" />
</td>
</tr>
<tr>
<td>active:</td>
<td>
<input type="checkbox" class="checkbox" name="is_active"
[% IF arefill.is_active %]checked="checked"[% END %] />
[% IF arefill.is_active %]checked="checked"[% END %]
title="if checked, the new administrator account is active and may be used" />
</td>
</tr>
<tr>
<td>readonly:</td>
<td>
<input type="checkbox" class="checkbox" name="read_only"
[% IF arefill.read_only %]checked="checked"[% END %] />
[% IF arefill.read_only %]checked="checked"[% END %]
title="if checked, the new administrator may not change any data" />
</td>
</tr>
<tr>
<td>show passwords:</td>
<td>
<input type="checkbox" class="checkbox" name="show_passwords"
[% IF arefill.show_passwords %]checked="checked"[% END %] />
[% IF arefill.show_passwords %]checked="checked"[% END %]
title="if checked, the new administrator may view subscriber passwords" />
</td>
</tr>
<tr>

@ -3,27 +3,36 @@
<form action="/subscriber/search" method="post" class="search_subscriber">
<label class="search_label" for="search_by_username">Username:</label>
<input type="text" id="search_by_username" name="search_username" value="[% search_username %]" />
<input type="checkbox" class="checkbox" id="exact_username" name="exact_username" [% IF exact_username %]checked="checked"[% END %] />
<input type="text" id="search_by_username" name="search_username" value="[% search_username %]"
title="search by the local part of the SIP URI, wildcards allowed" />
<input type="checkbox" class="checkbox" id="exact_username" name="exact_username" [% IF exact_username %]checked="checked"[% END %]
title="if checked, the search string will not be surrounded by wildcards" />
<label for="exact_username">exact match</label><br />
<label class="search_label" for="search_by_domain">Domain:</label>
<input type="text" id="search_by_domain" name="search_domain" value="[% search_domain %]" />
<input type="checkbox" class="checkbox" id="exact_domain" name="exact_domain" [% IF exact_domain %]checked="checked"[% END %] />
<input type="text" id="search_by_domain" name="search_domain" value="[% search_domain %]"
title="search by the domain of the SIP URI, wildcards allowed" />
<input type="checkbox" class="checkbox" id="exact_domain" name="exact_domain" [% IF exact_domain %]checked="checked"[% END %]
title="if checked, the search string will not be surrounded by wildcards" />
<label for="exact_domain">exact match</label><br />
<label class="search_label" for="search_by_number">E.164 number:</label>
<input type="text" id="search_by_number" name="search_number" value="[% search_number %]" />
<input type="checkbox" class="checkbox" id="exact_number" name="exact_number" [% IF exact_number %]checked="checked"[% END %] />
<input type="text" id="search_by_number" name="search_number" value="[% search_number %]"
title="search by the E.164 numbers, wildcards allowed" />
<input type="checkbox" class="checkbox" id="exact_number" name="exact_number" [% IF exact_number %]checked="checked"[% END %]
title="if checked, the search string will not be surrounded by wildcards" />
<label for="exact_number">exact match</label><br />
<label class="search_label" for="search_by_uuid">UUID:</label>
<input type="text" id="search_by_uuid" name="search_uuid" value="[% search_uuid %]" />
<input type="checkbox" class="checkbox" id="exact_uuid" name="exact_uuid" [% IF exact_uuid %]checked="checked"[% END %] />
<input type="text" id="search_by_uuid" name="search_uuid" value="[% search_uuid %]"
title="search by the UUID, wildcards allowed" />
<input type="checkbox" class="checkbox" id="exact_uuid" name="exact_uuid" [% IF exact_uuid %]checked="checked"[% END %]
title="if checked, the search string will not be surrounded by wildcards" />
<label for="exact_uuid">exact match</label><br />
<div class="topbottomspace">
<input type="checkbox" class="checkbox" id="include_terminated" name="terminated" [% IF terminated %]checked="checked"[% END %] />
<input type="checkbox" class="checkbox" id="include_terminated" name="terminated" [% IF terminated %]checked="checked"[% END %]
title="if checked, the search result will include terminated subscribers" />
<label for="include_terminated">include terminated subscribers</label><br />
</div>

@ -79,9 +79,11 @@
<td class="tdkey">web password:</td>
<td>
[% IF edit_subscriber %]
<input type="text" name="webpassword" id="edit_webpass" value="[% subscriber.edit_webpass %]" />
<input type="text" name="webpassword" id="edit_webpass" value="[% subscriber.edit_webpass %]"
title="the password used for login at the SOAP and CSC interfaces, string" />
[% ELSE %]
<input type="text" id="edit_webpass" class="disabled" disabled="disabled"
title="the password used for login at the SOAP and CSC interfaces, string"
[% IF show_webpass && Catalyst.session.admin.show_passwords %]
value="[% subscriber.webpassword %]" /> <a href="?subscriber_id=[% subscriber.subscriber_id %]" class="apass">Hide</a>
[% ELSE %]
@ -102,9 +104,12 @@
<td class="tdkey">E.164 number:</td>
<td>
[% IF edit_subscriber %]
<input type="text" name="cc" class="ishort" value="[% subscriber.cc %]" />
<input type="text" name="ac" class="ishort" value="[% subscriber.ac %]" />
<input type="text" name="sn" value="[% subscriber.sn %]" />
<input type="text" name="cc" class="ishort" value="[% subscriber.cc %]"
title="the country code of the E.164 number, integer" />
<input type="text" name="ac" class="ishort" value="[% subscriber.ac %]"
title="the area code of the E.164 number, integer" />
<input type="text" name="sn" value="[% subscriber.sn %]"
title="the subscriber part of the E.164 number, numeric string" />
[% ELSE %]
<input type="text" class="disabled" disabled="disabled"
[% IF subscriber.sn %]
@ -126,7 +131,8 @@
<tr>
<td class="tdkey">SIP URI:</td>
<td>
<input type="text" name="username" value="[% subscriber.username %]" />
<input type="text" name="username" value="[% subscriber.username %]"
title="the local part of the SIP URI, string" />
@
<select size="1" name="domain">
[% FOREACH sdom = domains %]
@ -140,9 +146,11 @@
<td class="tdkey">SIP password:</td>
<td>
[% IF edit_subscriber %]
<input type="text" name="password" id="edit_pass" value="[% subscriber.edit_pass %]" />
<input type="text" name="password" id="edit_pass" value="[% subscriber.edit_pass %]"
title="the password used for SIP authentication, string" />
[% ELSE %]
<input type="text" id="edit_pass" class="disabled" disabled="disabled"
title="the password used for SIP authentication, string"
[% IF show_pass && Catalyst.session.admin.show_passwords %]
value="[% subscriber.password %]" /> <a href="?subscriber_id=[% subscriber.subscriber_id %]" class="apass">Hide</a>
[% ELSE %]
@ -163,6 +171,7 @@
<td class="tdkey">administrative:</td>
<td>
<input type="checkbox" name="admin" class="checkbox" [% IF ! edit_subscriber %]disabled="disabled"[% END %]
title="if checked, the subscriber may create and edit other subscribers in the same VoIP account"
[% IF subscriber.admin %]checked="checked"[% END %] />
</td>
</tr>
@ -170,6 +179,7 @@
<td class="tdkey">timezone:</td>
<td>
<input type="text" name="timezone" [% IF ! edit_subscriber %]class="disabled" disabled="disabled"[% END %]
title="timezone in the form of 'continent/capital', optional"
value="[% subscriber.timezone %]" />
</td>
</tr>

Loading…
Cancel
Save