当前位置: 首页>>代码示例>>PHP>>正文


PHP printRSSLink函数代码示例

本文整理汇总了PHP中printRSSLink函数的典型用法代码示例。如果您正苦于以下问题:PHP printRSSLink函数的具体用法?PHP printRSSLink怎么用?PHP printRSSLink使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了printRSSLink函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: printZenpageRSSLink

/**
 * @deprecated
 * @since 1.4.5
 */
function printZenpageRSSLink($option = 'News', $categorylink = '', $prev = '', $linktext = '', $next = '', $printIcon = true, $class = null, $lang = NULL)
{
    deprecated_functions::notify(gettext('use printRSSLink($option, $prev, $linktext, $next, $printIcon, $class, $lang, $categoryLink).'));
    if (class_exists('RSS')) {
        printRSSLink($option, $prev, $linktext, $next, $printIcon, $class, $lang, $categoryLink);
    }
}
开发者ID:rb26,项目名称:zenphoto,代码行数:11,代码来源:deprecated-functions.php

示例2: zp_apply_filter

    }
    ?>
			</head>
			<body>
				<?php 
    zp_apply_filter('theme_body_open');
    ?>
				<?php 
    printGalleryTitle();
    ?>
				<?php 
    printContactForm();
    // the contact form plugin function
    ?>
				<?php 
    if (class_exists('RSS')) {
        printRSSLink('Gallery', '', 'RSS', ' | ');
    }
    ?>
				<?php 
    printZenphotoLink();
    ?>
				<?php 
    zp_apply_filter('theme_body_close');
    ?>
			</body>
		</html>
	<?php 
} else {
    include SERVERPATH . '/' . ZENFOLDER . '/404.php';
}
开发者ID:arinyc,项目名称:DevTools,代码行数:31,代码来源:contact.php

示例3: printRSSLink

if (extensionEnabled('rss') && (getOption('RSS_album_image') || $_zenpage_enabled && getOption('RSS_articles'))) {
    ?>
			<div id="rsslinks">
				<?php 
    $rss = false;
    if (getOption('RSS_album_image')) {
        printRSSLink('Gallery', '', gettext('Latest images'), '', false, 'rss');
        $rss = true;
    }
    if ($_zenpage_enabled && getOption('RSS_articles') && getNumNews(true)) {
        if ($rss) {
            $separ = ' | ';
        } else {
            $separ = '';
        }
        printRSSLink('News', $separ, gettext('Latest news'), '', false, 'rss');
    }
    ?>
				<script type="text/javascript">
					//<![CDATA[
					$('.rss').prepend('<img alt="RSS Feed" src="<?php 
    echo $_zp_themeroot;
    ?>
/images/rss.png">&nbsp;');
					//]]>
				</script>
			</div>
		<?php 
}
?>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:30,代码来源:inc_footer.php

示例4: printSlideShowLink

if (function_exists('printSlideShowLink')) {
    echo "<p align=\"center\">";
    printSlideShowLink(gettext('View Slideshow'));
    echo "</p>";
}
if ($c == 0) {
    echo "<p>" . gettext("Sorry, no image matches. Try refining your search.") . "</p>";
}
echo '<br clear="all" />';
printPageListWithNav("« " . gettext('prev'), gettext('next') . " »");
?>


		<div id="credit">
			<?php 
printRSSLink('Gallery', '', gettext('Gallery RSS'), ' | ');
?>
		<?php 
printZenphotoLink();
?>
			 | <?php 
printCustomPageURL(gettext("Archive View"), "archive");
?>
		<?php 
if (function_exists('printUserLogin_out')) {
    printUserLogin_out(" | ");
}
?>
		<br />
			<?php 
printf(gettext("%s seconds"), round(array_sum(explode(" ", microtime())) - $startTime, 4));
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:search.php

示例5: printCommentForm


//.........这里部分代码省略.........
            foreach ($stored as $key => $value) {
                $disabled[$key] = false;
            }
            if (zp_loggedin()) {
                if (extensionEnabled('userAddressFields')) {
                    $address = userAddressFields::getCustomData($_zp_current_admin_obj);
                    foreach ($address as $key => $value) {
                        if (!empty($value)) {
                            $disabled[$key] = true;
                            $stored[$key] = $value;
                        }
                    }
                }
                $name = $_zp_current_admin_obj->getName();
                if (!empty($name)) {
                    $stored['name'] = $name;
                    $disabled['name'] = ' disabled="disabled"';
                } else {
                    $user = $_zp_current_admin_obj->getUser();
                    if (!empty($user)) {
                        $stored['name'] = $user;
                        $disabled['name'] = ' disabled="disabled"';
                    }
                }
                $email = $_zp_current_admin_obj->getEmail();
                if (!empty($email)) {
                    $stored['email'] = $email;
                    $disabled['email'] = ' disabled="disabled"';
                }
                if (!empty($address['website'])) {
                    $stored['website'] = $address['website'];
                    $disabled['website'] = ' disabled="disabled"';
                }
            }
            $data = zp_apply_filter('comment_form_data', array('data' => $stored, 'disabled' => $disabled));
            $disabled = $data['disabled'];
            $stored = $data['data'];
            foreach ($data as $check) {
                foreach ($check as $v) {
                    if ($v) {
                        $_zp_HTML_cache->disable();
                        //	shouldn't cache partially filled in pages
                        break 2;
                    }
                }
            }
            if (!empty($addcommenttext)) {
                echo $addcommenttext;
            }
            ?>
				<div id="commententry" <?php 
            echo $comment_commententry_mod;
            ?>
>
					<?php 
            $theme = getCurrentTheme();
            $form = getPlugin('comment_form/comment_form.php', $theme);
            require $form;
            ?>
				</div><!-- id="commententry" -->
				<?php 
        }
    } else {
        ?>
			<div id="commententry">
				<h3><?php 
        echo gettext('Closed for comments.');
        ?>
</h3>
			</div><!-- id="commententry" -->
			<?php 
    }
    ?>
	</div><!-- id="commentcontent" -->
	<?php 
    if (getOption('comment_form_rss') && getOption('RSS_comments')) {
        ?>
		<br clear="all" />
		<?php 
        if (class_exists('RSS')) {
            switch ($_zp_gallery_page) {
                case "image.php":
                    printRSSLink("Comments-image", "", gettext("Subscribe to comments"), "");
                    break;
                case "album.php":
                    printRSSLink("Comments-album", "", gettext("Subscribe to comments"), "");
                    break;
                case "news.php":
                    printRSSLink("Comments-news", "", gettext("Subscribe to comments"), "");
                    break;
                case "pages.php":
                    printRSSLink("Comments-page", "", gettext("Subscribe to comments"), "");
                    break;
            }
        }
    }
    ?>
	<!-- end printCommentForm -->
	<?php 
}
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:101,代码来源:comment_form.php

