appearance
5 years ago
display-options
5 years ago
services
5 years ago
dashboard.php
6 years ago
listing.php
6 years ago
wizard.php
6 years ago
listing.php
38 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Social sharing listing. |
| 4 | * |
| 5 | * @var Opt_In $this |
| 6 | * |
| 7 | * @package Hustle |
| 8 | * @since 4.0.0 |
| 9 | */ |
| 10 | |
| 11 | $module_type = Hustle_Module_Model::SOCIAL_SHARING_MODULE; |
| 12 | $multiple_charts = Hustle_SShare_Model::get_sshare_types( true ); |
| 13 | $capitalize_singular = Opt_In_Utils::get_module_type_display_name( $module_type, false, true ); |
| 14 | $capitalize_plural = Opt_In_Utils::get_module_type_display_name( $module_type, true, true ); |
| 15 | $smallcaps_singular = Opt_In_Utils::get_module_type_display_name( $module_type ); |
| 16 | $smallcaps_plural = Opt_In_Utils::get_module_type_display_name( $module_type, true, false ); |
| 17 | |
| 18 | $this->render( |
| 19 | 'admin/commons/sui-listing/listing', |
| 20 | array( |
| 21 | 'page_title' => $capitalize_singular, |
| 22 | 'page_message' => esc_html__( 'Make it easy for your visitors to share your content by adding floating or inline social sharing prompts.', 'hustle' ), |
| 23 | 'total' => $total, |
| 24 | 'active' => $active, |
| 25 | 'modules' => $modules, |
| 26 | 'module_type' => $module_type, |
| 27 | 'is_free' => $is_free, |
| 28 | 'capability' => $capability, |
| 29 | 'capitalize_singular' => $capitalize_singular, |
| 30 | 'capitalize_plural' => $capitalize_plural, |
| 31 | 'smallcaps_singular' => $smallcaps_singular, |
| 32 | 'multiple_charts' => $multiple_charts, |
| 33 | 'entries_per_page' => $entries_per_page, |
| 34 | 'message' => $message, |
| 35 | 'sui' => $sui, |
| 36 | ) |
| 37 | ); |
| 38 |