<?php

if (!defined('XOOPS_ROOT_PATH')) exit();

// debug mode
define('XOONIPS_DEBUG_MODE', false);

define('XOONIPS_URL', XOOPS_URL . '/modules/xoonips');
define('XOONIPS_PATH', XOONIPS_TRUST_PATH);

// order type
define('XOONIPS_DESC', 1);
define('XOONIPS_ASC', 0);
	
// reserved item_id value
define('XOONIPS_IID_ROOT', 1);

define('XOONIPS_DATETIME_FORMAT', 'M j, Y H:i:s');
define('XOONIPS_DATE_FORMAT', 'M j, Y');
define('XOONIPS_YEAR_MONTH_FORMAT', 'M, Y');
define('XOONIPS_YEAR_FORMAT', 'Y');

// xoonips user id for guest
define('XOONIPS_UID_GUEST', 0);

// xoonips configurations
define('XOONIPS_CONFIG_DOI_FIELD_PARAM_NAME', 'id');
define('XOONIPS_CONFIG_DOI_FIELD_PARAM_MAXLEN', 35);
define('XOONIPS_CONFIG_DOI_FIELD_PARAM_PATTERN', '[\-_0-9A-Za-z]+');

// using in generating search_text
define('XOONIPS_SEARCH_TEXT_ENCODING', 'UTF-8');
?>
