aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-10-30 23:34:31 +0000
committerrub <rub@piwigo.org>2006-10-30 23:34:31 +0000
commit9c3e182268ed2bc5df5f31cf4045b217f7ad8791 (patch)
treec09a2b977ba3bfde8f32d2e38c07ad237ac29013 /template/yoga
parenta0e981198d4602c7634407780379c19d58b92e15 (diff)
Resolved Issue ID 0000526:
o Add default group to new user Allow to have n default groups. Property are save on table #_group and can be modified on administration group screen. git-svn-id: http://piwigo.org/svn/trunk@1583 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/admin/group_list.tpl3
-rw-r--r--template/yoga/icon/toggle_is_default_group.pngbin0 -> 571 bytes
2 files changed, 2 insertions, 1 deletions
diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl
index 6c370a96b..0424456e5 100644
--- a/template/yoga/admin/group_list.tpl
+++ b/template/yoga/admin/group_list.tpl
@@ -24,11 +24,12 @@
</tr>
<!-- BEGIN group -->
<tr class="{group.CLASS}">
- <td>{group.NAME}</td>
+ <td>{group.NAME}<i><small>{group.IS_DEFAULT}</small></i></td>
<td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td>
<td style="text-align:center;">
<a href="{group.U_PERM}"><img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" alt="permissions" title="{lang:permissions}" /></a>
<a href="{group.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" {TAG_INPUT_ENABLED}/></a>
+ <a href="{group.U_ISDEFAULT}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/toggle_is_default_group.png" class="button" style="border:none" alt="toggle_is_default_group" title="{lang:toggle_is_default_group}" {TAG_INPUT_ENABLED}/></a>
</td>
</tr>
<!-- END group -->
diff --git a/template/yoga/icon/toggle_is_default_group.png b/template/yoga/icon/toggle_is_default_group.png
new file mode 100644
index 000000000..9eaa3c601
--- /dev/null
+++ b/template/yoga/icon/toggle_is_default_group.png
Binary files differ