source: extensions/TweetThis/admin.tpl @ 15770

Revision 15122, 2.0 KB checked in by mistic100, 8 years ago (diff)

update for Piwigo 2.4
change previews with new Twitter appearance
remove all custom buttons, keep only official
new options: display counter and via

Line 
1{combine_css path=$TWEET_PATH|@cat:"style.css"}
2
3<div class="titrePage">
4        <h2>TweetThis</h2>
5</div>
6
7<form method="post" action="" class="properties" ENCTYPE="multipart/form-data"> 
8
9    <table class="twitter_buttons">
10      <tr class="property">
11        <td>
12          {'Button size'|@translate}
13        </td>
14        <td></td>
15      </tr>
16      <tr>
17        <td><label>
18          <img src="{$TWEET_PATH}images/small.png"/>
19          <input type="radio" name="button_size" value="small" {if $button_size == 'small'}checked="checked"{/if}/>
20        </label></td>
21        <td><label>
22          <img src="{$TWEET_PATH}images/large.png"/>
23          <input type="radio" name="button_size" value="large" {if $button_size == 'large'}checked="checked"{/if}/>
24        </label></td>
25      </tr>
26      <tr class="property">
27        <td>
28          <label for="count">{'Display counter'|@translate}</label>
29        </td>
30        <td>
31          <input type="checkbox" id="count" name="count" value="1" {$count_check}/>
32        </td>
33      </tr>
34      <tr class="property">
35        <td>
36          {'Button position on picture page'|@translate}
37        </td>
38        <td>
39          <label><input type="radio" name="position" value="top" {if $position == 'top'}checked="checked"{/if}/> {'Top'|@translate}</label>
40          <label><input type="radio" name="position" value="bottom" {if $position == 'bottom'}checked="checked"{/if}/> {'Bottom'|@translate}</label>
41          <label><input type="radio" name="position" value="toolbar" {if $position == 'toolbar'}checked="checked"{/if}/> {'Toolbar'|@translate}</label>
42        </td>
43      </tr>
44      <tr class="property">
45        <td>
46          {'Via'|@translate}
47        </td>
48        <td>
49          @ <input type="text" name="via" value="{$via}"/>
50        </td>
51      </tr>
52      <tr class="submit">
53        <td colspan="2">
54          <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" />
55        </td>
56      </tr>
57    </table>
58
59</form>
Note: See TracBrowser for help on using the repository browser.