LIFE programme

LIFE+ is the EU’s financial instrument supporting the EU environmental policies with particular reference to the implementation of the “Sixth EU Environment Action Programme”. Every year the European Commission launches a call for proposals defining specific topics of interest. The funding can be earmarked to agencies and both public and / or private institutions or entities. Starting from Call 2014, two sub-programmes have been launched: “Environment” and “Climate Actions”. The “Environment” sub-programme also comprises the so-called traditional projects involving the priority sectors below:

  • LIFE Environment and Resource Efficiency;
  • LIFE Nature and Biodiversity;
  • LIFE Environmental Governance and Information;
  • LIFE Climate Change Mitigation;
  • LIFE Climate Change Adaptation;
  • LIFE Climate Governance and Information.
Specifically the Nature and Biodiversity LIFE projects aim at protecting, preserving, restoring, monitoring and promoting natural systems, natural habitats and the way they work as well as wild fauna and flora in order to stop biodiversity loss. In particular the LIFE+ Nature projects, exactly as the BARBIE project, contribute to the implementation of the “Birds” and/or “Habitat” directives, both at a local and at a regional level, and support the further development and management of the Natura 2000 Network. They can include actions based upon the species (annexes II, IV and/or V of the “Habitat” Directive and on annexes I and II of the “Birds” Directive or species that are regular migrants) or upon the sites/habitats (annexes I or II of the “Habitat” Directive e Annex I of the Birds Directive and additional regularly occurring migratory species).

For further Information:

LIFE Programme

LIFE project DATA BASE

La Direttiva 92/43/CEE "Habitat" (Ita)

La Direttiva 79/409/CEE "Uccelli" (Ita)


class "Downloads" already exists while executing "::itcl::class Downloads { inherit Barbie private variable downloads_menu "" public common downloads_dir public me..." (in namespace eval "::rwdatas" script line 3) invoked from within "namespace eval ::rwdatas { ::itcl::class Downloads { inherit Barbie private variable downloads_menu "" public common ..."

OUTPUT BUFFER:

source [file join $rweb_root tcl before.tcl] # # -- downloads.tcl # # yet another datasource for controlling document downloads # #::rivet::apache_log_error notice "sourcing file [info script]" # package require Barbie package require rwbinary namespace eval ::rwdatas { ::itcl::class Downloads { inherit Barbie private variable downloads_menu "" public common downloads_dir public method willHandle {arglist keyvar} public method init {args} public method menu_list {page} public method is_stale {key timereference} #public proc to_url {lm} { return [Barbie::to_url $lm] } public proc list_downloads {dbhandle {public "%"}} protected method create_page_obj {key ooclass reassigned_key} { return ""} } ::itcl::body Downloads::is_stale {key timereference} { if {$key == "download_doc"} { return true } return [chain $key $timereference] } ::itcl::body Downloads::list_downloads {dbhandle {public "%"}} { set q { select d.*,s.descrizione,s.sectionid from documenti d \ join sezioni s on d.sezione=s.sectionid \ where d.pubblico like '$public' \ order by s.sectionid,s.ordine,d.ordine,d.docid; } set docsdb [dict create] #puts "
[subst $q]
" $::barbie::dbhandle forall [subst $q] document { set sectionid $document(sectionid) unset document(sectionid) set sezione_descrizione $document(descrizione) unset document(descrizione) set docid $document(docid) unset document(docid) dict set docsdb $sectionid descrizione $sezione_descrizione dict set docsdb $sectionid documenti $docid [dict create {*}[array get document]] } return $docsdb } ::itcl::body Downloads::willHandle {arglist keyvar} { upvar $keyvar key set args_d [dict create {*}$arglist] if {[dict exists $args_d downloads]} { set key listdownloads return -code break -errorcode rw_ok } if {[dict exists $args_d dwnl]} { set key download_doc return -code break -errorcode rw_ok } return -code continue -errorcode rw_continue } ::itcl::body Downloads::init {args} { set downloads_dir [file join $::rivetweb::site_base docs] $this key_class_map download_doc ::rwpage::BinaryFile $this key_class_map listdownloads ::rwpage::DownloadMgr set mm $::rivetweb::menumodel set lm $::rivetweb::linkmodel set downloads_menu [$mm create_menu downloadsmanager root normal] $downloads_menu assign title "Documenti" $::rivetweb::default_lang $downloads_menu assign title "Documents" en set downloads_link [$lm create FileUpload "" \ { it "Download Documenti" en "Documents Download" } \ [dict create downloads 1] \ [dict create it "Download documenti" \ en "Documents Download"]] $downloads_menu add_link $downloads_link } ::itcl::body Downloads::menu_list {page} { return [list documenti $downloads_menu] } ::itcl::body Downloads::create_page_obj {key ooclass reassigned_key} { upvar $reassigned_key rkey set rkey $key set p "" switch $key { download_doc { set docid [::rivet::var_qs get dwnl] set d [::barbie::Documenti #auto] set nr [$d fetch $::barbie::dbhandle [list docid $docid] dd] if {[::barbie::is_logged] || [::barbie::is_supervisor]} { set filter 1 } else { set filter [expr $dd(pubblico) == "y"] } if {($nr > 0) && $filter} { set binary_file [file join $downloads_dir $dd(filename)] set p [$ooclass ::#auto $key $binary_file] } else { return -code error "Documento inaccessibile" } $d destroy } listdownloads { set p [$ooclass ::#auto $key] #$p configure -downloads_dir docs } } return $p } } package provide Downloads 1.0 source [file join $rweb_root tcl after.tcl]