本文整理汇总了PHP中theme_file函数的典型用法代码示例。如果您正苦于以下问题:PHP theme_file函数的具体用法?PHP theme_file怎么用?PHP theme_file使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了theme_file函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: theme_file
require_once "logged-vip.php";
}
}
// Admin menü
if ($user_check_gmlevel == $wam_gmlevel_admin) {
require_once "logged-admin.php";
}
?>
<table class="nav" cellspacing="0" cellpadding="0">
<tr>
<td>
<ul class="nav">
<li class="nav-title">Systemsteuerung<img class="nav-icon" src="<?php
echo theme_file("images/icons/tools.png");
?>
" alt="Account mûveletek" /></li>
<li><a href="index.php">Account Daten</a></li>
<div class="dotted-line"></div>
<li><a href="?id=account-modify">Daten ändern</a></li>
<div class="dotted-line"></div>
<li><a href="?id=my-characters">Meine Charaktere</a></li>
<div class="dotted-line"></div>
<li><a href="?id=character-transfer">Charaktertransfer</a></li>
<div class="dotted-line"></div>
</ul>
</td>
</tr>
</table>
开发者ID:Rastrian,项目名称:WAM-TRINTIYCORE,代码行数:31,代码来源:logged.php
示例2: webpro_core_file
/**
* File element override
* Sets form file input max width
*/
function webpro_core_file($vars)
{
$vars['element']['#size'] = $vars['element']['#size'] > 40 ? 40 : $vars['element']['#size'];
return theme_file($vars);
}
开发者ID:DespinosaFA,项目名称:drupal-web,代码行数:9,代码来源:template.php
示例3: phptemplate_file
function phptemplate_file($element)
{
$element['#size'] = 40;
return theme_file($element);
}
开发者ID:nhart,项目名称:coalliance-theme,代码行数:5,代码来源:template.php
示例4: acquia_marina_file
/**
* Set form file input max char size
*/
function acquia_marina_file($element)
{
$element['#size'] = $element['#size'] > 40 ? 40 : $element['#size'];
return theme_file($element);
}
开发者ID:rtanglao,项目名称:rtvps-d6,代码行数:8,代码来源:template.php
示例5: fusion_core_file
/**
* File element override
* Sets form file input max width
*/
function fusion_core_file($element)
{
$element['#size'] = $element['#size'] > 40 ? 40 : $element['#size'];
return theme_file($element);
}
开发者ID:quinns,项目名称:ghmls,代码行数:9,代码来源:template.php
示例6: adatok
" alt="Account adatok (Bejelentkezve: <?php
echo $user_check_accountname;
?>
)" />
</td>
</tr>
<tr>
<td class="body3-body">
<table class="location-info" cellspacing="0" cellpadding="0">
<tr>
<td class="location-info-img">
<img src="<?php
echo theme_file("images/icons/info.png");
?>
" alt="Información" />
</td>
<td class="location-info-text">
Aquí podrás ver la información de las expansiónes asociadas a tu cuenta.
</td>
</tr>
</table>
<table class="body6" cellspacing="0" cellpadding="0">
<tr>
<tr>
<td align="center">
开发者ID:Jougito,项目名称:Dyn2011,代码行数:31,代码来源:enviar.php
示例7: newcomer_file
/**
* Implements theme_file().
*/
function newcomer_file($variables)
{
// Assign the Bootstrap class:
_form_set_class($variables['element'], array('input-file'));
// Set a reasonably low default size:
$variables['element']['#attributes']['size'] = '22';
return theme_file($variables);
}
开发者ID:akafoe,项目名称:campus_ruhrcomer_design,代码行数:11,代码来源:template.php
示例8: theme_file
<?php
// Fájl ellenõrzése
if (!isset($mysql_connect)) {
exit;
}
?>
<table class="body3" cellspacing="0" cellpadding="0">
<tr>
<td class="body3-title">
Mensaje del Sistema<img class="nav-icon" src="<?php
echo theme_file("images/icons/alert.png");
?>
" alt="Sistema" />
</td>
</tr>
<tr>
<td class="body3-body">
<?php
echo $site_get_message;
?>
</td>
</tr>
</table>
开发者ID:Jougito,项目名称:Dyn2011,代码行数:29,代码来源:system-message.php
示例9: zeropoint_file
/**
* Set default form file input size
*/
function zeropoint_file($element)
{
$element['#size'] = $element['#size'] > 40 ? 40 : $element['#size'];
return theme_file($element);
}
开发者ID:chgk,项目名称:db.chgk.info,代码行数:8,代码来源:template.php
示例10: theme_file
</style>
</head>
<body>
<div align="center">
<table class="site" cellspacing="0" cellpadding="0">
<tr>
<td>
<table class="header" cellspacing="0" cellpadding="0">
<tr>
<td>
<center><a href="index.php"><img src="<?php
echo theme_file("images/logo.png");
?>
" alt="<?php
echo $site_title;
?>
" /></a></center>
</td>
</tr>
</table>
<table align="right" class="body-header" cellspacing="1" cellpadding="0">
<tr>
<td>
开发者ID:Jougito,项目名称:Dyn2011,代码行数:29,代码来源:index.php
示例11: file_check
<?php
// Datei Prüfen
if (!isset($mysql_connect)) {
exit;
}
file_check("notlogged");
?>
<table class="nav" cellspacing="0" cellpadding="0">
<tr>
<td>
<ul class="nav">
<li class="nav-title">Menü<img class="nav-icon" src="<?php
echo theme_file("images/icons/arrow.png");
?>
" alt="Menü" /></li>
<li><a href="index.php">Einloggen</a></li>
<div class="dotted-line"></div>
<li><a href="?id=reg">Neues Konto erstellen</a></li>
<div class="dotted-line"></div>
<li><a target="_blank" href="<?php
echo $site_server_site;
?>
">Startseite</a></li>
<div class="dotted-line"></div>
</ul>
</td>
</tr>
开发者ID:Rastrian,项目名称:WAM-TRINTIYCORE,代码行数:31,代码来源:not-logged.php
示例12: image_tag
function image_tag($filename, $extra_attr = NULL)
{
global $CONFIG;
$tag = "<img ";
if (is_array($extra_attr)) {
foreach ($extra_attr as $key => $value) {
$tag .= "{$key}=\"{$value}\" ";
}
}
$tag .= "src=\"" . $CONFIG['base_url'] . theme_file("images/{$filename}") . "\" />";
return $tag;
}
开发者ID:jamuraa,项目名称:gatherling,代码行数:12,代码来源:lib.php
示例13: fusion_core_file
/**
* File element override
* Sets form file input max width
*/
function fusion_core_file($vars) {
$vars['element']['#size'] = ($vars['element']['#size'] > 40) ? 40 : $vars['element']['#size'];
return theme_file($vars);
}
开发者ID:richielokay,项目名称:drupal7,代码行数:8,代码来源:template.php
示例14: davisonsoftware_file
/**
* Set form file input max char size
*/
function davisonsoftware_file($element)
{
$element['#size'] = $element['#size'] > 40 ? 40 : $element['#size'];
return theme_file($element);
}
开发者ID:Quevin,项目名称:Davison-Software,代码行数:8,代码来源:template.php
示例15: theme_file
echo $wam_expansion_wotlk;
?>
">WOTLK</option><option value="<?php
echo $wam_expansion_bc;
?>
">BC</option><option value="<?php
echo $wam_expansion_classic;
?>
">Classic</option></select><font class="mini">WOLTK ist die Standart Erweiterung</font>
</td>
</tr>
<tr>
<td align="right">
<?php
echo '<img src="' . theme_file('images/number-' . $reg_security . '.png') . '" alt="" /><img src="' . theme_file('images/plus.png') . '" alt="" /><img src="' . theme_file('images/number-' . $reg_security2 . '.png') . '" alt="" /><img src="' . theme_file('images/equality.png') . '" alt="" /><img src="' . theme_file('images/question.png') . '" alt="" />
';
?>
</td>
<td align="left">
<input name="security" type="text" maxlength="2" /> <font class="mini"><a title="Ezzel a kérdéssel szûrjük ki a robotokat" href="#">[?]</a></font>
</td>
</tr>
<tr>
<td colspan="2" style="text-align:right;">
<input type="submit" value="Mehet" class="input-sbm" />
</td>
</tr>
</table>
</form>
开发者ID:Rastrian,项目名称:WAM-TRINTIYCORE,代码行数:30,代码来源:reg.php
示例16: showLogo
/**
* Show configured logo.
*
* @return nothing
*/
function showLogo()
{
$this->elementStart('address', array('id' => 'site_contact', 'class' => 'vcard'));
$this->elementStart('a', array('class' => 'url home bookmark', 'href' => common_local_url('public')));
if (common_config('site', 'logo') || file_exists(theme_file('logo.png'))) {
$this->element('img', array('class' => 'logo photo', 'src' => common_config('site', 'logo') ? common_config('site', 'logo') : theme_path('logo.png'), 'alt' => common_config('site', 'name')));
}
$this->element('span', array('class' => 'fn org'), common_config('site', 'name'));
$this->elementEnd('a');
$this->elementEnd('address');
}
开发者ID:Br3nda,项目名称:laconica,代码行数:16,代码来源:action.php
示例17: file_check
<?php
// Fájl ellenõrzése
if (!isset($mysql_connect)) {
exit;
}
file_check("logged,vip,vipmodule");
?>
<table class="nav" cellspacing="0" cellpadding="0">
<tr>
<td>
<ul class="nav">
<li class="nav-title">Cuenta VIP<img class="nav-icon" src="<?php
echo theme_file("images/icons/ruby.png");
?>
" alt="VIP részleg" /></li>
<?php
if ($wam_vip_enable_additem == "1") {
echo '<li><a href="?id=add-item">Objetos</a></li>
<div class="dotted-line"></div>';
}
if ($wam_vip_enable_addlevel == "1") {
echo '<li><a href="?id=add-level">Niveles</a></li>
<div class="dotted-line"></div>';
}
if ($wam_vip_enable_addmoney == "1") {
echo '<li><a href="?id=add-money">Oro</a></li>
<div class="dotted-line"></div>';
开发者ID:Jougito,项目名称:Dyn2011,代码行数:31,代码来源:logged-vip.php
示例18: file_check
<?php
// Fájl ellenõrzése
if (!isset($mysql_connect)) {
exit;
}
file_check("logged,admin");
?>
<table class="nav" cellspacing="0" cellpadding="0">
<tr>
<td>
<ul class="nav">
<li class="nav-title">Verwaltung<img class="nav-icon" src="<?php
echo theme_file("images/icons/admin.png");
?>
" alt="Adminisztráció" /></li>
<li><a href="?id=system-data">Systemdaten</a></li>
<div class="dotted-line"></div>
<li><a href="?id=account-transaction">Account verwalten</a></li>
<div class="dotted-line"></div>
<li><a href="?id=player-transaction">Spieler Aktivitäten</a></li>
<div class="dotted-line"></div>
<li><a href="?id=ranks-view">Ränge Übersicht</a></li>
<div class="dotted-line"></div>
</ul>
</td>
</tr>
</table>
开发者ID:Rastrian,项目名称:WAM-TRINTIYCORE,代码行数:31,代码来源:logged-admin.php
示例19: fusion_core_file
/**
* File element override
* Sets form file input max width
*/
function fusion_core_file($variables)
{
$variables['element']['#size'] = !isset($variables['element']['#size']) || $variables['element']['#size'] > 40 ? 40 : $variables['element']['#size'];
return theme_file($variables);
}
开发者ID:maduhu,项目名称:opengovplatform-DMS,代码行数:9,代码来源:template.php
示例20: session_start
<?php
session_start();
include 'lib.php';
include 'parsedci.php';
$verified_url = theme_file("images/verified.png");
$dot_url = theme_file("images/dot.png");
$drop_url = $CONFIG['base_url'] + 'event.php?action=undrop';
$drop_icon = "⚐";
$js = <<<EOD
function updatePlayerCount() {
var players = \$('tr.entry_row').length;
\$('#player_count').html(players + ' Registered Players');
}
function addPlayerRow(data) {
if (!data.success) { return false; }
var html = '<tr class="entry_row" id="entry_row_' + data.player + '"><td>';
if (data.event_running) {
html += '<input type="checkbox" name="dropplayer[]" value="' + data.player + '" />';
}
html += '</td><td>' + data.player + '</td>';
html += '<td>';
if (data.verified) {
html += '<img src="{$verified_url}" alt="Verified" />';
}
html += '</td>';
html += '<td align="center"><img src="{$dot_url}" alt="dot" /></td>';
html += '<td><a class="create_deck_link" href="deck.php?player=' + encodeURIComponent(data.player) + '&event=' + encodeURIComponent(event_name) + '&mode=create">[Create Deck]</a></td>';
html += '<td align="center"><input type="checkbox" name="delentries[]" value="' + data.player + '" /></td></tr>';
开发者ID:jamuraa,项目名称:gatherling,代码行数:31,代码来源:event.php
注:本文中的theme_file函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论