示例6: printRSSLink

        ?>
" ><span class="next"></span></a>
			<?php 
    } else {
        ?>
				<span class="next-disabled"></span>		
			<?php 
    }
}
?>
		</div>
	</div>
</div>

<div id="credit"><?php 
printRSSLink('News', '', 'News RSS', '', false);
?>
 | <a href="<?php 
echo getCustomPageURL("archive");
?>
">Archives</a> | <a href="<?php 
echo getPageURL('credits');
?>
">Credits</a> | Powered by <a href="http://www.zenphoto.org" title="A simpler web photo album">zenphoto</a></div>

<?php 
zp_apply_filter('theme_body_close');
?>
</body>
</html>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:30,代码来源:news.php

示例7: gettext

if (getOption('RSS_items_albums') || getOption('RSS_zenpage_items')) {
    ?>
			<div id="rsslinks">
				<span><?php 
    echo gettext('Subscribe: ');
    ?>
</span>
				<?php 
    if (in_context(ZP_ALBUM) && getOption('RSS_album_image')) {
        printRSSLink("Collection", "", gettext('This Album'), "  |  ", false, "rsslink");
    }
    if (getOption('RSS_items_albums')) {
        printRSSLink("Gallery", "", gettext('Gallery Images'), "", false, "rsslink");
    }
    if (function_exists('getBarePageTitle') && getOption('RSS_zenpage_items')) {
        printRSSLink("News", ' | ', gettext('News'), '', false);
    }
    ?>
			</div>
			<br />
			<?php 
}
?>
			<?php 
if (function_exists('printLanguageSelector')) {
    printLanguageSelector("langselector");
}
?>
		</div>
	</div>
	<?php 
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:inc-footer.php

示例8: gettext

	<h3><?php 
    echo gettext("RSS");
    ?>
