• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP keepGet函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: _e

						<div><?php 
                                        echo $update_infos['description'];
                                        ?>
</div>
				<?php 
                                    }
                                    // No new update
                                } else {
                                    ?>
					<h4><?php 
                                    _e("Check for updates");
                                    ?>
</h4>
					
					<a class="info smallspace success" href="./?p=check<?php 
                                    echo keepGet('(p|b|s)', false);
                                    ?>
"><?php 
                                    _e("Your version seems to be up to date, but you can check updates manually by clicking here.");
                                    ?>
</a>
				<?php 
                                }
                            }
                            ?>
			<?php 
                        } else {
                            ?>
				<h3 class="login manager-images"><?php 
                            _e("Manager access");
                            ?>
开发者ID:igniterealtime,项目名称:community-plugins,代码行数:31,代码来源:manager.php


示例2: logoFormField

function logoFormField($id, $name)
{
    if (file_exists(JAPPIX_BASE . '/store/logos/' . $name . '.png')) {
        echo '<span class="logo_links"><a class="remove manager-images" href="./?k=' . urlencode($name) . keepGet('k', false) . '" title="' . T_("Remove this logo") . '"></a><a class="view manager-images" href="./store/logos/' . $name . '.png" target="_blank" title="' . T_("View this logo") . '"></a></span>';
    } else {
        echo '<input id="logo_own_' . $id . '_location" type="file" name="logo_own_' . $id . '_location" accept="image/*" />';
    }
    echo "\n";
}
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:9,代码来源:functions-manager.php


示例3: _e

				
				<h2>Jappix.net</h2>
				<div class="tabulate">
					<a href="http://jappix.net/">
						<span class="name">Jappix Network</span>
						<span class="desc"><?php 
    _e("Find a public Jappix node.");
    ?>
</span>
					</a>
				</div>
			</div>
		</div>
		
		<div class="locale" data-keepget="<?php 
    echo keepGet('l', false);
    ?>
">
			<div class="current">
				<div class="current_align"><?php 
    echo getLanguageName($locale);
    ?>
</div>
			</div>
		</div>
		
		<?php 
    // Add the notice
    $conf_notice = readNotice();
    $type_notice = $conf_notice['type'];
    $text_notice = $conf_notice['notice'];
开发者ID:ZerGabriel,项目名称:friendica-addons,代码行数:30,代码来源:desktop.php


示例4: languageSwitcher

function languageSwitcher($active_locale)
{
    // Initialize
    $keep_get = keepGet('l', false);
    $list = availableLocales($active_locale);
    $html = '';
    // Generate the HTML code
    foreach ($list as $current_id => $current_name) {
        $html .= '<a href="./?l=' . $current_id . $keep_get . '">' . htmlspecialchars($current_name) . '</a>, ';
    }
    // Output the HTML code
    return $html;
}
开发者ID:neurolit,项目名称:jappix,代码行数:13,代码来源:functions.php


示例5: _e

			</form>
		</div>
		
		<a class="smartphone" href="http://jappix.mobi/">
			<span class="title"><?php 
_e("Jappix for your phone");
?>
 »</span>
			<span class="desc"><?php 
_e("A single phone app for messages, channels, profiles and much more!");
?>
</span>
		</a>
		
		<a href="./?m=desktop<?php 
echo keepGet('m', false);
?>
"><?php 
_e("Desktop");
?>
</a>
		<?php 
if (hasLegal()) {
    ?>
- <a href="<?php 
    echo htmlspecialchars(LEGAL);
    ?>
"><?php 
    _e("Legal");
    ?>
</a><?php 
开发者ID:remidou,项目名称:jappix,代码行数:31,代码来源:mobile.php


示例6: array

        }
    }
}
// These steps are not available
if ($step > 6 || !is_int($step)) {
    $step = 6;
}
// Get the current step title
$names = array(T_("Welcome"), T_("Storage configuration"), T_("Administrator account"), T_("Main configuration"), T_("Hosts configuration"), T_("Services installation"));
// Continue marker
$continue = true;
// Form action
if ($step < 6) {
    $form_action = './?m=install' . keepGet('m', false);
} else {
    $form_action = './' . keepGet('m', true);
}
?>
<!DOCTYPE html>
<?php 
htmlTag($locale);
?>

<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="robots" content="none" />
    <title><?php 
_e("Jappix installation");
?>
 &bull; <?php 
echo $names[$step - 1];
开发者ID:neurolit,项目名称:jappix,代码行数:31,代码来源:install.php


示例7: browseFolder

function browseFolder($folder, $mode)
{
    // Scan the target directory
    $directory = JAPPIX_BASE . '/store/' . $folder;
    $scan = scandir($directory);
    $scan = array_diff($scan, array('.', '..', '.svn', 'index.html'));
    $keep_get = keepGet('(s|b)', false);
    // Odd/even marker
    $marker = 'odd';
    // Not in the root folder: show previous link
    if (strpos($folder, '/') != false) {
        // Filter the folder name
        $previous_folder = substr($folder, 0, strrpos($folder, '/'));
        echo '<div class="one-browse previous manager-images"><a href="./?b=' . $mode . '&s=' . urlencode($previous_folder) . $keep_get . '">' . T_("Previous") . '</a></div>';
    }
    // Empty or non-existing directory?
    if (!count($scan) || !is_dir($directory)) {
        echo '<div class="one-browse ' . $marker . ' alert manager-images">' . T_("The folder is empty.") . '</div>';
        return false;
    }
    // Echo the browsing HTML code
    foreach ($scan as $current) {
        // Generate the item path$directory
        $path = $directory . '/' . $current;
        $file = $folder . '/' . $current;
        // Directory?
        if (is_dir($path)) {
            $type = 'folder';
            $href = './?b=' . $mode . '&s=' . urlencode($file) . $keep_get;
            $target = '';
        } else {
            $type = getFileType(getFileExt($path));
            $href = $path;
            $target = ' target="_blank"';
        }
        echo '<div class="one-browse ' . $marker . ' ' . $type . ' manager-images"><a href="' . $href . '"' . $target . '>' . htmlspecialchars($current) . '</a><input type="checkbox" name="element_' . md5($file) . '" value="' . htmlspecialchars($file) . '" /></div>';
        // Change the marker
        if ($marker == 'odd') {
            $marker = 'even';
        } else {
            $marker = 'odd';
        }
    }
    return true;
}
开发者ID:igniterealtime,项目名称:community-plugins,代码行数:45,代码来源:functions-manager.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP keepLock函数代码示例发布时间:2022-05-15
下一篇:
PHP kdunitkerja_peg函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap