Exemple #1
0
/**
 * Prints the scripts needed for the header
 */
function jqm_loadScripts()
{
    global $_zp_themeroot;
    ?>
	<link rel="stylesheet" href="<?php 
    echo $_zp_themeroot;
    ?>
/jquerymobile/jquery.mobile-1.4.5.min.css" />
	<script type="text/javascript" src="<?php 
    echo $_zp_themeroot;
    ?>
/jquerymobile/jquery.mobile-1.4.5.min.js"></script>
	<?php 
    printZDSearchToggleJS();
}
Exemple #2
0
/**
 * Prints the scripts needed for the header
 */
function jqm_loadScripts()
{
    global $_zp_themeroot;
    ?>
	<link rel="stylesheet" href="<?php 
    echo $_zp_themeroot;
    ?>
/jquerymobile/jquery.mobile-1.4.5.min.css" />
	<script type="text/javascript" src="<?php 
    echo $_zp_themeroot;
    ?>
/jquerymobile/jquery.mobile-1.4.5.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			$("#zp__admin_data a, a.downloadlist_link").attr('data-ajax','false');
		});
	</script>
	<?php 
    printZDSearchToggleJS();
}
Exemple #3
0
zp_apply_filter('theme_head');
?>
		<?php 
printHeadTitle();
?>
		<link rel="stylesheet" href="<?php 
echo $_zp_themeroot;
?>
/style.css" type="text/css" />
		<?php 
if (class_exists('RSS')) {
    printRSSHeaderLink('Gallery', gettext('Gallery RSS'));
}
?>
		<?php 
printZDSearchToggleJS();
?>
	</head>
	<body>
		<?php 
zp_apply_filter('theme_body_open');
?>
		<div id="main">
			<div id="header">
				<h1><?php 
printGalleryTitle();
?>
</h1>
				<?php 
$zenpage = extensionEnabled('zenpage');
$numimages = getNumImages();