Open the Welcome.ascx file with the Notepad editor, where the color section is the code snippet you want to include.<%@ Register tagprefix= "SharePoint" namespace= "Microsoft.SharePoint.WebControls" assembly= "Microsoft.SharePoint , version=15.0.0.0, Culture=neutral, publickeytoken=71e9bce111e9429c "%> <%@ Register tagprefix=" Utilities " Namespace= "Microsoft.SharePoint.Utilities" assembly= "Microsoft.SharePoint, version=15.0.0.0, Culture=neutral, publickeytoken=71e9bce111e9429c "%> <%@ Import namespace=" Microsoft.SharePoint "%> <%@ Assembly Name=" Microsoft.Web.CommandUI, version=15.0.0.0, Culture=neutral, publickeytoken=71e9bce111e9429c "%>
<%@ Control language= "C #" inherits= "microsoft.sharepoint.webcontrols.welcome,microsoft.sharepoint,version= 15.0.0.0,culture=neutral,publickeytoken=71e9bce111e9429c "autoeventwireup=" false "compilationmode=" Always "%>
<sharepoint:personalactions accesskey= "<% $Resources:wss,personalactions_menu_ak15%>" ToolTip= "<%$ Resources:wss,open_menu%> "runat=" Server "id=" Explicitlogout "menualignment=" right "visible=" false ">
<CustomTemplate>
<sharepoint:featuremenutemplate runat= "Server"
Featurescope= "Site"
location= "Microsoft.SharePoint.StandardMenu"
Groupid= "Personalactions"
Id= "Id_personalactionmenu"
Useshortid= "true"
>
<sharepoint:menuitemtemplate runat= "Server" id= "Id_personalinformation"
text= "<% $Resources:wss,personalactions_personalinformation%>"
description= "<% $Resources:wss,personalactions_personalinformationdescription%>"
menugroupid= "100"
Sequence= "100"
Imageurl= "/_layouts/15/images/menuprofile.gif?rev=23"
Useshortid= "true"
/>
<sharepoint:menuitemtemplate runat= "Server" id= "Id_requestaccess"
text= "<% $Resources:wss,personalactions_requestaccess%>"
description= "<% $Resources:wss,personalactions_requestaccessdescription%>"
menugroupid= "100"
Useshortid= "true"
Sequence= "300"
/>
<sharepoint:menuitemtemplate runat= "Server" id= "Id_logout"
text= "<% $Resources:wss,personalactions_logout%>"
description= "<% $Resources:wss,personalactions_logoutdescription%>"
menugroupid= "100"
Sequence= "400"
Useshortid= "true"
/>
<sharepoint:menuitemtemplate runat= "Server" id= "Id_personalizepage"
text= "<% $Resources:wss,personalactions_personalizepage%>"
description= "<% $Resources:wss,personalactions_personalizepagedescription%>"
Imageurl= "/_layouts/15/images/menupersonalize.gif?rev=23"
Clientonclickscript= "Javascript:changelayoutmode (true);"
Permissionsstring= "Adddelprivatewebparts,updatepersonalwebparts"
Permissionmode= "any"
Menugroupid= "200"
Sequence= "100"
Useshortid= "true"
/>
<sharepoint:menuitemtemplate runat= "Server" id= "Id_switchview"
Menugroupid= "200"
Sequence= "200"
Useshortid= "true"
/>
<sharepoint:menuitemtemplate runat= "Server" id= "Msomenu_restoredefaults"
text= "<% $Resources:wss,personalactions_restorepagedefaults%>"
description= "<% $Resources:wss,personalactions_restorepagedefaultsdescription%>"
Clientonclicknavigateurl= "JAVASCRIPT:SP. Sod.execute (' Browserscript ', ' Msowebpartpage_restorepagedefault ') "
Menugroupid= "200"
Sequence= "300"
Useshortid= "true"
/>
<sharepoint:menuitemtemplate runat= "Server" id= "Id_loginasdifferentuser "
text= "<% $Resources:wss,personalactions_loginasdifferentuser%>"
description= "<% $Resources: Wss,personalactions_loginasdifferentuserdescrip Tion%> "
menugroupid= "100"
Sequence= "100"
Useshortid= "true"/>
</SharePoint:FeatureMenuTemplate>
</CustomTemplate>
</SharePoint:PersonalActions>
<sharepoint:applicationpagelink runat= "Server" id= "Explicitlogin"
Applicationpagefilename= "Authenticate.aspx" appendcurrentpageurl=true
text= "<% $Resources:wss,login_pagetitle%>" style= "Display:none" visible= "false"/>
When you are finished editing, you can log off with "other users logged in".