Ejemplo n.º 1
0
 public static function backend_js_config(array $config)
 {
     $config[__CLASS__] = ['lang' => ['M01' => sprintf(___('Donate to INN STUDIO (%s)'), theme_features::get_theme_info('name'))]];
     return $config;
 }
Ejemplo n.º 2
0
    public static function js()
    {
        ?>
		seajs.use('<?php 
        echo theme_features::get_theme_addons_js(__DIR__);
        ?>
',function(m){
			/** alipay */
			m.alipay.config.lang.M00001 = '<?php 
        echo esc_js(sprintf(___('Donate to INN STUDIO (%s)'), theme_features::get_theme_info('name')));
        ?>
';
			m.alipay.config.lang.M00002 = '<?php 
        echo esc_js(___('Message for INN STUDIO:'));
        ?>
';
			
			/** paypal */
			m.paypal.config.lang.M00001 = '<?php 
        echo esc_js(sprintf(___('Donate to INN STUDIO (%s)'), theme_features::get_theme_info('name')));
        ?>
';
			

			m.init();
		});
		<?php 
    }
Ejemplo n.º 3
0
 public static function get_footer_default()
 {
     return sprintf(___('&copy; %1$s %2$s. Theme %3$s.'), '<a href="' . theme_cache::home_url() . '">' . theme_cache::get_bloginfo('name') . '</a>', date('Y'), '<a title="' . ___('Views theme homepage') . '" href="' . theme_features::get_theme_info('ThemeURI') . '" target="_blank" rel="nofollow">' . theme_features::get_theme_info('name') . '</a>');
 }