= $baseUrl . 'Toolkit/HeaderImages/Views/css/admin.css';
$pages = $this->_getMainLevelPages();
+ $this->smarty->assign('ImageSizes', $this->registry->appConfig->application->imageSize);
$this->smarty->assign('pages', $pages);
$this->smarty->assign('editUrl', $this->page . '?ac=add&id=');
$this->smarty->assign('imageBaseUrl', FILE_SERVER_URL . IS_OWNER_ID . '/headerImageThumb/');
{include file='Index/nav.tpl'}
+<h1>Use image sizes of {$ImageSizes}</h1>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<div id="adminList">
$.get('./headerImages.php', inputs); //, console.log('positions saved')
}
});
-
+
/* Setup Show/Hide */
$('#adminList hgroup h1').each(function(i) {
//console.log(i);
$(this).parent('hgroup').siblings('form').css('display', 'none');
$(this).siblings('h2').css('display', 'none');
});
-
+
/* Show/Hide Click Hander */
$('#adminList hgroup h1').click(function() {
if($(this).parent('hgroup').siblings('form').css('display') == "none") {
application.path = BASE_URL "admin/headerImages.php"
application.setPath = "Toolkit/HeaderImages"
+application.imageSize = "720 x 250"
+
; router config
router.path = BASE "Toolkit/HeaderImages"
router.application = "HeaderImages"