mirror of
https://github.com/e107inc/e107.git
synced 2025-01-19 13:37:09 +01:00
01356e34fa
Create 'timezone' type of extended user field as predefined list. Move user timezone to extended user fields. Update routine only transfers existing data if its enabled in prefs. Delete the existing user_timezone, user_new fields from user table. Add timezone data file
75 lines
1.9 KiB
XML
75 lines
1.9 KiB
XML
<?xml version="1.0" ?>
|
|
<e107_extended_user_fields version="1.0">
|
|
<item name="language">
|
|
<type>language</type>
|
|
<include_text></include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="country">
|
|
<type>db field</type>
|
|
<values>user_extended_country,country_iso,country_name,country_name</values>
|
|
<include_text></include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="location">
|
|
<type>text</type>
|
|
<include_text>class='tbox' size='40' maxlength='254'</include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="aim">
|
|
<type>text</type>
|
|
<include_text>class='tbox' size='40' maxlength='254'</include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="icq">
|
|
<type>text</type>
|
|
<include_text>class='tbox' size='40' maxlength='254'</include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="yahoo">
|
|
<type>text</type>
|
|
<include_text>class='tbox' size='40' maxlength='254'</include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="msn">
|
|
<type>text</type>
|
|
<include_text>class='tbox' size='40' maxlength='254'</include_text>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="homepage">
|
|
<type>text</type>
|
|
<include_text>class='tbox' size='40' maxlength='254'</include_text>
|
|
<regex>#^[a-z0-9]+://#si</regex>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="birthday">
|
|
<type>date</type>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
<item name="timezone">
|
|
<type>list</type>
|
|
<values>timezones</values>
|
|
<default>+0</default>
|
|
<applicable>253</applicable>
|
|
<read>253</read>
|
|
<write>253</write>
|
|
</item>
|
|
</e107_extended_user_fields> |