From 67b20c49ec4e5efb4526fc64ef679dfb6dd41e30 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Thu, 4 Oct 2018 05:10:51 +0200 Subject: 2.8 auto-tag-update + help + tabs --- class/class.w.aff.php | 232 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 172 insertions(+), 60 deletions(-) (limited to 'class/class.w.aff.php') diff --git a/class/class.w.aff.php b/class/class.w.aff.php index 0c7aa24..d14e682 100644 --- a/class/class.w.aff.php +++ b/class/class.w.aff.php @@ -94,80 +94,171 @@ class Aff } } - public function edit(Art $art, App $app, $list) + public function edit(Art $art, App $app, $list, $fontsize, $imagelist) { + if ($app->session() >= self::$edit) { ?>
- - - -
- Infos -
- - - - - - - - - - -
-
-
- CSS -
- - + + + + 👁 + + id() ?> + + + + +
+
+
+ Quick CSS +
+ + $art->couleurtext(), 'lien' => $art->couleurlien(), 'lienblank' => $art->couleurlienblank(), 'bkg' => $art->couleurbkg()]; + foreach ($colorlist as $element => $color) { + echo ''; + } + + + + ?> + + + + +
+
+
+ Help +
+

Help !

+

To save your article, clic on 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 : synthax. But the following strategies are specific to W.

+

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.

+

Tricks

+
%TITLE%
+

Show the title of your article.

+
%DESCRIPTION%
+

Show the description (intro) of your article.

+
%%tag_name%%
+

Generate a list of links to all articles under this tag.

+

vv

+

vv

+

vv

+

+
+
+ + + + + + + + '; + foreach ($tablist as $key => $value) { + echo '
'; + if ($key == $opentab) { + echo ''; + } else { + echo ''; + } + echo ''; + echo '
'; + echo ''; + echo '
'; + echo '
'; + } + + echo ''; +} + + public function copy(Art $art, $list) { -- cgit v1.2.3