feature 731: permissions at image level

- this is the first version - I wait for feedback before changing help files

git-svn-id: http://piwigo.org/svn/trunk@2084 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2007-09-11 02:24:51 +00:00
parent 45fde2cc6b
commit 92f80e5d79
13 changed files with 275 additions and 51 deletions
+18 -1
View File
@@ -34,7 +34,11 @@
<!-- BEGIN thumbnail -->
<li><span class="wrap1">
<label>
<span class="wrap2"><span>
<span class="wrap2">
<!-- BEGIN level -->
<em class="levelIndicatorB">{thumbnails.thumbnail.level.LEVEL}</em><em class="levelIndicatorF" title="{thumbnails.thumbnail.level.TITLE}">{thumbnails.thumbnail.level.LEVEL}</em>
<!-- END level -->
<span>
<img src="{thumbnails.thumbnail.SRC}"
alt="{thumbnails.thumbnail.ALT}"
title="{thumbnails.thumbnail.TITLE}"
@@ -133,6 +137,19 @@
</td>
</tr>
<tr>
<td>{lang:Minimum privacy level}</td>
<td>
<label><input type="radio" name="level_action" value="leave" checked="checked" />{lang:leave}</label>
<label><input type="radio" name="level_action" value="set" id="level_action_set" />{lang:set to}</label>
<select onmousedown="document.getElementById('level_action_set').checked = true;" name="level" size="1">
<!-- BEGIN level_option -->
<option {level_option.SELECTED} value="{level_option.VALUE}">{level_option.CONTENT} ({level_option.VALUE})</option>
<!-- END level_option -->
</select>
</td>
</tr>
</table>
<p>
+13
View File
@@ -190,6 +190,19 @@
</td>
</tr>
<tr>
<td>{lang:Privacy level}</td>
<td>
<label><input type="radio" name="level_action" value="leave" checked="checked" />{lang:leave}</label>
<label><input type="radio" name="level_action" value="set" id="level_action_set" />{lang:set to}</label>
<select onmousedown="document.getElementById('level_action_set').checked = true;" name="level" size="1">
<!-- BEGIN level_option -->
<option {level_option.SELECTED} value="{level_option.VALUE}">{level_option.CONTENT} ({level_option.VALUE})</option>
<!-- END level_option -->
</select>
</td>
</tr>
</table>
</fieldset>
+1
View File
@@ -47,6 +47,7 @@
#menubar UL UL {
font-size: 100%;
margin-top: 0;
margin-bottom: 0;
}
#menubar LI.selected A {
+7
View File
@@ -51,3 +51,10 @@
top: 2px;
}
UL.thumbnails .levelIndicatorB {
display:block; position:absolute; z-index:100;padding:0px 0 0 14px; color:black; font-weight:bold; fontsize:120%;
}
UL.thumbnails .levelIndicatorF {
display:block; position:absolute; z-index:101;padding:1px 0 0 15px; color:white; font-weight:bold; fontsize:120%;
}