PluginProbe
ShiftController Employee Shift Scheduling / 2.2.3
ShiftController Employee Shift Scheduling v2.2.3
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | application/modules/wordpress/controllers/admin/shortcode.php +4 -12 3.2.42.2.3 View file →
@@ -1,24 +1,16 @@
1 1 <?php if (!defined('BASEPATH')) exit('No direct script access allowed');
2 2
3 -class Shortcode_Admin_Wordpress_HC_controller extends _Backend_HC_controller
3 +class Wordpress_Shortcode_controller extends Backend_controller
4 4 {
5 5 function index()
6 6 {
7 7 $app = $this->config->item('nts_app');
8 + $this->data[ 'shortcode' ] = '[' . $app . ']';
9 + $this->set_include( 'shortcode', 'wordpress/admin' );
8 10
9 - /* render view */
10 - $this->layout->set_partial(
11 - 'content',
12 - $this->render(
13 - 'wordpress/admin/shortcode',
14 - array(
15 - 'shortcode' => $app,
16 - )
17 - )
18 - );
19 - $this->layout();
11 + $this->load->view( $this->template, $this->data);
20 12 }
21 13 }
22 14
23 15 /* End of file customers.php */
24 16 /* Location: ./application/controllers/admin/categories.php */