This file contains hidden or 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
| /* tc kimlik numarasının geçerli olup olmadığını kontrol eder | |
| * 2015 Erhan BURHAN | |
| *--------------------------------------------------------------------*/ | |
| function tcno_dogrula(tcno) | |
| { | |
| // geleni her zaman String'e çevirelim! | |
| tcno = String(tcno); | |
| // tcno '0' karakteri ile başlayamaz! | |
| if (tcno.substring(0, 1) === '0') { |
This file contains hidden or 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
| /** | |
| * Metni url'de kullanılabilir hale çevirir. Boşluklar tireye çevrilir, | |
| * alfanumerik olmayan katakterler silinir. | |
| * | |
| * Transform text into a URL path slug(with Turkish support). | |
| * Spaces turned into dashes, remove non alnum | |
| * | |
| * @param string text | |
| */ | |
| slugify = function(text) { |