projects = $this->get_projects(); if ( !$project_id ) { if ( isset( $_GET['project_id'] ) ) { $project_id = $_GET['project_id']; } else { $keys = array_keys( $this->projects, current( $this->projects ) ); $project_id = $keys[0]; } } $this->project_id = $project_id; } function display() { $project_id = $this->project_id; $options = get_post_meta( $project_id, 'anthologize_meta', true ); if ( !$cdate = $options['cdate'] ) $cdate = date('Y'); if ( !$cname = $options['cname'] ) $cname = $options['author_name']; // Default is Creative Commons if ( !$ctype = $options['ctype'] ) $ctype = 'cc'; if ( !$cctype = $options['cctype'] ) $cctype = 'by'; // No default for edition number $edition = $options['edition']; if ( !$authors = $options['authors'] ) $authors = $options['author_name']; $dedication = $options['dedication']; $acknowledgements = $options['acknowledgements']; $zip_is_enabled = true; ?>

load_template() */ ?>