aboutsummaryrefslogtreecommitdiffstats
path: root/settings/apps.php
blob: 6feede7741c4b0231700f1af9ab1dc8baf99abcd (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php

/**
* ownCloud
*
* @author Frank Karlitschek
* @copyright 2012 Frank Karlitschek frank@owncloud.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library.  If not, see <http://www.gnu.org/licenses/>.
*
*/

require_once('../lib/base.php');
OC_Util::checkAdminUser();

// Load the files we need
OC_Util::addStyle( "settings", "settings" );
OC_Util::addScript( "settings", "apps" );
OC_App::setActiveNavigationEntry( "core_apps" );

$registeredApps=OC_App::getAllApps();
$apps=array();

$blacklist=array('files','files_imageviewer','files_textviewer');//we dont want to show configuration for these

foreach($registeredApps as $app){
	if(array_search($app,$blacklist)===false){
		$info=OC_App::getAppInfo($app);
		$active=(OC_Appconfig::getValue($app,'enabled','no')=='yes')?true:false;
		$info['active']=$active;
		if(isset($info['shipped']) and ($info['shipped']=='true')) {
			$info['internal']=true;
			$info['internallabel']='Internal App';
		}else{
			$info['internal']=false;
			$info['internallabel']='3rd Party App';
		}
		$info['preview']='trans.png';
		$info['version']=OC_App::getAppVersion($app);
		$apps[]=$info;
	}
}

function app_sort($a, $b){
	if ($a['active'] != $b['active']){
		return $b['active'] - $a['active'];
	}
	return strcmp($a['name'], $b['name']);
}
usort($apps, 'app_sort');

$tmpl = new OC_Template( "settings", "apps", "user" );
$tmpl->assign('apps',$apps, false);
$appid = (isset($_GET['appid'])?strip_tags($_GET['appid']):'');
$tmpl->assign('appid',$appid);

$tmpl->printPage();
ste operation es prohibite", "This directory is unavailable, please check the logs or contact the administrator" : "Iste directorio non es disponibile, per favor verifica le registros o contacta le administrator", "Could not move \"{file}\", target exists" : "Impossibile displaciar \"{file}\": le destination ja existe", "Could not move \"{file}\"" : "Impossibile displaciar \"{file}\"", "{newName} already exists" : "{newName} ja existe", "Could not rename \"{fileName}\", it does not exist any more" : "Impossibile renominar \"{fileName}\": illo non existe plus", "The name \"{targetName}\" is already used in the folder \"{dir}\". Please choose a different name." : "Le nomine \"{targetName}\" es ja usate in le dossier \"{dir}\". Per favor, selectiona un nomine differente.", "Could not rename \"{fileName}\"" : "Impossibile renominar \"{fileName}\"", "Could not create file \"{file}\"" : "Impossibile crear file \"{file}\"", "Could not create file \"{file}\" because it already exists" : "Impossibile crear file \"{file}\" proque illo ja existe", "Could not create folder \"{dir}\" because it already exists" : "Impossibile crear dossier \"{dir}\" proque illo ja existe", "Error deleting file \"{fileName}\"." : "Error durante deletion del file \"{fileName}\".", "No search results in other folders for {tag}{filter}{endtag}" : "Nulle resultatos in altere dossiers pro le cerca {tag}{filter}{endtag}", "Name" : "Nomine", "Size" : "Dimension", "Modified" : "Modificate", "_%n folder_::_%n folders_" : ["%n dossier","%n dossiers"], "_%n file_::_%n files_" : ["%n file","%n files"], "{dirs} and {files}" : "{dirs} e {files}", "_including %n hidden_::_including %n hidden_" : ["includente %n occultate","includente %n occultates"], "You don’t have permission to upload or create files here" : "Tu non ha permission pro incargar o crear files ci.", "_Uploading %n file_::_Uploading %n files_" : ["Incargante %n file","Incargante %n files"], "New" : "Nove", "\"{name}\" is an invalid file name." : "\"{name}\" es un nomine de file non valide.", "File name cannot be empty." : "Le nomine de file non pote esser vacue.", "\"{name}\" is not an allowed filetype" : "\"{name}\" non es un typo de file valide ", "Storage of {owner} is full, files can not be updated or synced anymore!" : "Le immagazinage de {owner} es plen: files non pote esser actualisate o synchronisate plus!", "Your storage is full, files can not be updated or synced anymore!" : "Tu immagazinage es plen: files non pote esser actualisate o synchronisate plus!", "Storage of {owner} is almost full ({usedSpacePercent}%)" : "Le immagazinage de {owner} es quasi plen ({usedSpacePercent}%)", "Your storage is almost full ({usedSpacePercent}%)" : "Tu immagazinage es quasi plen ({usedSpacePercent}%)", "_matches '{filter}'_::_match '{filter}'_" : ["corresponde '{filter}'","corresponde '{filter}'"], "View in folder" : "Vider in dossier", "Path" : "Sentiero", "_%n byte_::_%n bytes_" : ["%n byte","%n bytes"], "Favorited" : "Favorite", "Favorite" : "Favorite", "New folder" : "Nove dossier", "An error occurred while trying to update the tags" : "Un error occurreva durante le actualisation del etiquettas", "Added to favorites" : "Addite al favoritos", "Removed from favorites" : "Removite del favoritos", "You added {file} to your favorites" : "Tu addeva {file} a tu favoritos", "You removed {file} from your favorites" : "Tu removeva {file} de tu favortos", "File changes" : "Modificationes del file", "Created by {user}" : "Create per {user}", "Changed by {user}" : "Modificate per {user}", "Deleted by {user}" : "Delite per {user}", "Restored by {user}" : "Restaurate per {user}", "Renamed by {user}" : "Renominate per {user}", "Moved by {user}" : "Displaciate per {user}", "You created {file}" : "Tu creava {file}", "{user} created {file}" : "{user} creava {file}", "{file} was created in a public folder" : "{file} esseva create in un dossier public", "You changed {file}" : "Tu modificava {file}", "{user} changed {file}" : "{user} modificava {file}", "You deleted {file}" : "Tu deleva {file}", "{user} deleted {file}" : "{user} deleva {file}", "You restored {file}" : "Tu restaurava {file}", "{user} restored {file}" : "{user} restaurava {file}", "You renamed {oldfile} to {newfile}" : "Tu renominava {oldfile} a {newfile}", "{user} renamed {oldfile} to {newfile}" : "{user} renominava {oldfile} a {newfile}", "You moved {oldfile} to {newfile}" : "Tu displaciava {oldfile} a {newfile}", "{user} moved {oldfile} to {newfile}" : "{user} displaciava {oldfile} a {newfile}", "A file has been added to or removed from your <strong>favorites</strong>" : "Un file esseva addite a o removite de tu <strong>favoritos</strong>", "A file or folder has been <strong>changed</strong> or <strong>renamed</strong>" : "Un nove file o dossier ha essite <strong>delite</strong> o <strong>renominate</strong>", "A new file or folder has been <strong>created</strong>" : "Un nove file o dossier ha essite <strong>create</strong>", "Limit notifications about creation and changes to your <strong>favorite files</strong> <em>(Stream only)</em>" : "Limitar notificationes concernente le creation e le modification de tu <strong>files favorite</strong> <em>(Solmente fluxo)</em>", "Upload (max. %s)" : "Incarga (maxime %s)", "File handling" : "Gestion de file", "Maximum upload size" : "Maxime dimension de incarga", "max. possible: " : "maxime possibile:", "Save" : "Salveguardar", "With PHP-FPM it might take 5 minutes for changes to be applied." : "Con PHP-FPM possibilemente il requirera 5 minutas pro modificationes esser applicate.", "Missing permissions to edit from here." : "Il manca permissiones pro modificar desde ci.", "Settings" : "Configurationes", "Show hidden files" : "Monstrar files occultate", "WebDAV" : "WebDAV", "Use this address to <a href=\"%s\" target=\"_blank\" rel=\"noreferrer\">access your Files via WebDAV</a>" : "Usa iste adresse pro <a href=\"%s\" target=\"_blank\" rel=\"noreferrer\">acceder a tu Files via WebDAV</a>", "No files in here" : "Nulle files ci", "Upload some content or sync with your devices!" : "Incarga alcun contento o synchronisa con tu apparatos!", "No entries found in this folder" : "Nulle entratas trovate in iste dossier", "Select all" : "Selectionar toto", "Upload too large" : "Incarga troppo grande", "The files you are trying to upload exceed the maximum size for file uploads on this server." : "Le files que tu tenta incargar excede le dimension maxime pro incarga de files in iste servitor.", "Files and folders you mark as favorite will show up here" : "Files e dossiers que tu marca como favorito essera monstrate ci", "Shared with you" : "Compartite con te", "Shared with others" : "Compartite con alteres", "Shared by link" : "Compartite per ligamine", "Tags" : "Etiquettas", "Deleted files" : "Files delite", "Text file" : "File de texto", "New text file.txt" : "Nove texto file.txt", "Uploading..." : "Incargante...", "..." : "...", "_{hours}:{minutes}:{seconds} hour left_::_{hours}:{minutes}:{seconds} hours left_" : ["{hours}:{minutes}:{seconds} hora restante","{hours}:{minutes}:{seconds} horas restante"], "{hours}:{minutes}h" : "{hours}:{minutes}h", "_{minutes}:{seconds} minute left_::_{minutes}:{seconds} minutes left_" : ["{minutes}:{seconds} minuta restante","{minutes}:{seconds} minutas restante"], "{minutes}:{seconds}m" : "{minutes}:{seconds}m", "_{seconds} second left_::_{seconds} seconds left_" : ["{seconds} secunda restante","{seconds} secundas restante"], "{seconds}s" : "{seconds}s", "Any moment now..." : "A qualcunque momento...", "Soon..." : "Proximemente...", "File upload is in progress. Leaving the page now will cancel the upload." : "Incarga de un file es in progresso. Quitar le pagina ora cancellara le incarga.", "Move" : "Mover", "Copy local link" : "Copiar ligamine local", "Folder" : "Dossier", "Upload" : "Incargar", "A new file or folder has been <strong>deleted</strong>" : "Un nove file o dossier ha essite <strong>delite</strong>", "A new file or folder has been <strong>restored</strong>" : "Un nove file o un dossier ha essite <strong>restabilite</strong>", "No favorites" : "Nulle favoritos" },"pluralForm" :"nplurals=2; plural=(n != 1);" }