-
Notifications
You must be signed in to change notification settings - Fork 0
/
captcha.tags.php
37 lines (30 loc) · 898 Bytes
/
captcha.tags.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net
[BEGIN_SED]
File=plugins/captcha/captcha.tags.php
Version=100
Updated=2006-apr-21
Type=Plugin
Author=riptide
Description=Plugin to protect the registration process with a CAPTCHA.
[END_SED]
[BEGIN_SED_EXTPLUGIN]
Code=captcha
Part=register.tags
File=captcha.tags
Hooks=users.register.tags
Tags=users.register.tpl:{USERS_REGISTER_VERIFYIMG},{USERS_REGISTER_VERIFYINPUT}
Order=10
[END_SED_EXTPLUGIN]
==================== */
if (!defined('SED_CODE')) { die("Wrong URL."); }
$verifyimg = "<img src='plugins/captcha/inc/captcha.php' width='200' height='60' alt='CAPTCHA'>";
$verifyinput = "<input name=\"rverify\" type=\"text\" id=\"rverify\" size=\"10\" maxlength=\"6\">";
$t->assign(array(
"USERS_REGISTER_VERIFYIMG" => $verifyimg,
"USERS_REGISTER_VERIFYINPUT" => $verifyinput,
));
?>