diff options
author | Yorhel <git@yorhel.nl> | 2009-05-23 11:39:05 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-05-23 11:39:05 +0200 |
commit | e6e567652c3cbe7e7c812ce536216dfc5ed8d4de (patch) | |
tree | d0aaf78a0d8bf726294944c6fd178b42ca70a1d9 | |
parent | c8044c9a0697456d00f6383e9124d8bc4df444df (diff) |
Renamed "Platforms & Media" tab on /r+/edit to "Format" and moved some fields
-rw-r--r-- | data/style.css | 2 | ||||
-rw-r--r-- | lib/VNDB/Handler/Releases.pm | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/data/style.css b/data/style.css index 1048e547..66956bd6 100644 --- a/data/style.css +++ b/data/style.css @@ -906,7 +906,7 @@ ul#catselect li li.exc { background-position: 0px -33px; color: $statnok$; } .platforms { padding-left: 20px; } .platforms span { display: block; float: left; width: 150px; } -#jt_box_platforms_media h2 { clear: left; padding-top: 10px; } +#jt_box_format h2 { clear: left; padding-top: 10px; } #media_div select.qty { width: 90px; } #media_div select.medium { width: 150px } #media_div { padding-left: 20px; } diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm index 029ae9b1..007cf7d3 100644 --- a/lib/VNDB/Handler/Releases.pm +++ b/lib/VNDB/Handler/Releases.pm @@ -372,16 +372,16 @@ sub _form { [ select => short => 'minage', name => 'Age rating', options => [ map [ $_, $self->{age_ratings}{$_}[0].($self->{age_ratings}{$_}[1]?" (e.g. $self->{age_ratings}{$_}[1])":'') ], sort { $a <=> $b } keys %{$self->{age_ratings}} ] ], - [ select => short => 'resolution', name => 'Resolution', options => [ - map [ $_, @{$self->{resolutions}[$_]} ], 0..$#{$self->{resolutions}} ] ], - [ select => short => 'voiced', name => 'Voiced', options => [ - map [ $_, $self->{voiced}[$_] ], 0..$#{$self->{voiced}} ] ], [ textarea => short => 'notes', name => 'Notes' ], [ static => content => 'Miscellaneous notes/comments, information that does not fit in the above fields. ' .'E.g.: Censored/uncensored or for which releases this patch applies. Max. 250 characters.' ], ], - 'Platforms & Media' => [ + 'Format' => [ + [ select => short => 'resolution', name => 'Resolution', options => [ + map [ $_, @{$self->{resolutions}[$_]} ], 0..$#{$self->{resolutions}} ] ], + [ select => short => 'voiced', name => 'Voiced', options => [ + map [ $_, $self->{voiced}[$_] ], 0..$#{$self->{voiced}} ] ], [ hidden => short => 'media' ], [ static => nolabel => 1, content => sub { h2 'Platforms'; |