From cbecc0dfc819febf4c2b36791d5a2a7e69d842af Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 2 Sep 2018 16:19:13 +0200 Subject: 2.5 mobile update + minor upgrades and fixes --- class/class.w.aff.php | 65 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 11 deletions(-) (limited to 'class/class.w.aff.php') diff --git a/class/class.w.aff.php b/class/class.w.aff.php index 9f1177a..198f61e 100644 --- a/class/class.w.aff.php +++ b/class/class.w.aff.php @@ -162,7 +162,7 @@ class Aff
- +
@@ -197,7 +197,7 @@ public function copy(Art $art, $list) - + @@ -313,13 +313,27 @@ public function header() public function home2table(App $app, $getlist) { + echo '
'; + ?> +
+ + + +
+ session() >= $app::EDITOR) { echo ''; - echo ''; + echo ''; foreach ($getlist as $item) { echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -332,6 +346,7 @@ public function home2table(App $app, $getlist) echo ''; } echo '
titletagsummary↘ to↗ fromlast modificationdate of creationprivacy⚙ edit
xtitletagsummary↘ to↗ fromlast modificationdate of creationprivacy⚙ edit
' . $item->titre() . '' . $item->tag('sort') . '' . $item->intro() . '
'; + echo '
'; } } @@ -340,15 +355,19 @@ public function option(App $app, Opt $opt) if ($app->session() >= $app::EDITOR) { echo '
'; + echo ''; + echo '⬅'; + - $this->optiontag($opt); - $this->optionprivacy($opt); $this->optionsort($opt); + $this->optionprivacy($opt); + $this->optiontag($opt); - echo ''; + echo ''; + echo '⬅'; echo '
'; @@ -360,13 +379,34 @@ public function optiontag(Opt $opt) { echo '
Tag
'; } @@ -389,7 +429,9 @@ public function optionsort(Opt $opt) echo ''; } echo ''; + echo '
'; echo 'order() == '1' ? "checked" : "") . ' />'; + echo '
'; echo 'order() == '-1' ? "checked" : "") . ' />'; echo ''; @@ -469,7 +511,7 @@ public function nav($app) echo 'edit'; } } - if ($app->session() >= $app::EDITOR && !isset($_GET['id'])) { + if ($app->session() >= $app::EDITOR) { echo 'Media'; echo 'Record'; if ($app->session() >= $app::ADMIN) { @@ -827,6 +869,7 @@ public function nav($app) + //______________________________________________________ S E T _________________________________________________ public function setsession($session) -- cgit v1.2.3