Skip to content

Commit

Permalink
Item10214: add nofollow to edit links
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/PersonalInfoAddOn@10456 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Dec 31, 2010
1 parent ce7e47b commit bea8d5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ text="<style type='text/css' media='all'>
<form name="main" action="%SCRIPTURLPATH{"save"}%/%BASEWEB%/%BASETOPIC%" method="post">
<input type="hidden" name="editaction" value="form" />
%INCLUDE{"PersonalInfoLayoutModules" section="paragraphWithImageLeft" imgName="%FORMFIELD{"Picture" topic="%BASEWEB%.%BASETOPIC%" format="$value" default="" alttext=""}%" imgWeb="%BASEWEB%" imgTopic="%BASETOPIC%" imgWidth="120" imgTitle="" text="%INCLUDE{"PersonalInfo" section="personalInfoFields"}%
%IF{"not defined editUserData" then="<div class='personalInfoFormDataActions foswikiUnvisited foswikiSmall'>[[%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%?editUserData=on][Edit data]] <span class='foswikiSeparator'>|</span> <span class='foswikiUnvisited'>[[%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%?template=PersonalInfoPictureView][%MAKETEXT{Change picture}%]]</span> <span class='foswikiSeparator'>|</span> %IF{"$'FORMFIELD{\"WorkStatus\" topic=\"%BASETOPIC%\"}'!='Current'" then="<input type='image' src='%ICONURLPATH{userinactive}%' alt='Set active' /> Set active<input type='hidden' name='WorkStatus' value='Current' />" else="<input type='image' src='%ICONURLPATH{useractive}%' alt='Set inactive' /> Set inactive<input type='hidden' name='WorkStatus' value='Former' />"}% <span class='foswikiSeparator'>|</span> [[PersonalInfoFaceBook][Find other users]]</div>" }% %IF{"defined editUserData" then="<div class='personalInfoFormDataActions'><input type='submit' class='foswikiSubmit' name='save' id='save' value='%MAKETEXT{Save}%' /> <input type='submit' class='foswikiButtonCancel' name='cancel' id='cancel' value='%MAKETEXT{Cancel}%' /></div>" }%" }% </form></div><!--/pIparagraphFrame-->%ENDSECTION{"personalInfo"}%
%IF{"not defined editUserData" then="<div class='personalInfoFormDataActions foswikiUnvisited foswikiSmall'><a href='%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%?editUserData=on' rel='nofollow'>Edit data</a> <span class='foswikiSeparator'>|</span> <span class='foswikiUnvisited'><a href='%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%?template=PersonalInfoPictureView' rel='nofollow'>%MAKETEXT{Change picture}%</a></span> <span class='foswikiSeparator'>|</span> %IF{"$'FORMFIELD{\"WorkStatus\" topic=\"%BASETOPIC%\"}'!='Current'" then="<input type='image' src='%ICONURLPATH{userinactive}%' alt='Set active' /> Set active<input type='hidden' name='WorkStatus' value='Current' />" else="<input type='image' src='%ICONURLPATH{useractive}%' alt='Set inactive' /> Set inactive<input type='hidden' name='WorkStatus' value='Former' />"}% <span class='foswikiSeparator'>|</span> [[PersonalInfoFaceBook][Find other users]]</div>" }% %IF{"defined editUserData" then="<div class='personalInfoFormDataActions'><input type='submit' class='foswikiSubmit' name='save' id='save' value='%MAKETEXT{Save}%' /> <input type='submit' class='foswikiButtonCancel' name='cancel' id='cancel' value='%MAKETEXT{Cancel}%' /></div>" }%" }% </form></div><!--/pIparagraphFrame-->%ENDSECTION{"personalInfo"}%
</verbatim>

---++ activateDeactivate
Expand Down

0 comments on commit bea8d5d

Please sign in to comment.