merged admin, help and settings to settings
@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Init owncloud
|
||||
require_once('../../lib/base.php');
|
||||
|
||||
// We send json data
|
||||
header( "Content-Type: application/jsonrequest" );
|
||||
|
||||
// Check if we are a user
|
||||
if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){
|
||||
echo json_encode( array( "status" => "error", "data" => array( "message" => "Authentication error" )));
|
||||
exit();
|
||||
}
|
||||
|
||||
$username = $_POST["username"];
|
||||
$password = $_POST["password"];
|
||||
|
||||
// Return Success story
|
||||
if( OC_User::setPassword( $username, $password )){
|
||||
echo json_encode( array( "status" => "success", "data" => array( "username" => $username )));
|
||||
}
|
||||
else{
|
||||
echo json_encode( array( "status" => "error", "data" => array( "message" => "Unable to change password" )));
|
||||
}
|
||||
|
||||
?>
|
||||
@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
OC_App::register( array( "order" => 1, "id" => "admin", "name" => "Administration" ));
|
||||
|
||||
?>
|
||||
@ -1,3 +0,0 @@
|
||||
li{color:#888}
|
||||
li.active{color:#000}
|
||||
span.version{margin-left:3em;color:#ddd}
|
||||
@ -1,13 +0,0 @@
|
||||
form { display:inline; }
|
||||
td.name, td.password { padding-left:.8em; }
|
||||
td.password>img, td.remove>img { display:none; cursor:pointer; }
|
||||
td.password>span { margin-right:1.2em; }
|
||||
td.password { width:12em; cursor:pointer; }
|
||||
|
||||
td.remove { width:1em; }
|
||||
tr:hover>td.password>span { margin:0; cursor:pointer; }
|
||||
tr:hover>td.remove>img, tr:hover>td.password>img { display:inline; cursor:pointer; }
|
||||
tr:hover>td.remove>img { float:right; }
|
||||
li.selected { background-color:#ddd; }
|
||||
#content>table { margin-top:6.5em; }
|
||||
table { width:100%; }
|
||||
@ -1,19 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"read more" => "læs mere",
|
||||
"INSTALL" => "INSTALLER",
|
||||
"Apps Repository" => "Applikation arkiv",
|
||||
"Cannot connect to apps repository" => "Kan ikke oprette forbindelse til applikations arkivet",
|
||||
"Name" => "Navn",
|
||||
"Modified" => "Ændret",
|
||||
"Administration" => "Administration",
|
||||
"System Settings" => "System indstillinger",
|
||||
"Users" => "Brugere",
|
||||
"Groups" => "Grupper",
|
||||
"Password" => "Kodeord",
|
||||
"remove" => "slet",
|
||||
"Create group" => "Lav gruppe",
|
||||
"Force new password:" => "Tving ny adgangskode",
|
||||
"Set" => "Indstil",
|
||||
"Do you really want to delete user" => "Vil du virkelig slette denne bruger?",
|
||||
"Do you really want to delete group" => "Vil du virkelig slette denne gruppe?"
|
||||
);
|
||||
@ -1,20 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"read more" => "mehr …",
|
||||
"INSTALL" => "Installieren",
|
||||
"Apps Repository" => "Anwendungen",
|
||||
"Cannot connect to apps repository" => "Verbindung fehlgeschlagen",
|
||||
"Name" => "Name",
|
||||
"Modified" => "Änderungsdatum",
|
||||
"Administration" => "Verwaltung",
|
||||
"System Settings" => "Systemeinstellungen",
|
||||
"Users" => "Nutzer",
|
||||
"Groups" => "Gruppen",
|
||||
"Password" => "Passwort",
|
||||
"Create" => "Erstellen",
|
||||
"remove" => "entfernen",
|
||||
"Create group" => "Gruppe erstellen",
|
||||
"Force new password:" => "Neues Passwort:",
|
||||
"Set" => "OK",
|
||||
"Do you really want to delete user" => "Möchtest du den Nutzer wirklich entfernen?",
|
||||
"Do you really want to delete group" => "Möchtest du die Gruppe wirklich entfernen?"
|
||||
);
|
||||
@ -1,20 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"read more" => "leer más",
|
||||
"INSTALL" => "Instalar",
|
||||
"Apps Repository" => "Repositorio de aplicaciones ",
|
||||
"Cannot connect to apps repository" => "No se pudo conectar con el repositorio de aplicaciones",
|
||||
"Name" => "Nombre",
|
||||
"Modified" => "Modificado",
|
||||
"Administration" => "Administración",
|
||||
"System Settings" => "Ajustes del Sistema",
|
||||
"Users" => "Usuarios",
|
||||
"Groups" => "Grupos",
|
||||
"Password" => "Contraseña",
|
||||
"Create" => "Crear",
|
||||
"remove" => "Eliminar",
|
||||
"Create group" => "Crear grupo",
|
||||
"Force new password:" => "Forzar una nueva contraseña",
|
||||
"Set" => "Aplicar",
|
||||
"Do you really want to delete user" => "¿Seguro que quieres eliminar este usuario?",
|
||||
"Do you really want to delete group" => "¿Seguro que quieres eliminar este grupo?"
|
||||
);
|
||||
@ -1,20 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"read more" => "en lire plus",
|
||||
"INSTALL" => "INSTALLATION",
|
||||
"Apps Repository" => "Répertoire d'applications",
|
||||
"Cannot connect to apps repository" => "Impossible de se connecter au répertoire d'applications",
|
||||
"Name" => "Nom",
|
||||
"Modified" => "Modifié le",
|
||||
"Administration" => "Administration",
|
||||
"System Settings" => "Préférences Système",
|
||||
"Users" => "Utilisateurs",
|
||||
"Groups" => "Groupes",
|
||||
"Password" => "Mot de passe",
|
||||
"Create" => "Créer",
|
||||
"remove" => "retirer",
|
||||
"Create group" => "Créer un groupe",
|
||||
"Force new password:" => "Forcer un nouveau mot de passe :",
|
||||
"Set" => "Appliquer",
|
||||
"Do you really want to delete user" => "Voulez-vous réellement supprimer cet utilisateur",
|
||||
"Do you really want to delete group" => "Voulez-vous réellement supprimer ce groupe"
|
||||
);
|
||||
@ -1,19 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"read more" => "Meer informatie",
|
||||
"INSTALL" => "Installeer",
|
||||
"Apps Repository" => "Applicatiedatabase",
|
||||
"Cannot connect to apps repository" => "Kan geen verbinding maken met de applicatiedatabase",
|
||||
"Name" => "Naam",
|
||||
"Modified" => "Laatst aangepast",
|
||||
"Administration" => "Administratie",
|
||||
"System Settings" => "Systeeminstellingen",
|
||||
"Users" => "Gebruikers",
|
||||
"Groups" => "Groepen",
|
||||
"Password" => "Wachtwoord",
|
||||
"remove" => "verwijder",
|
||||
"Create group" => "Groep aanmaken",
|
||||
"Force new password:" => "Forceer nieuw wachtwoord:",
|
||||
"Set" => "Ok",
|
||||
"Do you really want to delete user" => "Wilt u deze gebruiker verwijderen",
|
||||
"Do you really want to delete group" => "Wilt u deze groep verwijderen"
|
||||
);
|
||||
@ -1,19 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"read more" => "czytaj więcej",
|
||||
"INSTALL" => "INSTALUJ",
|
||||
"Apps Repository" => "Repozytorium aplikacji",
|
||||
"Cannot connect to apps repository" => "Nie można połączyć się z repozytorium aplikacji",
|
||||
"Name" => "Nazwa",
|
||||
"Modified" => "Zmodyfikowano",
|
||||
"Administration" => "Administracja",
|
||||
"System Settings" => "Ustawienia systemowe",
|
||||
"Users" => "Użytkownicy",
|
||||
"Groups" => "Grupy",
|
||||
"Password" => "Hasło",
|
||||
"remove" => "usuń",
|
||||
"Create group" => "Utwórz grupę",
|
||||
"Force new password:" => "Wymuś nowe hasło",
|
||||
"Set" => "Ustaw",
|
||||
"Do you really want to delete user" => "Czy naprawdę chcesz usunąć użytkownika",
|
||||
"Do you really want to delete group" => "Czy naprawdę chcesz usunąć grupę"
|
||||
);
|
||||
@ -1,36 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* ownCloud
|
||||
*
|
||||
* @author Frank Karlitschek
|
||||
* @copyright 2010 Frank Karlitschek karlitschek@kde.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');
|
||||
if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){
|
||||
header( "Location: ".OC_Helper::linkTo( "", "index.php" ));
|
||||
exit();
|
||||
}
|
||||
|
||||
OC_App::setActiveNavigationEntry( "administration" );
|
||||
|
||||
$tmpl = new OC_Template( "admin", "system", "user" );
|
||||
$tmpl->printPage();
|
||||
|
||||
?>
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
<h2><?php echo $l->t( 'System Settings' ); ?></h2>
|
||||
#TBD
|
||||
@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
OC_App::register( array( "order" => 1, "id" => "help", "name" => "Help" ));
|
||||
|
||||
?>
|
||||
@ -1,10 +0,0 @@
|
||||
/* APPS TABLE */
|
||||
table td.date { width:5em; padding:.5em 1em; text-align:right; }
|
||||
.preview { padding:3px; text-align:left; }
|
||||
table td.date { width:11em; color:#555555; }
|
||||
table td.selection, table th.selection, table td.fileaction { width:2em; text-align:center; }
|
||||
table td.name a { padding:6px; text-decoration:none; color:#555555; }
|
||||
.type { text-decoration:none; color:#888888; font-size:.8em; }
|
||||
.description { text-decoration:none; color:#666666; font-size:.9em; }
|
||||
|
||||
table#help tr td { white-space:normal; }
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Въпроси и отговори",
|
||||
"ASK A QUESTION" => "ЗАДАЙТЕ ВЪПРОС"
|
||||
);
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Spørgsmål og Svar",
|
||||
"ASK A QUESTION" => "STIL ET SPØRGSMÅL"
|
||||
);
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Fragen & Antworten",
|
||||
"ASK A QUESTION" => "Stell eine Frage"
|
||||
);
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Preguntas y Respuestas",
|
||||
"ASK A QUESTION" => "Haz una pregunta"
|
||||
);
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Questions / Réponses",
|
||||
"ASK A QUESTION" => "Poser une question"
|
||||
);
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Vraag en Antwoord",
|
||||
"ASK A QUESTION" => "Stel een vraag"
|
||||
);
|
||||
@ -1,4 +0,0 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Questions and Answers" => "Pytania i odpowiedzi",
|
||||
"ASK A QUESTION" => "ZADAJ PYTANIE"
|
||||
);
|
||||
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
OC_App::register( array( "id" => "settings", "name" => "Settings" ));
|
||||
OC_App::register( array( "order" => 1, "id" => "admin", "name" => "Administration" ));
|
||||
OC_App::register( array( "order" => 1, "id" => "help", "name" => "Help" ));
|
||||
|
||||
?>
|
||||
|
||||
@ -1,4 +1,30 @@
|
||||
/* PERSONAL */
|
||||
#passworderror { display:none; }
|
||||
#passwordchanged { display:none; }
|
||||
|
||||
input#identity { width:20em; }
|
||||
|
||||
|
||||
/* USERS */
|
||||
form { display:inline; }
|
||||
td.name, td.password { padding-left:.8em; }
|
||||
td.password>img, td.remove>img { display:none; cursor:pointer; }
|
||||
td.password>span { margin-right:1.2em; }
|
||||
td.password { width:12em; cursor:pointer; }
|
||||
|
||||
td.remove { width:1em; }
|
||||
tr:hover>td.password>span { margin:0; cursor:pointer; }
|
||||
tr:hover>td.remove>img, tr:hover>td.password>img { display:inline; cursor:pointer; }
|
||||
tr:hover>td.remove>img { float:right; }
|
||||
li.selected { background-color:#ddd; }
|
||||
#content>table { margin-top:6.5em; }
|
||||
table { width:100%; }
|
||||
|
||||
|
||||
/* APPS */
|
||||
li{color:#888}
|
||||
li.active{color:#000}
|
||||
span.version{margin-left:3em;color:#ddd}
|
||||
|
||||
|
||||
/* HELP */
|
||||
table#help tr td { white-space:normal; }
|
||||
|
||||
|
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 474 B |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |