Ejemplo n.º 1
0
<?php 
    $entryTags = getTags($entry['blogid'], $entry['id']);
    if (sizeof($entryTags) > 0) {
        ?>
		<div class="entry_tags" data-role="content" data-theme="c">
		<h3 class="tags_title">Tags</h3>
<?php 
        $tags = array();
        $relTag = Setting::getBlogSettingGlobal('useMicroformat', 3) > 1 && (count($entries) == 1 || !empty($skin->hentryExisted));
        foreach ($entryTags as $entryTag) {
            $tags[$entryTag['name']] = '<a href="' . $context->getProperty('uri.blog') . '/tag/' . $entryTag['id'] . '">' . htmlspecialchars($entryTag['name']) . '</a>';
        }
        echo implode(",\r\n", array_values($tags));
        ?>
		</div>
	</div>
<?php 
    }
    if (doesHaveOwnership() || $entry['visibility'] >= 2 || isset($_COOKIE['GUEST_PASSWORD']) && trim($_COOKIE['GUEST_PASSWORD']) == trim($entry['password'])) {
        printMobileNavigation($entry, true, true, $paging);
    } else {
        printMobileNavigation($entry, false, false, $paging);
    }
    if (!empty($entryPrint)) {
        ?>
		</div>
<?php 
    }
}
printMobileHTMLFooter();
Ejemplo n.º 2
0
function printMobileSimpleMessage($message, $redirectMessage, $redirectURL, $title = '')
{
    printMobileHTMLHeader();
    printMobileHTMLMenu();
    ?>
	<div id="postSuccess" title="Successfully" class="panel">
		<div class="content ui-bar">
			<?php 
    echo htmlspecialchars($message);
    ?>
		</div>
		<a data-role="button" data-transition="reverse slide" href="<?php 
    echo $redirectURL;
    ?>
"><?php 
    echo htmlspecialchars($redirectMessage);
    ?>
</a>
	</div>
<?php 
    printMobileHTMLFooter();
}