From b67b5922b7a4ad2c037ed46399a5522591b5d6dd Mon Sep 17 00:00:00 2001 From: Rooty Date: Sun, 25 Feb 2024 12:18:35 +0100 Subject: [PATCH] Moved formlecture* methods from home object to community object. --- .../object_coordination/home/formlecture.mxt | 141 ------------- .../home/formlectureadh.mxt | 27 --- .../home/formlectureadhpart.mxt | 181 ---------------- .../home/formlectureadhsoc.mxt | 195 ------------------ lib/object_printing/userprint/userprint.php | 6 +- 5 files changed, 3 insertions(+), 547 deletions(-) delete mode 100755 data/template/qware/object_coordination/home/formlecture.mxt delete mode 100755 data/template/qware/object_coordination/home/formlectureadh.mxt delete mode 100755 data/template/qware/object_coordination/home/formlectureadhpart.mxt delete mode 100755 data/template/qware/object_coordination/home/formlectureadhsoc.mxt diff --git a/data/template/qware/object_coordination/home/formlecture.mxt b/data/template/qware/object_coordination/home/formlecture.mxt deleted file mode 100755 index f0718b7..0000000 --- a/data/template/qware/object_coordination/home/formlecture.mxt +++ /dev/null @@ -1,141 +0,0 @@ -
- - -
-
-
-
-
-

-
-

1 2

-
-
-
- .png" alt="" title=""/> -
-
- -
-
-
- zob -

-
-
-

- -

-

- * -

-

- * -

-

- * -

-
-
-

- * -

-

- * -

-

- * -

-
-
-

- -

-

- -

-

- -

-

- * -

-
-
-

- -

-

- -

-

- * -

-
-
-

- -

-

- -

-

- -

-

- -

-
-
-

-
-
- -
-
- - -
-
-
- - - - - - - diff --git a/data/template/qware/object_coordination/home/formlectureadh.mxt b/data/template/qware/object_coordination/home/formlectureadh.mxt deleted file mode 100755 index 51455fe..0000000 --- a/data/template/qware/object_coordination/home/formlectureadh.mxt +++ /dev/null @@ -1,27 +0,0 @@ - - - - -
-
-
-
-
-
-
-
.png" alt="" title="" />
-
-

Sélectionnez votre statut personnel

-
-
-
- "> - <mx:text id=" title="" /> - - "> - <mx:text id=" title="" /> - -
-
-
-
diff --git a/data/template/qware/object_coordination/home/formlectureadhpart.mxt b/data/template/qware/object_coordination/home/formlectureadhpart.mxt deleted file mode 100755 index ff67dab..0000000 --- a/data/template/qware/object_coordination/home/formlectureadhpart.mxt +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - -
-
-
-
- -
-
-
-
-
-
-
.png" alt="" title="" />
- -
-


-
- - - - -
- -
-
-
- -
-
- - - -
-
- - - -
-
-
- -  (€ / an) - -
-
-
- - - -
-
-
- - - |   - ">" alt="">  - - - |   - ">" alt=""> | - -
-
- - - -
-
-
-
-
-
-
-
-
-

-

-

-

-

-

-

-

-
-
- -
- -
-
-

-

-

-

-
-
- -
- -
-
- -

-

-

-

-

-

-

-
-
-
-
-
-
-
- -
-
-
(*)
-
-
-
- -
-
- " value=""/> - " value="" onclick="javascript:window.location.href=''"/> -
-
-
-
 
-
- - diff --git a/data/template/qware/object_coordination/home/formlectureadhsoc.mxt b/data/template/qware/object_coordination/home/formlectureadhsoc.mxt deleted file mode 100755 index 6e451cc..0000000 --- a/data/template/qware/object_coordination/home/formlectureadhsoc.mxt +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - -
-
-
- -
-
-
-
-
-
-
.png" alt="" title="" />
-
-


-
-
- -
-
-
-
-
- - - -
-
- - - -
-
-
- -  (€ / an) - -
-
-
- - - -
-
-
- - - |   - ">" alt="">  - - - |   - ">" alt=""> | - -
-
- - - -
-
-
-
-
-
-
-
-
-

-

-
-
-
-
-
-

-

-

-

-

-
-
-
-
-
-

-

-

-
-
-
-
-
-

-

-

-

-

-
-
-
-
-
-
-
-

-

-

-

-

-

-

-

-
-
-
- -
-
- -

-

-

-

-

-
-
-
- -
-
-

-

-

-
-
- -
-
-
-
-
- -
-
-
(*)
-
-
-
- -
-
- " value=""/> - " value="" onclick="javascript:window.location.href=''"/> -
-
-
-
 
-
- - diff --git a/lib/object_printing/userprint/userprint.php b/lib/object_printing/userprint/userprint.php index 5691b62..ffa20e5 100755 --- a/lib/object_printing/userprint/userprint.php +++ b/lib/object_printing/userprint/userprint.php @@ -79,7 +79,7 @@ class UserPrint extends Printing $tabObject =$this->getObjectSon(eid()); for ($i=0; $igetClassName()=="Home") + if ($tabObject[$i][0]->getClassName()=="Community") { $urlArray["id"]=$tabObject[$i][1]->getId(); } @@ -96,7 +96,7 @@ class UserPrint extends Printing $urlNewAccount.= "?system=authNewAccount"; $urlNewAccount = addIdToUrl($urlNewAccount); - $MaTemplate->MxAttribut("blocRegister".".urlActionNewAccount", Navigation::formatUrl($urlArray["id"],"Home","formLecture","",recupCommunity())); + $MaTemplate->MxAttribut("blocRegister".".urlActionNewAccount", Navigation::formatUrl($urlArray["id"], "Community", "formLecture", "", recupCommunity())); // $MaTemplate->MxAttribut("blocRegister".".urlActionNewAccount", $urlNewAccount); $MaTemplate->MxText("blocRegister".".NEWACCOUNT", getMessage("UserPrintNewAccount")); @@ -104,7 +104,7 @@ class UserPrint extends Printing if ($node->getCType() == "asso") { $MaTemplate->MxText("blocSubscription".".NEWSUBSCRIPTION", getMessage("UserPrintNewSubscription")); - $MaTemplate->MxAttribut("blocSubscription".".urlActionNewSubscription", Navigation::formatUrl($urlArray["id"], "Home", "formLectureAdh", "", recupCommunity())); + $MaTemplate->MxAttribut("blocSubscription".".urlActionNewSubscription", Navigation::formatUrl($urlArray["id"], "Community", "formLectureAdh", "", recupCommunity())); } else { $MaTemplate->MxBloc("blocSubscription", "delete"); }