From d7f3313ff4514e38c9f53439cd1a1287e56e45f7 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 11 Nov 2018 17:19:26 +0100 Subject: reboot folder --- w/view/templates/arthead.php | 6 --- w/view/templates/body.php | 0 w/view/templates/connect.php | 30 ----------- w/view/templates/delete.php | 44 --------------- w/view/templates/edit.php | 35 ------------ w/view/templates/edithelp.php | 27 ---------- w/view/templates/editleftbar.php | 70 ------------------------ w/view/templates/editrightbar.php | 20 ------- w/view/templates/edittabs.php | 19 ------- w/view/templates/edittopbar.php | 29 ---------- w/view/templates/home.php | 109 -------------------------------------- w/view/templates/homeopt.php | 84 ----------------------------- w/view/templates/layout.php | 20 ------- w/view/templates/media.php | 4 -- w/view/templates/navart.php | 85 ----------------------------- w/view/templates/navback.php | 54 ------------------- w/view/templates/read.php | 67 ----------------------- w/view/templates/readart.php | 25 --------- w/view/templates/readcreate.php | 5 -- w/view/templates/readerlayout.php | 15 ------ 20 files changed, 748 deletions(-) delete mode 100644 w/view/templates/arthead.php delete mode 100644 w/view/templates/body.php delete mode 100644 w/view/templates/connect.php delete mode 100644 w/view/templates/delete.php delete mode 100644 w/view/templates/edit.php delete mode 100644 w/view/templates/edithelp.php delete mode 100644 w/view/templates/editleftbar.php delete mode 100644 w/view/templates/editrightbar.php delete mode 100644 w/view/templates/edittabs.php delete mode 100644 w/view/templates/edittopbar.php delete mode 100644 w/view/templates/home.php delete mode 100644 w/view/templates/homeopt.php delete mode 100644 w/view/templates/layout.php delete mode 100644 w/view/templates/media.php delete mode 100644 w/view/templates/navart.php delete mode 100644 w/view/templates/navback.php delete mode 100644 w/view/templates/read.php delete mode 100644 w/view/templates/readart.php delete mode 100644 w/view/templates/readcreate.php delete mode 100644 w/view/templates/readerlayout.php (limited to 'w/view/templates') diff --git a/w/view/templates/arthead.php b/w/view/templates/arthead.php deleted file mode 100644 index b137c7f..0000000 --- a/w/view/templates/arthead.php +++ /dev/null @@ -1,6 +0,0 @@ - - - -<?= $title ?> - - \ No newline at end of file diff --git a/w/view/templates/body.php b/w/view/templates/body.php deleted file mode 100644 index e69de29..0000000 diff --git a/w/view/templates/connect.php b/w/view/templates/connect.php deleted file mode 100644 index 3e2aeba..0000000 --- a/w/view/templates/connect.php +++ /dev/null @@ -1,30 +0,0 @@ -layout('layout', ['title' => 'Connect', 'description' => 'connect']) ?> - - - - -start('page') ?> - - -level() ?> - - -isvisitor()) { ?> - -
- - -
- - - - -
- -
- - - - - -stop() ?> \ No newline at end of file diff --git a/w/view/templates/delete.php b/w/view/templates/delete.php deleted file mode 100644 index be54451..0000000 --- a/w/view/templates/delete.php +++ /dev/null @@ -1,44 +0,0 @@ -layout('layout', ['title' => 'delete', 'description' => 'delete']) ?> - - -start('page') ?> - - -insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> - -
- -

Delete

- - - -linkto())) { ?> - -

Article linked to :

- - - - - -
- - -
- - -
- - - -stop() ?> \ No newline at end of file diff --git a/w/view/templates/edit.php b/w/view/templates/edit.php deleted file mode 100644 index 33d42f4..0000000 --- a/w/view/templates/edit.php +++ /dev/null @@ -1,35 +0,0 @@ -layout('layout', ['title' => '✏ '.$art->title()]) ?> - - - - -start('page') ?> - - - - -
- - insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> - - - - insert('edittopbar', ['art' => $art]) ?> - -
- - insert('editleftbar', ['art' => $art, 'tablist' => $tablist, 'artlist' => $artlist, 'showleftpanel' => $showleftpanel]) ?> - insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) ?> - insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel]) ?> - -
- - - - - - -
- - -stop() ?> \ No newline at end of file diff --git a/w/view/templates/edithelp.php b/w/view/templates/edithelp.php deleted file mode 100644 index fee94c7..0000000 --- a/w/view/templates/edithelp.php +++ /dev/null @@ -1,27 +0,0 @@ - -

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

