-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from jonsayer/master
Work up to June 29, 2019
- Loading branch information
Showing
13 changed files
with
863 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
public class C501_CTRL_ClassReg_SelectLang { | ||
public string language {get;set;} | ||
|
||
public List<SelectOption> getListOfLangs(){ | ||
List<SelectOption> langList = new List<SelectOption>(); | ||
langList.add(new SelectOption('en-us', 'English')); | ||
|
||
//langList.add(new SelectOption('nl_NL', 'عربى')); | ||
langList.add(new SelectOption('es_MX', 'Español')); | ||
//langList.add(new SelectOption('fr', 'Francais')); | ||
//langList.add(new SelectOption('zh_CN', '中文')); | ||
//langList.add(new SelectOption('fi', 'Tiếng Việt')); | ||
|
||
return langList; | ||
} | ||
|
||
public PageReference changeLang() { | ||
Map<String,String> currentPageParameters = ApexPages.currentPage().getParameters(); | ||
return C501_UTIL_ClassRegUtilities.generatePageLink('C501_ClassReg_Login','l',language); | ||
} | ||
|
||
public C501_CTRL_ClassReg_SelectLang(){ | ||
|
||
language = System.currentPagereference().getParameters().get('lang'); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>46.0</apiVersion> | ||
<status>Active</status> | ||
</ApexClass> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.