Jump to content

Birthday date in profils not formated 2.2RC3


Guest Aqua-Passion

Recommended Posts

hello thanks but i have modified my templates
Profile_view->Personal_portal_main

				<div id='pp-entry-born-wrap'>
					<if="$member['bday_day'] AND $member['bday_year'] AND $member['bday_month']">
						{$this->ipsclass->lang['born_key']} <span id='pp-entry-born-text'>{$member['bday_month']}/{$member['bday_day']}/{$member['bday_year']}</span>
					<else />
						<span id='pp-entry-born-text'>{$this->ipsclass->lang['m_bday_unknown']}</span>
					</if>
				</div>

changed to

				<div id='pp-entry-born-wrap'>
					<if="$member['bday_day'] AND $member['bday_year'] AND $member['bday_month']">
						{$this->ipsclass->lang['born_key']} <span id='pp-entry-born-text'>{$member['bday_day']}/{$member['bday_month']}/{$member['bday_year']}</span>
					<else />
						<span id='pp-entry-born-text'>{$this->ipsclass->lang['m_bday_unknown']}</span>
					</if>
				</div>

and

							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_bdate']}</legend>
								<select name='_b_month' id='pp_b_month'>{$member['_birthday_month']}</select>
								<select name='_b_day' id='pp_b_day'>{$member['_birthday_day']}</select>
								<select name='_b_year' id='pp_b_year'>{$member['_birthday_year']}</select>
								<input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'birthdate', {}, ''); return false;" />
							</fieldset>

changed to

							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_bdate']}</legend>
								<select name='_b_day' id='pp_b_day'>{$member['_birthday_day']}</select>
								<select name='_b_month' id='pp_b_month'>{$member['_birthday_month']}</select>								
								<select name='_b_year' id='pp_b_year'>{$member['_birthday_year']}</select>
								<input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'birthdate', {}, ''); return false;" />
							</fieldset>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...