Changeset 19337


Ignore:
Timestamp:
12/08/12 20:38:42 (7 years ago)
Author:
julien1311
Message:

add support of videos and musics

Location:
extensions/Media_Icon
Files:
5 added
1 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • extensions/Media_Icon/admin/admin.css

    r19335 r19337  
    1414.media_icon_admin_wat, 
    1515.media_icon_admin_wideo, 
     16.media_icon_admin_video, 
     17.media_icon_admin_music, 
    1618.media_icon_admin_pdf, 
    1719.media_icon_admin_document, 
  • extensions/Media_Icon/admin/admin_general.tpl

    r19335 r19337  
    6666        <div class="media_icon_admin_element">{'Wat videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a><span class="media_icon_admin_wat"></span></div> 
    6767        <div class="media_icon_admin_element">{'Wideo videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a><span class="media_icon_admin_wideo"></span></div> 
    68         <div class="media_icon_admin_element">{'pdf files'|@translate} <a class="showInfo" title="{'pdf files'|@translate}">i</a><span class="media_icon_admin_pdf"></span></div> 
    69         <div class="media_icon_admin_element">{'Documents'|@translate} <a class="showInfo" title="{'doc, docx or odt files'|@translate}">i</a><span class="media_icon_admin_document"></span></div> 
    70         <div class="media_icon_admin_element">{'Spreadsheets'|@translate} <a class="showInfo" title="{'xls, xlsx or ods files'|@translate}">i</a><span class="media_icon_admin_spreadsheet"></span></div> 
    71         <div class="media_icon_admin_element">{'Presentations'|@translate} <a class="showInfo" title="{'ppt, pptx or odp files'|@translate}">i</a><span class="media_icon_admin_presentation"></span></div> 
     68        <div class="media_icon_admin_element">{'Videos'|@translate} <a class="showInfo" title="{'Files supported: webm, webmv, ogv, m4v, flv, mp4'|@translate}">i</a><span class="media_icon_admin_video"></span></div> 
     69        <div class="media_icon_admin_element">{'Musics'|@translate} <a class="showInfo" title="{'Files supported: mp3, ogg, oga, m4a, webma, fla, wav'|@translate}">i</a><span class="media_icon_admin_music"></span></div> 
     70        <div class="media_icon_admin_element">{'pdf files'|@translate} <a class="showInfo" title="{'Files supported: pdf'|@translate}">i</a><span class="media_icon_admin_pdf"></span></div> 
     71        <div class="media_icon_admin_element">{'Documents'|@translate} <a class="showInfo" title="{'Files supported: doc, docx and odt'|@translate}">i</a><span class="media_icon_admin_document"></span></div> 
     72        <div class="media_icon_admin_element">{'Spreadsheets'|@translate} <a class="showInfo" title="{'Files supported: xls, xlsx and ods'|@translate}">i</a><span class="media_icon_admin_spreadsheet"></span></div> 
     73        <div class="media_icon_admin_element">{'Presentations'|@translate} <a class="showInfo" title="{'Files supported: ppt, pptx and odp'|@translate}">i</a><span class="media_icon_admin_presentation"></span></div> 
    7274</fieldset> 
  • extensions/Media_Icon/language/en_UK/plugin.lang.php

    r19336 r19337  
    2121$lang['Wat videos'] = 'Wat videos'; 
    2222$lang['Wideo videos'] = 'Wideo videos'; 
     23$lang['Videos'] = 'Videos'; 
     24$lang['Musics'] = 'Musics'; 
     25$lang['pdf files'] = 'pdf files'; 
    2326$lang['Documents'] = 'Documents'; 
    2427$lang['Spreadsheets'] = 'Spreadsheets'; 
    2528$lang['Presentations'] = 'Presentations'; 
    2629$lang['Videos added with'] = 'Videos added with'; 
    27 $lang['pdf files'] = 'pdf files'; 
    28 $lang['doc, docx or odt files'] = 'doc, docx or odt files'; 
    29 $lang['xls, xlsx or ods files'] = 'xls, xlsx or ods files'; 
    30 $lang['ppt, pptx or odp files'] = 'ppt, pptx or odp files'; 
     30$lang['Files supported: webm, webmv, ogv, m4v, flv, mp4'] = 'Files supported: mp3, ogg, oga, m4a, webma, fla, wav'; 
     31$lang['Files supported: mp3, ogg, oga, m4a, webma, fla, wav'] = 'Files supported: mp3, ogg, oga, m4a, webma, fla, wav'; 
     32$lang['Files supported: pdf'] = 'Files supported: pdf'; 
     33$lang['Files supported: doc, docx and odt'] = 'Files supported: doc, docx and odt'; 
     34$lang['Files supported: xls, xlsx and ods'] = 'Files supported: xls, xlsx and ods'; 
     35$lang['ppt, pptx and odp files'] = 'Files supported: ppt, pptx and odp'; 
    3136 
    3237//admin_advanced.php 
  • extensions/Media_Icon/language/es_ES/plugin.lang.php

    r19336 r19337  
    2121$lang['Wat videos'] = 'Vídeos Wat'; 
    2222$lang['Wideo videos'] = 'Vídeos Wideo'; 
     23$lang['Videos'] = 'Vídeos'; 
     24$lang['Musics'] = 'Músicas'; 
     25$lang['pdf files'] = 'Archivos pdf'; 
    2326$lang['Documents'] = 'Documentos'; 
    2427$lang['Spreadsheets'] = 'Hojas de cálculo'; 
    2528$lang['Presentations'] = 'Presentaciones'; 
    2629$lang['Videos added with'] = 'Vídeo añadido con'; 
    27 $lang['pdf files'] = 'Archivos pdf'; 
    28 $lang['doc, docx or odt files'] = 'Archivos doc, docx o odt'; 
    29 $lang['xls, xlsx or ods files'] = 'Archivos xls, xlsx o ods'; 
    30 $lang['ppt, pptx or odp files'] = 'Archivos ppt, pptx o odp'; 
     30$lang['Files supported: webm, webmv, ogv, m4v, flv, mp4'] = 'Archivos admitidos : mp3, ogg, oga, m4a, webma, fla, wav'; 
     31$lang['Files supported: mp3, ogg, oga, m4a, webma, fla, wav'] = 'Archivos admitidos : mp3, ogg, oga, m4a, webma, fla, wav'; 
     32$lang['Files supported: pdf'] = 'Archivos admitidos : pdf'; 
     33$lang['Files supported: doc, docx and odt'] = 'Archivos admitidos : doc, docx y odt'; 
     34$lang['Files supported: xls, xlsx and ods'] = 'Archivos admitidos : xls, xlsx y ods'; 
     35$lang['ppt, pptx and odp files'] = 'Archivos admitidos : ppt, pptx y odp'; 
    3136 
    3237//admin_advanced.php 
  • extensions/Media_Icon/language/fr_FR/plugin.lang.php

    r19336 r19337  
    2121$lang['Wat videos'] = 'Vidéos Wat'; 
    2222$lang['Wideo videos'] = 'Vidéos Wideo'; 
     23$lang['Videos'] = 'Vidéos'; 
     24$lang['Musics'] = 'Musics'; 
    2325$lang['pdf files'] = 'Fichiers pdf'; 
    2426$lang['Documents'] = 'Documents'; 
     
    2628$lang['Presentations'] = 'Présentations'; 
    2729$lang['Videos added with'] = 'Videos added with'; 
    28 $lang['pdf files'] = 'Fichiers pdf'; 
    29 $lang['doc, docx or odt files'] = 'Fichiers doc, docx ou odt'; 
    30 $lang['xls, xlsx or ods files'] = 'Fichiers xls, xlsx ou ods'; 
    31 $lang['ppt, pptx or odp files'] = 'Fichiers ppt, pptx ou odp'; 
     30$lang['Files supported: webm, webmv, ogv, m4v, flv, mp4'] = 'Fichiers supportés : mp3, ogg, oga, m4a, webma, fla, wav'; 
     31$lang['Files supported: mp3, ogg, oga, m4a, webma, fla, wav'] = 'Fichiers supportés : mp3, ogg, oga, m4a, webma, fla, wav'; 
     32$lang['Files supported: pdf'] = 'Fichiers supportés : pdf'; 
     33$lang['Files supported: doc, docx and odt'] = 'Fichiers supportés : doc, docx et odt'; 
     34$lang['Files supported: xls, xlsx and ods'] = 'Fichiers supportés : xls, xlsx et ods'; 
     35$lang['ppt, pptx and odp files'] = 'Fichiers supportés : ppt, pptx et odp'; 
    3236 
    3337//admin_advanced.php 
  • extensions/Media_Icon/template/folder_media_icon.css

    r19324 r19337  
    1919} 
    2020 
     21.media_icon_video, .media_icon_admin_video{ 
     22        background: transparent url('img/folder_video.png') no-repeat; 
     23} 
     24 
     25.media_icon_music, .media_icon_admin_music{ 
     26        background: transparent url('img/folder_music.png') no-repeat; 
     27} 
     28 
    2129.media_icon_pdf, .media_icon_admin_pdf{ 
    2230        background: transparent url('img/folder_pdf.png') no-repeat; 
  • extensions/Media_Icon/template/foldercolor_media_icon.css

    r19324 r19337  
    1919} 
    2020 
     21.media_icon_video, .media_icon_admin_video{ 
     22        background: transparent url('img/foldercolor_video.png') no-repeat; 
     23} 
     24 
     25.media_icon_music, .media_icon_admin_music{ 
     26        background: transparent url('img/foldercolor_music.png') no-repeat; 
     27} 
     28 
    2129.media_icon_pdf, .media_icon_admin_pdf{ 
    2230        background: transparent url('img/foldercolor_pdf.png') no-repeat; 
  • extensions/Media_Icon/template/img

    • Property svn:ignore set to
      plain_size
  • extensions/Media_Icon/template/logo_media_icon.css

    r19324 r19337  
    1919} 
    2020 
     21.media_icon_video, .media_icon_admin_video{ 
     22        background: transparent url('img/logo_video.png') no-repeat; 
     23} 
     24 
     25.media_icon_music, .media_icon_admin_music{ 
     26        background: transparent url('img/logo_music.png') no-repeat; 
     27} 
     28 
    2129.media_icon_pdf, .media_icon_admin_pdf{ 
    2230        background: transparent url('img/logo_pdf.png') no-repeat; 
  • extensions/Media_Icon/template/media_icon.css

    r19335 r19337  
    44.media_icon_wat, 
    55.media_icon_wideo, 
     6.media_icon_video, 
     7.media_icon_music, 
    68.media_icon_pdf, 
    79.media_icon_document, 
  • extensions/Media_Icon/template/media_icon_picture.tpl

    r19329 r19337  
    1414.media_icon_wat, 
    1515.media_icon_wideo, 
     16.media_icon_video, 
     17.media_icon_music, 
    1618.media_icon_pdf, 
    1719.media_icon_document, 
  • extensions/Media_Icon/template/media_icon_thumbnails.tpl

    r19329 r19337  
    1414.media_icon_wat, 
    1515.media_icon_wideo, 
     16.media_icon_video, 
     17.media_icon_music, 
    1618.media_icon_pdf, 
    1719.media_icon_document, 
     
    3840                //Wideo 
    3941                $("img[media_icon^=wideo]").before('<span class="media_icon_wideo"></span>'); 
     42                //Video 
     43                $("img[media_icon$=webm]").before('<span class="media_icon_video"></span>'); 
     44                $("img[media_icon$=webmv]").before('<span class="media_icon_video"></span>'); 
     45                $("img[media_icon$=ogv]").before('<span class="media_icon_video"></span>'); 
     46                $("img[media_icon$=m4v]").before('<span class="media_icon_video"></span>'); 
     47                $("img[media_icon$=flv]").before('<span class="media_icon_video"></span>'); 
     48                $("img[media_icon$=mp4]").before('<span class="media_icon_video"></span>'); 
     49                //Music 
     50                $("img[media_icon$=mp3]").before('<span class="media_icon_music"></span>'); 
     51                $("img[media_icon$=ogg]").before('<span class="media_icon_music"></span>'); 
     52                $("img[media_icon$=oga]").before('<span class="media_icon_music"></span>'); 
     53                $("img[media_icon$=m4a]").before('<span class="media_icon_music"></span>'); 
     54                $("img[media_icon$=webma]").before('<span class="media_icon_music"></span>'); 
     55                $("img[media_icon$=fla]").before('<span class="media_icon_music"></span>'); 
     56                $("img[media_icon$=wav]").before('<span class="media_icon_music"></span>'); 
    4057                //pdf 
    4158                $("img[media_icon$=pdf]").before('<span class="media_icon_pdf"></span>'); 
  • extensions/Media_Icon/template/photo_media_icon.css

    r19324 r19337  
    1919} 
    2020 
     21.media_icon_video, .media_icon_admin_video{ 
     22        background: transparent url('img/photo_video.png') no-repeat; 
     23} 
     24 
     25.media_icon_music, .media_icon_admin_music{ 
     26        background: transparent url('img/photo_music.png') no-repeat; 
     27} 
     28 
    2129.media_icon_pdf, .media_icon_admin_pdf{ 
    2230        background: transparent url('img/photo_pdf.png') no-repeat; 
Note: See TracChangeset for help on using the changeset viewer.