Change name and fix a typo
This commit is contained in:
parent
a809fe9a04
commit
a21908cf18
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
$l=new OC_L10N('admin_dependencies_chk');
|
||||||
|
|
||||||
|
OC_App::register( array(
|
||||||
|
'order' => 14,
|
||||||
|
'id' => 'admin_dependencies_chk',
|
||||||
|
'name' => 'Owncloud Install Info' ));
|
||||||
|
|
||||||
|
OC_APP::registerAdmin('admin_dependencies_chk','settings');
|
|
@ -1,6 +1,6 @@
|
||||||
<?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 @@
|
||||||
* 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(
|
||||||
'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) {
|
||||||
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();
|
|
@ -1,9 +0,0 @@
|
||||||
<?php
|
|
||||||
$l=new OC_L10N('dependencies_chk');
|
|
||||||
|
|
||||||
OC_App::register( array(
|
|
||||||
'order' => 14,
|
|
||||||
'id' => 'dependencies_chk',
|
|
||||||
'name' => 'Owncloud Install Info' ));
|
|
||||||
|
|
||||||
OC_APP::registerAdmin('dependencies_chk','settings');
|
|
Loading…
Reference in New Issue