source: trunk/news_admin/inc/hook_settings.inc.php @ 2

Revision 2, 1.4 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
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
16        $show_entries = array(
17                0 => lang('No'),
18                1 => lang('Yes'),
19                2 => lang('Yes').' - '.lang('small view'),
20        );     
21        create_select_box('Show news articles on main page?','homeShowLatest',$show_entries,
22                'Should News_Admin display the latest article headlines on the main screen.');
23        unset($show_entries);
24
25        create_input_box('Number of articles to display on the main screen','homeShowLatestCount',
26                        'The number of articles to display on the main screen.','10',3);
27
Note: See TracBrowser for help on using the repository browser.