-

\ No newline at end of file diff --git a/w/view/templates/editleftbar.php b/w/view/templates/editleftbar.php deleted file mode 100644 index 7533599..0000000 --- a/w/view/templates/editleftbar.php +++ /dev/null @@ -1,70 +0,0 @@ -
- > - -
-
- Infos -
- - - - - - - - -
-
-
- Advanced -
-

Template options

-
    - $value) { - if(isset($art->template()[$element])) { - $template = $art->template()[$element]; - } else { - $template = ''; - } - echo '
  • '; - echo ''; - echo '> - -
    -
    - Links - - - - -
    - -
    - -
\ No newline at end of file diff --git a/w/view/templates/edittabs.php b/w/view/templates/edittabs.php deleted file mode 100644 index efb1650..0000000 --- a/w/view/templates/edittabs.php +++ /dev/null @@ -1,19 +0,0 @@ -
- - $value) { - echo '
'; - if ($key == $opentab) { - echo ''; - } else { - echo ''; - } - echo ''; - echo '
'; - echo ''; - echo '
'; - echo '
'; -} -?> - -
\ No newline at end of file diff --git a/w/view/templates/edittopbar.php b/w/view/templates/edittopbar.php deleted file mode 100644 index 20c2d8b..0000000 --- a/w/view/templates/edittopbar.php +++ /dev/null @@ -1,29 +0,0 @@ -
-
- -
- -
- - - - - - - - - - - - - πŸ‘ - ΒΆ - - id() ?> - - - - - - -
\ No newline at end of file diff --git a/w/view/templates/home.php b/w/view/templates/home.php deleted file mode 100644 index 2303f0f..0000000 --- a/w/view/templates/home.php +++ /dev/null @@ -1,109 +0,0 @@ -layout('layout', ['title' => 'home']) ?> - - - - -start('page') ?> - - - - - insert('navback', ['user' => $user]) ?> - -canedit()) { ?> - -
- -
- - - - - - - - - -
- -
- - -
- - -
- - - insert('homeopt', ['opt' => $opt]) ?> - - - -
-

Articles

-
- - -
-

Mass Edit

- - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
xideditseedellogtagsummaryβ†˜ toβ†— fromlast modificationdate of creationprivacy
βœπŸ‘πŸ—‘ΒΆtag('sort') ?>description() ?>linkto('sort') ?>linkfrom('sort') ?>datemodif('hrdi') ?>datecreation('hrdi') ?>secure('string') ?>
-
-
-
-
- - - - - - - -stop() ?> \ No newline at end of file diff --git a/w/view/templates/homeopt.php b/w/view/templates/homeopt.php deleted file mode 100644 index cecb79b..0000000 --- a/w/view/templates/homeopt.php +++ /dev/null @@ -1,84 +0,0 @@ -
-

Options

-
- -β¬… - - - - -
Sort - -
-order() == '1' ? "checked" : "" ?>/> -
-order() == '-1' ? "checked" : "" ?>/> - -
- -
Privacy
    -
  • secure() == 4 ? "checked" : "" ?>/>
  • -
  • secure() == 3 ? "checked" : "" ?>/>
  • -
  • secure() == 2 ? "checked" : "" ?>/>
  • -
  • secure() == 1 ? "checked" : "" ?>/>
  • -
  • secure() == 0 ? "checked" : "" ?>/>
  • -
- -
Tag
    - - -tagcompare() == "OR" ? "checked" : "" ?> > -tagcompare() == "AND" ? "checked" : "" ?>> - -taglist() as $tagfilter => $count) { - - if ($count > $limit && $in == false) { - echo '
    >' . $limit . ''; - $in = true; - } - if ($count == $limit && $in == true && $out == false) { - echo '
    ' . $limit . ''; - $out = true; - } - - if (in_array($tagfilter, $opt->tagfilter())) { - - echo '
  • '; - } else { - echo '
  • '; - } -} -if ($in = true || $out = true) { - echo '
    '; -} -?> - -
- - invert() == 1) { - echo ''; - } else { - echo ''; - } - echo '
diff --git a/w/view/templates/layout.php b/w/view/templates/layout.php deleted file mode 100644 index 263cca3..0000000 --- a/w/view/templates/layout.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - <?= $title ?> - - section('customhead')?> - section('arthead')?> - - - - - -section('page')?> - - - \ No newline at end of file diff --git a/w/view/templates/media.php b/w/view/templates/media.php deleted file mode 100644 index 8b189d5..0000000 --- a/w/view/templates/media.php +++ /dev/null @@ -1,4 +0,0 @@ -layout('base', ['title' => 'Media']) ?> - -

Media

-

Hello, e($interface)?>

\ No newline at end of file diff --git a/w/view/templates/navart.php b/w/view/templates/navart.php deleted file mode 100644 index b6a7219..0000000 --- a/w/view/templates/navart.php +++ /dev/null @@ -1,85 +0,0 @@ - - - - \ No newline at end of file diff --git a/w/view/templates/navback.php b/w/view/templates/navback.php deleted file mode 100644 index ab8a4d4..0000000 --- a/w/view/templates/navback.php +++ /dev/null @@ -1,54 +0,0 @@ - \ No newline at end of file diff --git a/w/view/templates/read.php b/w/view/templates/read.php deleted file mode 100644 index 35b1e7d..0000000 --- a/w/view/templates/read.php +++ /dev/null @@ -1,67 +0,0 @@ -layout('readerlayout') ?> - -start('head'); - -if ($artexist) { - if ($canread) { - echo $head; - } else { - $this->insert('arthead', ['title' => $art->title(), 'description' => $art->description()]); - } -} else { - $this->insert('arthead', ['title' => $art->id(), 'description' => $alertnotexist]); -} - - - -$this->stop(); -?> - - - - - - - - - -start('page') ?> - - - - - - insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]); - } - ?> - - - - '.$alertprivate.''; - } - - } else { - echo '

' . $alertnotexist . '

'; - if ($cancreate) { - $this->insert('readcreate', ['id' => $art->id()]); - } - } - - - - ?> - - - - -stop() ?> \ No newline at end of file diff --git a/w/view/templates/readart.php b/w/view/templates/readart.php deleted file mode 100644 index e44877d..0000000 --- a/w/view/templates/readart.php +++ /dev/null @@ -1,25 +0,0 @@ - - - - -
-header()?> -
- - - - - -
-section()?> -
- -
-footer()?> -
diff --git a/w/view/templates/readcreate.php b/w/view/templates/readcreate.php deleted file mode 100644 index dc36420..0000000 --- a/w/view/templates/readcreate.php +++ /dev/null @@ -1,5 +0,0 @@ -
- - - -
\ No newline at end of file diff --git a/w/view/templates/readerlayout.php b/w/view/templates/readerlayout.php deleted file mode 100644 index 51ab406..0000000 --- a/w/view/templates/readerlayout.php +++ /dev/null @@ -1,15 +0,0 @@ - - - - - section('head')?> - - - - - - -section('page')?> - - - \ No newline at end of file -- cgit v1.2.3