Ignore:
Timestamp:
Feb 18, 2013, 2:45:55 PM (12 years ago)
Author:
mistic100
Message:

better handle of private videos, show info about privacy

Location:
extensions/gvideo/admin/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/admin/template/add.tpl

    r20804 r20809  
    1313  maxWidth: '300px',
    1414  defaultPosition: 'right'
     15});
     16jQuery(".showProvidersInfo").click(function() {
     17  $(".providersInfo").toggle();
    1518});
    1619{/literal}{/footer_script}
     
    101104      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/youtube.png">
    102105      <a href="http://www.youtube.com" target="_blank">YouTube</a>
     106      <span class="providersInfo">{'Videos can be unlisted but not private.'|@translate}<br></span>
    103107    </li>
    104108    <li>
    105109      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png">
    106110      <a href="http://www.vimeo.com" target="_blank">Vimeo</a>
     111      <span class="providersInfo">{'Videos can be unlisted and private if the gallery website is within the authorized domains (PRO).'|@translate}<br></span>
    107112    </li>
    108113    <li>
    109114      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png">
    110115      <a href="http://www.dailymotion.com" target="_blank">Dailymotion</a>
     116      <span class="providersInfo">{'Videos can be private if you use the private permalink.'|@translate}<br></span>
    111117    </li>
    112118    <li>
    113119      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wat.png">
    114120      <a href="http://www.wat.tv" target="_blank">Wat</a>
     121      <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|@translate}<br></span>
    115122    </li>
    116123    <li>
    117124      <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wideo.png">
    118125      <a href="http://www.wideo.fr" target="_blank">Wideo</a>
     126      <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|@translate}<br></span>
     127    </li>
     128    <li>
     129      <a class="showProvidersInfo">{'Show privacy details'|@translate}</a>
    119130    </li>
    120131  </ul>
  • extensions/gvideo/admin/template/style.css

    r19056 r20809  
    6666  font-weight:bold;
    6767}
     68
     69.providersInfo {
     70  display:none;
     71}
     72.showProvidersInfo {
     73  font-style:italic;
     74  font-size:0.9em;
     75}
Note: See TracChangeset for help on using the changeset viewer.