Changeset 3936 for extensions/Flash_Gallery/modules/simpleviewer
- Timestamp:
- Sep 28, 2009, 10:42:10 PM (15 years ago)
- Location:
- extensions/Flash_Gallery/modules/simpleviewer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Flash_Gallery/modules/simpleviewer/admin/config.tpl
r3531 r3936 86 86 <td colspan="2"><input type="checkbox" name="SV_enableRightClickOpen" {$SV_enableRightClickOpen}/></td> 87 87 </tr> 88 <tr> 89 <td>{'SV_backgroundImagePath'|@translate} </td> 90 <td><input type="text" size="40" maxlength="200" name="SV_backgroundImagePath" value="{$SV_backgroundImagePath}" /></td> 91 </tr> 88 92 89 93 </table> -
extensions/Flash_Gallery/modules/simpleviewer/language/fr_FR/module.lang.php
r3531 r3936 25 25 $lang['SV_title'] = 'Titre de la galerie (dans le SWF)'; 26 26 $lang['SV_enableRightClickOpen'] = 'Autoriser le Clic droit'; 27 $lang['SV_backgroundImagePath'] = 'Chemin d\'acc ède l\'image de fond';27 $lang['SV_backgroundImagePath'] = 'Chemin d\'accès de l\'image de fond'; 28 28 29 29 $lang['SV_top'] = 'Haut'; -
extensions/Flash_Gallery/modules/simpleviewer/main.inc.php
r3531 r3936 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 5 if (!url_is_remote($block['FLASHNAME'])) 6 $block['FLASHNAME'] = embellish_url(get_root_url().$block['FLASHNAME']); 7 8 $full_url = embellish_url( get_root_url().FLASHGAL_PATH.'js'); 9 $block['SCRIPT'] = '<script type="text/javascript" src="'.$full_url.'/swfobject.js"></script>'; 5 10 6 11 -
extensions/Flash_Gallery/modules/simpleviewer/simpleviewer.tpl
r3531 r3936 1 <div class="simpleviewer_block"> 2 <object type="application/x-shockwave-flash" data="{$block.FLASHNAME}?{$block.FLASHVARXML}={$block.XMLFEED}" width="100%" height="{$block.HEIGHT}"> 3 <param name="movie" value="{$block.FLASHVARXML}={$block.XMLFEED}" /> 4 <PARAM NAME="bgcolor" VALUE="{$block.BGCOLOR}"> 5 {if $block.TRANSPARENT} <PARAM NAME="wmode" VALUE="transparent"> {/if} 6 <PARAM NAME="allowFullScreen" VALUE="{$block.FULLSCREEN}"> 7 <embed {if $block.TRANSPARENT} wmode="transparent" {/if} src="{$block.FLASHNAME}?{$block.FLASHVARXML}={$block.XMLFEED}" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="{$block.HEIGHT}" allowFullScreen="{$block.FULLSCREEN}"> 8 </embed> 9 </object> 1 {html_head} 2 {$block.SCRIPT} 3 {/html_head} 4 <div id="simpleviewer_block"> 5 6 <script type="text/javascript"> 7 8 var fo = new SWFObject("{$block.FLASHNAME}", "simpleviewer", "100%", "{$block.HEIGHT}", "8", "{$block.BGCOLOR}"); 9 10 // XML GALLERY OPTIONS 11 // To use local images defined in an XML document, use this block 12 fo.addParam("allowFullScreen","{$block.FULLSCREEN}"); 13 {if $block.TRANSPARENT}fo.addParam("wmode", "transparent"); 14 {/if} 15 fo.addVariable("{$block.FLASHVARXML}", "{$block.XMLFEED}"); 16 17 fo.write("simpleviewer_block"); 18 </script> 19 20 10 21 </div> -
extensions/Flash_Gallery/modules/simpleviewer/xml/header.xml.php
r3531 r3936 18 18 .' title="'.$module['ext_datas']['title']."\"\n" 19 19 .' enableRightClickOpen="'.(($module['ext_datas']['enableRightClickOpen']) ? "true" : "false")."\"\n" 20 .' backgroundImagePath=" " '20 .' backgroundImagePath="'.(isset($module['ext_datas']['backgroundImagePath']) ? $module['ext_datas']['backgroundImagePath'] : '').'" ' 21 21 .' imagePath="'.get_root_url()."\"\n" 22 22 .' thumbPath="'.get_root_url().'">';
Note: See TracChangeset
for help on using the changeset viewer.