source: extensions/virtualAutoGrant/template/VAG_admin.tpl @ 30715

Last change on this file since 30715 was 6650, checked in by vdigital, 14 years ago

Version: 2.1.a
extension:410

File size: 3.8 KB
Line 
1{html_head}
2<link rel="stylesheet" type="text/css" href="{$VAG.Path}css/VAG_admin.css">
3{/html_head}
4<div class="titrePage">
5  <h2>Virtual AutoGrant [{$VAG.Ver}]</h2>
6</div>
7<p>
8
9{'New virtual categories will be assumed private, access granted to creator and webmaster and/or uploaded pictures will have "Who can see" set to creator privacy level'|@translate}
10
11</p>
12<form method="post" action="" class="general">
13 <fieldset id="VAG_Config">
14  <legend>{'Virtual AutoGrant configuration'|@translate}</legend><br/>
15  <table id="table">
16   <tr>
17    <td class="label">{'All new virtual categories will be set private'|@translate}</td>
18        <td>
19                <input type="radio" value="1"  name="set_private" {if ($VAG.set_private)}  checked="checked" {/if}/>{'On'|@translate}
20                <input type="radio" value="0" name="set_private" {if (!$VAG.set_private)} checked="checked" {/if}/>{'Off'|@translate}
21        </td>
22   </tr>
23   <tr>
24    <td class="label">{'Categories created by the Piwigo API will be set private'|@translate}</td>
25        <td>
26                <input type="radio" value="1"  name="set_private_by_API" {if ($VAG.set_private_by_API)}  checked="checked" {/if}/>{'On'|@translate}
27                <input type="radio" value="0" name="set_private_by_API" {if (!$VAG.set_private_by_API)} checked="checked" {/if}/>{'Off'|@translate}
28        </td>
29   </tr>
30   <tr>
31    <td class="label">{'Grant access to creator'|@translate}</td>
32        <td>
33                <input type="radio" value="1"  name="grant_to_creator" {if ($VAG.grant_to_creator)}  checked="checked" {/if}/>{'On'|@translate}
34                <input type="radio" value="0" name="grant_to_creator" {if (!$VAG.grant_to_creator)} checked="checked" {/if}/>{'Off'|@translate}
35        </td>
36   </tr>
37   <tr>
38    <td class="label">{'Grant access to default webmaster'|@translate}</td>
39        <td>
40                <input type="radio" value="1"  name="grant_to_webmaster" {if ($VAG.grant_to_webmaster)}  checked="checked" {/if}/>{'On'|@translate}
41                <input type="radio" value="0" name="grant_to_webmaster" {if (!$VAG.grant_to_webmaster)} checked="checked" {/if}/>{'Off'|@translate} (*)
42        </td>
43   </tr>
44   <tr>
45    <td>&nbsp;</td>
46   </tr>
47   <tr>
48    <td class="label">{'Force "Who can see" at the creator privacy level'|@translate}</td>
49        <td>
50                <input type="radio" value="1"  name="set_who_can_see" {if ($VAG.set_who_can_see)}  checked="checked" {/if}/>{'On'|@translate}
51                <input type="radio" value="0" name="set_who_can_see" {if (!$VAG.set_who_can_see)} checked="checked" {/if}/>{'Off'|@translate}
52        </td>
53   </tr>
54   <tr>
55    <td class="label">{'"Who can see" is free on webmasters uploads'|@translate}</td>
56        <td>
57                <input type="radio" value="1"  name="webmaster_set_who_can_see" {if ($VAG.webmaster_set_who_can_see)}  checked="checked" {/if}/>{'On'|@translate}
58                <input type="radio" value="0" name="webmaster_set_who_can_see" {if (!$VAG.webmaster_set_who_can_see)} checked="checked" {/if}/>{'Off'|@translate}
59        </td>
60   </tr>
61   <tr>
62    <td class="label">{'"Who can see" is free for private categories'|@translate}</td>
63        <td>
64                <input type="radio" value="1"  name="ignore_who_can_see_on_private" {if ($VAG.ignore_who_can_see_on_private)}  checked="checked" {/if}/>{'On'|@translate}
65                <input type="radio" value="0" name="ignore_who_can_see_on_private" {if (!$VAG.ignore_who_can_see_on_private)} checked="checked" {/if}/>{'Off'|@translate}
66        </td>
67   </tr>
68  </table>
69  <p>(*) : {'Only the default webmaster can change this option.'|@translate}<br/><br/></p>
70  </fieldset>
71
72 <p><input type="submit" value="{'Submit'|@translate}" name="submit" /></p>
73</form>
74{html_head}
75<script type="text/javascript">
76jQuery(document).ready(function() {ldelim}
77  jQuery('#theAdminPage #the_page').addClass('{$themeconf.name}');
78        jQuery(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
79        jQuery(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
80});
81</script>
82{/html_head}
Note: See TracBrowser for help on using the repository browser.