Edited view/sv/profile_advanced.php via GitHub

This commit is contained in:
erik 2011-03-22 11:53:34 -07:00
parent c7b671aa2d
commit 2e6f718f0d

View file

@ -12,7 +12,7 @@ EOT;
if($a->profile['name']) { if($a->profile['name']) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-name-wrapper" > <div id="advanced-profile-name-wrapper" >
<div id="advanced-profile-name-text">Full Name:</div> <div id="advanced-profile-name-text">Fullst&auml;ndigt namn:</div>
<div id="advanced-profile-name">{$a->profile['name']}</div> <div id="advanced-profile-name">{$a->profile['name']}</div>
</div> </div>
<div id="advanced-profile-name-end"></div> <div id="advanced-profile-name-end"></div>
@ -22,7 +22,7 @@ EOT;
if($a->profile['gender']) { if($a->profile['gender']) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-gender-wrapper" > <div id="advanced-profile-gender-wrapper" >
<div id="advanced-profile-gender-text">Gender:</div> <div id="advanced-profile-gender-text">K&ouml;n:</div>
<div id="advanced-profile-gender">{$a->profile['gender']}</div> <div id="advanced-profile-gender">{$a->profile['gender']}</div>
</div> </div>
<div id="advanced-profile-gender-end"></div> <div id="advanced-profile-gender-end"></div>
@ -32,7 +32,7 @@ EOT;
if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) { if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-dob-wrapper" > <div id="advanced-profile-dob-wrapper" >
<div id="advanced-profile-dob-text">Birthday:</div> <div id="advanced-profile-dob-text">F&ouml;delsedag:</div>
EOT; EOT;
// If no year, add an arbitrary one so just we can parse the month and day. // If no year, add an arbitrary one so just we can parse the month and day.
@ -50,7 +50,7 @@ $o .= '<div id="advanced-profile-dob-end"></div>';
if($age = age($a->profile['dob'],$a->profile['timezone'],'')) { if($age = age($a->profile['dob'],$a->profile['timezone'],'')) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-age-wrapper" > <div id="advanced-profile-age-wrapper" >
<div id="advanced-profile-age-text">Age:</div> <div id="advanced-profile-age-text">&Aring;lder:</div>
<div id="advanced-profile-age">$age</div> <div id="advanced-profile-age">$age</div>
</div> </div>
<div id="advanced-profile-age-end"></div> <div id="advanced-profile-age-end"></div>
@ -60,7 +60,7 @@ EOT;
if($a->profile['marital']) { if($a->profile['marital']) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-marital-wrapper" > <div id="advanced-profile-marital-wrapper" >
<div id="advanced-profile-marital-text"><span class="heart">&hearts;</span> Status:</div> <div id="advanced-profile-marital-text"><span class="heart">&hearts;</span> Civilstatus:</div>
<div id="advanced-profile-marital">{$a->profile['marital']}</div> <div id="advanced-profile-marital">{$a->profile['marital']}</div>
EOT; EOT;
@ -75,7 +75,7 @@ EOT;
if($a->profile['sexual']) { if($a->profile['sexual']) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-sexual-wrapper" > <div id="advanced-profile-sexual-wrapper" >
<div id="advanced-profile-sexual-text">Sexual Preference:</div> <div id="advanced-profile-sexual-text">Sexuell l&auml;ggning:</div>
<div id="advanced-profile-sexual">{$a->profile['sexual']}</div> <div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
</div> </div>
<div id="advanced-profile-sexual-end"></div> <div id="advanced-profile-sexual-end"></div>
@ -86,7 +86,7 @@ if($a->profile['homepage']) {
$homepage = linkify($a->profile['homepage']); $homepage = linkify($a->profile['homepage']);
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-homepage-wrapper" > <div id="advanced-profile-homepage-wrapper" >
<div id="advanced-profile-homepage-text">Homepage:</div> <div id="advanced-profile-homepage-text">Hemsida URL:</div>
<div id="advanced-profile-homepage">$homepage</div> <div id="advanced-profile-homepage">$homepage</div>
</div> </div>
<div id="advanced-profile-homepage-end"></div> <div id="advanced-profile-homepage-end"></div>
@ -96,7 +96,7 @@ EOT;
if($a->profile['politic']) { if($a->profile['politic']) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-politic-wrapper" > <div id="advanced-profile-politic-wrapper" >
<div id="advanced-profile-politic-text">Political Views:</div> <div id="advanced-profile-politic-text">Politisk &aring;sk&aring;dning:</div>
<div id="advanced-profile-politic">{$a->profile['politic']}</div> <div id="advanced-profile-politic">{$a->profile['politic']}</div>
</div> </div>
<div id="advanced-profile-politic-end"></div> <div id="advanced-profile-politic-end"></div>
@ -115,7 +115,7 @@ EOT;
if($txt = prepare_text($a->profile['about'])) { if($txt = prepare_text($a->profile['about'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-about-wrapper" > <div id="advanced-profile-about-wrapper" >
<div id="advanced-profile-about-text">About:</div> <div id="advanced-profile-about-text">Om:</div>
<br /> <br />
<div id="advanced-profile-about">$txt</div> <div id="advanced-profile-about">$txt</div>
</div> </div>
@ -126,7 +126,7 @@ EOT;
if($txt = prepare_text($a->profile['interest'])) { if($txt = prepare_text($a->profile['interest'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-interest-wrapper" > <div id="advanced-profile-interest-wrapper" >
<div id="advanced-profile-interest-text">Hobbies/Interests:</div> <div id="advanced-profile-interest-text">Hobbys/Intressen:</div>
<br /> <br />
<div id="advanced-profile-interest">$txt</div> <div id="advanced-profile-interest">$txt</div>
</div> </div>
@ -137,7 +137,7 @@ EOT;
if($txt = prepare_text($a->profile['contact'])) { if($txt = prepare_text($a->profile['contact'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-contact-wrapper" > <div id="advanced-profile-contact-wrapper" >
<div id="advanced-profile-contact-text">Contact information and Social Networks:</div> <div id="advanced-profile-contact-text">Kontaktuppgifter och sociala n&auml;tverk:</div>
<br /> <br />
<div id="advanced-profile-contact">$txt</div> <div id="advanced-profile-contact">$txt</div>
</div> </div>
@ -148,7 +148,7 @@ EOT;
if($txt = prepare_text($a->profile['music'])) { if($txt = prepare_text($a->profile['music'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-music-wrapper" > <div id="advanced-profile-music-wrapper" >
<div id="advanced-profile-music-text">Musical interests:</div> <div id="advanced-profile-music-text">Musik:</div>
<br /> <br />
<div id="advanced-profile-music">$txt</div> <div id="advanced-profile-music">$txt</div>
</div> </div>
@ -159,7 +159,7 @@ EOT;
if($txt = prepare_text($a->profile['book'])) { if($txt = prepare_text($a->profile['book'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-book-wrapper" > <div id="advanced-profile-book-wrapper" >
<div id="advanced-profile-book-text">Books, literature:</div> <div id="advanced-profile-book-text">B&ouml;cker, litteratur:</div>
<br /> <br />
<div id="advanced-profile-book">$txt</div> <div id="advanced-profile-book">$txt</div>
</div> </div>
@ -170,7 +170,7 @@ EOT;
if($txt = prepare_text($a->profile['tv'])) { if($txt = prepare_text($a->profile['tv'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-tv-wrapper" > <div id="advanced-profile-tv-wrapper" >
<div id="advanced-profile-tv-text">Television:</div> <div id="advanced-profile-tv-text">TV:</div>
<br /> <br />
<div id="advanced-profile-tv">$txt</div> <div id="advanced-profile-tv">$txt</div>
</div> </div>
@ -181,7 +181,7 @@ EOT;
if($txt = prepare_text($a->profile['film'])) { if($txt = prepare_text($a->profile['film'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-film-wrapper" > <div id="advanced-profile-film-wrapper" >
<div id="advanced-profile-film-text">Film/dance/culture/entertainment:</div> <div id="advanced-profile-film-text">Film/dans/kultur/underh&aring;llning:</div>
<br /> <br />
<div id="advanced-profile-film">$txt</div> <div id="advanced-profile-film">$txt</div>
</div> </div>
@ -192,7 +192,7 @@ EOT;
if($txt = prepare_text($a->profile['romance'])) { if($txt = prepare_text($a->profile['romance'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-romance-wrapper" > <div id="advanced-profile-romance-wrapper" >
<div id="advanced-profile-romance-text">Love/romance:</div> <div id="advanced-profile-romance-text">K&auml;rlek/romantik:</div>
<br /> <br />
<div id="advanced-profile-romance">$txt</div> <div id="advanced-profile-romance">$txt</div>
</div> </div>
@ -203,7 +203,7 @@ EOT;
if($txt = prepare_text($a->profile['work'])) { if($txt = prepare_text($a->profile['work'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-work-wrapper" > <div id="advanced-profile-work-wrapper" >
<div id="advanced-profile-work-text">Work/employment:</div> <div id="advanced-profile-work-text">Arbete:</div>
<br /> <br />
<div id="advanced-profile-work">$txt</div> <div id="advanced-profile-work">$txt</div>
</div> </div>
@ -214,12 +214,10 @@ EOT;
if($txt = prepare_text($a->profile['education'])) { if($txt = prepare_text($a->profile['education'])) {
$o .= <<< EOT $o .= <<< EOT
<div id="advanced-profile-education-wrapper" > <div id="advanced-profile-education-wrapper" >
<div id="advanced-profile-education-text">School/education:</div> <div id="advanced-profile-education-text">Skola/utbildning:</div>
<br /> <br />
<div id="advanced-profile-education">$txt</div> <div id="advanced-profile-education">$txt</div>
</div> </div>
<div id="advanced-profile-education-end"></div> <div id="advanced-profile-education-end"></div>
EOT; EOT;
} }