summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--img/favicon-touch.pngbin0 -> 7272 bytes
-rw-r--r--img/favicon.pngbin0 -> 565 bytes
-rw-r--r--img/layout/back.pngbin670 -> 257 bytes
-rw-r--r--img/layout/help.pngbin670 -> 354 bytes
-rw-r--r--img/layout/logout.pngbin670 -> 446 bytes
-rw-r--r--img/layout/settings.pngbin670 -> 435 bytes
-rw-r--r--lib/Group/backend.php12
-rw-r--r--lib/User/backend.php14
-rw-r--r--lib/fileobserver.php2
-rw-r--r--lib/helper.php4
-rw-r--r--templates/layout.admin.php24
-rw-r--r--templates/layout.guest.php8
-rw-r--r--templates/layout.user.php22
13 files changed, 43 insertions, 43 deletions
diff --git a/img/favicon-touch.png b/img/favicon-touch.png
new file mode 100644
index 00000000000..20af826523c
--- /dev/null
+++ b/img/favicon-touch.png
Binary files differ
diff --git a/img/favicon.png b/img/favicon.png
new file mode 100644
index 00000000000..a7ee766dfa8
--- /dev/null
+++ b/img/favicon.png
Binary files differ
diff --git a/img/layout/back.png b/img/layout/back.png
index a2d5c841335..900ae719adc 100644
--- a/img/layout/back.png
+++ b/img/layout/back.png
Binary files differ
diff --git a/img/layout/help.png b/img/layout/help.png
index a2d5c841335..bf29c09f8c1 100644
--- a/img/layout/help.png
+++ b/img/layout/help.png
Binary files differ
diff --git a/img/layout/logout.png b/img/layout/logout.png
index a2d5c841335..0ee7e1b14cd 100644
--- a/img/layout/logout.png
+++ b/img/layout/logout.png
Binary files differ
diff --git a/img/layout/settings.png b/img/layout/settings.png
index a2d5c841335..8821c353e5d 100644
--- a/img/layout/settings.png
+++ b/img/layout/settings.png
Binary files differ
diff --git a/lib/Group/backend.php b/lib/Group/backend.php
index c70bd6665cb..f34c340be8c 100644
--- a/lib/Group/backend.php
+++ b/lib/Group/backend.php
@@ -33,7 +33,7 @@ abstract class OC_GROUP_BACKEND {
*
* @param string $groupName The name of the group to create
*/
- abstract public static function createGroup($groupName);
+ public static function createGroup($groupName){}
/**
* Check if a user belongs to a group
@@ -41,7 +41,7 @@ abstract class OC_GROUP_BACKEND {
* @param string $username Name of the user to check
* @param string $groupName Name of the group
*/
- abstract public static function inGroup($username, $groupName);
+ public static function inGroup($username, $groupName){}
/**
* Add a user to a group
@@ -49,7 +49,7 @@ abstract class OC_GROUP_BACKEND {
* @param string $username Name of the user to add to group
* @param string $groupName Name of the group in which add the user
*/
- abstract public static function addToGroup($username, $groupName);
+ public static function addToGroup($username, $groupName){}
/**
* Remove a user from a group
@@ -57,18 +57,18 @@ abstract class OC_GROUP_BACKEND {
* @param string $username Name of the user to remove from group
* @param string $groupName Name of the group from which remove the user
*/
- abstract public static function removeFromGroup($username,$groupName);
+ public static function removeFromGroup($username,$groupName){}
/**
* Get all groups the user belongs to
*
* @param string $username Name of the user
*/
- abstract public static function getUserGroups($username);
+ public static function getUserGroups($username){}
/**
* get a list of all groups
*
*/
- abstract public static function getGroups();
+ public static function getGroups(){}
}
diff --git a/lib/User/backend.php b/lib/User/backend.php
index ab053661f88..0483d72bf02 100644
--- a/lib/User/backend.php
+++ b/lib/User/backend.php
@@ -35,7 +35,7 @@ abstract class OC_USER_BACKEND {
* @param string $username The username of the user to create
* @param string $password The password of the new user
*/
- abstract public static function createUser($username, $password);
+ public static function createUser($username, $password){}
/**
* Try to login a user
@@ -43,18 +43,18 @@ abstract class OC_USER_BACKEND {
* @param string $username The username of the user to log in
* @param string $password The password of the user
*/
- abstract public static function login($username, $password);
+ public static function login($username, $password){}
/**
* Check if some user is logged in
*
*/
- abstract public static function isLoggedIn();
+ public static function isLoggedIn(){}
/**
* Generate a random password
*/
- abstract public static function generatePassword();
+ public static function generatePassword(){}
/**
* Set the password of a user
@@ -62,7 +62,7 @@ abstract class OC_USER_BACKEND {
* @param string $username User who password will be changed
* @param string $password The new password for the user
*/
- abstract public static function setPassword($username, $password);
+ public static function setPassword($username, $password){}
/**
* Check if the password of the user is correct
@@ -70,12 +70,12 @@ abstract class OC_USER_BACKEND {
* @param string $username Name of the user
* @param string $password Password of the user
*/
- abstract public static function checkPassword($username, $password);
+ public static function checkPassword($username, $password){}
/**
* get a list of all users
*
*/
- abstract public static function getUsers();
+ public static function getUsers(){}
}
diff --git a/lib/fileobserver.php b/lib/fileobserver.php
index 08a67521f03..ac9f2513c7b 100644
--- a/lib/fileobserver.php
+++ b/lib/fileobserver.php
@@ -41,7 +41,7 @@ class OC_FILEOBSERVER{
}
}
- public function notify($path,$action){}
+ public function notify($path,$action,$storage){}
}
/**
diff --git a/lib/helper.php b/lib/helper.php
index 4fff7c28fea..7c7fe2757e7 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -60,8 +60,8 @@ class OC_HELPER {
global $SERVERROOT;
global $WEBROOT;
// Check if the app is in the app folder
- if( file_exists( "$SERVERROOT/apps/img/$app/$file" )){
- return "$WEBROOT/apps/img/$app/$file";
+ if( file_exists( "$SERVERROOT/apps/img/$app/$image" )){
+ return "$WEBROOT/apps/img/$app/$image";
}
return "$WEBROOT/$app/img/$image";
}
diff --git a/templates/layout.admin.php b/templates/layout.admin.php
index ea352a0fb71..52912f48767 100644
--- a/templates/layout.admin.php
+++ b/templates/layout.admin.php
@@ -8,39 +8,39 @@
<head>
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" href="favicon.ico" />
- <?php foreach($_["cssfiles"] as $cssfile): ?>
+ <link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" /><link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
+ <?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
- <?php foreach($_["jsfiles"] as $jsfile): ?>
+ <?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>
</head>
<body>
<div id="header">
- <a href="<?php echo link_to("", "index.php"); ?>" title="" id="owncloud"><img src="<?php echo image_path("", "owncloud-logo-small-white.png"); ?>" alt="ownCloud" /></a>
+ <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img src="<?php echo image_path('', 'owncloud-logo-small-white.png'); ?>" alt="ownCloud" /></a>
<div id="user">
- <a href="<?php echo link_to("","index.php"); ?>" title=""><img src="<?php echo image_path("", "layout/back.png"); ?>"></a>
- <a href="<?php echo link_to("settings","index.php"); ?>" title=""><img src="<?php echo image_path("", "layout/settings.png"); ?>"></a>
- <a href="<?php echo link_to("help","index.php"); ?>" title=""><img src="<?php echo image_path("", "layout/help.png"); ?>"></a>
- <a href="<?php echo link_to("","index.php?logout=true"); ?>" title=""><img src="<?php echo image_path("", "layout/logout.png"); ?>"></a>
+ <a href="<?php echo link_to('', 'index.php'); ?>" title=""><img src="<?php echo image_path('', 'layout/back.png'); ?>"></a>
+ <a href="<?php echo link_to('settings', 'index.php'); ?>" title=""><img src="<?php echo image_path('', 'layout/settings.png'); ?>"></a>
+ <a href="<?php echo link_to('help', 'index.php'); ?>" title=""><img src="<?php echo image_path('', 'layout/help.png'); ?>"></a>
+ <a href="<?php echo link_to('', 'index.php?logout=true'); ?>" title=""><img src="<?php echo image_path('', 'layout/logout.png'); ?>"></a>
</div>
</div>
<div id="main">
<div id="plugins">
<ul>
- <li><a style="background-image:url(<?php echo image_path("settings", "information.png"); ?>)" href="<?php echo link_to("settings", "index.php"); ?>" title="">Information</a></li>
- <?php foreach($_["navigation"] as $entry):?>
- <li><a style="background-image:url(<?php echo $entry["icon"]; ?>)" href="<?php echo $entry["href"]; ?>" title=""><?php echo $entry["name"] ?></a></li>
+ <li><a style="background-image:url(<?php echo image_path('settings', 'information.png'); ?>)" href="<?php echo link_to('settings', 'index.php'); ?>" title="">Information</a></li>
+ <?php foreach($_['navigation'] as $entry):?>
+ <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title=""><?php echo $entry['name'] ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div id="content">
- <?php echo $_["content"]; ?>
+ <?php echo $_['content']; ?>
</div>
</div>
</body>
diff --git a/templates/layout.guest.php b/templates/layout.guest.php
index a163a97103f..8d567759ffc 100644
--- a/templates/layout.guest.php
+++ b/templates/layout.guest.php
@@ -8,17 +8,17 @@
<head>
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" href="favicon.ico" />
- <?php foreach($_["cssfiles"] as $cssfile): ?>
+ <link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" /><link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
+ <?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
- <?php foreach($_["jsfiles"] as $jsfile): ?>
+ <?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>
</head>
<body class="login">
- <?php echo $_["content"]; ?>
+ <?php echo $_['content']; ?>
<p class="info">
ownCloud is an open personal cloud which runs on your personal server.<br />
To learn more, please visit <a href="http://www.owncloud.org/">owncloud.org</a>.
diff --git a/templates/layout.user.php b/templates/layout.user.php
index be14cc0fc0d..0ee49623151 100644
--- a/templates/layout.user.php
+++ b/templates/layout.user.php
@@ -8,40 +8,40 @@
<head>
<title>ownCloud</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" href="favicon.ico" />
- <?php foreach($_["cssfiles"] as $cssfile): ?>
+ <link rel="shortcut icon" href="<?php echo image_path('', 'favicon.png'); ?>" /><link rel="apple-touch-icon-precomposed" href="<?php echo image_path('', 'favicon-touch.png'); ?>" />
+ <?php foreach($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
- <?php foreach($_["jsfiles"] as $jsfile): ?>
+ <?php foreach($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>
</head>
<body>
<div id="header">
- <a href="<?php echo link_to("", "index.php"); ?>" title="" id="owncloud"><img src="<?php echo image_path("", "owncloud-logo-small-white.png"); ?>" alt="ownCloud" /></a>
+ <a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img src="<?php echo image_path('', 'owncloud-logo-small-white.png'); ?>" alt="ownCloud" /></a>
<div id="user">
<?php if( OC_APP::getActiveNavigationEntry() == "help" ): ?>
- <a href="<?php echo link_to("","index.php"); ?>" title=""><img src="<?php echo image_path("", "layout/back.png"); ?>"></a>
+ <a href="<?php echo link_to('', 'index.php'); ?>" title=""><img src="<?php echo image_path('', 'layout/back.png'); ?>"></a>
<?php endif; ?>
- <a href="<?php echo link_to("settings","index.php"); ?>" title=""><img src="<?php echo image_path("", "layout/settings.png"); ?>"></a>
- <a href="<?php echo link_to("help","index.php"); ?>" title=""><img src="<?php echo image_path("", "layout/help.png"); ?>"></a>
- <a href="<?php echo link_to("","index.php"); ?>?logout=true" title=""><img src="<?php echo image_path("", "layout/logout.png"); ?>"></a>
+ <a href="<?php echo link_to('settings', 'index.php'); ?>" title=""><img src="<?php echo image_path('', 'layout/settings.png'); ?>"></a>
+ <a href="<?php echo link_to('help', 'index.php'); ?>" title=""><img src="<?php echo image_path('', 'layout/help.png'); ?>"></a>
+ <a href="<?php echo link_to('', 'index.php'); ?>?logout=true" title=""><img src="<?php echo image_path('', 'layout/logout.png'); ?>"></a>
</div>
</div>
<div id="main">
<div id="plugins">
<ul>
- <?php foreach($_["navigation"] as $entry): ?>
- <li><a style="background-image:url(<?php echo $entry["icon"]; ?>)" href="<?php echo $entry["href"]; ?>" title=""><?php echo $entry["name"]; ?></a></li>
+ <?php foreach($_['navigation'] as $entry): ?>
+ <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title=""><?php echo $entry['name']; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div id="content">
- <?php echo $_["content"]; ?>
+ <?php echo $_['content']; ?>
</div>
</div>
</body>