1 | {combine_css path=$USER_COLLEC_PATH|@cat:"template/style.css"} |
---|
2 | {combine_script id='jquery.zclip' path=$USER_COLLEC_PATH|@cat:"template/jquery.zclip.min.js"} |
---|
3 | {combine_script id='jquery.tipTip' path='themes/default/js/plugins/jquery.tipTip.minified.js'} |
---|
4 | |
---|
5 | {footer_script require='jquery'} |
---|
6 | function bindZclip() {ldelim} |
---|
7 | jQuery("#publicURL .button").zclip({ldelim} |
---|
8 | path:'{$USER_COLLEC_PATH}template/ZeroClipboard.swf', |
---|
9 | copy:$("#publicURL .url").html(), |
---|
10 | afterCopy: function() {ldelim} |
---|
11 | $('<span class="confirm" style="display:none;">{'Copied'|@translate}</span>').appendTo("#publicURL") |
---|
12 | .fadeIn(400).delay(1000).fadeOut(400, function(){ldelim} $(this).remove(); }); |
---|
13 | } |
---|
14 | }); |
---|
15 | } |
---|
16 | |
---|
17 | jQuery("input[name='public']").change(function() {ldelim} |
---|
18 | jQuery("#publicURL").fadeToggle("fast"); |
---|
19 | bindZclip(); |
---|
20 | }); |
---|
21 | jQuery("#publicURL .button").tipTip({ldelim} |
---|
22 | delay: 0, |
---|
23 | defaultPosition: 'right' |
---|
24 | }); |
---|
25 | {if $collection.PUBLIC}bindZclip();{/if} |
---|
26 | {/footer_script} |
---|
27 | |
---|
28 | {$MENUBAR} |
---|
29 | |
---|
30 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
31 | <div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}"> |
---|
32 | <ul class="categoryActions"> |
---|
33 | {if !empty($COLLECTION_ACTIONS)}{$COLLECTION_ACTIONS}{/if} |
---|
34 | </ul> |
---|
35 | <h2>{$TITLE}</h2> |
---|
36 | </div>{* <!-- titrePage --> *} |
---|
37 | |
---|
38 | {if isset($errors) or not empty($infos)} |
---|
39 | {include file='infos_errors.tpl'} |
---|
40 | {/if} |
---|
41 | |
---|
42 | {if $collection and not $collection.IS_TEMP} |
---|
43 | <form action="{$U_VIEW}" method="post"> |
---|
44 | <fieldset id="colProperties"> |
---|
45 | <legend>{'Properties'|@translate}</legend> |
---|
46 | |
---|
47 | <p class="title"><label for="name">{'Name'|@translate}</label></p> |
---|
48 | <p><input type="text" name="name" id="name" value="{$collection.NAME}" size="60"></p> |
---|
49 | <p class="title">{'Public'|@translate}</p> |
---|
50 | <p> |
---|
51 | <label><input type="radio" name="public" value="0" {if not $collection.PUBLIC}checked="checked"{/if}> {'No'|@translate}</label> |
---|
52 | <label><input type="radio" name="public" value="1" {if $collection.PUBLIC}checked="checked"{/if}> {'Yes'|@translate}</label> |
---|
53 | <span id="publicURL" {if not $collection.PUBLIC}style="display:none;"{/if}><span class="button" title="{'Copy to clipborad'|@translate}"> </span><span class="url">{$collection.U_PUBLIC}</span></span> |
---|
54 | </p> |
---|
55 | <p> |
---|
56 | <input type="submit" name="save_col" value="{'Save'|@translate}"> |
---|
57 | <a href="{$U_LIST}" rel="nofollow">{'Return to collections list'|@translate}</a> |
---|
58 | </p> |
---|
59 | </fieldset> |
---|
60 | </form> |
---|
61 | {/if} |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | {if !empty($THUMBNAILS)} |
---|
66 | <ul class="thumbnails" id="thumbnails"> |
---|
67 | {$THUMBNAILS} |
---|
68 | </ul> |
---|
69 | {else} |
---|
70 | <p><i>{'This collection is empty'|@translate}</i></p> |
---|
71 | {/if} |
---|
72 | |
---|
73 | {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
74 | |
---|
75 | <p style="text-align:center;font-weight:bold;margin:20px;"><a href="{$U_LIST}" rel="nofollow">{'Return to collections list'|@translate}</a></p> |
---|
76 | |
---|
77 | </div>{* <!-- content --> *} |
---|