ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 8798


Ignore:
Timestamp:
Oct 24, 2008, 3:42:51 PM (11 years ago)
Author:
mori
Message:

#985 :招待メールドメイン登録に入力チェック処理を追加

Location:
OpenPNE/trunk/webapp/modules/admin
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/admin/do/update_limit_domain.php

    r4933 r8798  
    88class admin_do_update_limit_domain extends OpenPNE_Action
    99{
     10
     11    function handleError($msg)
     12    {
     13        $_REQUEST['msg'] = array_shift($msg);
     14        openpne_forward(ADMIN_MODULE_NAME, 'page', 'limit_domain');
     15        exit;
     16    }
     17
    1018    function execute($requests)
    1119    {
  • OpenPNE/trunk/webapp/modules/admin/page/limit_domain.php

    r4933 r8798  
    77class admin_page_limit_domain extends OpenPNE_Action
    88{
     9
     10    function handleError($msg)
     11    {
     12        $_REQUEST['msg'] = array_shift($msg);
     13        openpne_forward(ADMIN_MODULE_NAME, 'page', 'limit_domain');
     14        exit;
     15    }
     16
    917    function execute($requests)
    1018    {
  • OpenPNE/trunk/webapp/modules/admin/validate/do/update_limit_domain.ini

    r1477 r8798  
    11[LIMIT_DOMAIN1]
    2 type = "string"
     2type = "regexp"
     3required = 0
    34default = ""
     5caption = "許可ドメイン"
     6regexp = "/^[\w*?\.]*$/"
    47
    58[LIMIT_DOMAIN2]
    6 type = "string"
     9type = "regexp"
     10required = 0
    711default = ""
     12caption = "許可ドメイン"
     13regexp = "/^[\w*?\.]*$/"
    814
    915[LIMIT_DOMAIN3]
    10 type = "string"
     16type = "regexp"
     17required = 0
    1118default = ""
     19caption = "許可ドメイン"
     20regexp = "/^[\w*?\.]*$/"
    1221
    1322[LIMIT_DOMAIN4]
    14 type = "string"
     23type = "regexp"
     24required = 0
    1525default = ""
     26caption = "許可ドメイン"
     27regexp = "/^[\w*?\.]*$/"
    1628
    1729[LIMIT_DOMAIN5]
    18 type = "string"
     30type = "regexp"
     31required = 0
    1932default = ""
     33caption = "許可ドメイン"
     34regexp = "/^[\w*?\.]*$/"
Note: See TracChangeset for help on using the changeset viewer.