</h3>
		<ul>
		<?php 
    if (!is_null($_zp_current_album)) {
        ?>
		<?php 
        printRSSLink('Album', '<li>', gettext('Album RSS'), '</li>');
        ?>
		<?php 
    }
    ?>
			<?php 
    printRSSLink('Gallery', '<li>', 'Gallery', '</li>');
    ?>
			<?php 
    if (function_exists("printZenpageRSSLink")) {
        ?>
			<?php 
        printZenpageRSSLink("News", "", "<li>", gettext("News"), '</li>');
        ?>
			<?php 
        printZenpageRSSLink("NewsWithImages", "", "<li>", gettext("News and Gallery"), '</li>');
        ?>
			<?php 
    }
    ?>
		</ul>
	</div>
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:31,代码来源:sidebar.php

示例9: printRSSLink

    ?>
					<li><?php 
    printRSSLink('News', '', gettext('News'), '', false);
    ?>
</li>
						<?php 
    if (function_exists('printCommentForm') && getOption('RSS_article_comments')) {
        ?>
<li><?php 
        printRSSLink('Comments-all', '', gettext('Comments'), '', false);
        ?>
</li><?php 
    }
    ?>
					<?php 
} else {
    ?>
	<?php 
    if (function_exists('printCommentForm') && getOption('RSS_comments')) {
        ?>
<li><?php 
        printRSSLink('Comments', '', gettext('Comments'), '', false);
        ?>
</li><?php 
    }
}
?>
			</ul>
		</div>
	</div>
</div>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:inc-bottom.php

示例10: printFooter

function printFooter($admin = true)
{
    global $_zp_themeroot, $_zp_gallery_page, $_zp_current_zenpage_news, $_zp_current_zenpage_page;
    $h = NULL;
    ?>
	<!-- Footer -->
	<div class="footlinks">
		<?php 
    $h = getHitcounter();
    if (!is_null($h)) {
        ?>
			<p>
			<?php 
        printf(ngettext('%1$u hit on this %2$s', '%1$u hits on this %2$s', $h), $h, gettext('page'));
        ?>
			</p>
			<?php 
    }
    if ($_zp_gallery_page == 'gallery') {
        ?>
			<p>
				<small>
					<?php 
        $albumNumber = getNumAlbums();
        echo sprintf(ngettext("%u Album", "%u Albums", $albumNumber), $albumNumber);
        ?>
 &middot;
						<?php 
        $c = get_subalbum_count();
        echo sprintf(ngettext("%u Subalbum", "%u Subalbums", $c), $c);
        ?>
 &middot;
						<?php 
        $photosArray = query_single_row("SELECT count(*) FROM " . prefix('images'));
        $photosNumber = array_shift($photosArray);
        echo sprintf(ngettext("%u Image", "%u Images", $photosNumber), $photosNumber);
        ?>
						<?php 
        if (function_exists('printCommentForm')) {
            ?>
							&middot;
							<?php 
            $commentsArray = query_single_row("SELECT count(*) FROM " . prefix('comments') . " WHERE inmoderation = 0");
            $commentsNumber = array_shift($commentsArray);
            echo sprintf(ngettext("%u Comment", "%u Comments", $commentsNumber), $commentsNumber);
            ?>
						<?php 
        }
        ?>
				</small>
			</p>
			<?php 
    }
    ?>
		<?php 
    printThemeInfo();
    ?>
		<?php 
    printZenphotoLink();
    ?>
		<?php 
    if ($_zp_gallery_page == 'gallery') {
        printRSSLink('Gallery', '<br />', 'Gallery RSS', '');
    }
    ?>
		<?php 
    if (function_exists('printUserLogin_out') && $_zp_gallery_page != 'password') {
        printUserLogin_out('<br />', '', true);
    }
    ?>
		<?php 
    if (getOption('zp_plugin_contactform') && ($_zp_gallery_page != 'password' || $_zp_gallery->isUnprotectedPage('contact'))) {
        printCustomPageURL(gettext('Contact us'), 'contact', '', '<br />');
    }
    ?>
		<?php 
    if (!zp_loggedin() && function_exists('printRegistrationForm') && ($_zp_gallery_page != 'password' || $_zp_gallery->isUnprotectedPage('unprotected_register'))) {
        printCustomPageURL(gettext('Register for this site'), 'register', '', '<br />');
    }
    ?>
		<?php 
    if (function_exists('printLanguageSelector')) {
        printLanguageSelector();
    }
    ?>
		<br clear="all" />
	</div>
	<!-- Administration Toolbox -->
	<?php 
    if ($admin) {
        printAdminToolbox();
    }
}
开发者ID:hatone,项目名称:zenphoto-1.4.1.4,代码行数:93,代码来源:functions.php

