summaryrefslogtreecommitdiff
path: root/preferences.php
AgeCommit message (Collapse)AuthorFilesLines
2026-06-05Add CSS flag dropdown select with lipis flag-iconsLester Caine1-2/+0
- css/flag-icons.css: lipis 4x3 set, 1x1 stripped, paths → ../icons/flags/ - countries_inc.php: asort, Smarty assigns, loadCss (PKG_PATH not PKG_URL); PHP files reduce to single require() - flag_select_inc.tpl: custom dropdown with .fi CSS flags, search filter, jQuery open/close; fsName/fsValue/fsId/fsSize; min-width 300px; line-height:1.5em on flag spans - html_head_inc.tpl placeholder; display templates keep {biticon istyle=flag} Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Fix countries_inc.php scope: require not require_once at page levelLester Caine1-1/+1
require_once in RoleUser::load() marks the file as included globally; subsequent require_once calls in preferences/register page scope are silently skipped, leaving $bwCountries undefined. Plain require forces execution in the current scope each time. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05Replace GIF flag scan with static ISO alpha-3 country list and SVG flagsLester Caine1-11/+3
- Add countries_inc.php: 252 countries as alpha-3 → name + alpha-3 → alpha-2 map for flag image lookup; derived from webtrees CountryService, no runtime webtrees dependency - Add 243 Marble SVG flags (xx.svg) plus eng/sct/wls/nir for constituent countries - Remove 244 full-name GIF flags - RoleUser: set users_country_code (alpha-3), flag (alpha-2 lowercase), and users_country (display name) at load time - preferences.php, register.php, hauth_register.php: replace opendir GIF scan with require_once countries_inc.php - Templates: replace {section loop=$flags} with {foreach $countries as $code => $name}; iexplain now uses display name instead of raw flag code Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15To simplyfy maintenence BitUser classes have been retired and active code ↵Lester Caine1-2/+1
base defaulted to ROLE_MODEL
2026-05-14php-cs-fixer tidies to php8.5 standardsLester Caine1-2/+1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2025-08-29General tools updated to PHP8.4 and namespacelsces1-50/+54
2025-05-14Remove ROLE_MODEL codespiderr1-1/+1
2021-02-04check for existence of includeFiles['php']spiderr1-1/+3
2021-02-03update path for kernel/includes/setup_inc.phpmodela bitweaver1-1/+1
2021-02-02fix INCLUDE and CLASS pathsspiderr1-1/+1
2016-12-29bootstrap in user_preferences formspider@app11-2/+2
2016-07-28remove conflictsspider@app11-1/+1
2016-07-25remove debugspider@dev1-2/+0
2016-06-22add route friend mod_rewritespider@app11-0/+1
2016-02-07Move from Smarty2 to Smarty3 function stylelsces1-4/+4
2015-12-08Merge with locallsces1-7/+2
2015-03-06Chicken and egg problem with creating a new ste which needs to use ROLE_MODELlsces1-1/+1
Need RolePermUser to be set in the database to set up users properly, but can't do that until the database has been created, so need to use the right default until it is
2012-10-03Editiong preferences was throwing away errors ... now reporting themlsces1-53/+56
Updates to core USER record were not allowed when username was not changed this has been modified so that the check for an existing user is skipped when simply updating preferences.
2010-06-09Strip down CVS keywords.cvs2git1-2/+2
2010-02-08deprecate root bit_setup_inc use kernel/setup_inc.phpwjames51-3/+3
2009-10-01remove ref to non-existant copyright.txt filewjames51-3/+3
2009-10-01fix LGPL license ref from non-existant license.txt file to lgpl urlwjames51-3/+3
2009-06-18merge User Info and User Prefs into a single form since they send the exact ↵Christian Fowler1-5/+3
same SUBMIT, allow editing for Username by p_users_admin
2009-04-02add users_login_homepage config, and use that value where default is ↵Christian Fowler1-5/+3
users/my.php; add verifyRegistered
2009-03-14use email to check old password as it is required and uniqueChristian Fowler1-3/+3
2009-01-12Clear site_display_timezone if user switches from 'Fixed'Lester Caine1-2/+3
2009-01-12Default fixed timezone should be UTCLester Caine1-3/+3
Need to add notes about updating sites that are using 'Fixed' with time offsets.
2008-12-29DateTimeZone is a 5.2.0 class, not 5.1.0Christian Fowler1-3/+3
2008-12-04site_display_timezone should be a 0 offsetLester Caine1-4/+4
2008-12-04switch version check to version_compareLester Caine1-3/+3
2008-12-04inelegant but functional. Ideally list needs trimming with respect to ↵Lester Caine1-4/+8
country selected
2008-11-29since we dont have a preference service call storage service on user object ↵wjames51-2/+13
whoes prefs are changing - this is a model for future clean up of this file
2008-10-16move scrambleEmail to users/users_lib.php and rename it to scramble_emailMax Kremmel1-6/+6
2008-08-29del vd()laetzer1-3/+3
2008-07-09call edit service since we are editing content - and assign editUser to ↵wjames51-2/+6
gContent so everythign works smoothly - hopefully this was not done before because of some oversight and because this creates any weird conflicts - which it shouldnt
2008-06-29fix users language selectionMax Kremmel1-5/+5
2008-06-25change display call to use a hash for display options, add display_mode to ↵Christian Fowler1-3/+3
options hash
2007-11-02do not save bitUser::defaults in liberty_content_prefsChristian Fowler1-18/+19
2007-06-25Stored offset should be in seconds not in hours.Nick Palmer1-3/+3
2007-06-24Doh! Wrong kind of comment.Nick Palmer1-3/+3
2007-06-24Fix timezones for fixed timezones. There is an issue in BitDate that we ↵Nick Palmer1-2/+8
might want to fix to allow selection by real timezone.
2007-06-22make use of the getIncludeFiles methodMax Kremmel1-17/+6
2007-06-14bug 1707875: check for existing email address before applying itMax Kremmel1-7/+10
2007-06-01remove a lot of antiquated code including breadcrumbs and outdated ↵Max Kremmel1-4/+2
wiki-specific caching options, wiki tags and wiki dumps. probably there's going to be more to go soon. none of this stuff has been working for years now.
2007-03-09delete entries in liberty_content_prefs if empty or equal to site settingsMax Kremmel1-4/+8
2007-03-08remove user style pref if equal to site defaultMax Kremmel1-3/+7
2007-03-01fix users_homepage setting and only store setting if there is something ↵Max Kremmel1-3/+10
useful to store
2007-02-27Add a second browser side time display control.Lester Caine1-2/+3
site_display_utc matches the current selection site_display_timezone stores a fixed time zone offset This needs further expansion, but site_display_utc='Local' should work correctly
2007-02-23massive code cleanup on users prefs page and allow users to set the site ↵Max Kremmel1-116/+134
theme in the preferences page if the settings allow it
2006-11-10fix password changing for accounts with null .login columnChristian Fowler1-4/+2