You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

74 lines
2.8 KiB

<?php
// (c) Copyright 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$
function prefs_vimeo_list()
{
return [
'vimeo_upload' => [
'name' => tr('Vimeo upload'),
'description' => tr('Enables video upload to the Vimeo service. API keys are required and approval must be granted by Vimeo for the upload API.'),
'help' => 'Vimeo',
'dependencies' => ['feature_file_galleries', 'fgal_upload_from_source'],
'type' => 'flag',
'default' => 'n',
],
'vimeo_delete' => [
'name' => tr('Vimeo delete'),
'description' => tr('Causes videos uploaded to the Vimeo service via Tiki file galleries to be deleted when the Tiki file is deleted.'),
'help' => 'Vimeo',
'dependencies' => ['vimeo_upload'],
'type' => 'flag',
'default' => 'n',
'warning' => tra('Permanently removes videos from the registered vimeo.com account.'),
],
'vimeo_consumer_key' => [
'name' => tr('Vimeo consumer key'),
'description' => tr('API consumer key'),
'type' => 'text',
'size' => 40,
'filter' => 'word',
'default' => '',
],
'vimeo_consumer_secret' => [
'name' => tr('Vimeo consumer secret'),
'description' => tr('API consumer secret'),
'type' => 'text',
'size' => 40,
'filter' => 'word',
'default' => '',
],
'vimeo_access_token' => [
'name' => tr('Vimeo access token'),
'description' => tr('The access token that is automatically generated by Vimeo when API keys are requested.'),
'help' => 'Vimeo',
'type' => 'text',
'size' => 40,
'filter' => 'word',
'default' => '',
],
'vimeo_access_token_secret' => [
'name' => tr('Vimeo access token secret'),
'description' => tr('The access token secret automatically generated by Vimeo when API keys are requested'),
'help' => 'Vimeo',
'type' => 'text',
'size' => 40,
'filter' => 'word',
'default' => '',
],
'vimeo_default_gallery' => [
'name' => tr('Vimeo Default Gallery'),
'description' => tr('The The ID of the default file gallery in which to store the Vimeo reference'),
'help' => 'Vimeo',
'type' => 'text',
'filter' => 'int',
'default' => 1,
'size' => 5,
'profile_reference' => 'file_gallery',
],
];
}