define('DISCUSS_POSTER_GUEST', 'guest'); define('DISCUSS_POSTER_MEMBER', 'member'); // Like type define('DISCUSS_ENTITY_TYPE_POST', 'post'); // Access types for category define('DISCUSS_CATEGORY_ACCESS_VIEW', 'view'); define('DISCUSS_CATEGORY_ACCESS_WRITE', 'write'); // Voting types define('DISCUSS_VOTE_UP', 1); define('DISCUSS_VOTE_DOWN', -1); define('DISCUSS_VOTE_UP_STRING', 'up'); define('DISCUSS_VOTE_DOWN_STRING', 'down'); define('DISCUSS_CUSTOMFIELDS_ACL_VIEW', 1); define('DISCUSS_CUSTOMFIELDS_ACL_INPUT', 2); // Conversation define('DISCUSS_CONVERSATION_UNREAD', 0); define('DISCUSS_CONVERSATION_READ', 1); define('DISCUSS_CONVERSATION_ARCHIVED', 0); define('DISCUSS_CONVERSATION_PUBLISHED', 1); define('DISCUSS_CONVERSATION_DELETED', 2); define('DISCUSS_NO_LIMIT', -10); define('DISCUSS_POST_STATUS_OFF', 0); define('DISCUSS_POST_STATUS_ON_HOLD', 1); define('DISCUSS_POST_STATUS_ACCEPTED', 2); define('DISCUSS_POST_STATUS_WORKING_ON', 3); define('DISCUSS_POST_STATUS_REJECT', 4); // @since Foundry 3.1 // Foundry require_once JPATH_ROOT . '/media/foundry/3.1/joomla/framework.php'; FD31_FoundryFramework::defineComponentConstants("EasyDiscuss");
define($NS . 'FOUNDRY_LONG_VERSION', '3.1.17'); define($NS . 'FOUNDRY_BOOTCODE', 'FD31'); define($NS . 'FOUNDRY', constant($NS . 'JOOMLA') . '/media/foundry/' . constant($NS . 'FOUNDRY_VERSION')); define($NS . 'FOUNDRY_URI', constant($NS . 'JOOMLA_URI') . '/media/foundry/' . constant($NS . 'FOUNDRY_VERSION')); define($NS . 'FOUNDRY_CONFIGURATION', constant($NS . 'FOUNDRY') . '/joomla/configuration.php'); // Component define($NS . 'CLASS_NAME', $className); define($NS . 'IDENTIFIER', strtolower($className)); define($NS . 'COMPONENT_NAME', 'com_' . constant($NS . 'IDENTIFIER')); define($NS . 'PREFIX', constant($NS . 'IDENTIFIER') . '/'); define($NS . 'SITE', constant($NS . 'JOOMLA') . '/components/' . constant($NS . 'COMPONENT_NAME')); define($NS . 'SITE_URI', constant($NS . 'JOOMLA_URI') . '/components/' . constant($NS . 'COMPONENT_NAME')); define($NS . 'ADMIN', constant($NS . 'JOOMLA_ADMIN') . '/components/' . constant($NS . 'COMPONENT_NAME')); define($NS . 'ADMIN_URI', constant($NS . 'JOOMLA_ADMIN_URI') . '/components/' . constant($NS . 'COMPONENT_NAME')); define($NS . 'MEDIA', constant($NS . 'JOOMLA') . '/media/' . constant($NS . 'COMPONENT_NAME')); define($NS . 'MEDIA_URI', constant($NS . 'JOOMLA_URI') . '/media/' . constant($NS . 'COMPONENT_NAME')); define($NS . 'SCRIPTS', constant($NS . 'MEDIA') . '/scripts'); define($NS . 'SCRIPTS_URI', constant($NS . 'MEDIA_URI') . '/scripts'); define($NS . 'RESOURCES', constant($NS . 'MEDIA') . '/resources'); define($NS . 'RESOURCES_URI', constant($NS . 'MEDIA_URI') . '/resources'); define($NS . 'CONFIG', constant($NS . 'MEDIA') . '/config'); define($NS . 'CONFIG_URI', constant($NS . 'MEDIA_URI') . '/config'); // Themes define($NS . 'SITE_THEMES', constant($NS . 'SITE') . '/themes'); define($NS . 'SITE_THEMES_URI', constant($NS . 'SITE_URI') . '/themes'); define($NS . 'ADMIN_THEMES', constant($NS . 'ADMIN') . '/themes'); define($NS . 'ADMIN_THEMES_URI', constant($NS . 'ADMIN_URI') . '/themes'); } } FD31_FoundryFramework::defineFrameworkConstants('Foundry', 'FD31_FOUNDRY_');
* to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined('_JEXEC') or die('Restricted access'); if( !defined( 'DS' ) ) { define( 'DS' , DIRECTORY_SEPARATOR ); } // @since Foundry 3.0 // Foundry require_once(JPATH_ROOT . '/media/foundry/3.1/joomla/framework.php'); FD31_FoundryFramework::defineComponentConstants("Komento"); // Root path define( 'KOMENTO_ROOT', JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_komento' ); // Backend path define( 'KOMENTO_ADMIN_ROOT', JPATH_ROOT . DIRECTORY_SEPARATOR . 'administrator' . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_komento' ); // Assets path define( 'KOMENTO_ASSETS', KOMENTO_ROOT . DIRECTORY_SEPARATOR . 'assets' ); // Helper path define( 'KOMENTO_HELPERS', KOMENTO_ROOT . DIRECTORY_SEPARATOR . 'helpers' ); // Controllers path define( 'KOMENTO_CONTROLLERS', KOMENTO_ROOT . DIRECTORY_SEPARATOR . 'controllers' );
define('EBLOG_SOCIAL_BUTTONS', 'twitter,facebook,googleone,digg,linkedin,stumbleupon,pinit'); // @since 3.5 // Pagination types define('EBLOG_PAGINATION_BLOGGERS', 'bloggers'); define('EBLOG_PAGINATION_CATEGORIES', 'categories'); // @since 3.5 define('EBLOG_BLOG_IMAGE_PREFIX', '2e1ax'); define('EBLOG_USER_VARIATION_PREFIX', 'a1sx2'); define('EBLOG_SYSTEM_VARIATION_PREFIX', 'b2ap3'); define('EBLOG_VARIATION_USER_TYPE', 'user'); define('EBLOG_VARIATION_SYSTEM_TYPE', 'system'); // @since 3.5 // Media sources define('EBLOG_MEDIA_SOURCE_LOCAL', 'local'); define('EBLOG_MEDIA_SOURCE_FLICKR', 'flickr'); define('EBLOG_MEDIA_SOURCE_JOMSOCIAL', 'jomsocial'); define('EBLOG_MEDIA_SOURCE_EASYSOCIAL', 'easysocial'); // @since 3.5 // Media types define('EBLOG_MEDIA_TYPE_IMAGE', 'image'); define('EBLOG_MEDIA_TYPE_FOLDER', 'folder'); define('EBLOG_MEDIA_TYPE_VIDEO', 'video'); define('EBLOG_MEDIA_TYPE_AUDIO', 'audio'); define('EBLOG_MEDIA_TYPE_FILE', 'file'); // default resize type define('EBLOG_IMAGE_DEFAULT_RESIZE', 'within'); // @since Foundry 3.0 // Foundry require_once JPATH_ROOT . '/media/foundry/3.1/joomla/framework.php'; FD31_FoundryFramework::defineComponentConstants("EasyBlog");