示例11: printLanguageSelector



  <div id="feature">
    
    <img alt="Jerry Blow" src="/gallery/themes/dad/images/jerry_bw_small.jpg" />
    <p>Jerry and his associates have worked strictly with A/E/C clients in the mid-Atlantic for over twenty-five years. They have been published nationally and won awards for their clients.</p>
  </div>
</div>
<?php 
if (function_exists('printLanguageSelector')) {
    printLanguageSelector();
}
?>

<div id="credit"><?php 
printRSSLink('', '', 'RSS', '');
?>
</div>

<?php 
if (function_exists('printAdminToolbox')) {
    printAdminToolbox();
}
?>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-171277-5");
开发者ID:unthinkingly,项目名称:dad,代码行数:29,代码来源:index.php

示例12: printAlbumMenu

        ?>
<div class="jump-menu"><?php 
        printAlbumMenu('jump');
        ?>
</div><?php 
    }
    ?>
				<?php 
    if (extensionEnabled('rss')) {
        ?>
					<ul class="taglist rss">
						<?php 
        if (function_exists('printCommentForm') && getOption('RSS_article_comments')) {
            ?>
<li><?php 
            printRSSLink('Comments-news', '', '', gettext('Comments of this article'), '', false);
            ?>
</li><?php 
        }
        ?>
					</ul>
				<?php 
    }
    ?>
			</div>
		</div>
	</div>
	<?php 
    if (function_exists('printRating') || function_exists('printCommentForm')) {
        ?>
		<div class="wrapper">
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:news.php

示例13: htmlspecialchars

			<a href="<?php 
    echo htmlspecialchars(getPageURL($np, $np));
    ?>
" style="background:#fff;"><?php 
    echo gettext('Next page');
    ?>
</a></em></span></li>
		<?php 
}
?>
		</ul>

			<div class="galleryinfo">
				<br />
				<p><?php 
printRSSLink('Album', '', gettext('Album RSS feed') . ' ', '', true, 'i');
?>
</p>
				<br />
				<p>
				<?php 
if (!is_null($firstImage)) {
    echo '<em class="count">';
    printf(gettext('photos %1$u-%2$u of %3$u'), $firstImage, $lastImage, getNumImages());
    echo "</em>";
}
?>
				<?php 
if (function_exists('printSlideShowLink') && isImagePage()) {
    printSlideShowLink(gettext('View Slideshow'));
}
开发者ID:ItsHaden,项目名称:epicLanBootstrap,代码行数:31,代码来源:album.php

示例14: printRSSLink

    ?>
"><span class="next"></span></a>
		<?php 
} else {
    ?>
			<span class="next-disabled"></span>		
		<?php 
}
?>
	</div>
		
	</div>
	</div>
</div>

<div id="credit"><?php 
printRSSLink('Album', '', 'Album RSS', '', false);
?>
 | <a href="<?php 
echo getCustomPageURL("archive");
?>
">Archives</a> | <a href="<?php 
echo getPageURL('credits');
?>
">Credits</a> | Powered by <a href="http://www.zenphoto.org" title="A simpler web photo album">zenphoto</a></div>

<?php 
zp_apply_filter('theme_body_close');
?>
</body>
</html>
开发者ID:Imagenomad,项目名称:Unsupported,代码行数:31,代码来源:album.php

示例15: printPageListWithNav

				<?php 
printPageListWithNav("« " . gettext("prev"), gettext("next") . " »");
if (function_exists('printAddToFavorites')) {
    printAddToFavorites($_zp_current_album);
}
printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', '');
@call_user_func('printGoogleMap');
@call_user_func('printSlideShowLink');
@call_user_func('printRating');
@call_user_func('printCommentForm');
?>
			</div>
		</div>
		<div id="credit">
			<?php 
if (function_exists('printFavoritesURL')) {
    printFavoritesURL(NULL, '', ' | ', '<br />');
}
if (class_exists('RSS')) {
    printRSSLink('Album', '', gettext('Album RSS'), ' | ');
}
printCustomPageURL(gettext("Archive View"), "archive", '', '', ' | ');
printSoftwareLink();
@call_user_func('printUserLogin_out', " | ");
?>
		</div>
		<?php 
zp_apply_filter('theme_body_close');
?>
	</body>
</html>
开发者ID:ariep,项目名称:ZenPhoto20-DEV,代码行数:31,代码来源:album.php


注:本文中的printRSSLink函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。