Viewing file: b0dee6d4bd3f2f60c72658cfb92b878d6fe1e3e9.file.addmanyphotos.tpl.php (3.03 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-05-10 23:42:33 compiled from "modules/photogallery/templates/addmanyphotos.tpl" */ ?> <?php /*%%SmartyHeaderCode:11711784194fac28395b2c67-81939234%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'b0dee6d4bd3f2f60c72658cfb92b878d6fe1e3e9' => array ( 0 => 'modules/photogallery/templates/addmanyphotos.tpl', 1 => 1336682552, ), ), 'nocache_hash' => '11711784194fac28395b2c67-81939234', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php if (!is_callable('smarty_function_html_options')) include 'modules-alien/smarty/libs/plugins/function.html_options.php'; ?><link href="/modules-alien/uploadify/default.css" rel="stylesheet" type="text/css" /> <link href="/modules-alien/uploadify/uploadify.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="/modules-alien/uploadify/swfobject.js"></script> <script type="text/javascript" src="/modules-alien/uploadify/jquery.uploadify.v2.1.0.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#uploadify").uploadify({ 'uploader' : '/modules-alien/uploadify/uploadify.swf', 'script' : '/admin-asynch.php', 'cancelImg' : '/uploadify/cancel.png', 'folder' : 'files', 'queueID' : 'fileQueue', 'auto' : false, 'multi' : true, 'scriptData' : { 'mod':'Photogallery', 'photo' : '1', 'add' : '1', 'album_id' : $("select#photo_album_id").val(), 'sid' : '<?php echo $_smarty_tpl->getVariable('sid')->value;?> ' }, 'simUploadLimit' : 1, 'displayData': 'percentage' });});
function onChange() { $("#uploadify").uploadifySettings('scriptData',{ 'mod':'Photogallery', 'photo' : '1', 'add' : '1', 'album_id' : $("select#photo_album_id").val(), 'sid' : '<?php echo $_smarty_tpl->getVariable('sid')->value;?> ' }); } </script> <div class="photogallery"> <table align="center"> <tr> <td align="center"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotogalleryAlbumSelect'];?> : <select name="photo_album_id" id="photo_album_id" onchange="onChange()" > <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->getVariable('photo_album_values')->value,'output'=>$_smarty_tpl->getVariable('photo_album_captions')->value,'selected'=>($_smarty_tpl->getVariable('photo_album_id')->value)),$_smarty_tpl->smarty,$_smarty_tpl);?>
</select> <br /> <br /> <input type="file" name="uploadify" id="uploadify" /><br /><br />
<a href="javascript:$('#uploadify').uploadifyUpload();" class="photos-upload"><?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotogalleryStartPhotosUpload'];?> </a> | <a href="javascript:$('#uploadify').uploadifyClearQueue()" class="photos-clear-queue"><?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotogalleryClearPhotosUpload'];?> </a><br /><br /> <div id="fileQueue" style="text-align:left;"></div> </td> </tr> </table> </div>
|