If you are having issues with the Merge Request Review Overview section not loading please do the following:

In the Project General Setting go to the Merge Request section, expand. Make a change - any change - and save. Revert the change and save.

Commit c193fcd9 authored by Ryan Wade's avatar Ryan Wade

Add page preview capability to viewpage.php

Page data is passed via HTML GET request
parent 089d157b
......@@ -29,10 +29,18 @@
$page_src = null;
switch ($page_id)
//Preview Page
case -2:
$page_title = $_GET["title"];
$page_desc = $_GET["desc"];
$page_img = $_GET["img"];
$page_src = $_GET["src"];
case -1:
$page_title = "Sitemap";
//regular page
$page_title = $SQL->GET_PAGE($page_id)->GET_ATTRIBUTE(2);
$page_desc = $SQL->GET_PAGE($page_id)->GET_ATTRIBUTE(3);
$page_img = $SQL->GET_PAGE($page_id)->GET_ATTRIBUTE(4);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment