[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /**************************************************************************\ 3 * eGroupWare - Webpage News Admin * 4 * http://www.egroupware.org * 5 * -------------------------------------------- * 6 * This program is free software; you can redistribute it and/or modify it * 7 * under the terms of the GNU General Public License as published by the * 8 * Free Software Foundation; either version 2 of the License, or (at your * 9 * option) any later version. * 10 * -------------------------------------------- * 11 * This program was sponsered by Golden Glair productions * 12 * http://www.goldenglair.com * 13 \**************************************************************************/ 14 15 /* $Id: hook_settings.inc.php 19910 2005-11-20 16:13:31Z nelius_weiss $ */ 16 17 $show_entries = array( 18 0 => lang('No'), 19 1 => lang('Yes'), 20 2 => lang('Yes').' - '.lang('small view'), 21 ); 22 $_show_entries = array( 23 0 => lang('No'), 24 1 => lang('Yes'), 25 ); 26 27 $GLOBALS['settings'] = array( 28 'homeShowLatest' => array( 29 'type' => 'select', 30 'label' => 'Show news articles on main page?', 31 'name' => 'homeShowLatest', 32 'values' => $show_entries, 33 'help' => 'Should News_Admin display the latest article headlines on the main screen.', 34 'xmlrpc' => True, 35 'admin' => False 36 ), 37 'homeShowLatestCount' => array( 38 'type' => 'input', 39 'label' => 'Number of articles to display on the main screen', 40 'name' => 'homeShowLatestCount', 41 'size' => 3, 42 'maxsize' => 10, 43 'xmlrpc' => True, 44 'admin' => False 45 ), 46 'SendMail' => array( // added by wbshang @ realss, 2005-3-3 47 'type' => 'check', 48 'label' => 'Show newsletter option when add news?', 49 'name' => 'SendMail', 50 'help' => 'Do you want to show the newsletter option when add news?', 51 'xmlrpc' => True, 52 'admin' => False 53 ), 54 'SendtohomeEmail' => array( 55 'type' => 'select', 56 'label' => 'Send mail to home_email if the business_email is empty?', 57 'name' => 'SendtohomeEmail', 58 'values' => $_show_entries, 59 'help' => 'Should News_Admin send mail to home_email if the business_email is empty.', 60 'xmlrpc' => True, 61 'admin' => False 62 ), 63 'EmailFrom' => array( 64 'type' => 'input', 65 'label' => 'Where is the email from', 66 'name' => 'EmailFrom', 67 'help' => 'Where do you want the receiver to see the email is from.', 68 'size' => 22, 69 'xmlrpc' => True, 70 'admin' => False 71 ), 72 'EmailReplyto' => array( 73 'type' => 'input', 74 'label' => 'Where to receive the replied email', 75 'name' => 'EmailReplyto', 76 'help' => 'Where the replied email will be sent to.', 77 'size' => 22, 78 'xmlrpc' => True, 79 'admin' => False 80 ) 81 );
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |