$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=User_Manager%2FCharacter_constants</id>
	<title>User Manager/Character constants - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=User_Manager%2FCharacter_constants"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Character_constants&amp;action=history"/>
	<updated>2026-04-19T00:57:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Character_constants&amp;diff=463&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;== Time constants == Time constants can be divided in parts. Each part consists of integer followed by one of the following characters: * w - week (equals 7 days) * d - day (e...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Character_constants&amp;diff=463&amp;oldid=prev"/>
		<updated>2015-04-22T18:28:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Time constants == Time constants can be divided in parts. Each part consists of integer followed by one of the following characters: * w - week (equals 7 days) * d - day (e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Time constants ==&lt;br /&gt;
Time constants can be divided in parts. Each part consists of integer followed by one of the following characters:&lt;br /&gt;
* w - week (equals 7 days)&lt;br /&gt;
* d - day (equals 24 hours)&lt;br /&gt;
* h - hour (equals 60 minutes)&lt;br /&gt;
* m - minute (equals 60 seconds)&lt;br /&gt;
* s - second&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* 4w2d - 30 days (4 weeks and 2 days).&lt;br /&gt;
* 30d - 30 days. Equals 4w2d&lt;br /&gt;
* 3h - 3 hours&lt;br /&gt;
* 2d2h - 50 hours (2 days and 2 hours). Equals 50h&lt;br /&gt;
* 2w30m - 2 weeks and 30 minutes. Equals 20190m.&lt;br /&gt;
&lt;br /&gt;
== Date constants ==&lt;br /&gt;
In date constant following characters will be replaced with proper values:&lt;br /&gt;
* %Y - four digit year representation&lt;br /&gt;
* %b - verbal (short) month representation&lt;br /&gt;
* %m - two digit month representation&lt;br /&gt;
* %d - two digit day-of-the-month representation&lt;br /&gt;
&lt;br /&gt;
Examples (representing October 5, 2006):&lt;br /&gt;
* %d/%m/%Y - 05/10/2006&lt;br /&gt;
* %Y-%b-%d - 2006-Oct-05&lt;br /&gt;
&lt;br /&gt;
== Voucher template constants at v5.x ==&lt;br /&gt;
The following constants of [[User Manager/Voucher template | voucher template]] will be replaced with actual [[User Manager/Users | user]] attribute values: &lt;br /&gt;
* %u_username% - Username (login);&lt;br /&gt;
* %u_password% - Password;&lt;br /&gt;
* %u_owner% - User Manager customer;&lt;br /&gt;
* %u_firstName% - First name;&lt;br /&gt;
* %u_lastName% - Last name;&lt;br /&gt;
* %u_phone% - Phone number;&lt;br /&gt;
* %u_location% - Location;&lt;br /&gt;
* %u_email% - Email address;&lt;br /&gt;
* %u_comment% - Comment;&lt;br /&gt;
* %u_ipAddr% - IP address;&lt;br /&gt;
* %u_pool% - Pool name;&lt;br /&gt;
* %u_group% - Group;&lt;br /&gt;
* %u_limit_download_f% - Nicely formatted download limit (introduced in v3.1);&lt;br /&gt;
* %u_limit_upload_f% - Nicely formatted upload limit (introduced in v3.1);&lt;br /&gt;
* %u_limit_transfer_f% - Nicely formatted transfer limit (introduced in v3.1);&lt;br /&gt;
* %u_limitDownload% - Download limit (in bytes);&lt;br /&gt;
* %u_limitUpload% - Upload limit (in bytes);&lt;br /&gt;
* %u_limitUptime% - Uptime limit (in time);&lt;br /&gt;
* %u_usedDownload% - Used download;&lt;br /&gt;
* %u_usedUpload% - Used upload;&lt;br /&gt;
* %u_usedUptime% - Used uptime;&lt;br /&gt;
* %u_prep_time% - Prepaid time - time constant or the word &amp;#039;&amp;#039;unlimited&amp;#039;&amp;#039;;&lt;br /&gt;
* %u_tot_price% - Total price, including currency;&lt;br /&gt;
* %u_callerId% - Caller-id information;&lt;br /&gt;
* %u_shared_users% - Number of shared users;&lt;br /&gt;
* %u_wirelessPsk% - Wireless WPA/WPA2 pre-shared key; &lt;br /&gt;
* %u_wirelessEncKey% - Wireless WEP key; &lt;br /&gt;
* %u_wirelessEncAlgo% - Wireless Encryption Algorithm; &lt;br /&gt;
* %u_tillTime% - Time available for users (Profile Validity);&lt;br /&gt;
* %u_timeLeft% - Time left for user;&lt;br /&gt;
* %u_actualProfileName% - Profile Name;&lt;br /&gt;
* %u_actualProfileStart% - Profile start date;&lt;br /&gt;
* %u_actualProfileEnd% - Profile end date;&lt;br /&gt;
* %u_actualProfileLeft% - Time left for profile validity;&lt;br /&gt;
* %u_actualRateLim% - Rate-Limit;&lt;br /&gt;
* %u_moneyPaid% - Money paid by user;&lt;br /&gt;
* %u_moneyUsed% - Money used by user;&lt;br /&gt;
* %u_moneyleft% - Money left for user;&lt;br /&gt;
* u_tillTime - Timestamp for active profile, when all profiles are exprired&lt;br /&gt;
* u_timeLeft - sum of left time, when user does not active profile&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>