상수 _EDITOR_ 를 G4_EDITOR 로, _CAPTCHA_ 를 G4_CAPTCHA 로 변경

This commit is contained in:
gnuboard
2013-01-18 10:14:09 +09:00
parent f453bcf51b
commit ad593d0060
19 changed files with 21 additions and 64 deletions

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
if (!$board['bo_table']) {

View File

@ -5,7 +5,7 @@ function editor_html($id, $content, $class="")
{
if ( (isset($GLOBALS['is_dhtml_editor']) && $GLOBALS['is_dhtml_editor']) || !isset($GLOBALS['is_dhtml_editor']) ) {
$str = "<textarea id=\"$id\" name=\"$id\" class=\"ckeditor $class\" rows=\"10\" style=\"width:100%;\">$content</textarea>\n";
//if (_EDITOR_) $str .= "<script>CKEDITOR.replace('$id',{height:'500px'});</script>\n";
//if (G4_EDITOR) $str .= "<script>CKEDITOR.replace('$id',{height:'500px'});</script>\n";
} else {
$str = "<textarea id=\"$id\" name=\"$id\" class=\"$class\" rows=\"10\" style=\"width:100%;\">$content</textarea>\n";
}

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
if (!$config[cf_email_use])

View File

@ -1,5 +1,5 @@
<?php
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once("./_common.php");
echo chk_captcha();

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
if ($is_guest)

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
<<<<<<< HEAD

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
if ($is_member) {

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
include_once($g4['path'].'/lib/mailer.lib.php');

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
include_once($g4['path'].'/lib/register.lib.php');

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
include_once($g4['path'].'/lib/register.lib.php');
include_once($g4['path'].'/lib/mailer.lib.php');

View File

@ -1,6 +1,6 @@
<?
define('_EDITOR_', 1);
define('_CAPTCHA_', 1);
define('G4_EDITOR', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
set_session('ss_bo_table', $bo_table);

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', true);
define('G4_CAPTCHA', true);
include_once('./_common.php');
// 090710

View File

@ -1,5 +1,5 @@
<?
define('_CAPTCHA_', 1);
define('G4_CAPTCHA', 1);
include_once('./_common.php');
$g4['title'] = '게시글 저장';