- modification : simplification of HTML/CSS code for double select screen to

manage categories properties (admin/cat_options)

- typo fixed : in menu language key for [admin > categories > representative]


git-svn-id: http://piwigo.org/svn/trunk@812 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-08-14 18:18:47 +00:00
parent c501facfa5
commit 3b957eb480
4 changed files with 47 additions and 28 deletions
+5
View File
@@ -1,3 +1,8 @@
2005-08-14 Pierrick LE GALL
* modification : simplification of HTML/CSS code for double select
screen to manage categories properties (admin/cat_options)
2005-08-14 Pierrick LE GALL
* new : ability to set an element as representant of its category
+1 -1
View File
@@ -43,7 +43,7 @@
<li><a class="adminMenu" href="{U_CAT_VISIBLE}">{L_CAT_VISIBLE}</a></li>
<li><a class="adminMenu" href="{U_CAT_STATUS}">{L_CAT_STATUS}</a></li>
<!-- BEGIN representative -->
<li><a class="adminMenu" href="{representative.URL}">{lang:Representatve}</a></li>
<li><a class="adminMenu" href="{representative.URL}">{lang:Representative}</a></li>
<!-- END representative -->
</ul>
</div>
+28 -27
View File
@@ -1,31 +1,32 @@
<div class="admin">{L_CAT_TITLE}</div>
<form name="form1" method="post" action="{F_ACTION}" style="text-align:center;width:800px;">
<div style="clear:both;"></div>
<div style="height:auto;">
<div style="float:left;padding:10px;width:300px;">
<span class="titreMenu">{L_CAT_OPTIONS_TRUE}</span><br />
<select style="height:auto;width:280px" name="cat_true[]" multiple="multiple" size="10">
<!-- BEGIN category_option_true -->
<option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
<!-- END category_option_true -->
</select>
</div>
<div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" >
<input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" class="bouton" /><br/>
<input type="submit" value="&raquo;" name="falsify" style="font-size:15px;" class="bouton" />
</div>
<div style="float:right;padding:10px;width:300px;">
<span class="titreMenu">{L_CAT_OPTIONS_FALSE}</span><br />
<select style="width:280px" name="cat_false[]" multiple="multiple" size="10">
<!-- BEGIN category_option_false -->
<option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
<!-- END category_option_false -->
</select>
</div>
</div>
<div style="clear:both;"></div>
<input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
<input type="reset" name="reset" value="{L_RESET}" class="bouton" />
<form method="post" action="{F_ACTION}">
<input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
<table class="doubleSelect">
<tr>
<td>
<h3>{L_CAT_OPTIONS_TRUE}</h3>
<select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
<!-- BEGIN category_option_true -->
<option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
<!-- END category_option_true -->
</select>
<p><input type="submit" value="&raquo;" name="falsify" style="font-size:15px;"/></p>
</td>
<td>
<h3>{L_CAT_OPTIONS_FALSE}</h3>
<select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
<!-- BEGIN category_option_false -->
<option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
<!-- END category_option_false -->
</select>
<p><input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" /></p>
</td>
</tr>
</table>
</form>
<div class="information">{L_CAT_OPTIONS_INFO}</div>
+13
View File
@@ -508,3 +508,16 @@ fieldset {
fieldset>legend {
margin: 5px;
}
select.categoryList {
width: 400px;
}
table.doubleSelect {
text-align: center;
margin: 0 auto;
}
table.doubleSelect td {
padding: 0 5px;
}