Skip to content

Commit

Permalink
Updated department field to be text and made the field labels wider f…
Browse files Browse the repository at this point in the history
…or better formatting.
  • Loading branch information
Glen Barnes committed Jun 28, 2009
1 parent 3e6ad0f commit 3efa7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
4 changes: 2 additions & 2 deletions plugins/deko-boko-open-govt/display/dekoboko.css
Expand Up @@ -43,9 +43,9 @@

#dekoboko_form label {
float: left;
width: 100px;
width: 500px;
margin-right: 5px;
text-align: right;
text-align: left;
}

/* for some reason FF3 needs the !important flags */
Expand Down
17 changes: 3 additions & 14 deletions plugins/deko-boko-open-govt/display/suggest-a-dataset.php
Expand Up @@ -55,20 +55,8 @@ function output_optional_text_field($field_name, $label, $size) {
</li>

<li>
<label for="dekoboko_department">Department*</label><br />
<select name="dekoboko_required[department]" id="dekoboko_department">
<?php
$options = array("Archives New Zealand","Archives New Zealand (Te Rua Mahara o te Kawanatanga)","The Crown Law Office","The Department of Building and Housing",
"The Department of Conservation","The Department of Corrections","The Department of Internal Affairs","The Department of Labour","The Department of the Prime Minister and Cabinet",
"The Education Review Office","The Inland Revenue Department","Land Information New Zealand","The Maori Trust Office","The Ministry of Agriculture and Forestry",
"The Ministry for Culture and Heritage","The Ministry of Defence","The Ministry of Economic Development","The Ministry of Education","The Ministry for the Environment",
"The Ministry of Fisheries","The Ministry of Foreign Affairs and Trade","The Ministry of Health","Ministry of Justice","The Ministry of Maori Development",
"The Ministry of Pacific Island Affairs","The Ministry of Research","The Ministry of Transport","The Ministry of Women\&#039;s Affairs","The National Library Department",
"The National Provident Fund Department","The New Zealand Customs Service","The New Zealand Defence Force","New Zealand Food Safety Authority","The Office of the State Services Commission",
"The Parliamentary Counsel Office","The Serious Fraud Office","The Ministry of Social Development","Statistics New Zealand","The Treasury", "Not Listed");
output_option_group($options, $dekoboko_required['department']);
?>
</select>
<label for="dekoboko_department">Department/CRI/Local Body*</label><br />
<input type="text" name="dekoboko_required[department]" id="dekoboko_department" value="<?php echo $dekoboko_required['department']; ?>" size="80" />
</li>

<li>
Expand Down Expand Up @@ -116,6 +104,7 @@ function output_optional_text_field($field_name, $label, $size) {
<?php output_optional_text_field("csv_url","Link to CSV File (or webpage containing the download/info)", 80) ?>
<?php output_optional_text_field("kml_url","Link to KML File (or webpage containing the download/info)", 80) ?>
<?php output_optional_text_field("geo_url","Link to file that can be read by GIS software (or webpage containing the download/info)", 80) ?>
<?php output_optional_text_field("api_url","Link to information on the API", 80) ?>
<?php output_optional_text_field("other_url","Link to other format file (or webpage containing the download/info)", 80) ?>

<?php output_optional_text_field("web_address","Website URL for more information", 80) ?>
Expand Down

0 comments on commit 3efa7b4

Please sign in to comment.