Changeset 151 for trunk/globals


Ignore:
Timestamp:
03/08/2006 10:51:16 PM (6 years ago)
Author:
Winner
Message:

Add: Services support.
Bug fix: Extra field displaying error on registration page.

Location:
trunk/globals
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/globals/functions.php

    r145 r151  
    365365        } 
    366366} 
     367 
     368function url_fix ($url, $default_prefix="http://") { 
     369        // Windows shares (samba) check 
     370        if (substr(stripslashes($url), 0, 2) == '\\\\') { 
     371                return 'file://'.str_replace('\\', '/', substr(stripslashes($url), 2)); 
     372        } 
     373        // Insert default prefix 
     374        if (strpos($url, '://') === FALSE) { 
     375                return $default_prefix.$url; 
     376        } 
     377} 
     378 
    367379?> 
  • trunk/globals/language/english.php

    r145 r151  
    7373        'dns_zones_search' => "Search for DNS zones", 
    7474        'dns_zones_found' => "DNS zones found", 
     75         
     76        'all_services' => "Network services", 
     77        'active_services' => "Active services", 
     78        'services_search' => "Search services", 
     79        'services_found' => "Services found", 
     80        'services_categories' => "Services categories", 
     81        'services_categories_add' => "Add service category", 
     82        'services_categories_edit' => "Edit service category", 
     83        'services_edit' => "Edit service", 
     84        'services_add' => "Add service", 
     85        'services' => "Services", 
     86         
    7587        'user_add' => "New user", 
    7688        'user_edit' => "User profile", 
     
    297309                'ip_addresses__info' => 'Info', 
    298310 
     311                'services__title' => 'Category', 
     312                'services__protocol' => 'Protocol', 
     313                'services__protocol-tcp' => 'TCP', 
     314                'services__protocol-udp' => 'UDP', 
     315                'services__port' => 'Port', 
     316 
     317                'nodes_services__node_id' => 'Node', 
     318                'nodes_services__service_id' => 'Category', 
     319                'nodes_services__date_in' => 'Added', 
     320                'nodes_services__ip_id' => 'IP Address', 
     321                'nodes_services__url' => 'URL', 
     322                'nodes_services__status' => 'Status', 
     323                'nodes_services__status-active' => 'Active', 
     324                'nodes_services__status-inactive' => 'Inactive', 
     325                'nodes_services__info' => 'Info', 
     326                'nodes_services__protocol' => 'Protocol', 
     327                'nodes_services__protocol-tcp' => 'TCP', 
     328                'nodes_services__protocol-udp' => 'UDP', 
     329                'nodes_services__port' => 'Port', 
     330                 
    299331                'photos__date_in' => 'Date', 
    300332                'photos__view_point' => 'Aspect', 
     
    523555                        'body' => 'In this page you can search for DNS zones of the network by filling in the corresponding fields. The results are displayed in the follwing table. Furthermore, you cat choose a node for viewing.' 
    524556                ), 
     557                 
     558                'services' => array( 
     559                        'title' => 'Services', 
     560                        'body' => 'In this page you can search for network services by filling in the corresponding fields. The results are displayed in the follwing table. Furthermore, you cat choose a service or a node for viewing.' 
     561                ), 
     562                 
    525563                'mynodes_add' => array( 
    526564                        'title' => 'Add node', 
     
    579617                        'body' => 'In this page you can add or edit an IP address for your node. The \'Hostname\' field describes the device that the corresponding IP address belongs to and must be the same for all the IP addresses of that device.' 
    580618                ), 
     619                 
     620                'mynodes_services_add' => array( 
     621                        'title' => 'Add Service', 
     622                        'body' => 'In this page you can add a service of your node. The IP Address field should contain the IP address that the service is listening at. The URL field should contain a link to the service or a link to a page about the service. The Protocol and Port should contain the protocol (ie. tcp,udp) and the port that the service uses.' 
     623                ), 
     624                'mynodes_services_edit' => array( 
     625                        'title' => 'Edit Service', 
     626                        'body' => 'In this page you can edit a service of your node. The IP Address field contains all the IP addresses that you have commit and should contain the IP address that the service is listening at. The URL field should contain a link to the service or a link to a page about the service. The Protocol and Port should contain the protocol (ie. tcp,udp) and the port that the service uses.' 
     627                ), 
     628                'admin_services' => array( 
     629                        'title' => 'Services Administration', 
     630                        'body' => 'In this page you can add, edit or delete a Services Category. From the <<Edit Services>> link you can see all network services and edit them.' 
     631                ), 
     632                 
    581633                'nodes_search' => array( 
    582634                        'title' => 'Network nodes', 
  • trunk/globals/language/greek.php

    r145 r151  
    8585        'dns_zones_found' => "ΖώΜες DNS ποϠ
    8686 Î²ÏÎ­ÎžÎ·ÎºÎ±Îœ", 
     87 
     88        'all_services' => "Υπηρεσίες ΎικτύοϠ
     89", 
     90        'active_services' => "ΕΜεργές Ï 
     91πηρεσίες", 
     92        'services_search' => "ΑΜαζήτηση Ï 
     93πηρεσιώΜ", 
     94        'services_found' => "Υπηρεσίες ποϠ
     95 Î²ÏÎ­ÎžÎ·ÎºÎ±Îœ", 
     96        'services_edit' => "ΕπεΟεργασία Ï 
     97πηρεσίας", 
     98        'services_add' => "ΠροσΞήκη Ï 
     99πηρεσίας", 
     100        'services' => "Υπηρεσίες", 
     101        'services_categories' => "Κατηγορίες Ï 
     102πηρεσίωΜ", 
     103        'services_categories_add' => "ΠροσΞήκη κατηγορίας Ï 
     104πηρεσίωΜ", 
     105        'services_categories_edit' => "ΕπεΟεργασία κατηγορίας Ï 
     106πηρεσίωΜ", 
     107 
    87108        'user_add' => "Εγγραφή ΜέοϠ
    88109 Ï‡ÏÎ®ÏƒÏ„η", 
     
    373394                'ip_addresses__always_on-N' => 'ΟΧΙ', 
    374395                'ip_addresses__info' => 'Πληροφορίες', 
    375  
     396         
     397                'services__title' => 'Κατηγορία', 
     398                'services__protocol' => 'Πρωτόκολλο', 
     399                'services__protocol-tcp' => 'TCP', 
     400                'services__protocol-udp' => 'UDP', 
     401                'services__port' => 'Πόρτα', 
     402 
     403                'nodes_services__node_id' => 'ΚόΌβος', 
     404                'nodes_services__service_id' => 'Κατηγορία', 
     405                'nodes_services__date_in' => 'ΠροστέΞηκε', 
     406                'nodes_services__ip_id' => 'ΔιεύΞϠ
     407Μση IP', 
     408                'nodes_services__url' => 'URL', 
     409                'nodes_services__status' => 'Κατάσταση', 
     410                'nodes_services__status-active' => 'ΕΜεργή', 
     411                'nodes_services__status-inactive' => 'ΑΜεΜεργή', 
     412                'nodes_services__info' => 'Πληροφορίες', 
     413                'nodes_services__protocol' => 'Πρωτόκολλο', 
     414                'nodes_services__protocol-tcp' => 'TCP', 
     415                'nodes_services__protocol-udp' => 'UDP', 
     416                'nodes_services__port' => 'Πόρτα', 
     417                 
    376418                'photos__date_in' => 'ΗΌεροΌηΜία', 
    377419                'photos__view_point' => 'ΚατεύΞϠ
     
    727769.' 
    728770                ), 
     771                 
     772                'services' => array( 
     773                        'title' => 'Υπηρεσίες', 
     774                        'body' => 'Στη σελίΎα αϠ
     775τή Όπορείτε Μα αΜαζητήσετε Ï 
     776πηρεσίες τοϠ
     777 ÎŽÎ¹ÎºÏ„ύοϠ
     778, Όε βάση τα πεΎία ποϠ
     779 Ï€ÏÎ¿ÏƒÏ†Î­ÏÎ¿ÎœÏ„αι. ΀α αποτελέσΌατα εΌφαΜίζοΜται στοΜ παρακάτω πίΜακα. Επίσης, Όπορείτε Μα ΌεταφερΞείτε σε κάποια Ï 
     780πηρεσία (αΜ προσφέρεται URL) ή Μα επιλέΟετε κάποιοΜ κόΌβο για προβολή τωΜ στοιχείωΜ τοϠ
     781.' 
     782                ), 
     783                 
    729784                'mynodes_add' => array( 
    730785                        'title' => 'ΠροσΞήκη κόΌβοϠ
     
    862917 ÎŒÎ·Ï‡Î±ÎœÎ®ÎŒÎ±Ï„ος.' 
    863918                ), 
     919                 
     920                'mynodes_services_add' => array( 
     921                        'title' => 'ΠροσΞήκη Ï 
     922πηρεσίας', 
     923                        'body' => 'Στη σελίΎα αϠ
     924τή Όπορείτε Μα προσΞέσετε Όία Ï 
     925πηρεσία τοϠ
     926 ÎºÏŒÎŒÎ²Î¿Ï 
     927 ÏƒÎ±Ï‚. ΀ο πεΎίο ΔιεύΞϠ
     928Μση IP περιέχει όλες τις ΎιεϠ
     929ΞύΜσεις ποϠ
     930 Î­Ï‡ÎµÏ„ε Ύηλώσει και πρέπει Μα καΞορίζει τηΜ IP στηΜ οποία τρέχει (ακούει) η Ï 
     931πηρεσία. ΀ο πεΎίο URL, πρέπει Μα περιέχει το link για τηΜ Ï 
     932πηρεσία ή το link για κάποια σελίΎα ποϠ
     933 Î±ÎœÎ±Ï†Î­ÏÎµÏ„αι στηΜ Ï 
     934πηρεσία. ΀έλος τα πεΎία Πρωτόκολλο και Πόρτα, πρέπει Μα αΜαφέροΜται στο πρωτόκολλο ποϠ
     935 Ï‡ÏÎ·ÏƒÎ¹ÎŒÎ¿Ï€Î¿Î¹ÎµÎ¯ η Ï 
     936πηρεσία (π.χ. tcp, udp) και στηΜ πόρτα ποϠ
     937 Î±ÎºÎ¿ÏÎµÎ¹.' 
     938                ), 
     939                'mynodes_services_edit' => array( 
     940                        'title' => 'ΕπεΟεργασία Ï 
     941πηρεσίας', 
     942                        'body' => 'Στη σελίΎα αϠ
     943τή Όπορείτε Μα επεΟεργαστείτε Όία Ï 
     944πηρεσία τοϠ
     945 ÎºÏŒÎŒÎ²Î¿Ï 
     946 ÏƒÎ±Ï‚. ΀ο πεΎίο ΔιεύΞϠ
     947Μση IP περιέχει όλες τις ΎιεϠ
     948ΞύΜσεις ποϠ
     949 Î­Ï‡ÎµÏ„ε Ύηλώσει και πρέπει Μα καΞορίζει τηΜ IP στηΜ οποία τρέχει (ακούει) η Ï 
     950πηρεσία. ΀ο πεΎίο URL, πρέπει Μα περιέχει το link για τηΜ Ï 
     951πηρεσία ή το link για κάποια σελίΎα ποϠ
     952 Î±ÎœÎ±Ï†Î­ÏÎµÏ„αι στηΜ Ï 
     953πηρεσία. ΀έλος τα πεΎία Πρωτόκολλο και Πόρτα, πρέπει Μα αΜαφέροΜται στο πρωτόκολλο ποϠ
     954 Ï‡ÏÎ·ÏƒÎ¹ÎŒÎ¿Ï€Î¿Î¹ÎµÎ¯ η Ï 
     955πηρεσία (π.χ. tcp, udp) και στηΜ πόρτα ποϠ
     956 Î±ÎºÎ¿ÏÎµÎ¹.' 
     957                ), 
     958                 
    864959                'nodes_search' => array( 
    865960                        'title' => 'ΚόΌβοι ΎικτύοϠ
Note: See TracChangeset for help on using the changeset viewer.