Changeset 3874:ab8368569446 for plugins/importExport/index.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/importExport/index.php
r3731 r3874 27 27 } 28 28 29 $modules = new ArrayObject( array('import' => array(), 'export' => array()));29 $modules = new ArrayObject(['import' => [], 'export' => []]); 30 30 31 31 # --BEHAVIOR-- importExportModules … … 33 33 34 34 $type = null; 35 if (!empty($_REQUEST['type']) && in_array($_REQUEST['type'], array('export', 'import'))) {35 if (!empty($_REQUEST['type']) && in_array($_REQUEST['type'], ['export', 'import'])) { 36 36 $type = $_REQUEST['type']; 37 37 } … … 71 71 if ($type && $module !== null) { 72 72 echo dcPage::breadcrumb( 73 array(73 [ 74 74 __('Plugins') => '', 75 75 $title => $p_url, 76 76 html::escapeHTML($module->name) => '' 77 )) .77 ]) . 78 78 dcPage::notices(); 79 79 … … 86 86 } else { 87 87 echo dcPage::breadcrumb( 88 array(88 [ 89 89 __('Plugins') => '', 90 90 $title => '' 91 )) .91 ]) . 92 92 dcPage::notices(); 93 93 … … 98 98 '<p class="info">' . sprintf( 99 99 __('Export functions are in the page %s.'), 100 '<a href="' . $core->adminurl->get('admin.plugin.maintenance', array('tab' => 'backup')) . '#backup">' . __('Maintenance') . '</a>'100 '<a href="' . $core->adminurl->get('admin.plugin.maintenance', ['tab' => 'backup']) . '#backup">' . __('Maintenance') . '</a>' 101 101 ) . '</p>'; 102 102 }
Note: See TracChangeset
for help on using the changeset viewer.