<h2>
<label for="webdavurl"><?php p($l->t('WebDAV'));?></label>
</h2>
- <input id="webdavurl" type="text" readonly="readonly" value="<?php p(OC_Helper::linkToRemote('webdav')); ?>" />
+ <input id="webdavurl" type="text" readonly="readonly" value="<?php p(\OCP\Util::linkToRemote('webdav')); ?>" />
<em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em>
</div>
</div>
}
}
- $location = \OC_Helper::linkToAbsolute('apps/files_encryption/files', 'error.php');
+ $location = \OCP\Util::linkToAbsolute('apps/files_encryption/files', 'error.php');
$post = 0;
if(count($_POST) > 0) {
$post = 1;
*/
\r
// Add CSS stylesheet\r
-\OC_Util::addStyle('files_encryption', 'settings-personal');\r
+\OCP\Util::addStyle('files_encryption', 'settings-personal');\r
\r
$tmpl = new OCP\Template('files_encryption', 'settings-personal');\r
\r
<ul>
<li class='error'>
- <?php $location = \OC_Helper::linkToRoute( "settings_personal" ).'#changePKPasswd' ?>
+ <?php $location = \OCP\Util::linkToRoute( "settings_personal" ).'#changePKPasswd' ?>
<?php p($_['message']); ?>
<br/>
$permissions |= \OCP\Constants::PERMISSION_DELETE;
}
- if (\OC_Util::isSharingDisabledForUser()) {
+ if (\OCP\Util::isSharingDisabledForUser()) {
$permissions &= ~\OCP\Constants::PERMISSION_SHARE;
}
* @return string
*/
public static function preview_icon($path) {
- return \OC_Helper::linkToRoute('core_ajax_trashbin_preview', array('x' => 36, 'y' => 36, 'file' => $path));
+ return \OCP\Util::linkToRoute('core_ajax_trashbin_preview', array('x' => 36, 'y' => 36, 'file' => $path));
}
}
$entry = array(
'id' => "user_webdavauth_settings",
'order'=>1,
- 'href' => OC_Helper::linkTo( "user_webdavauth", "settings.php" ),
+ 'href' => \OCP\Util::linkTo( "user_webdavauth", "settings.php" ),
'name' => 'WEBDAVAUTH'
);