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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user