Changeset 1321 in ExiteCMS
- Timestamp:
- 02/28/08 00:25:43 (4 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
-
administration/settings_registration.php (modified) (1 diff)
-
administration/tools/language_pack_English.php (modified) (4 diffs)
-
contact.php (modified) (3 diffs)
-
files/locales/en.main.global.php (modified) (1 diff)
-
includes/comments_include.php (modified) (1 diff)
-
includes/core_functions.php (modified) (1 diff)
-
includes/dns_functions.php (modified) (1 diff)
-
includes/secureimage-1.0.3/securimage.php (modified) (11 diffs)
-
includes/secureimage-1.0.3/securimage_play.php (modified) (1 diff)
-
includes/secureimage-1.0.3/securimage_show.php (modified) (1 diff)
-
includes/templates/admin.comments.tpl (modified) (3 diffs)
-
includes/templates/include.comments.tpl (modified) (3 diffs)
-
includes/templates/main.contact.message.tpl (modified) (1 diff)
-
includes/templates/main.contact.tpl (modified) (1 diff)
-
includes/templates/main.register.tpl (modified) (17 diffs)
-
register.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/settings_registration.php
r1222 r1321 33 33 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".(isNum($_POST['admin_activation']) ? $_POST['admin_activation'] : "0")."' WHERE cfg_name = 'admin_activation'"); 34 34 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".(isNum($_POST['display_validation']) ? $_POST['display_validation'] : "1")."' WHERE cfg_name = 'display_validation'"); 35 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '". $_POST['validation_method']."' WHERE cfg_name = 'validation_method'");35 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['validation_method'])."' WHERE cfg_name = 'validation_method'"); 36 36 } 37 37 -
trunk/administration/tools/language_pack_English.php
r1295 r1321 2396 2396 $localestrings['c112'] = "Validation Code:"; 2397 2397 $localestrings['c113'] = "Enter Validation Code:"; 2398 $localestrings['c114'] = "New Code"; 2398 2399 load_localestrings($localestrings, LP_LOCALE, "main.comments", $step); 2399 2400 … … 2411 2412 $localestrings['412'] = "Validation Code:"; 2412 2413 $localestrings['413'] = "Enter Validation Code:"; 2414 $localestrings['414'] = "Validation code entered was not correct"; 2415 $localestrings['415'] = "New Code"; 2413 2416 $localestrings['420'] = "You must specify a Name"; 2414 $localestrings['421'] = "You must specify a nEmail Address";2417 $localestrings['421'] = "You must specify a valid Email Address"; 2415 2418 $localestrings['422'] = "You must specify a Subject"; 2416 2419 $localestrings['423'] = "You must specify a Message"; … … 2868 2871 $localestrings['459'] = "Please Try Again"; 2869 2872 $localestrings['500'] = "Please enter your details below. "; 2870 $localestrings['501'] = "A verification email will be sent to your specified email address. ";2873 $localestrings['501'] = "A verification email will be sent to this email address to confirm your registration. "; 2871 2874 $localestrings['502'] = "Fields marked <span style='color:#ff0000;'>*</span> must be completed.\nYour user name and password is case-sensitive. Your full name is used in email communication only."; 2872 2875 $localestrings['503'] = " You can enter additional information by going to Edit Profile once you are logged in."; … … 2875 2878 $localestrings['506'] = "Register"; 2876 2879 $localestrings['507'] = "The registration system is currently disabled."; 2880 $localestrings['508'] = "New code"; 2877 2881 $localestrings['550'] = "Please specify a user name."; 2878 2882 $localestrings['551'] = "Please specify a password."; -
trunk/contact.php
r1315 r1321 36 36 locale_load("main.contact"); 37 37 38 // captcha check 39 $cic = ""; 40 $securimage = new Securimage(); 41 if ($securimage->check($_POST['captcha_code']) == false) { 42 $cic = "&cic=1"; 43 } 44 $variables['cic'] = $cic; 45 46 // get variables from the post, or initialize them 38 // captcha check ok and message posted? 47 39 if (isset($_POST['sendmessage'])) { 48 40 $mailname = substr(stripinput(trim($_POST['mailname'])),0,50); … … 50 42 $subject = substr(str_replace(array("\r","\n","@"), "", descript(stripslash(trim($_POST['subject'])))),0,50); 51 43 $message = descript(stripslash(trim($_POST['message']))); 52 } else { 53 $mailname = ""; 54 $email = ""; 55 $subject = ""; 56 $message = ""; 57 } 58 59 // captcha check ok and message posted? 60 if ($cic == "" && isset($_POST['sendmessage'])) { 44 // error initialisation 61 45 $errors = array(); 46 // captcha check 47 $securimage = new Securimage(); 48 if ($securimage->check($_POST['captcha_code']) == false) { 49 $errors[] = $locale['414']; 50 } 62 51 if ($mailname == "") { 63 52 $errors[] = $locale['420']; … … 84 73 $template_variables['main.contact.message'] = $variables; 85 74 } else { 86 // form variables 87 $variables['mailname'] = $mailname; 88 $variables['email'] = $email; 89 $variables['subject'] = $subject; 90 $variables['message'] = $message; 75 // generate captcha text if needed 76 if ($settings['display_validation'] == "1" && $settings['validation_method'] == "text") { 77 require_once PATH_INCLUDES."secureimage-1.0.3/securimage.php"; 78 $securimage = new Securimage(); 79 $securimage->createCode(); 80 $variables['validation_code'] = $_SESSION['securimage_code_value']; 81 } 91 82 // define the body panel variables 92 83 $variables['target'] = $target; -
trunk/files/locales/en.main.global.php
r1295 r1321 3 3 // locale : English 4 4 // locale name : main.global 5 // generated on : Wed Feb 2 0 2008, 23:43:29CET5 // generated on : Wed Feb 27 2008, 14:54:56 CET 6 6 // translators : ExiteCMS team,WanWizard 7 7 // ---------------------------------------------------------- -
trunk/includes/comments_include.php
r1315 r1321 91 91 $variables['post_link'] = $clink; 92 92 $variables['cic'] = (isset($_GET['cic']) && !empty($_GET['cic'])) ? $_GET['cic'] : ""; 93 if ($settings['display_validation'] == "1" && $settings['validation_method'] == "text") { 94 require_once PATH_INCLUDES."secureimage-1.0.3/securimage.php"; 95 $securimage = new Securimage(); 96 $securimage->createCode(); 97 $variables['validation_code'] = $_SESSION['securimage_code_value']; 98 } 93 99 94 100 // define the body panel variables -
trunk/includes/core_functions.php
r1313 r1321 923 923 } 924 924 } 925 926 // get the OS type 927 function CMS_getOS () { 928 if (substr(PHP_OS, 0, 3) == 'WIN') { 929 return "Windows"; 930 } elseif ( stristr(PHP_OS, "linux")) { 931 return "Linux"; 932 } elseif ( stristr(PHP_OS, "SunOS")) { 933 return "SunOS"; 934 } elseif ( stristr(PHP_OS, "Solaris")) { 935 return "Solaris"; 936 } else { 937 return "Other"; 938 } 939 } 925 940 ?> -
trunk/includes/dns_functions.php
r1024 r1321 11 11 +----------------------------------------------------*/ 12 12 if (eregi("dns_functions.php", $_SERVER['PHP_SELF']) || !defined('INIT_CMS_OK')) die(); 13 14 function CMS_getOS () {15 if (substr(PHP_OS, 0, 3) == 'WIN') {16 return "Windows";17 } elseif ( stristr(PHP_OS, "linux")) {18 return "Linux";19 } elseif ( stristr(PHP_OS, "SunOS")) {20 return "SunOS";21 } elseif ( stristr(PHP_OS, "Solaris")) {22 return "Solaris";23 } else {24 return "Other";25 }26 }27 13 28 14 // internal replacement for checkdnsrr, which works cross-platform -
trunk/includes/secureimage-1.0.3/securimage.php
r1313 r1321 84 84 * @var int 85 85 */ 86 var $image_width = 175;86 var $image_width = 200; 87 87 88 88 /** … … 91 91 * @var int 92 92 */ 93 var $image_height = 4 5;93 var $image_height = 40; 94 94 95 95 /** … … 106 106 * @var int 107 107 */ 108 var $code_length = 4;108 var $code_length = 6; 109 109 110 110 /** … … 123 123 * @var string The path to the word list to use for creating CAPTCHA codes 124 124 */ 125 var $wordlist_file = ' words/words.txt';125 var $wordlist_file = ''; 126 126 127 127 /** … … 130 130 * @var bool 131 131 */ 132 var $use_wordlist = true;132 var $use_wordlist = false; 133 133 134 134 /** … … 173 173 * @var int 174 174 */ 175 var $font_size = 2 4;175 var $font_size = 22; 176 176 177 177 /** … … 182 182 * @var int 183 183 */ 184 var $text_angle_minimum = - 20;184 var $text_angle_minimum = -45; 185 185 186 186 /** … … 191 191 * @var int 192 192 */ 193 var $text_angle_maximum = 20;193 var $text_angle_maximum = 45; 194 194 195 195 /** … … 199 199 * @var int 200 200 */ 201 var $text_x_start = 8;201 var $text_x_start = 12; 202 202 203 203 /** … … 321 321 * @var boolean 322 322 */ 323 var $draw_angled_lines = false;323 var $draw_angled_lines = true; 324 324 325 325 /** … … 417 417 { 418 418 if ( session_id() == '' ) { // no session has been started yet, which is needed for validation 419 session_start();419 die('no session available!'); 420 420 } 421 421 } -
trunk/includes/secureimage-1.0.3/securimage_play.php
r1313 r1321 1 1 <?php 2 3 include 'securimage.php';2 require_once '../core_functions.php'; 3 require_once include 'securimage.php'; 4 4 5 5 $img = new Securimage(); -
trunk/includes/secureimage-1.0.3/securimage_show.php
r1313 r1321 1 1 <?php 2 3 include 'securimage.php';2 require_once '../core_functions.php'; 3 require_once 'securimage.php'; 4 4 5 5 $img = new securimage(); -
trunk/includes/templates/admin.comments.tpl
r893 r1321 59 59 {$locale.041}{$comments[id].comment_datestamp|date_format:"longdate"} 60 60 </span> 61 < td>61 </td> 62 62 </tr> 63 63 <tr> 64 64 <td class='tbl1'> 65 65 {$comments[id].comment_message} 66 < td>66 </td> 67 67 </tr> 68 68 <tr> 69 69 <td align='right' class='tbl2'> 70 <span class='small'> 71 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=edit&comment_id={$comments[id].comment_id}&ctype={$ctype}&cid={$cid}'>{$locale.411}</a> | 72 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=delete&comment_id={$comments[id].comment_id}&ctype={$ctype}&cid={$cid}' onClick='return DeleteItem()'>{$locale.412}</a> | 73 <a href='{$smarty.const.ADMIN}blacklist.php{$aidlink}&ip={$comments[id].comment_ip}&reason=470'>{$locale.413}</a> 74 </span> 70 {buttonlink name=$locale.411 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&step=edit&comment_id="|cat:$comments[id].comment_id|cat:"&ctype="|cat:$ctype|cat:"&cid="|cat:$cid} 71 {buttonlink name=$locale.412 link="if (DeleteItem()) window.location=\""|cat:$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&step=delete&comment_id="|cat:$comments[id].comment_id|cat:"&ctype="|cat:$ctype|cat:"&cid="|cat:$cid|cat:"\";" script="yes"} 72 {buttonlink name=$locale.413 link=$smarty.const.ADMIN|cat:"blacklist.php"|cat:$aidlink|cat:"&ip="|cat:$comments[id].comment_ip|cat:"&reason=470"} 75 73 </td> 76 74 </tr> … … 78 76 <table align='center' cellpadding='0' cellspacing='0'> 79 77 <tr> 80 <td height='5px'>78 <td style='height:5px;'> 81 79 </td> 82 80 </tr> … … 90 88 {/section} 91 89 {include file="_closetable.tpl"} 92 <script >90 <script type="text/javascript"> 93 91 function DeleteItem() {ldelim} 94 92 return confirm("{$locale.414}"); -
trunk/includes/templates/include.comments.tpl
r1313 r1321 41 41 <tr> 42 42 <td align='right' class='tbl2'> 43 <a href='{$smarty.const.ADMIN}comments.php{$aidlink}&ctype={$comment_type}&cid={$comment_id}'>{$locale.c106}</a>43 {buttonlink name=$locale.c106 link=$smarty.const.ADMIN|cat:"comments.php"|cat:$aidlink|cat:"&ctype="|cat:$comment_type|cat:"&cid="|cat:$comment_id} 44 44 </td> 45 45 </tr> … … 107 107 </td> 108 108 <td align='left' width='50%' class='tbl1'> 109 <img id="captcha" src="{$smarty.const.INCLUDES}securimage-1.0.3/securimage_show.php" alt="CAPTCHA Image" /> 109 {if $settings.validation_method == "text"} 110 <span style='font-size:125%;font-weight:bold;'>{$validation_code|upper}</span> 111 {else} 112 <img id="captcha" src="{$smarty.const.INCLUDES}secureimage-1.0.3/securimage_show.php" alt="CAPTCHA Image" /> 113 {/if} 110 114 </td> 111 115 </tr> … … 116 120 <td align='left' width='50%' class='tbl1'> 117 121 <input type='text' name='captcha_code' class='textbox' style='vertical-align:middle;width:100px' /> 122 {if $settings.validation_method == "image"} 123 124 {buttonlink name=$locale.c114 link="document.getElementById(\"captcha\").src=\""|cat:$smarty.const.INCLUDES|cat:"secureimage-1.0.3/securimage_show.php?\"+Math.random(); return false;" script="yes"} 125 {/if} 118 126 </td> 119 127 </tr> -
trunk/includes/templates/main.contact.message.tpl
r1185 r1321 30 30 {$locale.442} 31 31 <br /><br /> 32 <span class='small'>{$locale.423}</span>33 <br />34 32 {foreach from=$errors item=errmsg} 35 33 {$errmsg}<br /> 36 34 {/foreach} 35 <br /> 37 36 {$locale.443} 38 37 <br /><br /> -
trunk/includes/templates/main.contact.tpl
r1313 r1321 60 60 {$locale.411} 61 61 <br /><br /> 62 {$locale.412} <img id="captcha" src="{$smarty.const.INCLUDES}securimage-1.0.3/securimage_show.php" alt="CAPTCHA Image" /> 62 {$locale.412} 63 {if $settings.validation_method == "text"} 64 <span style='font-size:125%;font-weight:bold;'>{$validation_code|upper}</span> 65 {else} 66 <img id="captcha" src="{$smarty.const.INCLUDES}secureimage-1.0.3/securimage_show.php" alt="CAPTCHA Image" style='vertical-align:middle;'/> 67 {/if} 68 <br /><br /> 63 69 {$locale.413} <input type='text' name='captcha_code' class='textbox' style='vertical-align:top;width:100px' /> 70 {if $settings.validation_method == "image"} 71 72 {buttonlink name=$locale.415 link="document.getElementById(\"captcha\").src=\""|cat:$smarty.const.INCLUDES|cat:"secureimage-1.0.3/securimage_show.php?\"+Math.random(); return false;" script="yes"} 73 {/if} 64 74 <br /><br /> 65 75 <input type='submit' name='sendmessage' value='{$locale.406}' class='button' /> -
trunk/includes/templates/main.register.tpl
r1315 r1321 17 17 {include file="_opentable.tpl" name=$_name title=$locale.400 state=$_state style=$_style} 18 18 <center> 19 {$locale.500} 20 {if $settings.email_verification == "1"}{$locale.501}{/if} 21 {$locale.502} 22 {if $settings.email_verification == "1"}{$locale.503}{/if} 19 {$locale.500}<br /> 20 {$locale.502}<br /> 23 21 </center> 24 22 <br /> 25 < table align='center' cellpadding='0' cellspacing='0'>26 < form name='inputform' method='post' action='{$smarty.const.FUSION_SELF}' onSubmit='return ValidateForm(this)'>23 <form name='inputform' method='post' action='{$smarty.const.FUSION_SELF}' onsubmit='return ValidateForm(this)'> 24 <table align='center' cellpadding='0' cellspacing='0'> 27 25 <tr> 28 26 <td class='tbl'> … … 31 29 </td> 32 30 <td class='tbl'> 33 <input type='text' name='username' maxlength='30' class='textbox' style='width:200px;' >31 <input type='text' name='username' maxlength='30' class='textbox' style='width:200px;' /> 34 32 </td> 35 33 </tr> … … 40 38 </td> 41 39 <td class='tbl'> 42 <input type='text' name='fullname' maxlength='50' class='textbox' style='width:200px;' >40 <input type='text' name='fullname' maxlength='50' class='textbox' style='width:200px;' /> 43 41 </td> 44 42 </tr> … … 49 47 </td> 50 48 <td class='tbl'> 51 <input type='password' name='password1' maxlength='20' class='textbox' style='width: 200px;'>49 <input type='password' name='password1' maxlength='20' class='textbox' style='width:150px;' /> 52 50 </td> 53 51 </tr> … … 58 56 </td> 59 57 <td class='tbl'> 60 <input type='password' name='password2' maxlength='20' class='textbox' style='width: 200px;'>58 <input type='password' name='password2' maxlength='20' class='textbox' style='width:150px;' /> 61 59 </td> 62 60 </tr> … … 67 65 </td> 68 66 <td class='tbl'> 69 <input type='text' name='email' maxlength='100' class='textbox' style='width:200px;'> 70 </td> 71 </tr> 67 <input type='text' name='email' maxlength='100' class='textbox' style='width:250px;' /> 68 </td> 69 </tr> 70 {if $settings.email_verification == "1"} 71 <tr> 72 <td class='tbl' colspan='2'> 73 {$locale.501} 74 </td> 75 </tr> 76 {/if} 72 77 <tr> 73 78 <td class='tbl'> … … 75 80 </td> 76 81 <td class='tbl'> 77 <input type='radio' name='user_hide_email' value='1'>{$locale.u007} 78 <input type='radio' name='user_hide_email' value='0' checked>{$locale.u008} 82 <select name='user_hide_email' class='textbox'> 83 <option value='1'>{$locale.u007}</option> 84 <option value='0' checked="checked">{$locale.u008}</option> 85 </select> 79 86 </td> 80 87 </tr> … … 103 110 </td> 104 111 <td class='tbl'> 105 <img id="captcha" src="{$smarty.const.INCLUDES}secureimage-1.0.3/securimage_show.php" alt="CAPTCHA Image" /> 112 {if $settings.validation_method == "text"} 113 <span style='font-size:125%;font-weight:bold;'>{$validation_code|upper}</span> 114 {else} 115 <img id="captcha" src="{$smarty.const.INCLUDES}secureimage-1.0.3/securimage_show.php" alt="CAPTCHA Image" /> 116 {/if} 106 117 </td> 107 118 </tr> … … 111 122 </td> 112 123 <td class='tbl'> 113 <input type='text' name='captcha_code' class='textbox' style='width:100px'> 124 <input type='text' name='captcha_code' class='textbox' style='width:100px' /> 125 {if $settings.validation_method == "image"} 126 127 {buttonlink name=$locale.508 link="document.getElementById(\"captcha\").src=\""|cat:$smarty.const.INCLUDES|cat:"secureimage-1.0.3/securimage_show.php?\"+Math.random(); return false;" script="yes"} 128 {/if} 114 129 </td> 115 130 </tr> … … 118 133 <tr> 119 134 <td class='tbl'> 120 {$locale.u009}</td> 121 <td class='tbl'> 122 <input type='text' name='user_location' maxlength='50' class='textbox' style='width:200px;'> 135 {$locale.u009} 136 </td> 137 <td class='tbl'> 138 <input type='text' name='user_location' maxlength='50' class='textbox' style='width:200px;' /> 123 139 </td> 124 140 </tr> … … 136 152 </td> 137 153 <td class='tbl'> 138 <input type='text' name='user_aim' maxlength='16' class='textbox' style='width:200px;' >154 <input type='text' name='user_aim' maxlength='16' class='textbox' style='width:200px;' /> 139 155 </td> 140 156 </tr> … … 144 160 </td> 145 161 <td class='tbl'> 146 <input type='text' name='user_icq' maxlength='15' class='textbox' style='width:200px;' >162 <input type='text' name='user_icq' maxlength='15' class='textbox' style='width:200px;' /> 147 163 </td> 148 164 </tr> … … 152 168 </td> 153 169 <td class='tbl'> 154 <input type='text' name='user_msn' maxlength='100' class='textbox' style='width:200px;' >170 <input type='text' name='user_msn' maxlength='100' class='textbox' style='width:200px;' /> 155 171 </td> 156 172 </tr> … … 160 176 </td> 161 177 <td class='tbl'> 162 <input type='text' name='user_yahoo' maxlength='100' class='textbox' style='width:200px;' >178 <input type='text' name='user_yahoo' maxlength='100' class='textbox' style='width:200px;' /> 163 179 </td> 164 180 </tr> … … 168 184 </td> 169 185 <td class='tbl'> 170 <input type='text' name='user_web' maxlength='100' class='textbox' style='width:200px;' >186 <input type='text' name='user_web' maxlength='100' class='textbox' style='width:200px;' /> 171 187 </td> 172 188 </tr> … … 188 204 </td> 189 205 <td class='tbl'> 190 <textarea name='user_sig' rows='5' class='textbox' style='width:295px'>{$userdata.user_sig}</textarea><br >191 <input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick="addText('user_sig', '[b]', '[/b]');" >192 <input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick="addText('user_sig', '[i]', '[/i]');" >193 <input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick="addText('user_sig', '[u]', '[/u]');" >194 <input type='button' value='url' class='button' style='width:30px;' onClick="addText('user_sig', '[url]', '[/url]');" >195 <input type='button' value='mail' class='button' style='width:35px;' onClick="addText('user_sig', '[mail]', '[/mail]');" >196 <input type='button' value='img' class='button' style='width:30px;' onClick="addText('user_sig', '[img]', '[/img]');" >197 <input type='button' value='center' class='button' style='width:45px;' onClick="addText('user_sig', '[center]', '[/center]');" >198 <input type='button' value='small' class='button' style='width:40px;' onClick="addText('user_sig', '[small]', '[/small]');" >206 <textarea name='user_sig' rows='5' class='textbox' style='width:295px'>{$userdata.user_sig}</textarea><br /> 207 <input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick="addText('user_sig', '[b]', '[/b]');" /> 208 <input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick="addText('user_sig', '[i]', '[/i]');" /> 209 <input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick="addText('user_sig', '[u]', '[/u]');" /> 210 <input type='button' value='url' class='button' style='width:30px;' onClick="addText('user_sig', '[url]', '[/url]');" /> 211 <input type='button' value='mail' class='button' style='width:35px;' onClick="addText('user_sig', '[mail]', '[/mail]');" /> 212 <input type='button' value='img' class='button' style='width:30px;' onClick="addText('user_sig', '[img]', '[/img]');" /> 213 <input type='button' value='center' class='button' style='width:45px;' onClick="addText('user_sig', '[center]', '[/center]');" /> 214 <input type='button' value='small' class='button' style='width:40px;' onClick="addText('user_sig', '[small]', '[/small]');" /> 199 215 </td> 200 216 </tr> … … 203 219 <td align='center' colspan='2'> 204 220 <br /> 205 <input type='submit' name='register' value='{$locale.506}' class='button'> 206 </td> 207 </tr> 208 </form> 209 </table> 221 <input type='submit' name='register' value='{$locale.506}' class='button' /> 222 </td> 223 </tr> 224 </table> 225 <center> 226 {if $settings.email_verification == "1"}<br />{$locale.503}<br />{/if} 227 </center> 228 </form> 210 229 {include file="_closetable.tpl"} 211 {literal}<script language='JavaScript'>230 {literal}<script type='text/javascript' language='javascript'> 212 231 // 213 232 // calculate the offset between browser and server time -
trunk/register.php
r1315 r1321 21 21 // no point registering when you're already a member 22 22 if (iMEMBER) fallback(BASEDIR."index.php"); 23 24 // include the DNS functions include25 require_once PATH_INCLUDES."dns_functions.php";26 23 27 24 // load the locales for this module … … 222 219 $theme_files = array(); 223 220 } 221 if ($settings['display_validation'] == "1" && $settings['validation_method'] == "text") { 222 require_once PATH_INCLUDES."secureimage-1.0.3/securimage.php"; 223 $securimage = new Securimage(); 224 $securimage->createCode(); 225 $variables['validation_code'] = $_SESSION['securimage_code_value']; 226 } 224 227 $variables['theme_files'] = $theme_files; 225 228 // define the body panel variables
Note: See TracChangeset
for help on using the changeset viewer.
