Current oav website
This commit is contained in:
38
dotclear._no/plugins/widgets/locales/en/help/help.html
Normal file
38
dotclear._no/plugins/widgets/locales/en/help/help.html
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Widgets</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h4>Use of widgets</h4>
|
||||
|
||||
<p>Widgets may be used to add various blocks of content to be displayed on your public pages. To add a widget, drag it from the <strong>Available widgets</strong> list on the left to one of the sidebars on the right of this page. You can order your widgets in a sidebar by dragging them up or down. To apply your changes, press <strong>Update sidebars</strong>.</p>
|
||||
|
||||
<p>Once included in a sidebar, widgets have configuration options that you can reach by clicking on the arrow next to their name.</p>
|
||||
|
||||
<p>To remove a widget, simply drag it to one of the dedicated zones</p>
|
||||
|
||||
<p>Remember to save your changes after any modification by pressing <strong>Update sidebars</strong></p>
|
||||
|
||||
<p>Use the <strong>Reset sidebars</strong> button to reset the sidebars as they were originally set in your system (a pop-up will ask you to confirm your choice).</p>
|
||||
|
||||
<h4>Widget Tags</h4>
|
||||
|
||||
<div id="widgets-tpl">
|
||||
|
||||
<p>If you are allowed to edit your theme templates, you can directly add widgets as templates tags, with their own configuration.</p>
|
||||
|
||||
<p>To add a widget in your template, you need to write code like this:</p>
|
||||
|
||||
<pre>
|
||||
<tpl:Widget id="<strong>Widget ID</strong>">
|
||||
<setting name="<strong>Setting name</strong>"><strong>Setting value</strong></setting>
|
||||
...
|
||||
</tpl:Widget>
|
||||
</pre>
|
||||
|
||||
<p>Here are the widgets available for your blog:</p><!-- the widgets and their descriptions are automatically inserted here -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
12
dotclear._no/plugins/widgets/locales/en/resources.php
Normal file
12
dotclear._no/plugins/widgets/locales/en/resources.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Dotclear
|
||||
* @subpackage Plugins
|
||||
*
|
||||
* @copyright Olivier Meunier & Association Dotclear
|
||||
* @copyright GPL-2.0-only
|
||||
*/
|
||||
|
||||
if (!isset($__resources['help']['widgets'])) {
|
||||
$__resources['help']['widgets'] = dirname(__FILE__) . '/help/help.html';
|
||||
}
|
||||
Reference in New Issue
Block a user