Skip to content
Snippets Groups Projects
Commit a21908cf authored by Brice Maron's avatar Brice Maron
Browse files

Change name and fix a typo

parent a809fe9a
No related branches found
No related tags found
No related merge requests found
<?php <?php
$l=new OC_L10N('dependencies_chk'); $l=new OC_L10N('admin_dependencies_chk');
OC_App::register( array( OC_App::register( array(
'order' => 14, 'order' => 14,
'id' => 'dependencies_chk', 'id' => 'admin_dependencies_chk',
'name' => 'Owncloud Install Info' )); 'name' => 'Owncloud Install Info' ));
OC_APP::registerAdmin('dependencies_chk','settings'); OC_APP::registerAdmin('admin_dependencies_chk','settings');
<?xml version="1.0"?> <?xml version="1.0"?>
<info> <info>
<id>dependencies_chk</id> <id>admin_dependencies_chk</id>
<name>Owncloud dependencies info</name> <name>Owncloud dependencies info</name>
<version>0.01</version> <version>0.01</version>
<licence>MIT</licence> <licence>MIT</licence>
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>. * License along with this library. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
$l=new OC_L10N('dependencies_chk'); $l=new OC_L10N('admin_dependencies_chk');
$tmpl = new OC_Template( 'dependencies_chk', 'settings'); $tmpl = new OC_Template( 'admin_dependencies_chk', 'settings');
$modules = array(); $modules = array();
...@@ -30,7 +30,7 @@ $modules[] =array( ...@@ -30,7 +30,7 @@ $modules[] =array(
'status' => function_exists('json_encode') ? 'ok' : 'error', 'status' => function_exists('json_encode') ? 'ok' : 'error',
'part'=> 'php-json', 'part'=> 'php-json',
'modules'=> array('core'), 'modules'=> array('core'),
'message'=> $l->t('The php-json module is needed by the many application for inter communications')); 'message'=> $l->t('The php-json module is needed by the many applications for inter communications'));
$modules[] =array( $modules[] =array(
'status' => function_exists('curl_init') ? 'ok' : 'error', 'status' => function_exists('curl_init') ? 'ok' : 'error',
...@@ -85,7 +85,7 @@ foreach($modules as $key => $module) { ...@@ -85,7 +85,7 @@ foreach($modules as $key => $module) {
if($enabled == false) unset($modules[$key]); if($enabled == false) unset($modules[$key]);
} }
OC_UTIL::addStyle('dependencies_chk', 'style'); OC_UTIL::addStyle('admin_dependencies_chk', 'style');
$tmpl->assign( 'items', $modules ); $tmpl->assign( 'items', $modules );
return $tmpl->fetchPage(); return $tmpl->fetchPage();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment