Ignore:
Timestamp:
Oct 5, 2013, 12:02:41 AM (11 years ago)
Author:
mistic100
Message:

add reddit button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SocialButtons/template/admin.tpl

    r24757 r24758  
    337337</div> {* <!-- tumblr --> *}
    338338
     339<div class="socialbutt {if not $reddit.enabled}disabled{else}enabled{/if}"> {* <!-- reddit --> *}
     340<table>
     341  <thead>
     342    <tr><td colspan="2">
     343      <label title="{if $reddit.enabled}{'Disable'|@translate}{else}{'Enable'|@translate}{/if}">
     344        <img src="{$SOCIALBUTT_PATH}template/images/reddit_logo.png"/>
     345        <input class="enable" style="display:none;" type="checkbox" name="reddit[enabled]" {if $reddit.enabled}checked="checked"{/if}/>
     346      </label>
     347    </td></tr>
     348  </thead>
     349  <tbody>
     350    <tr class="property">
     351      <td>
     352        {'Button type'|@translate}
     353      </td>
     354      <td></td>
     355    </tr>
     356    <tr class="button">
     357      <td><label>
     358        <img src="http://fr.reddit.com/static/spreddit7.gif"/>
     359        <input type="radio" name="reddit[type]" value="spreddit7" {if $reddit.type=='spreddit7'}checked="checked"{/if}/>
     360      </label></td>
     361      <td><label>
     362        <input type="radio" name="reddit[type]" value="spreddit6" {if $reddit.type=='spreddit6'}checked="checked"{/if}/>
     363        <img src="http://fr.reddit.com/static/spreddit6.gif"/>
     364      </label></td>
     365    </tr>
     366    <tr class="button">
     367      <td><label>
     368        <img src="http://fr.reddit.com/static/spreddit1.gif"/>
     369        <input type="radio" name="reddit[type]" value="spreddit1" {if $reddit.type=='spreddit1'}checked="checked"{/if}/>
     370      </label></td>
     371      <td><label>
     372        <input type="radio" name="reddit[type]" value="interactive" {if $reddit.type=='interactive'}checked="checked"{/if}/>
     373        <img src="{$SOCIALBUTT_PATH}template/images/reddit_interactive.png"/>
     374      </label></td>
     375    </tr>
     376    <tr class="property">
     377      <td>
     378        <label for="reddit_community">{'Community'|@translate}</label>
     379      </td>
     380      <td>
     381        <input type="text" id="reddit_community" name="reddit[community]" value="{$reddit.community}"/>
     382      </td>
     383    </tr>
     384  </tbody>
     385</table>
     386</div> {* <!-- tumblr --> *}
     387
    339388<br>
    340389
Note: See TracChangeset for help on using the changeset viewer.