Author: robert
Date: 2006-11-06 23:38:51 +0000 (Mon, 06 Nov 2006)
New Revision: 8628
Modified:
mb_server/branches/lucene-search-fixes/htdocs/comp/release_editor/form-attributes
Log:
Changed the order of the pseudo-release here as well.
Modified:
mb_server/branches/lucene-search-fixes/htdocs/comp/release_editor/form-attributes
===================================================================
---
mb_server/branches/lucene-search-fixes/htdocs/comp/release_editor/form-attributes
2006-11-06 23:20:14 UTC (rev 8627)
+++
mb_server/branches/lucene-search-fixes/htdocs/comp/release_editor/form-attributes
2006-11-06 23:38:51 UTC (rev 8628)
@@ -48,6 +48,20 @@
$label .= " [!]" if ($checkattributes{"attr_type"} or
$checkattributes{"attr_status"});
+ my $attrs = do {
+ [
+ [ "-1", "Select
type..." ],
+ [ "" , "I don't know"
],
+ (map {
+ [ $_,
Album->GetAttributeName($_) ]
+ }
&Album::ALBUM_ATTR_SECTION_TYPE_START
+ ..
&Album::ALBUM_ATTR_SECTION_TYPE_END)
+ ]
+ };
+ my $temp = $$attrs[13];
+ $$attrs[13] = $$attrs[12];
+ $$attrs[12] = $temp;
+
</%perl>
<tr id="attributes" class="spaced">
@@ -56,19 +70,7 @@
<td colspan="2"></td>
<td colspan="2">
<select name="attr_type" tabindex="<%
++$$tabindex %>" <% $typecss |n %>>
- <& /comp/options,
- do {
- [
- [ "-1", "Select
type..." ],
- [ "" , "I
don't know" ],
- (map {
- [ $_,
Album->GetAttributeName($_) ]
- }
&Album::ALBUM_ATTR_SECTION_TYPE_START
- ..
&Album::ALBUM_ATTR_SECTION_TYPE_END)
- ]
- },
- $attr_type
- &>
+ <& /comp/options, $attrs, $attr_type &>
</select>
<select name="attr_status" tabindex="<%
++$$tabindex %>" <% $statuscss |n %>>
@@ -96,4 +98,4 @@
[ <a href="/popup/ReleaseAttribute"
title="POPUP::ReleaseAttribute::400::300">help</a> ]</td>
</tr>
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%# vi: set ts=4 sw=4 ft=mason :
|