Change name and fix a typo

This commit is contained in:
Brice Maron 2011-10-29 10:07:01 +02:00
parent a809fe9a04
commit a21908cf18
6 changed files with 14 additions and 14 deletions

View File

@ -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');

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<info>
<id>dependencies_chk</id>
<id>admin_dependencies_chk</id>
<name>Owncloud dependencies info</name>
<version>0.01</version>
<licence>MIT</licence>

View File

@ -20,8 +20,8 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
$l=new OC_L10N('dependencies_chk');
$tmpl = new OC_Template( 'dependencies_chk', 'settings');
$l=new OC_L10N('admin_dependencies_chk');
$tmpl = new OC_Template( 'admin_dependencies_chk', 'settings');
$modules = array();
@ -30,7 +30,7 @@ $modules[] =array(
'status' => function_exists('json_encode') ? 'ok' : 'error',
'part'=> 'php-json',
'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(
'status' => function_exists('curl_init') ? 'ok' : 'error',
@ -85,7 +85,7 @@ foreach($modules as $key => $module) {
if($enabled == false) unset($modules[$key]);
}
OC_UTIL::addStyle('dependencies_chk', 'style');
OC_UTIL::addStyle('admin_dependencies_chk', 'style');
$tmpl->assign( 'items', $modules );
return $tmpl->fetchPage();

View File

@ -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');