0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: poll.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: poll.php 33195 2011-03-02 17:43:40Z changi67 $ function prefs_poll_list() { return array( 'poll_comments_per_page' => array( 'name' => tra('Default number per page'), 'type' => 'text', 'size' => '5', 'filter' => 'digits', ), 'poll_comments_default_ordering' => array( 'name' => tra('Default Ordering'), 'type' => 'list', 'options' => array( 'commentDate_desc' => tra('Newest first'), 'commentDate_asc' => tra('Oldest first'), 'points_desc' => tra('Points'), ), ), 'poll_list_categories' => array( 'name' => tra('Show categories'), 'type' => 'flag', 'dependencies' => array( 'feature_categories', ), ), 'poll_list_objects' => array( 'name' => tra('Show objects'), 'type' => 'flag', ), 'poll_multiple_per_object' => array( 'name' => tra('Multiple polls per object'), 'description' => tra('When used with the rating features, allow multiple polls to be attached to a single object.'), 'type' => 'flag', ), ); }