Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 569

Přidáno uživatelem harryhk před téměř 15 roky(ů)

Zobrazit rozdíly:

freenetis/trunk/kohana/media/css/style.css
font-weight:normal;
padding-bottom:5px;
}
#menu li.account, #menu li.transfer, #menu li.users, #menu li.networks, #menu li.administration{
#menu li.account, #menu li.transfer, #menu li.users, #menu li.networks, #menu li.administration, #menu li.redirection, #menu li.backup {
padding-left:45px;
padding-top:10px;
list-style-type:none;
......
#menu li.administration {
background: #FFFFFF url(../images/menu/administration.png) 5px 5px no-repeat;
}
#menu li.redirection {
background: #FFFFFF url(../images/menu/redirection.png) 5px 5px no-repeat;
}
#menu li.backup {
background: #FFFFFF url(../images/menu/backup.png) 5px 5px no-repeat;
}
/* -------#end MENU-------- */
/* ------------------------ */
freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php
'account transfers' => 'Převody účtu',
'account type' => 'Typ účtu',
'accounting system' => 'Účetní osnova',
'action' => 'Akce',
'activate' => 'Aktivovat',
'add' => 'Přidat',
'add admin to redirection module' => 'Přidat správce do modulu přesměrování',
'add member fee payment by cash' => 'Přidat platbu členského příspěvku hotově',
'add new account' => 'Přidat nový účet',
'add new admin' => 'Přidat nového správce',
'add new bank account' => 'Přidat nový bankovní účet',
'add new bank account of association' => 'Přidat nový bankovní účet sdružení',
'add new bank transfer' => 'Přidat novou bankovní platbu',
......
'add new credit account' => 'Přidat nový kreditní účet',
'add new device' => 'Přidat nové zařízení',
'add new device for user' => 'Přidat nové zařízení pro uživatele',
'add new device admin' => 'Přidat nového správce zařízení',
'add new device engineer' => 'Přidat nového technika zařízení',
'add new enum type' => 'Přidat nový výčet',
'add new fee' => 'Přidat nový poplatek',
......
'administration of additional contacts' => 'Přidávání/editace dalších kontaktních informací',
'administration of members registrations' => 'Administrace přihlášek členů',
'admin' => 'Správce',
'admin contacting' => 'Kontaktování správce',
'admin has been successfully added' => 'Správce byl úspěšně přidán.',
'admin has been successfully removed' => 'Správce byl úspěšně odebrán.',
'admin has been successfully removed from this device' => 'Správce byl úspěšně odebrán od tohoto zařízení.',
'admins' => 'Správci',
'admins were succesfully imported' => 'Správci byli úspěšně importováni',
'advanced configuration' => 'Pokročilé nastavení',
'advanced information' => 'Pokročilé informace',
'all' => 'Všichni',
'all redirected' => 'Všichni přesměrovaní',
'all transfers' => 'Všechny převody',
......
'at least one member still has this address point' => 'Alespoň jeden člen má tento adresní bod.',
'auditing comittee' => 'Revizní komise',
'author fee' => 'Autorský poplatek',
'automatically import admins' => 'Automaticky přidat správce oblastí',
'back' => 'Zpět',
'back to account transfers' => 'Zpět na převody účtu',
'back to administration' => 'Zpět na administraci',
'back to all subnets' => 'Zpět na seznam podsítí',
'back to bank account' => 'Zpět na bankovní účet',
'back to bank accounts' => 'Zpět na bankovní účty',
......
'back to the invoice item' => 'Zpět na položku faktury',
'back to the member' => 'Zpět na profil člena',
'back to the members transfers' => 'Zpět na převody člena',
'back to the redirection list' => 'Zpět na přesměrované záznamy',
'back to the subnet' => 'Zpět na podsíť',
'back to the user' => 'Zpět na uživatele',
'back to the work' => 'Zpět k práci',
......
'back to vlan interface parameters' => 'Zpět na parametry VLAN rozhraní',
'back to vlan interfaces list' => 'Zpět na seznam VLAN rozhraní',
'back to vlans list' => 'Zpět na seznam VLANů',
'backup' => 'Zálohování',
'bad entrance date' => 'Chybný datum vstupu.',
'bad phone format' => 'Špatný formát telefonu',
'bad variable symbol format' => 'Špatný formát variabilního symbolu.',
......
'collateral' => 'Vedlejší',
'column headers' => 'Hlavičky sloupců',
'comment' => 'Komentář',
'configuration files' => 'Konfigurační soubory',
'confirm' => 'Potvrdit',
'confirm password' => 'Heslo znovu',
'confirm new password' => 'Nové heslo znovu',
......
'delete_member' => 'Smazat tohoto člena',
'delete_work' => 'Smazat tuto práci',
'delete' => 'Smazat',
'delete selection' => 'Smazat výběr',
'delete wireless setting' => 'Smazat bezdrátové nastavení',
'deleted' => 'Smazal',
'dependent transfer' => 'Závislý převod',
'deposit' => 'Vklad',
'description' => 'Popis',
......
'destination bank account' => 'Cílový bankovní účet',
'destination credit account' => 'Cílový kreditní účet',
'destination language' => 'Cílový jazyk',
'destination website' => 'Cílový web',
'detail of transfer number' => 'Detail převodu',
'details' => 'Detaily',
'device' => 'Zařízení',
'device id' => 'ID zařízení',
'device admin is successfully saved' => 'Správce zařízení byl úspěšně uložen.',
'device admin is successfully updated' => 'Správce zařízení byl úspěšně upraven.',
'device admins' => 'Správci zařízení',
......
'device has been successfully deleted' => 'Zařízení bylo úspěšně smazáno.',
'device has been successfully saved' => 'Zařízení bylo úspěšně uloženo.',
'device has been successfully updated' => 'Zařízení bylo úspěšně upraveno.',
'device id' => 'ID zařízení',
'device information' => 'Informace o zařízení',
'device list of user' => 'Seznam zařízení uživatele',
'device name' => 'Název zařízení',
......
'device_type' => 'Typ zařízení',
'devices list' => 'Seznam zařízení',
'devices' => 'Zařízení',
'dhcp configuration' => 'Konfigurace DHCP',
'dhcp configuration file was successfully generated' => 'Konfigurační soubor pro DHCP byl úspěšně vygenerován',
'disabled' => 'Vypnuto',
'display member' => 'Zobraz člena',
'display user' => 'Zobraz uživatele',
'dns configuration' => 'Konfigurace DNS',
'dns configuration files were successfully generated' => 'Konfigurační soubory pro DNS byly úspěšně vygenerovány',
'do transfer' => 'Proveď transakci',
'do you want to cancel this redirection' => 'Chcete zrušit toto přesměrování',
'do you want to delete this address point' => 'Chcete smazat tento adresní bod',
'do you want to delete this device' => 'Chcete smazat toto zařízení',
'do you want to delete this interface' => 'Chcete smazat toto rozhraní',
'do you want to delete this ip address' => 'Chcete smazat tuto IP adresu',
'do you want to delete this port' => 'Chcete smazat tento port',
'do you want to delete this rule' => 'Chcete smazat toto pravidlo',
'do you want to delete this street' => 'Chcete smazat tuto ulici',
'do you want to delete this subnet' => 'Chcete smazat toto podsíť',
'do you want to delete this town' => 'Chcete smazat toto město',
......
'domicile' => 'Bydliště',
'double entry account' => 'Podvojný účet',
'double-entry accounts' => 'Podvojné účty',
'duration' => 'Trvání',
'due date' => 'Datum splatnosti',
'duplex' => 'Duplexní',
'economy' => 'Ekonomika',
......
'edit invoice' => 'Upravit fakturu',
'edit invoice item' => 'Upravit položku faktury',
'edit ip address' => 'Upravit IP adresu',
'edit ip address redirection' => 'Upravit přesměrování IP adresy',
'edit member' => 'Upravit člena',
'edit port' => 'Úprava portu',
'edit registrations' => 'Upravit přihlášky',
......
'edit vlan interface' => 'Úprava VLAN rozhraní',
'edit vlan' => 'Úprava VLANu',
'edit wireless setting' => 'Upravit bezdrátové nastavení',
'edited' => 'Upravil',
'editing of account' => 'Úprava účtu',
'editing of address point' => 'Úprava adresního bodu',
'editing of member' => 'Úprava člena',
......
'email' => 'E-mail',
'enabled' => 'Zapnuto',
'end membership' => 'Ukončit členství',
'end of month' => 'Konec měsíce',
'engineer' => 'Technik',
'engineer has been successfully removed from this device' => 'Technik byl úspěšně odebrán od tohoto zařízení.',
'engineers' => 'Technici',
......
'error - cant add new work' => 'Chyba - nelze přidat novou práci.',
'error - cant deduct entrance fee' => 'Chyba - nelze strhnout vstupní příspěvek.',
'error - cant delete address point' => 'Chyba - nelze smazat adresní bod.',
'error - cant delete admin' => 'Chyba - nelze smazat správce.',
'error - cant delete device' => 'Chyba - nelze smazat zařízení.',
'error - cant delete interface' => 'Chyba - nelze smazat rozhraní.',
'error - cant delete ip address' => 'Chyba - nelze smazat IP adresu.',
......
'fill in at least one from prices' => 'Vyplňte alespoň jednu z cen.',
'filter' => 'Filtrovat',
'finances' => 'Finance',
'first number mustn\'t be larger then second number' => 'První číslo nesmí být větší než druhé číslo',
'first number can\'t be larger then second number' => 'První číslo nesmí být větší než druhé číslo',
'first or last day of month is not valid' => 'První nebo poslední den v měsíci není správně.',
'format' => 'Formát',
'former member' => 'Bývalý člen',
'forward dns' => 'Dopředné DNS',
'forward dns zone file was successfully generated' => 'Dopředný zónový soubor DNS byl úspěšně vygenerován',
'forward records' => 'Dopředné záznamy',
'frequence' => 'Frekvence',
'from/to' => 'Od/komu',
'from' => 'Od',
......
'gateway information' => 'Informace o bráně',
'gateway ip address' => 'IP adresa brány',
'gateway name' => 'Jméno brány',
'general information' => 'Obecné informace',
'generate' => 'Generovat',
'generate dhcp files' => 'Generovat soubory DHCP',
'generate forward dns files' => 'Generovat dopředné soubory DNS',
'generate mac restriction files' => 'Generovat soubory MAC restrikcí',
'generate reverse dns files' => 'Generovat zpětné soubory DNS',
'generation of configuration files' => 'Generování konfiguračních souborů',
'gps' => 'GPS souřadnice',
'group' => 'Skupina',
'honorary member' => 'Čestný člen',
'hours' => 'Hodin',
'hours2' => 'Hodiny',
'chairman and agent' => 'Předseda a jednatel',
'change' => 'Změnit',
'change application password' => 'Změnit aplikační heslo',
......
'import new invoice' => 'Import nové faktury',
'import results' => 'Výsledky importu',
'inbound' => 'Příchozí',
'indefinitely' => 'Na neurčito',
'information' => 'Informace',
'information about main user' => 'Informace o hlavním uživateli',
'information about you' => 'Informace o vás',
'information for members (how to log in)' => 'Informace pro členy (jak se přihlásit)',
'infrastructure account' => 'Účet infrastruktury',
'insert' => 'Vložit',
'install' => 'Instalovat',
'installation' => 'Instalace',
'interests' => 'Úroky',
......
'interval of interruption collides with another interruption of this member' => 'Interval přerušení koliduje s jiným přerušením tohoto člena',
'invalid ip address' => 'Chybná IP adresa',
'invalid network address' => 'Neplatná adresa sítě !',
'invalid subnet netmask' => 'Chybná maska podsítě',
'invoice' => 'Faktura',
'invoice has been successfully added' => 'Faktura byla úspěšně přidána.',
'invoice has been successfully deleted' => 'Faktura byla úspěšně smazána.',
......
'ip address is required' => 'IP adresa je vyžadována.',
'ip address is successfully saved' => 'IP adresa byla úspěšně uložena.',
'ip address is successfully updated' => 'IP adresa byla úspěšně upravena.',
'ip addresses has been successfully deleted' => 'IP adresy byly úspěšně smazány',
'ip addresses list' => 'Seznam IP adres',
'ip addresses list of member' => 'Seznam IP adres člena',
'ip addresses' => 'IP adresy',
......
'list of all confirmed works' => 'Seznam všech potvrzených prací',
'list of all invoices' => 'Seznam všech faktur',
'list of all members' => 'Seznam všech členů',
'list of all redirected records' => 'Seznam všech přesměrovaných záznamů',
'list of all streets' => 'Seznam všech ulic',
'list of all towns' => 'Seznam všech měst',
'list of all transactions' => 'Seznam všech převodů',
......
'list of works of user' => 'Seznam prací uživatele',
'location address' => 'Adresa umístění',
'location details' => 'Detaily umístění',
'lock' => 'Zámek',
'lock for others' => 'Uzamknout pro ostatní',
'locked' => 'Uzamčen',
'log in to freenetis system' => 'Přihlásit do systému Freenetis',
'logged user' => 'Přihlášený uživatel',
......
'logout' => 'Odhlásit',
'mac' => 'MAC',
'mac address' => 'MAC adresa',
'mac restriction' => 'MAC restrikce',
'mac restriction file was successfully generated' => 'Soubor s MAC restrikcemi byl úspěšně vygenerován',
'main' => 'Hlavní',
'map' => 'Mapa',
'magic switch :-)' => 'Kůzelné tlačítko :-)',
......
'membership of the member has been successfully restored' => 'Členství člena bylo úspěšně obnoveno.',
'memory consumed' => 'Spotřeba paměti',
'message' => 'Zpráva',
'message for user' => 'Zpráva pro uživatele',
'middle name' => 'Prostřední jméno',
'minimal duration of interrupt is one month' => 'Minimální délka přerušení je jeden měsíc',
'mode' => 'Mód',
......
'non-member' => 'Nečlen',
'non-statutory member' => 'Člen bez statusu',
'norm' => 'Norma',
'note' => 'Poznámka',
'number' => 'Číslo',
'numbers' => 'Čísla',
'number interval' => 'Rozsah čísel',
......
'old password' => 'Staré heslo',
'operating account' => 'Provozní účet',
'optional' => 'nepovinné',
'optional information' => 'Nepovinné informace',
'optional message' => 'Volitelná zpráva',
'optional message text' => 'Text pro volitelná zpráva',
'or' => 'nebo',
......
'penalty and fee' => 'Poplatky a pokuty',
'penalty for unidentified transfer' => 'Pokuta za neidentifikovanou platbu',
'penalty have to be a number' => 'Pokuta musí být číslo',
'permanent' => 'Trvalé',
'phone' => 'Telefon',
'phone already exists in database' => 'Telefon je již v databázi',
'please contact administrator' => 'Prosím kontaktujte administrátora.',
......
'previous transfer' => 'Předchozí převod',
'price' => 'Cena',
'price vat' => 'Cena s DPH',
'primary dns' => 'Primární DNS.',
'primary user of member cannot be deleted' => 'Primárního uživatele člena nelze smazat.',
'project account' => 'Účet projektu',
'project subaccounts' => 'Projektové podúčty',
......
'qos rate' => 'Rate (limit-at) pro QoS',
'quantity' => 'Množství',
'quarter' => 'Městská část',
'range of ip addresses' => 'Rozsah IP adres',
'range of ip addresses - first host' => 'Rozsah IP adres - první host',
'range of ip addresses - last host' => 'Rozsah IP adres - poslední host',
'rating' => 'Ohodnocení',
'really delete this account' => 'Opravdu smazat tento účet',
'received member fees' => 'Přijaté členské příspěvky',
'recount of member fees' => 'Přepočítání členských příspěvků',
'redir' => 'Přesm',
'redirect' => 'Přesměrovat',
'redirect ip address' => 'Přesměrovat IP adresu',
'redirect ip subnet' => 'Přesměrovat IP subnet',
'redirect range of ip addresses' => 'Přesměrovat rozsah IP adres',
'redirect the user' => 'Přesměrovat uživatele',
'redirected' => 'Přesměroval',
'redirection' => 'Přesměrování',
'redirection enabled' => 'Přesměrování zapnuto',
'redirection has been successfully update' => 'Přesměrování bylo úspěšně upraveno.',
'redirection has been successfully set' => 'Přesměrování bylo úspěšně nastaveno.',
'redirection logs' => 'Logy přesměrování',
'redirection records' => 'Záznamy přesměrování',
'redirection settings' => 'Nastavení přesměrování',
'reg' => 'Přih.',
'register' => 'Registrovat',
'registered applicants' => 'Registrovaní zájemci',
......
'regular member' => 'Řádný člen',
'regular members' => 'Řádní členové',
'remove' => 'Odebrat',
'remove broadcast ip address' => 'Odebrat IP adresu broadcastu',
'remove network ip address' => 'Odebrat IP adresu sítě',
'restore membership' => 'Obnovit členství',
'reverse dns' => 'Zpětné DNS',
'reverse dns zone file was successfully generated' => 'Zpětný zónový soubor DNS byl úspěšně vygenerován',
'reverse records' => 'Zpětné záznamy',
'routers ip address' => 'IP adresa routeru',
'rules breaking' => 'Porušování pravidel',
'save changes' => 'Uložit změny',
'save' => 'Uložit',
'save wireless setting' => 'Uložit bezdrátové nastavení',
'search' => 'Hledat',
'secondary dns' => 'Sekundární DNS.',
'section' => 'Sekce',
'send' => 'Odeslat',
'segment detail' => 'Detail segmentu',
......
'segments list' => 'Seznam segmentů',
'segments' => 'Segmenty',
'select' => 'Vyber',
'select action' => 'Vyber činnost',
'select area' => 'Vyber oblast',
'select area prefix' => 'Vyber prefix oblasti',
'select destination web' => 'Vyber cíl přesměrování',
'select device' => 'Vyber zařízení',
'select duration' => 'Vyber trvání přesměrování',
'select interface' => 'Vyber rozhraní',
'select member' => 'Vyber člena',
'select vlan interface' => 'Vyber VLAN rozhraní',
......
'select port' => 'Vyber port',
'select segment' => 'Vyber segment',
'select street' => 'Vyber ulici',
'select subnet' => 'Vyber podsíť',
'select subnet ip' => 'Vyber IP adresu podsítě',
'select subnet name' => 'Vyber jméno podsítě',
'select subnet ip' => 'Vyber IP adresu podsítě',
'select subnet' => 'Vyber podsíť',
'select the member' => 'Vyber člena',
'select type' => 'Vyber typ',
'select user' => 'Vyber uživatele',
......
'selected account does not exist'=>'Vybraný účet neexistuje',
'self-registration' => 'Samo-registrace',
'send e-mail' => 'Pošli e-mail',
'send e-mail notification after expiration' => 'Poslat zprávu na e-mail po vypršení přesměrování',
'send money to other account' => 'Poslat peníze na jiný účet',
'send sms' => 'Pošli SMS',
'send to member' => 'Pošli členovi',
'service' => 'Služba',
'settings' => 'Nastavení',
'settings for configuration files has been successfully updated' => 'Nastavení pro kofigurační soubory bylo úspěšně upraveno',
'show' => 'Zobrazit',
'show all confirmed works' => 'Zobraz všechnny potvrzené práce',
'show all transfers on the account' => 'Ukaž všechny převody tohoto účtu',
......
'show works' => 'Zobrazit práce',
'show invoice' => 'Zobrazit fakturu',
'show invoice item' => 'Zobrazit položku faktury',
'show redirection' => 'Zobrazit přesměrování',
'show transfer' => 'ukaž transakci',
'show transfers on this account' => 'Ukaž převody tohoto účtu',
'show user' => 'Ukaž uživatele',
'show work' => 'Zobrazit práci',
'specific symbol' => 'Specifický symbol',
'start amount' => 'Počáteční částka',
'static ip' => 'Statická IP',
'street' => 'Ulice',
'street already exists' => 'Ulice již existuje',
'street detail' => 'Detail ulice',
......
'system variables have been successfully updated' => 'Systémové proměnné byly úspěšně aktualizovány',
'system variables havent been updated' => 'Systémové proměnné nebyly úspěšně aktualizovány',
'tag_802_1q' => 'tag 802.1Q',
'target website' => 'Cílový web pro přesměrování',
'technology' => 'Technologie',
'template' => 'Šablona',
'template has been successfully added' => 'Šablona byla úspěšně přidána.',
'template has been successfully updated' => 'Šablona byla úspěšně upravena.',
'template name' => 'Název šablony',
'tertiary dns' => 'Terciární DNS.',
'the first bank account information' => 'Údaje o prvním bankovním účtu',
'the parsed account is unknown' => 'Parsovaný účet je neznámý',
'the transfer successfully done' => 'Převod úspěšně dokončen',
'there are no items yet' => 'Neobsahuje žádné záznamy.',
'this account does not exist' => 'Tento účet neexistuje.',
'this month has been already deducted!' => 'Tento měsíc už byl stržen!',
'time' => 'čas',
'time' => 'Čas',
'time deposits' => 'Termínované vklady',
'time deposits nr' => 'Počet termínovaných vkladů',
'time deposits drawn' => 'Term. vklady (stažené)',
......
'translations' => 'Překlady',
'type of contact' => 'Typ kontaktu',
'type of double-entry account' => 'Typ podvojného účtu',
'type of redirection' => 'Typ přesměrování',
'type' => 'Typ',
'unconfirmed works' => 'Nepotvrzené práce',
'unidentified transfers' => 'Neidentifikované platby',
'unknown ip address' => 'Neznámá IP adresa',
'unknown device text' => 'Text pro neznámé zařízení',
'unlogged user' => 'Nepřihlášený uživatel',
'until user reading' => 'Do přečtení uživatelem',
'unlocked' => 'Odemčen',
'update' => 'Upravit',
'upload bank transfers listing' => 'Nahrát bankovní výpis',
'user' => 'Uživatel',
'user acceptation' => 'Potvrzení uživatelem',
'user can disable redirection' => 'Uživatel může zrušit přesměrování',
'user cannot be deleted, he has some dependent items in database' => 'Uživatel nelze smazat, má závislé objekty v databázi.',
'user id' => 'ID uživatele',
'user identification' => 'Identifikace uživatele',
......
'variable symbol already exists in database' => 'Variabilní symbol už existuje v databázi.',
'variable symbol has not been found in the database' => 'Variabilní symbol nebyl nalezen v databázi.',
'vat' => 'DPH',
'virus' => 'Počítačový vir',
'vlan detail' => 'Detail VLANu',
'vlan interface' => 'VLAN rozhraní',
'vlan interface detail' => 'Detail VLAN rozhraní',
......
'wrong password' => 'Špatné heslo',
'year' => 'Rok',
'yes' => 'ano',
'you are in debt' => 'Jste v dluhu',
'you have been successfully logged out' => 'Byl jste úspěšně odhlášen.',
'you have no permission to access redirection' => 'Nemáte práva k zobrazení přesměrování',
'you have no permission to delete redirection' => 'Nemáte práva ke smazání přesměrování',
'you have no permission to edit redirection' => 'Nemáte práva k úpravám přesměrování',
'your ip address has not been found in database' => 'Vaše IP adresa nebyla nalezena v databázi.',
'your accout has been locked' => 'Váš účet byl uzamčen.',
'zip code' => 'PSČ',
freenetis/trunk/kohana/application/models/enum_type.php
public static $member_type_id = 1;
public static $device_type_id = 2;
public static $user_type_id = 3;
public static $user_type_id = 3;
public static $contact_type_id = 4;
public static $mode_type_id = 8;
......
public static $medium_type_id = 12;
public static $redirect_duration_id = 13;
public static $redirect_destination_id = 14;
public static $redirect_action_id = 15;
public static $backup_id = 16;
/**
* enum_types array supplements a database table, holding the names for
* all enumeration types for dropdown fields.
......
private static $enum_types=array(
1 => "Member types",
2 => "Device types",
3 => "User types",
3 => "User types",
4 => "Contact types",
);
......
function cmp_utf($a, $b)
{
return strcoll($a,$b);
}
public function get_value($type_id)
{
$type = $this->find_by_id($type_id);
$translation_model = new Translation_Model();
return $translation_model->get_translation($type->value);
}
public function get_value($type_id)
{
$type = $this->find_by_id($type_id);
$translation_model = new Translation_Model();
return $translation_model->get_translation($type->value);
}
/**
* get_values returns all values for enumeration type identified by
......
function get_values($type_id) {
// print_r("locale=".setlocale(LC_ALL,0));
$types = $this->find_all_by_type_id($type_id);
$arr_types=array();
$translation_model = new Translation_Model();
$arr_types=array();
$translation_model = new Translation_Model();
foreach ($types as $type)
$arr_types[$type->id] = $translation_model->get_translation($type->value);
......
return $type_id->current()->id;
}
}
?>
}
?>
freenetis/trunk/kohana/application/config/locale.php
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Core
*
* Default language locale name.
* @see http://php.net/locales
*/
$config['language'] = 'en_US';
/**
* Locale timezone. Defaults to use the server timezone.
* @see http://php.net/timezones
*/
$config['timezone'] = '';
$config = array
(
// Array of locales your site is available in
'allowed_locales' => array
(
'cs' => 'cs_CZ',
'en' => 'en_US',
),
// Long version of language (name of i18n folder)
//'language' => 'en_US',
// Short version of language (for use in URLs)
'lang' => 'en',
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Core
*
* Default language locale name.
* @see http://php.net/locales
*/
$config['language'] = 'en_US';
/**
* Locale timezone. Defaults to use the server timezone.
* @see http://php.net/timezones
*/
$config['timezone'] = '';
$config = array
(
// Array of locales your site is available in
'allowed_locales' => array
(
'cs' => 'cs_CZ',
'en' => 'en_US',
),
// Long version of language (name of i18n folder)
//'language' => 'en_US',
// Short version of language (for use in URLs)
'lang' => 'en',
);
freenetis/trunk/kohana/application/config/cache.php
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Cache
*
* Cache backend driver. Kohana comes with file, database, and memcache drivers.
* - File cache is fast and reliable, but requires many filesystem lookups.
* - Database cache can be used to cache items remotely, but is slower.
* - Memcache is very high performance, but prevents cache tags from being used.
*/
$config['driver'] = 'file';
/**
* Driver parameters, specific to each driver.
*/
$config['params'] = 'application/cache';
/**
* Default lifetime to of caches, seconds. By default, caches are stored for
* thirty minutes. Specific lifetime can also be set when creating a new cache.
*
* Setting this to 0 will never automatically delete caches.
*/
$config['lifetime'] = 0; // 1800
/**
* Average number of cache requests that will processed before all expired
* caches are deleted. This is commonly referred to as "garbage collection".
* Setting this to a negative number will disable automatic garbage collection.
*/
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Cache
*
* Cache backend driver. Kohana comes with file, database, and memcache drivers.
* - File cache is fast and reliable, but requires many filesystem lookups.
* - Database cache can be used to cache items remotely, but is slower.
* - Memcache is very high performance, but prevents cache tags from being used.
*/
$config['driver'] = 'file';
/**
* Driver parameters, specific to each driver.
*/
$config['params'] = 'application/cache';
/**
* Default lifetime to of caches, seconds. By default, caches are stored for
* thirty minutes. Specific lifetime can also be set when creating a new cache.
*
* Setting this to 0 will never automatically delete caches.
*/
$config['lifetime'] = 0; // 1800
/**
* Average number of cache requests that will processed before all expired
* caches are deleted. This is commonly referred to as "garbage collection".
* Setting this to a negative number will disable automatic garbage collection.
*/
$config['requests'] = -1; // 1000
freenetis/trunk/kohana/application/config/hooks.php
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Core
*
* Enable or disable hooks. Setting this option to TRUE will enable
* all hooks. By using an array of hook filenames, you can control
* which hooks are enabled. Setting this option to FALSE disables hooks.
*/
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Core
*
* Enable or disable hooks. Setting this option to TRUE will enable
* all hooks. By using an array of hook filenames, you can control
* which hooks are enabled. Setting this option to FALSE disables hooks.
*/
$config['enable'] = TRUE;
freenetis/trunk/kohana/application/config/email.php
* @param string sendmail: executable path, with -bs or equivalent attached
* @param array smtp: hostname, (username), (password), (port), (auth), (encryption)
*/
$config['options'] = array('hostname'=>'smtp.slfree.czf', 'port'=>'25');
$config['options'] = array('hostname'=>'smtp.hkfree.org', 'port'=>'25');
freenetis/trunk/kohana/application/upgrade_sql/upgrade_sql.php
// array of sql queries that upgrade database
$upgrade_sql[get_SVN_rev()] = array(
"INSERT INTO `axo` (
`id` ,
`section_value` ,
`value` ,
`order_value` ,
`name` ,
`hidden`
"CREATE TABLE IF NOT EXISTS `area_prefix` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`area_id` INTEGER UNSIGNED NOT NULL,
`prefix` INTEGER UNSIGNED NOT NULL,
PRIMARY KEY (`id`)
)
VALUES (
'150', 'Members_Controller', 'locked', '0', 'Locked account', '0'
);"
,
"INSERT INTO `axo_map` (
`acl_id` ,
`section_value` ,
`value`
ENGINE = InnoDB
CHARACTER SET utf8 COLLATE utf8_general_ci;",
"CREATE TABLE IF NOT EXISTS `areas` (
`id` INTEGER UNSIGNED NOT NULL,
`area_name` VARCHAR(60) NOT NULL,
`admin_id` INTEGER UNSIGNED NOT NULL,
PRIMARY KEY (`id`)
)
VALUES (
'38', 'Members_Controller', 'locked'
), (
'51', 'Members_Controller', 'locked'
ENGINE = InnoDB
CHARACTER SET utf8 COLLATE utf8_general_ci;",
"CREATE TABLE IF NOT EXISTS `config_files` (
`id` INTEGER NOT NULL,
`primary_dns` VARCHAR(45) NOT NULL,
`secondary_dns` VARCHAR(45) NOT NULL,
`tertiary_dns` VARCHAR(45) NOT NULL,
`domain_name` VARCHAR(45) NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE = InnoDB
CHARACTER SET utf8 COLLATE utf8_general_ci;",
"ALTER TABLE `config_files` ADD COLUMN `default_lease_time` INTEGER UNSIGNED NOT NULL AFTER `domain_name`,
ADD COLUMN `max_lease_time` INTEGER UNSIGNED NOT NULL AFTER `default_lease_time`;",
"ALTER TABLE `config_files` ADD COLUMN `name_server` VARCHAR(45) NOT NULL AFTER `max_lease_time`,
ADD COLUMN `name_server2` VARCHAR(45) NOT NULL AFTER `name_server`,
ADD COLUMN `mail_exchange` VARCHAR(45) NOT NULL AFTER `name_server2`,
ADD COLUMN `soa_record` VARCHAR(45) NOT NULL AFTER `mail_exchange`,
ADD COLUMN `refresh` INTEGER UNSIGNED NOT NULL AFTER `soa_record`,
ADD COLUMN `retry` INTEGER UNSIGNED NOT NULL AFTER `refresh`,
ADD COLUMN `expire` INTEGER UNSIGNED NOT NULL AFTER `retry`,
ADD COLUMN `minimum` INTEGER UNSIGNED NOT NULL AFTER `expire`,
ADD COLUMN `ttl` INTEGER UNSIGNED NOT NULL AFTER `minimum`;",
"ALTER TABLE `config_files` ADD COLUMN `freenet_ip` VARCHAR(15) NOT NULL AFTER `ttl`,
ADD COLUMN `dns_admin` VARCHAR(45) NOT NULL AFTER `freenet_ip`;",
"INSERT INTO `config_files` (id,primary_dns,secondary_dns,tertiary_dns,domain_name) VALUES (1,'10.107.4.100','10.107.4.129','10.107.3.1','hkfree.org');",
"UPDATE `config_files` SET name_server='ns.hkfree.org', name_server2='ns2.hkfree.org', mail_exchange='relay.hkfree.org', soa_record='charon.hkfree.org', refresh=604800, retry=86400, expire=2419200, minimum=604800, ttl=604800",
"UPDATE `config_files` SET freenet_ip='10.107', dns_admin='pmv.root.hkfree.org'",
"CREATE TABLE IF NOT EXISTS `redirection_logs` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`admin` VARCHAR(20) NOT NULL,
`action` INTEGER UNSIGNED NOT NULL,
`ip_address` VARCHAR(15) NOT NULL,
`time` DATETIME NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE = InnoDB
CHARACTER SET utf8 COLLATE utf8_general_ci;",
"CREATE TABLE IF NOT EXISTS `redirections` (
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`ip_address` VARCHAR(15) NOT NULL,
`destination` INT(1) UNSIGNED NOT NULL,
`duration` INT(4) UNSIGNED NOT NULL,
`message` VARCHAR(1000),
`note` VARCHAR(1000),
`locksign` INT(1) UNSIGNED NOT NULL,
`admin` VARCHAR(20) NOT NULL,
`email` VARCHAR(45) NOT NULL,
`selfaccess` INT(1) UNSIGNED NOT NULL,
`sendmail` INT(1) UNSIGNED NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE = InnoDB
CHARACTER SET utf8 COLLATE utf8_general_ci;",
"CREATE TABLE IF NOT EXISTS `redirection_settings` (
`admin_id` INTEGER UNSIGNED NOT NULL,
`subnet_id` INTEGER UNSIGNED NOT NULL,
PRIMARY KEY (`admin_id`)
)
ENGINE = InnoDB;",
"INSERT INTO `enum_type_names` (type_name) VALUES ('Redirect duration'), ('Redirect destination')",
"INSERT INTO `enum_type_names` (type_name) VALUES ('Redirect action')",
"INSERT INTO `enum_types` (type_id, value, read_only) VALUES ('14', 'Virus', '1'),('14', 'Spam', '1'),('14', 'Message', '1'),('14', 'Admin contacting', '1'),('14', 'Rules breaking', '1')",
"INSERT INTO `enum_types` (type_id, value, read_only) VALUES ('13', '4 hours', '1'),('13', 'End of day', '1'),('13', 'End of month', '1'),('13', 'Indefinitely', '1')",
"INSERT INTO `enum_types` (type_id, value, read_only) VALUES ('15', 'redirected', '1'),('15', 'edited', '1'),('15', 'deleted', '1')",
"INSERT INTO `translations` (original_term, translated_term, lang) values ('4 hours','4 hodiny','cs'),('End of day','Do konce dne','cs'),('End of month','Do konce m?s?ce','cs'), ('Indefinitely','Na neur?ito','cs'),('Admin contacting','Kontaktov?n? spr?vce','cs'),('Message','Zpr?va','cs'),('Rules breaking','Poru?en? pravidel','cs'),('Spam','Rozes?l?n? spamu','cs'),('Virus','Zavirovan? po??ta?','cs')",
"INSERT INTO `translations` (original_term, translated_term, lang) values ('Redirected','P?esm?roval','cs'),('Edited','Upravil','cs'),('Deleted','Smazal','cs')",
"CREATE TABLE IF NOT EXISTS `backup` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
`user_id` INTEGER UNSIGNED NOT NULL,
`name` VARCHAR(45) NOT NULL,
`platform` INTEGER UNSIGNED NOT NULL,
`locksign` BOOLEAN NOT NULL,
PRIMARY KEY (`id`)
)
ENGINE = InnoDB
CHARACTER SET utf8 COLLATE utf8_general_ci;",
"INSERT INTO `enum_types` (type_id,value,read_only) values (16,'RB mikrotik',1),(16,'PC router',1)",
"INSERT INTO `enum_type_names` (type_name) values ('backup platform')"
);
"
);
?>
freenetis/trunk/kohana/application/views/menu.php
<?php if ($this->acl_check_2D('menu', 'my_works') && $this->session->get('member_id') != 1) { ?>
<li><?php echo html::anchor(url_lang::base().'works/show_by_user/'.$this->session->get('user_id'), url_lang::lang('texts.My works')) ?></li>
<?php } ?>
<?php if ($this->acl_check_edit('Users_Controller', 'password', $this->session->get('member_id'))) { ?>
<li><?php echo html::anchor(url_lang::base().'users/change_password/'.$this->session->get('user_id'), url_lang::lang('texts.Change password')); ?></li>
<?php } ?>
</ul>
</li>
<?/**
* @author Lubomir Buben
* Menu for Redirection module
*/?>
<?php //if ($this->acl_check_2D('menu', 'administration')) { ?>
<li class="redirection"><h2><?php echo url_lang::lang('texts.Redirection') ?></h2>
<ul>
<li><?php echo html::anchor(url_lang::base().'redirection/show_all', url_lang::lang('texts.Redirection')) ?></li>
<?php //if ($this->acl_check_2D('menu', 'administration')) { ?>
<li><?php echo html::anchor(url_lang::base().'redirection/administration', url_lang::lang('texts.Administration')) ?></li>
<?php //} ?>
<li><?php echo html::anchor(url_lang::base().'redirection/log', url_lang::lang('texts.Redirection logs')) ?></li>
</ul>
</li><?php //} ?>
<?/**
* @author Lubomir Buben
* Menu for Backup module
*/?>
<?php //if ($this->acl_check_2D('menu', 'administration')) { ?>
<li class="backup"><h2><?php echo url_lang::lang('texts.Backup') ?></h2>
<ul>
<li><?php echo html::anchor(url_lang::base().'backup/show_all', url_lang::lang('texts.Backup')) ?></li>
<li><?php echo html::anchor(url_lang::base().'backup/my_backups', url_lang::lang('texts.My backups')) ?></li>
<li><?php echo html::anchor(url_lang::base().'backup/make_backup', url_lang::lang('texts.Make backup')) ?></li>
</ul>
</li><?php //} ?>
<?php if ($this->acl_check_2D('menu', 'accounts') || $this->acl_check_2D('menu', 'unidentified_transfers')) { ?>
<li class="transfer"><h2><?php echo url_lang::lang('texts.Finances') ?></h2>
<ul>
......
<?php if ($this->acl_check_view('VoIP_Controller', 'voip')) { ?>
<li><?php echo html::anchor(url_lang::base().'voip', url_lang::lang('texts.VoIP')) ?></li>
<?php } ?>
<li><?php echo html::anchor(url_lang::base().'config_files', url_lang::lang('texts.Configuration files')) ?></li>
<li><?php echo html::anchor(url_lang::base().'tools', url_lang::lang('texts.Tools')) ?></li>
</ul>
</li><?php } ?>
freenetis/trunk/kohana/application/views/main.php
<?php echo html::script('media/js/js', FALSE) ?>
<?php echo html::script('media/js/jquery.min', FALSE) ?>
<?php echo html::script('media/js/jquery.autocomplete.min', FALSE) ?>
<?php echo html::script('media/js/redirection', FALSE) ?>
<?php echo isset($other_styles) ? $other_styles : '' ?>
</head>
<body <?php echo isset($onload) ? 'onload="'.$onload.'"' : '' ?> >
......
<tr>
<td class="orange"><?php echo $this->session->get('user_id', 0) ? url_lang::lang('texts.Name').':' : '' ?></td>
<td class="bold">&nbsp;<?php echo $this->session->get('user_name').' '.$this->session->get('user_surname') ?></td>
<td class="bold">&nbsp;<?php echo $this->session->get('login').' '.$this->session->get('login') ?></td>
</tr>
<tr>
<td class="orange"><?php echo url_lang::lang('texts.IP address').':' ?></td>
......
</div>
</div>
</body>
</html>

Také k dispozici: Unified diff