2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Include skeletonquest Limesurvey theme and make it default for self completions

Allow for custom Limesurvey themes to work for self completions
This commit is contained in:
Adam Zammit
2015-11-24 16:28:59 +11:00
parent 2f22dd1019
commit a87bf854c2
58 changed files with 4769 additions and 3 deletions

View File

@@ -430,6 +430,16 @@ if (isset($_GET['modify']))
}
closedir($handle);
}
if ($handle = opendir(dirname(__FILE__)."/../include/limesurvey/upload/templates")) {
while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != ".." && is_dir(dirname(__FILE__)."/../include/limesurvey/upload/templates/" . $entry)){
echo "<option value=\"$entry\" ";
if ($rs['lime_template'] == $entry) echo " selected=\"selected\" ";
echo ">$entry</option>";
}
}
closedir($handle);
}
?>
</select>
</div>