Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | } |
108 | 108 | |
109 | 109 | class ExtMobileFrontend { |
110 | | - const VERSION = '0.5.97'; |
| 110 | + const VERSION = '0.5.98'; |
111 | 111 | |
112 | 112 | /** |
113 | 113 | * @var DOMDocument |
— | — | @@ -798,13 +798,10 @@ |
799 | 799 | $submit = self::$messages['mobile-frontend-leave-feedback-submit']; |
800 | 800 | |
801 | 801 | $feedbackPostURL = str_replace( '&mobileaction=leave_feedback', '', $wgRequest->getFullRequestURL() ) . '&mobileaction=leave_feedback_post'; |
802 | | - //require( 'views/layout/_search_webkit.html.php' ); |
803 | 802 | $searchTemplate = $this->getSearchTemplate(); |
804 | 803 | $searchWebkitHtml = $searchTemplate->getHTML(); |
805 | | - //require( 'views/layout/_footmenu_default.html.php' ); |
806 | 804 | $footerTemplate = $this->getFooterTemplate(); |
807 | | - $footerHtml = $footerTemplate->getHTML(); |
808 | | - //require( 'views/information/leave_feedback.html.php' ); |
| 805 | + $footerHtml = $footerTemplate->getHTML(); |
809 | 806 | $leaveFeedbackTemplate = new LeaveFeedbackTemplate(); |
810 | 807 | $options = array( |
811 | 808 | 'feedbackPostURL' => str_replace( '&mobileaction=leave_feedback', '', $wgRequest->getFullRequestURL() ) . '&mobileaction=leave_feedback_post', |
— | — | @@ -819,7 +816,6 @@ |
820 | 817 | $leaveFeedbackTemplate->setByArray( $options ); |
821 | 818 | $leaveFeedbackHtml = $leaveFeedbackTemplate->getHTML(); |
822 | 819 | $contentHtml = $leaveFeedbackHtml; |
823 | | - //require( 'views/layout/application.html.php' ); |
824 | 820 | $noticeHtml = ( !empty( $noticeHtml ) ) ? $noticeHtml : ''; |
825 | 821 | $applicationTemplate = $this->getApplicationTemplate(); |
826 | 822 | $options = array( |
— | — | @@ -931,14 +927,10 @@ |
932 | 928 | $backButton = self::$messages['mobile-frontend-back-button']; |
933 | 929 | $htmlTitle = $areYouSure; |
934 | 930 | $title = $areYouSure; |
935 | | - //require( 'views/layout/_search_webkit.html.php' ); |
936 | 931 | $searchTemplate = $this->getSearchTemplate(); |
937 | 932 | $searchWebkitHtml = $searchTemplate->getHTML(); |
938 | | - //require( 'views/layout/_footmenu_default.html.php' ); |
939 | 933 | $footerTemplate = $this->getFooterTemplate(); |
940 | 934 | $footerHtml = $footerTemplate->getHTML(); |
941 | | - //require( 'views/information/disable.html.php' ); |
942 | | - |
943 | 935 | $disableTemplate = new DisableTemplate(); |
944 | 936 | $options = array( |
945 | 937 | 'currentURL' => self::$currentURL, |
— | — | @@ -954,7 +946,6 @@ |
955 | 947 | $disableHtml = $disableTemplate->getHTML(); |
956 | 948 | |
957 | 949 | $contentHtml = $disableHtml; |
958 | | - //require( 'views/layout/application.html.php' ); |
959 | 950 | $noticeHtml = ( !empty( $noticeHtml ) ) ? $noticeHtml : ''; |
960 | 951 | $applicationTemplate = $this->getApplicationTemplate(); |
961 | 952 | $options = array( |
— | — | @@ -1454,7 +1445,6 @@ |
1455 | 1446 | $contentHtml = $searchWml . $contentHtml; |
1456 | 1447 | // Content wrapping |
1457 | 1448 | $contentHtml = $this->createWMLCard( $contentHtml ); |
1458 | | - //require( 'views/layout/application.wml.php' ); |
1459 | 1449 | $applicationWmlTemplate = new ApplicationWmlTemplate(); |
1460 | 1450 | $options = array( |
1461 | 1451 | 'mainPageUrl' => self::$mainPageUrl, |