Config file does not exist yet, or maybe you deleted it ? Anyway, it is time to set it :
session() >= $app::EDITOR) {
?>
';
foreach ($tablist as $key => $value) {
echo '';
if ($key == $opentab) {
echo '
';
} else {
echo '
';
}
echo '
';
echo '
';
echo '';
echo '
';
echo '
';
}
echo '';
}
public function editorhelp()
{
?>
Help !
To save your article, press the HOME, UPDATE, or DISPLAY buttons. You can use the keyboard shortcuts as well.
ALT + W : home
ALT + X : update
ALT + C : display
Markdown
The html section use Markdown encoding. Actualy, W is using Michel Fortin's Markdown Extra.
Links
[text](=article_id)
where article_id is the article's id you want to point to.
Images
[altimage](/img_id.extension)
Where img_id is the id of your image and its extension.
Shortcuts
%TITLE%
Show the title of your article.
%DESCRIPTION%
Show the description of your article.
%SUMMARY%
Generate a summary, the list of all your head titles using #, ##, ###...
%%tag_name%%
Generate a menu, a list of links to all articles under this tag.
vv
vv
vv
= $title ?>
= $edit == 0 ? '' : '' ?>
= $edit == 1 ? '✏' : '' ?> = $art->title() ?>
❓ = $id ?>
';
echo '';
foreach ($getlist as $item) {
if (in_array($tag, $item->tag('array'))) {
echo '- ' . $item->title() . ' - ' . $item->description();
if ($app->session() >= $app::EDITOR) {
echo ' - modifier
';
} else {
echo '';
}
}
}
echo '
';
echo ' ';
}
public function linkfrom($getlist, $linkfrom, App $app)
{
echo '';
echo '
';
foreach ($getlist as $item) {
if (in_array($linkfrom, $item->linkfrom('array'))) {
echo '- ' . $item->title() . ' - ' . $item->description();
if ($app->session() >= $app::EDITOR) {
echo ' - modifier - linkfroms
';
} else {
echo '';
}
}
}
echo '
';
echo '
';
}
public function dump($getlist)
{
echo '';
foreach ($getlist as $item) {
echo '- ';
var_dump($item);
echo '
';
}
echo '
';
}
public function header()
{
echo '';
$this->search();
echo '';
}
public function home2table(App $app, $getlist, $masslist)
{
echo '';
echo '
Articles
';
echo '
';
echo '
';
}
}
public function option(App $app, Opt $opt)
{
if ($app->session() >= $app::EDITOR) {
echo '';
echo '
Options
';
echo '';
}
}
public function optiontag(Opt $opt)
{
echo '';
}
public function optionprivacy(Opt $opt)
{
echo '';
}
public function optionsort(Opt $opt)
{
echo '';
}
public function mapheader()
{
$selectcurve = isset($_GET['curve']) ? $_GET['curve'] : 'basis';
$selectorient = isset($_GET['orient']) ? $_GET['orient'] : 'TD';
$curves = ['linear', 'basis', 'natural', 'step', 'stepAfter', 'stepBefore', 'monotoneX', 'monotoneY'];
$orients = ['TD', 'LR', 'BT', 'RL'];
?>
Map
graph = $orient ?>
= $map ?>
session() >= $app::EDITOR) {
echo ' ';
}
}
public function nav($app)
{
echo '
session() >= $app::EDITOR) {
?>
Add Media
Media List
';
echo 'Media List';
echo '';
echo '
';
echo '';
}
//______________________________________________________ A D M _________________________________________________
public function admincss(Config $config, $app)
{
?>
CSS
CSS file :
= $app::GLOBAL_CSS_DIR ?>
';
echo 'Edit current CSS';
echo '';
echo '';
}
?>
Database
Database credentials
Fill this sections with the database settings you want to connect to
Passwords
Admin
Edit your own admin password. You can find it in the config.w.json file, in the root of your website folder.
Others
Use this section to set all the others users passwords. They cant access this page, so they cant change it by themselves.
Table
Database status : = $status ?>
Current Table : = $config->arttable(); ?>
Select Table
The table is where all your articles are stored, select the one you want to use.
Add table
Create new table in your database. You need at least one to use W_cms
Duplicate Table
If you want to save versions of your work.
Display
Update favicon
Change desktop background color