| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,30 +45,8 @@ function showloading() | |||
| 45 | 45 | ||
| 46 | 46 | <div id="body"> | |
| 47 | 47 | <p> </p> | |
| 48 | - <p> | ||
| 49 | - <strong>Generate for Distribution</strong> | ||
| 50 | - </p> | ||
| 51 | - <p> <a href="#" onclick="remote_link('reference_local.php'); return false;">Reference</a> \ | ||
| 52 | - <a href="#" onclick="remote_link('libraries_local.php'); return false;">Libraries</a> \ | ||
| 53 | - <a href="#" onclick="remote_link('environment_local.php'); return false;">Environment and Troubleshooting</a> \ | ||
| 54 | - <a href="#" onclick="remote_link('compare_local.php'); return false;">Compare</a> \ <br /> | ||
| 55 | - <a href="#" onclick="remote_link('staticpages_local.php'); return false;">Static Pages (FAQ, Copyright, People)</a> | ||
| 56 | - </p> | ||
| 57 | - <p> </p> | ||
| 58 | - <strong>Generate Site Files</strong> | ||
| 59 | - <p> | ||
| 60 | - <a href="#" onclick="remote_link('cover.php');return false;">Cover</a> \ | ||
| 61 | - <a href="#" onclick="remote_link('exhibition.php'); return false;">Exhibition and archives</a> \ | ||
| 62 | - <a href="#" onclick="remote_link('examples.php'); return false;">Examples</a> \ | ||
| 63 | - <a href="#" onclick="remote_link('libraries.php', 'lang=en'); return false;">Libraries</a> \ | ||
| 64 | - <a href="#" onclick="remote_link('environment.php'); return false;">Environment and Troubleshooting</a> \ | ||
| 65 | - <a href="#" onclick="remote_link('compare.php'); return false;">Compare</a> \ | ||
| 66 | - <a href="#" onclick="remote_link('courses.php'); return false;">Courses</a> \ | ||
| 67 | - <a href="#" onclick="remote_link('happenings.php'); return false;">Happenings</a> \ | ||
| 68 | - <a href="#" onclick="remote_link('updates.php'); return false;">Updates</a> \ | ||
| 69 | - <a href="#" onclick="remote_link('staticpages.php'); return false;">Static Pages (FAQ, Copyright, Contribute, People)</a> | ||
| 70 | - </p> | ||
| 71 | - <p>Generate Reference:<br /> | ||
| 48 | + | ||
| 49 | + <p><b>Generate Reference</b><br /> | ||
| 72 | 50 | <form action="#" method="post" onsubmit="new Ajax.Updater('status', 'reference.php', | |
| 73 | 51 | { asynchronous: true, parameters: Form.serialize(this), onLoading: showloading }); return false;"> | |
| 74 | 52 | <select name="lang"> | |
@@ -108,7 +86,41 @@ function showloading() | |||
| 108 | 86 | <input type="submit" value="Generate" /> | |
| 109 | 87 | </form> | |
| 110 | 88 | </p> | |
| 111 | - <p>Copy <a href="#" onclick="remote_link('reference_media.php'); return false;">Reference Media files to public directory</a></p> | ||
| 89 | + | ||
| 90 | + <p>Copy <a href="#" onclick="remote_link('reference_media.php'); return false;">Reference Media files to public directory</a></p> | ||
| 91 | + | ||
| 92 | + | ||
| 93 | + <p> </p> | ||
| 94 | + | ||
| 95 | + | ||
| 96 | + <strong>Generate Site Files</strong> | ||
| 97 | + <p> | ||
| 98 | + <a href="#" onclick="remote_link('cover.php');return false;">Cover</a> \ | ||
| 99 | + <a href="#" onclick="remote_link('exhibition.php'); return false;">Exhibition and archives</a> \ | ||
| 100 | + <a href="#" onclick="remote_link('examples.php'); return false;">Examples</a> \ | ||
| 101 | + <a href="#" onclick="remote_link('libraries.php', 'lang=en'); return false;">Libraries</a> \ | ||
| 102 | + <a href="#" onclick="remote_link('environment.php'); return false;">Environment and Troubleshooting</a> \ | ||
| 103 | + <a href="#" onclick="remote_link('compare.php'); return false;">Compare</a> \ | ||
| 104 | + <a href="#" onclick="remote_link('courses.php'); return false;">Courses</a> \ | ||
| 105 | + <a href="#" onclick="remote_link('happenings.php'); return false;">Happenings</a> \ | ||
| 106 | + <a href="#" onclick="remote_link('updates.php'); return false;">Updates</a> \ | ||
| 107 | + <a href="#" onclick="remote_link('staticpages.php'); return false;">Static Pages (FAQ, Copyright, Contribute, People)</a> | ||
| 108 | + </p> | ||
| 109 | + | ||
| 110 | + <p> </p> | ||
| 111 | + | ||
| 112 | + <p> | ||
| 113 | + <strong>Generate for Distribution</strong> | ||
| 114 | + </p> | ||
| 115 | + <p> <a href="#" onclick="remote_link('reference_local.php'); return false;">Reference</a> \ | ||
| 116 | + <a href="#" onclick="remote_link('libraries_local.php'); return false;">Libraries</a> \ | ||
| 117 | + <a href="#" onclick="remote_link('environment_local.php'); return false;">Environment and Troubleshooting</a> \ | ||
| 118 | + <a href="#" onclick="remote_link('compare_local.php'); return false;">Compare</a> \ <br /> | ||
| 119 | + <a href="#" onclick="remote_link('staticpages_local.php'); return false;">Static Pages (FAQ, Copyright, People)</a> | ||
| 120 | + </p> | ||
| 121 | + | ||
| 122 | + <p> </p> | ||
| 123 | + | ||
| 112 | 124 | ||
| 113 | 125 | <!-- | |
| 114 | 126 | <p>Generate Library References: | |
@@ -145,7 +157,7 @@ function showloading() | |||
| 145 | 157 | </p> | |
| 146 | 158 | --> | |
| 147 | 159 | ||
| 148 | - | ||
| 160 | + <!-- | ||
| 149 | 161 | <p> </p> | |
| 150 | 162 | <p> | |
| 151 | 163 | <strong>Generate Template</strong> | |
@@ -156,7 +168,8 @@ function showloading() | |||
| 156 | 168 | <input type="submit" value="Generate" /> | |
| 157 | 169 | </form> | |
| 158 | 170 | </p> | |
| 159 | - <p> </p> | ||
| 171 | + | ||
| 172 | + --> | ||
| 160 | 173 | ||
| 161 | 174 | <div id="status-container"> | |
| 162 | 175 | <h3>Status</h3> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | $lib_dir = 'reference/'.($lang != 'en' ? "$lang/" : '').'libraries'; | |
| 18 | 18 | ||
| 19 | 19 | // get library index | |
| 20 | - $index = CONTENTDIR."api_$lang/libraries.html"; | ||
| 20 | + $index = CONTENTDIR."api_$lang/libraries/index.html"; | ||
| 21 | 21 | $page = new Page('Libraries \\ Processing 1.0 (BETA)', 'Libraries'); | |
| 22 | 22 | $page->content(file_get_contents($index)); | |
| 23 | 23 | make_necessary_directories(BASEDIR.$lib_dir.'/images/include.php'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | $lib_dir = DISTDIR.'libraries'; | |
| 18 | 18 | ||
| 19 | 19 | // get library index | |
| 20 | - $index = CONTENTDIR."api_$lang/libraries.html"; | ||
| 20 | + $index = CONTENTDIR."api_$lang/libraries/index.html"; | ||
| 21 | 21 | $page = new LocalPage('Libraries \\ Processing 1.0 (BETA)', 'Libraries', 'Libraries', '../'); | |
| 22 | 22 | $page->content(file_get_contents($index)); | |
| 23 | 23 | make_necessary_directories(DISTDIR.'libraries/images/include.php'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ | |||
| 6 | 6 | $benchmark_start = microtime_float(); | |
| 7 | 7 | ||
| 8 | 8 | // arguments | |
| 9 | - $lang = isSet($_GET['lang']) ? $_GET['lang'] : 'en'; | ||
| 9 | + $lang = isSet($_POST['lang']) ? $_POST['lang'] : 'en'; | ||
| 10 | 10 | ||
| 11 | 11 | // make changes file | |
| 12 | 12 | $lib_dir = 'reference/'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments