diff options
author | VicDeo <victor.dubiniuk@gmail.com> | 2012-09-05 18:52:36 +0400 |
---|---|---|
committer | VicDeo <victor.dubiniuk@gmail.com> | 2012-09-05 18:52:47 +0400 |
commit | 850c32e3bf6b7df5cf81a255b0f7bd7d67ac5ad0 (patch) | |
tree | dcd11a9f8e43dcc5baaa6078bb4eaeaa1e32cb56 /apptemplate | |
parent | 4969cbca5d878abf8d23beb8399299f29553ce5a (diff) |
Apply style
Diffstat (limited to 'apptemplate')
-rw-r--r-- | apptemplate/appinfo/app.php | 8 | ||||
-rw-r--r-- | apptemplate/settings.php | 2 | ||||
-rw-r--r-- | apptemplate/templates/settings.php | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/apptemplate/appinfo/app.php b/apptemplate/appinfo/app.php index 351c41be2..951282610 100644 --- a/apptemplate/appinfo/app.php +++ b/apptemplate/appinfo/app.php @@ -25,4 +25,10 @@ OCP\App::registerAdmin( 'apptemplate', 'settings' ); -OCP\App::addNavigationEntry( array( 'id' => 'apptemplate', 'order' => 74, 'href' => OCP\Util::linkTo( 'apptemplate', 'index.php' ), 'icon' => OCP\Util::imagePath( 'apptemplate', 'example.png' ), 'name' => 'App Template')); +OCP\App::addNavigationEntry( array( + 'id' => 'apptemplate', + 'order' => 74, + 'href' => OCP\Util::linkTo( 'apptemplate', 'index.php' ), + 'icon' => OCP\Util::imagePath( 'apptemplate', 'example.png' ), + 'name' => 'App Template' +)); diff --git a/apptemplate/settings.php b/apptemplate/settings.php index 82ab2af92..04aaca651 100644 --- a/apptemplate/settings.php +++ b/apptemplate/settings.php @@ -6,6 +6,6 @@ OCP\Util::addScript( "apptemplate", "admin" ); $tmpl = new OCP\Template( 'apptemplate', 'settings'); -$tmpl->assign('url',OCP\Config::getSystemValue( "somesetting", '' )); +$tmpl->assign('url', OCP\Config::getSystemValue( "somesetting", '' )); return $tmpl->fetchPage(); diff --git a/apptemplate/templates/settings.php b/apptemplate/templates/settings.php index 1a2fc4037..687abdadd 100644 --- a/apptemplate/templates/settings.php +++ b/apptemplate/templates/settings.php @@ -2,7 +2,7 @@ <fieldset class="personalblock"> <strong>App Template</strong><br /> <input type="text" name="somesetting" id="somesetting" value="<?php echo $_['url']; ?>" placeholder="<?php echo $l->t('Some Setting');?>" /> - <br /> + <br /> <span class="msg"></span> </fieldset> </form> |