Ignore:
Timestamp:
Nov 17, 2012, 5:05:32 PM (11 years ago)
Author:
mistic100
Message:

allow to add private dailymotion videos, remove videobb support, add tags support

File:
1 edited

Legend:

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

    r17687 r19056  
    1717  if ($(this).val() != "{$GVIDEO.url}") {ldelim}
    1818    $(this).css('border', '1px solid #c00');
    19     $("#change_warning").show();
     19    $(".video_update").show();
    2020  } else {ldelim}
    2121    $(this).css('border', border);
    22     $("#change_warning").hide();
     22    $(".video_update").hide();
    2323  }
    2424});
     
    6060      <b>{'Video URL'|@translate}</b>
    6161      <input type="text" name="url" value="{$GVIDEO.url}" style="width:400px;">
    62       <span id="change_warning" style="display:none;">{'Changing the url will reset video description, name and thumbnail'|@translate}</span>
     62      <span class="video_update warning" style="display:none;"> {'Changing the url will reset video description, name and thumbnail'|@translate}</span>
    6363    </p>
    64 
     64   
     65    <p class="video_update">
     66      <b>{'Get video description'|@translate}</b>
     67      <label><input type="radio" name="sync_description" value="1" {if $GVIDEO.sync_description}checked="checked"{/if}> {'Yes'|@translate}</label>
     68      <label><input type="radio" name="sync_description" value="0" {if not $GVIDEO.sync_description}checked="checked"{/if}> {'No'|@translate}</label>
     69    </p>
     70   
     71    <p class="video_update">
     72      <b>{'Get video tags'|@translate}</b>
     73      <label><input type="radio" name="sync_tags" value="1" {if $GVIDEO.sync_tags}checked="checked"{/if}> {'Yes'|@translate}</label>
     74      <label><input type="radio" name="sync_tags" value="0" {if not $GVIDEO.sync_tags}checked="checked"{/if}> {'No'|@translate}</label>
     75    </p>
     76   
    6577    <p>
    6678      <b>{'Video size'|@translate}</b>
Note: See TracChangeset for help on using the changeset viewer.