<?php
/**
* Copyright (c) 2012 Bart Visscher <bartv@thisnet.nl>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
class OC_TemplateLayout extends OC_Template {
public function __construct( $renderas ) {
// Decide which page we show
if( $renderas == 'user' ) {
parent::__construct( 'core', 'layout.user' );
$this->assign('searchurl',OC_Helper::linkTo( 'search', 'index.php' ), false);
if(array_search(OC_APP::getCurrentApp(),array('settings','admin','help'))!==false) {
$this->assign('bodyid','body-settings', false);
}else{
$this->assign('bodyid','body-user', false);
}
// Add navigation entry
$navigation = OC_App::getNavigation();
$this->assign( 'navigation', $navigation, false);
$this->assign( 'settingsnavigation', OC_App::getSettingsNavigation(), false);
foreach($navigation as $entry) {
if ($entry['active']) {
$this->assign( 'application', $entry['name'], false );
break;
}
}
} else if ($renderas == 'guest') {
parent::__construct('core', 'layout.guest');
} else {
parent::__construct('core', 'layout.base');
}
$apps_paths = array();
foreach(OC_App::getEnabledApps() as $app) {
$apps_paths[$app] = OC_App::getAppWebPath($app);
}
$this->assign( 'apps_paths', str_replace('\\/', '/',json_encode($apps_paths)),false ); // Ugly unescape slashes waiting for better solution
if (OC_Config::getValue('installed', false) && !OC_AppConfig::getValue('core', 'remote_core.css', false)) {
OC_AppConfig::setValue('core', 'remote_core.css', '/core/minimizer.php');
OC_AppConfig::setValue('core', 'remote_core.js', '/core/minimizer.php');
}
// Add the js files
$jsfiles = self::findJavascriptFiles(OC_Util::$scripts);
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: ownCloud\n"
"Report-Msgid-Bugs-To: http://bugs.owncloud.org/\n"
"POT-Creation-Date: 2013-06-12 02:56+0200\n"
"PO-Revision-Date: 2013-06-11 23:27+0000\n"
"Last-Translator: I Robot <owncloud-bot@tmit.eu>\n"
"Language-Team: Serbian (Latin) (http://www.transifex.com/projects/p/owncloud/language/sr@latin/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sr@latin\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: ajax/share.php:97
#, php-format
msgid "User %s shared a file with you"
msgstr ""
#: ajax/share.php:99
#, php-format
msgid "User %s shared a folder with you"
msgstr ""
#: ajax/share.php:101
#, php-format
msgid ""
"User %s shared the file \"%s\" with you. It is available for download here: "
"%s"
msgstr ""
#: ajax/share.php:104
#, php-format
msgid ""
"User %s shared the folder \"%s\" with you. It is available for download "
"here: %s"
msgstr ""
#: ajax/vcategories/add.php:26 ajax/vcategories/edit.php:25
msgid "Category type not provided."
msgstr ""
#: ajax/vcategories/add.php:30
msgid "No category to add?"
msgstr ""
#: ajax/vcategories/add.php:37
#, php-format
msgid "This category already exists: %s"
msgstr ""
#: ajax/vcategories/addToFavorites.php:26 ajax/vcategories/delete.php:27
#: ajax/vcategories/favorites.php:24
#: ajax/vcategories/removeFromFavorites.php:26
msgid "Object type not provided."
msgstr ""
#: ajax/vcategories/addToFavorites.php:30
#: ajax/vcategories/removeFromFavorites.php:30
#, php-format
msgid "%s ID not provided."
msgstr ""
#: ajax/vcategories/addToFavorites.php:35
#, php-format
msgid "Error adding %s to favorites."
msgstr ""
#: ajax/vcategories/delete.php:35 js/oc-vcategories.js:136
msgid "No categories selected for deletion."
msgstr ""
#: ajax/vcategories/removeFromFavorites.php:35
#, php-format
msgid "Error removing %s from favorites."
msgstr ""
#: js/config.php:34
msgid "Sunday"
msgstr "Nedelja"
#: js/config.php:35
msgid "Monday"
msgstr "Ponedeljak"
#: js/config.php:36
msgid "Tuesday"
msgstr "Utorak"
#: js/config.php:37
msgid "Wednesday"
msgstr "Sreda"
#: js/config.php:38
msgid "Thursday"
msgstr "Četvrtak"
#: js/config.php:39
msgid "Friday"
msgstr "Petak"
#: js/config.php:40
msgid "Saturday"
msgstr "Subota"
#: js/config.php:45
msgid "January"
msgstr "Januar"
#: js/config.php:46
msgid "February"
msgstr "Februar"
#: js/config.php:47
msgid "March"
msgstr "Mart"
#: js/config.php:48
msgid "April"
msgstr "April"
#: js/config.php:49
msgid "May"
msgstr "Maj"
#: js/config.php:50
msgid "June"
msgstr "Jun"
#: js/config.php:51
msgid "July"
msgstr "Jul"
#: js/config.php:52
msgid "August"
msgstr "Avgust"
#: js/config.php:53
msgid "September"
msgstr "Septembar"
#: js/config.php:54
msgid "October"
msgstr "Oktobar"
#: js/config.php:55
msgid "November"
msgstr "Novembar"
#: js/config.php:56
msgid "December"
msgstr "Decembar"
#: js/js.js:286
msgid "Settings"
msgstr "Podešavanja"
#: js/js.js:718
msgid "seconds ago"
msgstr ""
#: js/js.js:719
msgid "1 minute ago"
msgstr ""
#: js/js.js:720
msgid "{minutes} minutes ago"
msgstr ""
#: js/js.js:721
msgid "1 hour ago"
msgstr ""
#: js/js.js:722
msgid "{hours} hours ago"
msgstr ""
#: js/js.js:723
msgid "today"
msgstr ""
#: js/js.js:724
msgid "yesterday"
msgstr ""
#: js/js.js:725
msgid "{days} days ago"
msgstr ""
#: js/js.js:726
msgid "last month"
msgstr ""
#: js/js.js:727
msgid "{months} months ago"
msgstr ""
#: js/js.js:728
msgid "months ago"
msgstr ""
#: js/js.js:729
msgid "last year"
msgstr ""
#: js/js.js:730
msgid "years ago"
msgstr ""
#: js/oc-dialogs.js:117
msgid "Choose"
msgstr ""
#: js/oc-dialogs.js:122
msgid "Cancel"
msgstr "Otkaži"
#: js/oc-dialogs.js:141 js/oc-dialogs.js:200
msgid "Error loading file picker template"
msgstr ""
#: js/oc-dialogs.js:164
msgid "Yes"
msgstr ""
#: js/oc-dialogs.js:172
msgid "No"
msgstr ""
#: js/oc-dialogs.js:185
msgid "Ok"
msgstr ""
#: js/oc-vcategories.js:5 js/oc-vcategories.js:85 js/oc-vcategories.js:102
#: js/oc-vcategories.js:117 js/oc-vcategories.js:132 js/oc-vcategories.js:162
msgid "The object type is not specified."
msgstr ""
#: js/oc-vcategories.js:14 js/oc-vcategories.js:80 js/oc-vcategories.js:95
#: js/oc-vcategories.js:110 js/oc-vcategories.js:125 js/oc-vcategories.js:136
#: js/oc-vcategories.js:172 js/oc-vcategories.js:189 js/oc-vcategories.js:195
#: js/oc-vcategories.js:199 js/share.js:136 js/share.js:143 js/share.js:577
#: js/share.js:589
msgid "Error"
msgstr ""
#: js/oc-vcategories.js:179
msgid "The app name is not specified."
msgstr ""
#: js/oc-vcategories.js:194
msgid "The required file {file} is not installed!"
msgstr ""
#: js/share.js:30 js/share.js:45 js/share.js:87
msgid "Shared"
msgstr ""
#: js/share.js:90
msgid "Share"
msgstr ""
#: js/share.js:125 js/share.js:617
msgid "Error while sharing"
msgstr ""
#: js/share.js:136
msgid "Error while unsharing"
msgstr ""
#: js/share.js:143
msgid "Error while changing permissions"
msgstr ""
#: js/share.js:152
msgid "Shared with you and the group {group} by {owner}"
msgstr ""
#: js/share.js:154
msgid "Shared with you by {owner}"
msgstr ""
#: js/share.js:159
msgid "Share with"
msgstr ""
#: js/share.js:164
msgid "Share with link"
msgstr ""
#: js/share.js:167
msgid "Password protect"
msgstr ""
#: js/share.js:169 templates/installation.php:54 templates/login.php:26
msgid "Password"
msgstr "Lozinka"
#: js/share.js:173
msgid "Email link to person"
msgstr ""
#: js/share.js:174
msgid "Send"
msgstr ""
#: js/share.js:178
msgid "Set expiration date"
msgstr ""
#: js/share.js:179
msgid "Expiration date"
msgstr ""
#: js/share.js:211
msgid "Share via email:"
msgstr ""
#: js/share.js:213
msgid "No people found"
msgstr ""
#: js/share.js:251
msgid "Resharing is not allowed"
msgstr ""
#: js/share.js:287
msgid "Shared in {item} with {user}"
msgstr ""
#: js/share.js:308
msgid "Unshare"
msgstr ""
#: js/share.js:320
msgid "can edit"
msgstr ""
#: js/share.js:322
msgid "access control"
msgstr ""
#: js/share.js:325
msgid "create"
msgstr ""
#: js/share.js:328
msgid "update"
msgstr ""
#: js/share.js:331
msgid "delete"
msgstr ""
#: js/share.js:334
msgid "share"
msgstr ""
#: js/share.js:368 js/share.js:564
msgid "Password protected"
msgstr ""
#: js/share.js:577
msgid "Error unsetting expiration date"
msgstr ""
#: js/share.js:589
msgid "Error setting expiration date"
msgstr ""
#: js/share.js:604
msgid "Sending ..."
msgstr ""
#: js/share.js:615
msgid "Email sent"
msgstr ""
#: js/update.js:14
msgid ""
"The update was unsuccessful. Please report this issue to the <a "
"href=\"https://github.com/owncloud/core/issues\" target=\"_blank\">ownCloud "
"community</a>."
msgstr ""
#: js/update.js:18
msgid "The update was successful. Redirecting you to ownCloud now."
msgstr ""
#: lostpassword/controller.php:48
msgid "ownCloud password reset"
msgstr ""
#: lostpassword/templates/email.php:2
msgid "Use the following link to reset your password: {link}"
msgstr ""
#: lostpassword/templates/lostpassword.php:4
msgid ""
"The link to reset your password has been sent to your email.<br>If you do "
"not receive it within a reasonable amount of time, check your spam/junk "
"folders.<br>If it is not there ask your local administrator ."
msgstr ""
#: lostpassword/templates/lostpassword.php:12
msgid "Request failed!<br>Did you make sure your email/username was right?"
msgstr ""
#: lostpassword/templates/lostpassword.php:15
msgid "You will receive a link to reset your password via Email."
msgstr "Dobićete vezu za resetovanje lozinke putem e-pošte."
#: lostpassword/templates/lostpassword.php:18 templates/installation.php:48
#: templates/login.php:19
msgid "Username"
msgstr "Korisničko ime"
#: lostpassword/templates/lostpassword.php:21
msgid "Request reset"
msgstr "Zahtevaj resetovanje"
#: lostpassword/templates/resetpassword.php:4
msgid "Your password was reset"
msgstr "Vaša lozinka je resetovana"
#: lostpassword/templates/resetpassword.php:5
msgid "To login page"
msgstr ""
#: lostpassword/templates/resetpassword.php:8
msgid "New password"
msgstr "Nova lozinka"
#: lostpassword/templates/resetpassword.php:11
msgid "Reset password"
msgstr "Resetuj lozinku"
#: strings.php:5
msgid "Personal"
msgstr "Lično"
#: strings.php:6
msgid "Users"
msgstr "Korisnici"
#: strings.php:7
msgid "Apps"
msgstr "Programi"
#: strings.php:8
msgid "Admin"
msgstr "Adninistracija"
#: strings.php:9
msgid "Help"
msgstr "Pomoć"
#: templates/403.php:12
msgid "Access forbidden"
msgstr ""
#: templates/404.php:12
msgid "Cloud not found"
msgstr "Oblak nije nađen"
#: templates/edit_categories_dialog.php:4
msgid "Edit categories"
msgstr ""
#: templates/edit_categories_dialog.php:16
msgid "Add"
msgstr ""
#: templates/installation.php:24 templates/installation.php:31
#: templates/installation.php:38
msgid "Security Warning"
msgstr ""
#: templates/installation.php:25
msgid "Your PHP version is vulnerable to the NULL Byte attack (CVE-2006-7243)"
msgstr ""
#: templates/installation.php:26
msgid "Please update your PHP installation to use ownCloud securely."
msgstr ""
#: templates/installation.php:32
msgid ""
"No secure random number generator is available, please enable the PHP "
"OpenSSL extension."
msgstr ""
#: templates/installation.php:33
msgid ""
"Without a secure random number generator an attacker may be able to predict "
"password reset tokens and take over your account."
msgstr ""
#: templates/installation.php:39
msgid ""
"Your data directory and files are probably accessible from the internet "
"because the .htaccess file does not work."
msgstr ""
#: templates/installation.php:40
msgid ""
"For information how to properly configure your server, please see the <a "
"href=\"http://doc.owncloud.org/server/5.0/admin_manual/installation.html\" "
"target=\"_blank\">documentation</a>."
msgstr ""
#: templates/installation.php:44
msgid "Create an <strong>admin account</strong>"
msgstr "Napravi <strong>administrativni nalog</strong>"
#: templates/installation.php:62
msgid "Advanced"
msgstr "Napredno"
#: templates/installation.php:64
msgid "Data folder"
msgstr "Facikla podataka"
#: templates/installation.php:74
msgid "Configure the database"
msgstr "Podešavanje baze"
#: templates/installation.php:79 templates/installation.php:91
#: templates/installation.php:102 templates/installation.php:113
#: templates/installation.php:125
msgid "will be used"
msgstr "će biti korišćen"
#: templates/installation.php:137
msgid "Database user"
msgstr "Korisnik baze"
#: templates/installation.php:144
msgid "Database password"
msgstr "Lozinka baze"
#: templates/installation.php:149
msgid "Database name"
msgstr "Ime baze"
#: templates/installation.php:159
msgid "Database tablespace"
msgstr ""
#: templates/installation.php:166
msgid "Database host"
msgstr "Domaćin baze"
#: templates/installation.php:172
msgid "Finish setup"
msgstr "Završi podešavanje"
#: templates/layout.guest.php:40
msgid "web services under your control"
msgstr ""
#: templates/layout.user.php:37
#, php-format
msgid "%s is available. Get more information on how to update."
msgstr ""
#: templates/layout.user.php:62
msgid "Log out"
msgstr "Odjava"
#: templates/login.php:9
msgid "Automatic logon rejected!"
msgstr ""
#: templates/login.php:10
msgid ""
"If you did not change your password recently, your account may be "
"compromised!"
msgstr ""
#: templates/login.php:12
msgid "Please change your password to secure your account again."
msgstr ""
#: templates/login.php:34
msgid "Lost your password?"
msgstr "Izgubili ste lozinku?"
#: templates/login.php:39
msgid "remember"
msgstr "upamti"
#: templates/login.php:41
msgid "Log in"
msgstr ""
#: templates/login.php:47
msgid "Alternative Logins"
msgstr ""
#: templates/part.pagenavi.php:3
msgid "prev"
msgstr "prethodno"
#: templates/part.pagenavi.php:20
msgid "next"
msgstr "sledeće"
#: templates/update.php:3
#, php-format
msgid "Updating ownCloud to version %s, this may take a while."
msgstr ""