0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: art.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: art.php 33195 2011-03-02 17:43:40Z changi67 $ function prefs_art_list() { $article_sort_orders = array( 'publishDate_desc' => tra('Newest first'), ); global $prefslib; $advanced_columns = $prefslib->getExtraSortColumns(); foreach( $advanced_columns as $key => $label ) { $article_sort_orders[ $key . '_asc' ] = $label . ' ' . tr('ascending'); $article_sort_orders[ $key . '_desc' ] = $label . ' ' . tr('descending'); } return array( 'art_sort_mode' => array( 'name' => tra('Article ordering'), 'description' => tra('Default sort mode for the articles on the article listing'), 'type' => 'list', 'options' => $article_sort_orders, ), 'art_home_title' => array( 'name' => tra('Title of articles home page'), 'type' => 'list', 'options' => array( '' => '', 'topic' => tra('Topic'), 'type' => tra('Type'), 'articles' => tra('Articles'), ), ), 'art_list_title' => array( 'name' => tra('Title'), 'type' => 'flag', ), 'art_list_title_len' => array( 'name' => tra('Title length'), 'type' => 'text', 'size' => '5', 'filter' => 'digits', ), 'art_list_type' => array( 'name' => tra('Type'), 'type' => 'flag', ), 'art_list_topic' => array( 'name' => tra('Topic'), 'type' => 'flag', ), 'art_list_date' => array( 'name' => tra('Publication date'), 'type' => 'flag', ), 'art_list_expire' => array( 'name' => tra('Expiration date'), 'type' => 'flag', ), 'art_list_visible' => array( 'name' => tra('Visible'), 'type' => 'flag', ), 'art_list_lang' => array( 'name' => tra('Language'), 'type' => 'flag', ), 'art_list_author' => array( 'name' => tra('Author'), 'type' => 'flag', ), 'art_list_rating' => array( 'name' => tra('Author Rating'), 'type' => 'flag', ), 'art_list_reads' => array( 'name' => tra('Reads'), 'type' => 'flag', ), 'art_list_size' => array( 'name' => tra('Size'), 'type' => 'flag', ), 'art_list_img' => array( 'name' => tra('Images'), 'type' => 'flag', ), 'art_list_id' => array( 'name' => tra('Id'), 'type' => 'flag', ), 'art_trailer_pos' => array( 'name' => tra('Trailer position'), 'description' => tra('Trailer position'), 'type' => 'list', 'options' => array( 'top' => tra('Top'), 'between' => tra('Between heading and body'), ), 'default' => 'top' ), 'art_header_text_pos' => array( 'name' => tra('Header text position'), 'description' => tra('Header text position'). tra('Requires a smaller image for list view'), 'type' => 'list', 'options' => array( 'next' => tra('Next image'), 'below' => tra('Below image'), ), 'default' => 'next' ), ); }