/
news.cfg
34 lines (28 loc) · 946 Bytes
/
news.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
*
* @package Icy Phoenix
* @version $Id$
* @copyright (c) 2008 Icy Phoenix
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*
* @Extra credits for this file
* masterdavid - Ronald John David
*
*/
if (!defined('IN_ICYPHOENIX'))
{
die('Hacking attempt');
}
// array(<Field label>, <Field Info>, <Config Name>, <Options>, <Field Values>, <Control Type>, <Block>, <Default Value>);
$block_variables = array(
//array('Category to retrieve news from', 'Enter 0 for all categories or comma delimited entries', 'md_news_cat_id', '', '', '1', 'news', '0'),
array('Number of news to display', '', 'md_news_number', '', '', '1', 'news', '5'),
array('Random or newest news?', '', 'md_news_sort', 'Newest,Random', '0,1', '3', 'news', '0'),
array('Length of news', 'Number of characters displayed', 'md_news_length', '', '', '1', 'news', '250'),
);
$block_count_variables = sizeof($block_variables);
?>