1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Theme browser almost fully operational. (bootstrap modal cache issue remains)

This commit is contained in:
Cameron
2013-01-31 01:49:00 -08:00
parent 5307008144
commit c37b39d969
2 changed files with 65 additions and 28 deletions

View File

@@ -73,11 +73,18 @@ if(e_AJAX_REQUEST)
if(e_AJAX_REQUEST)
{
if(isset($_GET['src'])) // Process Theme Download.
if(vartrue($_GET['src'])) // Process Theme Download.
{
$string = base64_decode($_GET['src']);
parse_str($string,$p);
// echo $p['url'];
if(vartrue($_GET['info']))
{
echo $themec->renderThemeInfo($p);
// print_a($p);
exit;
}
$remotefile = $p['url'];
$localfile = md5($remotefile.time()).".zip";
@@ -156,7 +163,7 @@ else
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Theme Info.</h3>
&nbsp;
</div>
<div class="modal-body">
<p>Loading…</p>