1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

Added Github-Sync feature to Admin->databases when developer mode (or debug) is active.

This commit is contained in:
Cameron
2015-05-30 17:06:22 -07:00
parent 6efbb4ab33
commit a5f5264cf7
5 changed files with 190 additions and 12 deletions

View File

@@ -300,8 +300,10 @@ if (is_array($pref['e_footer_list']))
// Load Footer CSS
//
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining CSS ======= -->";
if(deftrue('e_DEVELOPER'))
{
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining CSS ======= -->";
}
$CSSORDER = deftrue('CSSORDER') ? explode(",",CSSORDER) : array('other','core','plugin','theme'); // INLINE CSS in Body not supported by HTML5. .
foreach($CSSORDER as $val)
@@ -312,8 +314,10 @@ foreach($CSSORDER as $val)
unset($CSSORDER);
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining JS ======= -->";
if(deftrue('e_DEVELOPER'))
{
echo "\n\n<!-- ======= [JSManager] FOOTER: Remaining JS ======= -->";
}
// [JSManager] Load JS Footer Includes by priority
e107::getJs()->renderJs('footer', true);

View File

@@ -23,8 +23,7 @@ $sql = e107::getDb();
$sql->db_Mark_Time('(Header Top)');
e107::css('core', 'bootstrap-datetimepicker/css/datetimepicker.css', 'jquery');
e107::js('core', 'bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js', 'jquery', 2);
e107::js('core', 'bootstrap/js/bootstrap-tooltip.js','jquery');
e107::css('core', 'bootstrap/css/tooltip.css','jquery');