1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/includes/ucp/info/ucp_profile.php Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,40 @@
1.4 +<?php
1.5 +/**
1.6 +*
1.7 +* @package ucp
1.8 +* @version $Id$
1.9 +* @copyright (c) 2005 phpBB Group
1.10 +* @license http://opensource.org/licenses/gpl-license.php GNU Public License
1.11 +*
1.12 +*/
1.13 +
1.14 +/**
1.15 +* @package module_install
1.16 +*/
1.17 +class ucp_profile_info
1.18 +{
1.19 + function module()
1.20 + {
1.21 + return array(
1.22 + 'filename' => 'ucp_profile',
1.23 + 'title' => 'UCP_PROFILE',
1.24 + 'version' => '1.0.0',
1.25 + 'modes' => array(
1.26 + 'profile_info' => array('title' => 'UCP_PROFILE_PROFILE_INFO', 'auth' => '', 'cat' => array('UCP_PROFILE')),
1.27 + 'signature' => array('title' => 'UCP_PROFILE_SIGNATURE', 'auth' => '', 'cat' => array('UCP_PROFILE')),
1.28 + 'avatar' => array('title' => 'UCP_PROFILE_AVATAR', 'auth' => 'cfg_allow_avatar && (cfg_allow_avatar_local || cfg_allow_avatar_remote || cfg_allow_avatar_upload || cfg_allow_avatar_remote_upload)', 'cat' => array('UCP_PROFILE')),
1.29 + 'reg_details' => array('title' => 'UCP_PROFILE_REG_DETAILS', 'auth' => '', 'cat' => array('UCP_PROFILE')),
1.30 + ),
1.31 + );
1.32 + }
1.33 +
1.34 + function install()
1.35 + {
1.36 + }
1.37 +
1.38 + function uninstall()
1.39 + {
1.40 + }
1.41 +}
1.42 +
1.43 +?>
1.44 \ No newline at end of file