示例#1
0
function mw_includes_url()
{
    static $folder;
    if (!$folder) {
        $folder = modules_url() . MW_SYSTEM_MODULE_FOLDER . '/';
    }
    return $folder;
}
示例#2
0
<?php

$payment_options = payment_options();
$enable_payment_options_count = 0;
?>
<script  type="text/javascript">
mw.moduleCSS("<?php 
print modules_url();
?>
shop/shop-defaults.css");
$(document).ready(function(){

    mw.$('.mw-payment-gateway-<?php 
print $params['id'];
?>
 input').commuter(function() {
        mw.$('.mw-payment-gateway-selected-<?php 
print $params['id'];
?>
 .module:first').attr('data-selected-gw',this.value);
        mw.load_module(''+this.value,'#mw-payment-gateway-selected-<?php 
print $params['id'];
?>
');
    });

});
</script>

 
示例#3
0
    <td><?php 
echo modules_path();
?>
</td>
  </tr>
  <tr>
    <td>userfiles_path</td>
    <td><?php 
echo userfiles_path();
?>
</td>
  </tr>
  <tr>
    <td>userfiles_folder</td>
    <td><?php 
echo modules_url();
?>
</td>
  </tr>
  <tr>
    <td>site_url</td>
    <td><?php 
echo site_url();
?>
</td>
  </tr>
  <tr>
    <td>templates_path</td>
    <td><?php 
echo templates_path();
?>