Ignore:
Timestamp:
Apr 27, 2014, 1:30:00 AM (10 years ago)
Author:
mistic100
Message:

allow to add any video with direct embed code + add batch manager filter

File:
1 edited

Legend:

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

    r26470 r28268  
    11{combine_css path=$GVIDEO_PATH|cat:'admin/template/style.css'}
    22
     3{if $GVIDEO.type != 'embed'}
    34{footer_script}
    45jQuery("input[data-toggle]").change(function() {
     
    2425});
    2526{/footer_script}
     27{/if}
    2628
    2729
     
    6466    </p>
    6567   
     68    {if $GVIDEO.type != 'embed'}
    6669    <p class="video_update">
    6770      <b>{'Get video description'|translate}</b>
     
    97100      </span>
    98101    </p>
    99 
     102    {else}
     103    <p>
     104      <b>{'Embed code'|translate}</b><br>
     105      <textarea name="embed_code" style="width:400px;height:80px;">{$GVIDEO.embed}</textarea>
     106    </p>
     107    {/if}
     108   
    100109    <p style="margin:0;">
    101       <label style="font-weight:bold;"><input type="checkbox" name="safe_mode"> {'Safe-mode'|translate}</label>
    102       <br>
     110      {if $GVIDEO.type != 'embed'}<label style="font-weight:bold;"><input type="checkbox" name="safe_mode"> {'Safe-mode'|translate}</label>
     111      <br>{/if}
    103112      <input class="submit" type="submit" value="{'Save Settings'|translate}" name="save_properties">
    104113    </p>
Note: See TracChangeset for help on using the changeset viewer.