chronos
view release on metacpan or search on metacpan
<script type="text/javascript">
@{[$self->javascript]}
</script>
</head>
<body>
<table width="100%">
<tr><td>
<table width="100%" cellspacing=0>
<tr>
<td class=top>Chronos $VERSION - <a class=header href="$uri?action=userprefs">$user <img src="/chronos_static/home.png" border=0></a></td>
<td class=top align=right><select name="object" style="background-color:black; color:white" onChange="switchobject(this.value)">
EOF
# We next print a select widget in the top right corner that lets the user
# change the object to another one. We only show objects on which the user
# has at least read access.
my $user_quoted = $dbh->quote( $self->user );
# There are two ways to have privileges on an object. An object can be
# declared public to everyone by using the public_readable and
# public_writable columns in the user table. An object can refine the
} elsif ( $action eq 'editevent' ) {
return Chronos::Action::EditEvent->new($self);
} elsif ( $action eq 'showmonth' ) {
return Chronos::Action::Showmonth->new($self);
} elsif ( $action eq 'showweek' ) {
return Chronos::Action::Showweek->new($self);
} elsif ( $action eq 'edittask' ) {
return Chronos::Action::EditTask->new($self);
} elsif ( $action eq 'savetask' ) {
return Chronos::Action::SaveTask->new($self);
} elsif ( $action eq 'userprefs' ) {
return Chronos::Action::UserPrefs->new($self);
} elsif ( $action eq 'saveuserprefs' ) {
return Chronos::Action::SaveUserPrefs->new($self);
} elsif ( $action eq 'getfile' ) {
return Chronos::Action::GetFile->new($self);
} elsif ( $action eq 'delfile' ) {
return Chronos::Action::DelFile->new($self);
}
# If the $action parameter was not known, we end up here. We then call
# ourself back with the default action as the parameter, to force a return
# of the default action. A Chronos::Action object should never be used.
Chronos/Chronos/Action/UserPrefs.pm view on Meta::CPAN
$name = encode_entities($name);
$email = encode_entities($email);
my $return = <<EOF;
<table style="border:none">
<tr>
<td valign=top>$minimonth</td>
<td valign=top width="100%">
<form method=post action="$uri">
<input type=hidden name=action value=saveuserprefs>
<table class=editevent>
<tr><th colspan=2>$text->{userprefs}</th></tr>
<tr>
<td><img src="/chronos_static/name.png"> $text->{name}</td>
<td><input name=name value="$name"></td>
</tr>
<tr>
<td><img src="/chronos_static/email.png"> $text->{email}</td>
<td><input name=email value="$email"></td>
</tr>
<tr>
<td><img src="/chronos_static/password.png"> $text->{password}</td>
--
Chronos %%VERSION%% by Linux Québec Technologies
EOF
errornotauthorized=Sie sind für diese Aktion nicht zugelassen.
tasklist=Aufgabenliste
tasktitle=Titel:
tasknotes=Notiz:
taskpriority=Priorität:
newtask=Aufgabe hinzufügen
options=Optionen
userprefs=Benutzer Voreinstellungen
lang=Sprache:
agendatype=Kalender Typ:
publicrw=Öffentlich zum Lesen und Schreiben
publicr=Öffentlich zum Lesen
private=Privat
indivpriv=Individuelle Rechte:
nopriv=Keine Rechte
r=Lesen
rw=Lesen/Schreiben
email=Email Adresse:
--
Chronos %%VERSION%% by Linux Québec Technologies
EOF
errornotauthorized=You are not authorized to do this action.
tasklist=Task list
tasktitle=Title:
tasknotes=Notes:
taskpriority=Priority:
newtask=Add a task
options=Options
userprefs=User preferences
lang=Language:
agendatype=Agenda type:
publicrw=Public for reading and writing
publicr=Public for reading only
private=Private
indivpriv=Individual privileges:
nopriv=No privileges
r=Read
rw=Read/write
email=Email address:
--
Chronos %%VERSION%% par Linux Québec Technologies
EOF
errornotauthorized=Vous n'êtes pas autorisé à commettre cette action.
tasklist=Liste des tâches
tasktitle=Titre:
tasknotes=Notes:
taskpriority=Priorité:
newtask=Ajouter une tâche
options=Options
userprefs=Préférences de l'usager
lang=Langue:
agendatype=Type d'agenda:
publicrw=Publique en lecture et écriture
publicr=Publique en lecture seulement
private=Privé
indivpriv=Privilèges individuels:
nopriv=Aucun privilège
r=Lecture
rw=Lecture et écriture
email=Adresse de courrier électronique:
--
Chronos %%VERSION%% by Linux Québec Technologies
EOF
errornotauthorized=Operazione non autorizzata.
tasklist=Lista eventi
tasktitle=Titolo:
tasknotes=Note:
taskpriority=Priorita':
newtask=Aggiungi un evento
options=Opzioni
userprefs=Preferenze utente
lang=Lingua:
agendatype=Tipo Agenda:
publicrw=Pubblicare per lettura e scrittura
publicr=Pubblicare solo per lettura
private=Privato
indivpriv=Privilegi individuali:
nopriv=Nessun privilegio
r=Leggi
rw=Leggi/Scrivi
email=Indirizzo Email:
--
Chronos %%VERSION%% van Linux Québec Technologies
EOF
errornotauthorized=U bent niet geautoriseerd deze actie te ondernemen.
tasklist=Takenlijst
tasktitle=Titel:
tasknotes=Notities:
taskpriority=Prioriteit:
newtask=Voeg een taak toe
options=Opties
userprefs=Gebruikersinstellingen
lang=Taal:
agendatype=Agenda type:
publicrw=Lees en schrijftoegang voor allen
publicr=Alleen leestoegang voor allen
private=Prive
indivpriv=Individuele privileges:
nopriv=Geen privileges
r=Lezen
rw=Lezen/schrijven
email=Email adres:
--
Chronos %%VERSION%% av Linux Québec Technologies
EOF
errornotauthorized=Du har ikke tilgang til å utføre dette.
tasklist=Liste over gjøremål
tasktitle=Tittel:
tasknotes=Notater:
taskpriority=Prioritet:
newtask=Legg til gjøremål
options=Opsjoner
userprefs=Bruker preferanser
lang=Språk:
agendatype=Dagsplan type:
publicrw=Lese og skrivetilgang for alle
publicr=Kun lesetilgang for alle
private=Privat
indivpriv=Individuelle privilegier:
nopriv=Ingen privilegier
r=Les
rw=Les/skriv
email=Email addresse:
--
Chronos %%VERSION%% by Linux Québec Technologies
EOF
errornotauthorized=Você não tem permissão para realizar esta operação.
tasklist=Lista de tarefas.
tasktitle=Título:
tasknotes=Notas:
taskpriority=Prioridades:
newtask=Nova tarefa
options=Opções
userprefs=Preferências do usuário
lang=Língua:
agendatype=Tipo de Agenda:
publicrw=Público para leitura e escrita
publicr=Público somente para leitura
private=Privativa
indivpriv=Privilégios individuais:
nopriv=Sem privilégios
r=Leitura
rw=Leitura/escrita
email=Endereço de email:
--
Chronos %%VERSION%% by Linux Québec Technologies
EOF
errornotauthorized=Du har inte rättighet att utföra denna uppgift.
tasklist=Uppgiftslista
tasktitle=Titel:
tasknotes=Anteckningar:
taskpriority=Prioritet:
newtask=Lägg till en uppgift
options=Valmöjligheter
userprefs=Användarinställningar
lang=Språk:
agendatype=Typ av agenda:
publicrw=Tillgänglig för att läsa och skriva
publicr=Endast tillgänglig för att läsa
private=Privat
indivpriv=Rättigheter:
nopriv=Inga rättigheter
r=Läsa
rw=Läsa/Skriva
email=e-postadress:
( run in 2.390 seconds using v1.01-cache-2.11-cpan-8f98c5d2c55 )