mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
fixed compile and style errors in classes
This commit is contained in:
@@ -1253,6 +1253,10 @@ table.docutils th {
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
table.field-list th {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.docutils .first.last dd {
|
||||
margin-left: 20px;
|
||||
}
|
||||
@@ -9,7 +9,7 @@ Static content consists of:
|
||||
* **js/**: all JavaScript files
|
||||
* **css/**: all CSS files
|
||||
|
||||
.. note:: CSS and JavaScript are compressed by ownCloud so if the CSS or JavaScript do not seem to get updated, check if the debug mode is enabled. To enable it see :doc:`../appintro/gettingstarted`
|
||||
.. note:: CSS and JavaScript are compressed by ownCloud so if the CSS or JavaScript do not seem to get updated, check if the debug mode is enabled. To enable it see :doc:`../intro/gettingstarted`
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ ownCloud offers three simple checks:
|
||||
* **OCP\JSON::checkAdminUser()**: Checks if the logged in user has admin privileges
|
||||
* **OCP\JSON::checkSubAdminUser()**: Checks if the logged in user has group admin privileges
|
||||
|
||||
Using the App Framework, these checks are already automatically performed for each request and have to be explicitely turned off by using annotations above your controller method, see :doc:`../app/controllers`.
|
||||
Using the App Framework, these checks are already automatically performed for each request and have to be explicitely turned off by using annotations above your controller method, see :doc:`../appframework/controllers`.
|
||||
|
||||
Additionally always check if the user has the right to perform that action. (e.g. a user should not be able to delete other users' bookmarks).
|
||||
|
||||
@@ -195,7 +195,7 @@ To prevent CSRF in an app, be sure to call the following method at the top of al
|
||||
<?php
|
||||
OCP\JSON::callCheck();
|
||||
|
||||
If you are using the App Framework, every controller method is automatically checked for CSRF unless you explicitely exclude it by setting the @CSRFExemption annotation before the controller method, see :doc:`../app/controllers`
|
||||
If you are using the App Framework, every controller method is automatically checked for CSRF unless you explicitely exclude it by setting the @CSRFExemption annotation before the controller method, see :doc:`../appframework/controllers`
|
||||
|
||||
Unvalidated redirects
|
||||
---------------------
|
||||
|
||||
@@ -53,7 +53,7 @@ ownCloud has to know what your app is. This information is located inside the :f
|
||||
<require>6</require>
|
||||
</info>
|
||||
|
||||
For more information on the content of :file:`appinfo/info.xml` and what can be set, see: :doc:`info`
|
||||
For more information on the content of :file:`appinfo/info.xml` and what can be set, see: :doc:`../app/info`
|
||||
|
||||
Enable the app
|
||||
--------------
|
||||
@@ -61,7 +61,7 @@ The easiest way to enable is to symlink it into the **owncloud/apps** directory:
|
||||
|
||||
ln -s /var/www/apps/YOUR_APP /var/www/owncloud/apps/
|
||||
|
||||
This is also how other apps from the **apps** directory have to be enabled. A second way is to tell ownCloud about the directory. Use :doc:`../core/configfile` to set up multiple app directories.
|
||||
This is also how other apps from the **apps** directory have to be enabled. A second way is to tell ownCloud about the directory. Use :doc:`../../core/configfile` to set up multiple app directories.
|
||||
|
||||
The app can now be enabled on the ownCloud apps page.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user