/**
 * Prints titlelink of a page
 * !!!!!!!!!!NOT THE URL TO THE PAGE!!!!!!!!!!!!!
 *
 * @return string
 */
function printPageTitleLink()
{
    global $_zp_current_zenpage_page;
    echo html_encode(getPageURL(getPageTitleLink()));
}
/**
 * Prints titlelink of a page
 *
 * @return string
 */
function printPageTitleLink()
{
    global $_zp_current_zenpage_page;
    echo '<a href="' . html_encode(getPageLinkURL(getPageTitleLink())) . '" title="' . getBarePageTitle() . '">' . getPageTitle() . '</a>';
}
Пример #3
0
 protected function areaMatch()
 {
     return in_context(ZP_ZENPAGE_PAGE) && getPageTitleLink() == $this->pageName;
 }
Пример #4
0
    ?>
" title="<?php 
    echo gettext('Gallery');
    ?>
"><?php 
    echo gettext('Gallery');
    ?>
</a></li>
					<?php 
} else {
    ?>
						<?php 
    if ($_zenpage_enabled) {
        ?>
							<li <?php 
        if (getOption('zenpage_homepage') == getPageTitleLink()) {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo html_encode(getGalleryIndexURL());
        ?>
" title="<?php 
        echo gettext('Home');
        ?>
"><?php 
        echo gettext('Home');
        ?>
</a></li>
						<?php