From 701c4637294fc9b63d53a8eeb26d46ef94af1941 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 21 Sep 2018 00:17:11 +0200 Subject: 2.6 media update + new skin + lot of bugs fixies --- class/class.w.aff.php | 194 ++++++++++++++++++++++++++++++------------------ class/class.w.app.php | 93 +++++++++++++---------- class/class.w.art.php | 28 ++++--- class/class.w.media.php | 51 +++++++++++++ class/class.w.opt.php | 49 ++++++------ 5 files changed, 267 insertions(+), 148 deletions(-) (limited to 'class') diff --git a/class/class.w.aff.php b/class/class.w.aff.php index 198f61e..d47ca7a 100644 --- a/class/class.w.aff.php +++ b/class/class.w.aff.php @@ -79,7 +79,7 @@ class Aff color: couleurlien() ?>; } - section a[target="_blank"] { + section a.external { color: couleurlienblank() ?>; } csstemplate($app) ?> @@ -161,8 +161,10 @@ class Aff
+ β†– + πŸ‘
@@ -221,7 +223,7 @@ public function head($title, $tool) } -public function arthead(Art $art, $cssread = '', $edit = 0) +public function arthead(Art $art, $cssdir, $cssread = '', $edit = 0) { ?> @@ -230,7 +232,7 @@ public function arthead(Art $art, $cssread = '', $edit = 0) - ' : '' ?> + ' : '' ?> <?= $edit == 1 ? '✏' : '' ?> <?= $art->titre() ?> @@ -311,30 +313,50 @@ public function header() } -public function home2table(App $app, $getlist) +public function home2table(App $app, $getlist, $masslist) { + echo '
'; + echo '

Articles

'; echo '
'; ?>
+

Mass Edit

- + + + + + + + + + +
session() >= $app::EDITOR) { echo ''; - echo ''; + echo ''; foreach ($getlist as $item) { echo ''; - echo ''; - echo ''; + echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -342,19 +364,21 @@ public function home2table(App $app, $getlist) echo ''; echo ''; echo ''; - echo ''; + echo ''; echo ''; } echo '
xtitletagsummaryβ†˜ toβ†— fromlast modificationdate of creationprivacyβš™ edit
xtitletagsummaryβ†˜ toβ†— fromlast modificationdate of creationprivacydisplay
' . $item->titre() . '' . $item->titre() . '' . $item->tag('sort') . '' . $item->intro() . '' . $item->liento('sort') . '' . $item->datemodif('hrdi') . '' . $item->datecreation('hrdi') . '' . $item->secure('string') . 'editπŸ‘
'; echo '
'; + echo '
'; } } public function option(App $app, Opt $opt) { if ($app->session() >= $app::EDITOR) { - echo '
'; - + echo '
'; + echo '

Options

'; + echo ''; echo ''; echo 'β¬…'; @@ -363,7 +387,12 @@ public function option(App $app, Opt $opt) $this->optionprivacy($opt); $this->optiontag($opt); - + if ($opt->invert() == 1) { + echo ''; + } else { + echo ''; + } + echo '