Skip to content

Commit

Permalink
Merge branch '4.2-dev' into confirm_update
Browse files Browse the repository at this point in the history
  • Loading branch information
richard67 committed Jun 16, 2022
2 parents 638f37a + 5489fff commit 37077a2
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class="extension-check upcomp hidden"
<?php if (!$this->noVersionCheck): ?>
<div id="preupdatecheckbox">
<div class="form-check d-flex justify-content-center mb-3">
<input type="checkbox" class="me-3" id="noncoreplugins" name="noncoreplugins" value="1" required />
<input type="checkbox" class="form-check-input me-3" id="noncoreplugins" name="noncoreplugins" value="1" required />
<label class="form-check-label" for="noncoreplugins">
<?php echo Text::_('COM_JOOMLAUPDATE_VIEW_DEFAULT_NON_CORE_PLUGIN_CONFIRMATION'); ?>
</label>
Expand Down
2 changes: 1 addition & 1 deletion administrator/language/en-GB/com_joomlaupdate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ COM_JOOMLAUPDATE_VIEW_DEFAULT_PACKAGE_REINSTALL="Reinstall package URL"
COM_JOOMLAUPDATE_VIEW_DEFAULT_PHP_VERSION_NOT_SUPPORTED="Your PHP version is not supported"
COM_JOOMLAUPDATE_VIEW_DEFAULT_PHP_VERSION_NOT_SUPPORTED_DESC="An update to Joomla %1$s was found, but your currently installed PHP version does not match <a href=\"https://downloads.joomla.org/technical-requirements\">the minimum requirements for Joomla %1$s</a>."
COM_JOOMLAUPDATE_VIEW_DEFAULT_POTENTIALLY_DANGEROUS_PLUGIN="Potential Upgrade Issue."
COM_JOOMLAUPDATE_VIEW_DEFAULT_POTENTIALLY_DANGEROUS_PLUGIN_CONFIRM_MESSAGE="Are you sure you want to ignore the warnings about potentially incompatible extensions and proceed with the update?"
COM_JOOMLAUPDATE_VIEW_DEFAULT_POTENTIALLY_DANGEROUS_PLUGIN_CONFIRM_MESSAGE="Are you sure you want to acknowledge the warnings about potentially incompatible extensions and proceed with the update?"
COM_JOOMLAUPDATE_VIEW_DEFAULT_POTENTIALLY_DANGEROUS_PLUGIN_DESC="This extension includes a plugin that could cause the update to fail.<br><br>To perform the Joomla update safely you should either update this extension to a version compatible with your target version of Joomla or disable the relevant plugin(s) and check again.<br><br>For more information about the relevant plugins please check the 'Live Update' tab."
COM_JOOMLAUPDATE_VIEW_DEFAULT_POTENTIALLY_DANGEROUS_PLUGIN_LIST="The following plugins could cause problems during the update"
COM_JOOMLAUPDATE_VIEW_DEFAULT_PREUPDATE_CHECK="Pre-Update Check for Joomla %s"
Expand Down
3 changes: 2 additions & 1 deletion administrator/language/en-GB/plg_user_profile.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL="Address 1"
PLG_USER_PROFILE_FIELD_ADDRESS2_LABEL="Address 2"
PLG_USER_PROFILE_FIELD_CITY_LABEL="City"
PLG_USER_PROFILE_FIELD_COUNTRY_LABEL="Country"
PLG_USER_PROFILE_FIELD_DOB_DESCRIPTION="Year-Month-Day, eg 2019-01-27." ; Adapt to the format you entered in the 'DATE_FORMAT_CALENDAR_DATE'
PLG_USER_PROFILE_FIELD_DOB_HINT="YYYY-MM-DD" ; Adapt to the format you entered in the 'DATE_FORMAT_CALENDAR_DATE'
PLG_USER_PROFILE_FIELD_DOB_LABEL="Date of Birth"
PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_LABEL="Favourite Book"
PLG_USER_PROFILE_FIELD_NAME_PROFILE_REQUIRE_USER="User profile fields for profile edit form"
Expand All @@ -27,5 +29,4 @@ PLG_USER_PROFILE_FILL_FIELD_DESC_SITE="If required, please fill this field."
PLG_USER_PROFILE_OPTION_AGREE="Agree"
PLG_USER_PROFILE_OPTION_DO_NOT_AGREE="I do not agree"
PLG_USER_PROFILE_SLIDER_LABEL="User Profile"
PLG_USER_PROFILE_SPACER_DOB="The date of birth entered should use the format Year-Month-Day, eg 2019-01-27." ; Adapt to the format you entered in the 'DATE_FORMAT_CALENDAR_DATE'
PLG_USER_PROFILE_XML_DESCRIPTION="User Profile Plugin"
24 changes: 0 additions & 24 deletions layouts/plugins/user/profile/fields/dob.php

This file was deleted.

5 changes: 3 additions & 2 deletions plugins/user/profile/forms/profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@

<field
name="dob"
type="dob"
type="calendar"
label="PLG_USER_PROFILE_FIELD_DOB_LABEL"
info="PLG_USER_PROFILE_SPACER_DOB"
description="PLG_USER_PROFILE_FIELD_DOB_DESCRIPTION"
hint="PLG_USER_PROFILE_FIELD_DOB_HINT"
translateformat="true"
showtime="false"
filter="server_utc"
Expand Down
67 changes: 0 additions & 67 deletions plugins/user/profile/src/Field/DobField.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

namespace Joomla\Tests\Unit\Libraries\Cms\User;
namespace Joomla\Tests\Unit\Libraries\Cms\Cache;

use Joomla\CMS\Cache\CacheControllerFactory;
use Joomla\CMS\Cache\CacheControllerFactoryAwareTrait;
use Joomla\CMS\User\CurrentUserTrait;
use Joomla\CMS\User\User;
use Joomla\Tests\Unit\UnitTestCase;

/**
* Test class for \Joomla\CMS\MVC\Model\BaseDatabaseModel
* Test class for \Joomla\CMS\Cache\CacheControllerFactoryAwareTrait
*
* @package Joomla.UnitTest
* @subpackage MVC
* @subpackage Cache
*
* @testdoc The CacheControllerFactoryAwareTrait
* @testdoc The CacheControllerFactoryAwareTrait
*
* @since __DEPLOY_VERSION__
*/
Expand Down

0 comments on commit 37077a2

Please sign in to comment.