本文整理汇总了PHP中generateLinkButton函数的典型用法代码示例。如果您正苦于以下问题:PHP generateLinkButton函数的具体用法?PHP generateLinkButton怎么用?PHP generateLinkButton使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了generateLinkButton函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: base_url
"><?php
echo $this->lang->line('files_search_query_files_1_1');
?>
</a><?php
echo $this->lang->line('files_search_query_files_1_2');
?>
</span>
<?php
} else {
?>
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/icons/search_32.png';
?>
" class="nb" alt="" /><?php
echo $this->lang->line('files_search_query_files_heading');
?>
</h2>
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-right">
<?php
echo generateLinkButton('New Search', site_url('files/search'), base_url() . 'img/icons/new_16.png', NULL);
?>
</div>
</div>
<div style=" clear:both;"></div>
<?php
echo $flashMessage;
?>
<h3><?php
echo $this->lang->line('files_search_query_1');
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:query.php
示例2: generateLinkButton
<h2 style="vertical-align:middle"><img src="<?php
echo $base_url . 'img/icons/colors_32.png';
?>
" class="nb" alt="" /> Skin Manager</h2>
<?php
echo $flashMessage;
?>
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-right">
<?php
echo generateLinkButton('Install New Skins', site_url('admin/skin/installNew'), $base_url . 'img/icons/new_16.png', NULL);
?>
</div>
</div>
<script>
/*
* Image preview script
* powered by jQuery (http://www.jquery.com)
*
* written by Alen Grakalic (http://cssglobe.com)
*
* for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
*
*/
this.imagePreview = function(){
/* CONFIG */
xOffset = 10;
yOffset = 30;
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:30,代码来源:view.php
示例3: base_url
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/icons/user_group_32.png';
?>
" class="nb" alt="" /> '<?php
echo $group->name;
?>
' Group - Edit</h2><br />
<?php
echo generateLinkButton('Manage Groups', site_url('admin/group/view'), base_url() . 'img/icons/back_16.png');
?>
<br />
<form action='<?php
echo site_url('admin/group/edit/' . $group->id);
?>
' method="post">
<h3>Edit Group: <?php
echo ucwords($group->name);
?>
</h3>
<p>
<?php
foreach ($group as $name => $value) {
if ($name == 'id' or $name == 'status') {
continue;
}
// ------------------------------
?>
<label style="font-weight:bold" for="<?php
echo $name;
?>
">
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:edit.php
示例4: if
<span class="float-right">
<label for="<?php echo $file->id?>_desc"><?php echo $this->lang->line('files_manage_11') ?></label>
<textarea name="<?php echo $file->id?>_desc" id="<?php echo $file->id?>_desc" cols="30" style="height:180px" rows="2"><?php echo $file->descr?></textarea>
</span>
<label for="<?php echo $file->id?>_pass"><?php echo $this->lang->line('files_manage_12') ?></label>
<input name="<?php echo $file->id?>_pass" id="<?php echo $file->id?>_pass" value="<?php echo $file->password?>" size="35" maxlength="32" type="text" /><br />
<label for="<?php echo $file->id?>_tags"><?php echo $this->lang->line('files_manage_tags'); ?></label>
<input name="<?php echo $file->id?>_tags" id="<?php echo $file->id?>_tags" value="<?php echo $file->tags?>" size="35" maxlength="200" type="text" /><br />
<label for="<?php echo $file->id?>_feat"><?php echo $this->lang->line('files_manage_13') ?></label>
<input name="<?php echo $file->id?>_feat" id="<?php echo $file->id?>_feat" <?php if($file->feature){?> checked="checked"<? }?> type="checkbox" value="1" /> <?php echo $this->lang->line('files_manage_14') ?><br /><br />
<?php echo generateLinkButton($this->lang->line('files_manage_15'), 'javascript:;', base_url().'img/icons/ok_16.png', 'green', array('onclick' => 'editFileProps(\''.$file->id.'\');'))?>
<?php echo generateLinkButton('Cancel Edit', 'javascript:;', base_url().'img/icons/close_16.png', 'red', array('onclick' => '$(\'#'.$file->id.'-edit\').hide();'))?><br /><br />
</td>
</tr>
<?php
$i++;
}
?>
</table>
</form>
<?php echo $pagination; ?>
<script type="text/javascript">
function editFileProps(id)
{
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:manage.php
示例5: base_url
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/icons/user_32.png';
?>
" class="nb" alt="" /> User - Add</h2><br />
<?php
echo $error;
echo generateLinkButton('Manage Users', site_url('admin/user/home'), base_url() . 'img/icons/back_16.png');
?>
<br />
<form action='<?php
echo site_url('admin/user/add');
?>
' method="post">
<h3>Add New User</h3>
<p>
<label style="font-weight:bold" for="username">Username</label>
<input type="text" name="username" value="<?php
echo $this->validation->username;
?>
" size="50" /><br />
<label style="font-weight:bold" for="email">Email</label>
<input type="text" name="email" value="<?php
echo $this->validation->email;
?>
" size="50" /><br />
<label style="font-weight:bold" for="group">User Group</label>
<select name="group">
<?php
foreach ($groups->result() as $group) {
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:add.php
示例6: base_url
<h2 style="vertical-align:middle"><img src="<?=base_url().'img/icons/user_32.png'?>" class="nb" alt="" /> Manage Users - Search</h2>
<div class="users">
<?=$flashMessage?>
<form action="<?=site_url('admin/user/')?>" id="userAdmin" method="post" style="padding:0; margin:0; border:0;">
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-left">
<?=generateLinkButton('Delete', 'javascript:;', base_url().'img/icons/close_16.png', 'red', array('onclick' => 'deleteSubmit()'))?>
</div>
<div class="float-right">
<?=generateLinkButton('Search', site_url('admin/user/search'), base_url().'img/icons/search_16.png', NULL)?>
</div>
</div>
<h3 style="clear:both">
Search Query: "<?php echo $query?>" <br />
Number of results: <?php echo $res_num?>
</h3>
<table class="special" border="0" cellpadding="4" cellspacing="0" style="width:98%">
<tr>
<th><div align="center"><input type="checkbox" onchange="switchCheckboxes(this.checked)" /></div></th>
<th>
<div align="center">
<a href="javascript:;" onclick="<?=getSortLink('id', $sort, $direction)?>">
ID #<?=getSortArrow('id', $sort, $direction)?>
</a>
</div>
</th>
<th>
<div align="center">
<a href="javascript:;" onclick="<?=getSortLink('username', $sort, $direction)?>">
Name<?=getSortArrow('username', $sort, $direction)?>
</a>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:search_result.php
示例7: ucwords
<table>
<?php
echo '<tr>';
echo '<td class="translator_table_header">' . ucwords($slaveLang) . '</td>';
echo '<td class="translator_table_header">' . ucwords($langModule) . '</td>';
echo '</tr>';
?>
</table>
<p>
<?php
echo generateLinkButton('Select Language', site_url('admin/translator'), $base_url . 'img/icons/back_16.png') . '<br />';
?>
</p>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:13,代码来源:confirmLangSaved.php
示例8: generateSubmitButton
{
?>
<label style="font-weight:bold" for="captcha"><?php echo $this->lang->line('files_get_19')?></label>
<code>
<span id="captchaImg"><?php echo $captcha?></span>
<a href="javascript:;" onclick="getNewCaptcha()">
<img class="nb" title="Get New Captcha<?php echo $this->lang->line('files_get_20')?>" src="<?php echo $base_url?>img/icons/refresh_16.png" alt="" />
</a><br />
<input type="text" size="3" maxlength="3" name="captcha" />
</code><br />
<?php
}
echo generateSubmitButton($this->lang->line('files_get_21'), base_url().'img/icons/backup_16.png', 'green');
if($image)
{
echo generateLinkButton('View This Image', $image['direct_url'], base_url().'img/icons/pictures_16.png', null, array('target' => '_blank'));
}
?><br />
</span>
</div>
</form>
<?php /*File Page Hooks*/ $this->xu_api->hooks->runHooks('files::get::add_section::after_download', null); ?>
<script type="text/javascript">
<?php
$rand = 'x'.str_replace('-', '', $this->functions->getRandId());
$rand1 = 'y'.str_replace('-', '', $this->functions->getRandId(32));
?>
var <?php echo $rand?> = <?php echo $sec?>;
//var <?php echo $rand?> = <?php // $group->waittimme?>;
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:get.php
示例9: site_url
echo $this->lang->line('files_search_headertitle');
?>
</h2>
<form action="<?php
echo site_url('admin/files/search');
?>
" onsubmit="submitSearch(); return false;" method="get">
<p>
<label><?php
echo $this->lang->line('files_search_searchlabel');
?>
</label>
<input type="text" name="query" id="search" value="" /><br /><br />
<?php
echo generateLinkButton($this->lang->line('files_search_searchbutton'), 'javascript:;', base_url() . 'img/icons/search_16.png', NULL, array('onclick' => 'submitSearch();'));
?>
<br />
</p>
</form>
<script>
function submitSearch()
{
if($('#search').val() != '')
{
window.location = '<?php
echo site_url('admin/files/search');
?>
/'+escape($('#search').val());
}
}
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:search.php
示例10: rand
<input readonly="readonly" type="text" id="del_<?php
echo rand();
?>
" size="50" value="<?php
echo $link['del'];
?>
" onfocus="this.select()" onclick="this.select()" />
<?php
}
if (isset($link['img'])) {
?>
<br />
<label><?php
echo $this->lang->line('upload_links_3');
?>
</label>
<a href="<?php
echo $link['img'];
?>
"><?php
echo $link['img'];
?>
</a>
<?php
}
?>
<div style="clear:both"></div><br />
<?php
echo generateLinkButton('Upload More Files', site_url('home'), $base_url . 'img/icons/back_16.png', 'green');
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:30,代码来源:complete.php
示例11: settings
<span class="desc">View your local PHPINFO, describing all your PHP settings(opens in a new window).</span>
<?php
echo generateLinkButton('View PHPINFO Page', site_url('admin/actions/php_info'), base_url() . 'img/icons/about_16.png', NULL, array('rel' => 'external', 'target' => '_blank'));
?>
</p><br /><br />
<h3>Clear Site/Settings Cache</h3>
<p class="action">
<span class="desc">Clear your local cache files and generate new ones. This is useful if your getting random PHP errors.</span>
<?php
echo generateLinkButton('Clear Site/Settings Cache', site_url('admin/actions/clear_cache'), base_url() . 'img/icons/trash_16.png', NULL);
?>
</p><br /><br />
<h3>Run Site Cron</h3>
<p class="action">
<span class="desc">Run the site cron now, removing all orphaned files and running any extention cron files.</span>
<?php
echo generateLinkButton('Run Site Cron', site_url('admin/actions/run_cron'), base_url() . 'img/icons/history_16.png', NULL);
?>
</p><br /><br />
<h3>Sync Server Settings</h3>
<p class="action">
<span class="desc">Sync out the latest settings to each slave server, config, user groups and plugins.</span>
<?php
echo generateLinkButton('Sync Server Settings', site_url('admin/actions/update_server_cache'), base_url() . 'img/icons/sync_16.png', NULL);
?>
</p><br /><br />
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:29,代码来源:view.php
示例12: base_url
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/other/server_32.png';
?>
" class="nb" alt="" /> Server Manager</h2>
<?php
echo $flashMessage;
?>
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-right">
<?php
echo generateLinkButton('Add New Server', site_url('admin/server/add'), base_url() . 'img/icons/new_16.png', NULL);
?>
</div>
</div>
<table border="0" style="width:95%" id="file_list_table">
<tr>
<th class="align-left">Name</th>
<th class="align-left">URL</th>
<th class="align-left"># Files</th>
<th class="align-left">Used Space</th>
<th style="text-align:center">Actions</th>
</tr>
<? foreach($servers->result() as $server)
{
?>
<tr <?php
echo alternator('class="odd"', 'class="even"');
?>
>
<td style="font-size:12px; font-weight:bold; color:#006600">
<?php
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:view.php
示例13: base_url
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/icons/folder_32.png';
?>
" class="nb" alt="" /> FOlder Manager</h2>
<?php
echo $flashMessage;
?>
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-right">
<?php
echo generateLinkButton('Search', site_url('admin/files/search'), base_url() . 'img/icons/search_16.png', NULL);
?>
</div>
</div>
<p style=" clear:both;"></p>
<table class="special" border="0" id="file_list_table"cellspacing="0" style="width:98%">
<tr>
<th class="align-left">
Folder name
</th>
<th>
# Files
</th>
<th>
Created
</th>
<th>
Actions
</th>
</tr>
<?php
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:view.php
示例14: generateLinkButton
?>
<img title="<?php
echo $this->lang->line('upload_url_12');
?>
" src="<?php
echo $base_url;
?>
img/icons/delete_16.png" onclick="clearUploadQueue()" alt="<?php
echo $this->lang->line('upload_url_12');
?>
" style="cursor:pointer" class="nb" /></th>
</tr>
</table>
<p>
<span class="float-right"><?php
echo generateLinkButton($this->lang->line('upload_url_9'), 'javascript:startUploadQueue();', $base_url . 'img/icons/up_16.png', 'green');
?>
<br /><br /></span>
</p>
</div>
</div>
<form action="<?php
echo $server . 'upload/url_process';
?>
" method="post" id="urlUp" style="display:none">
<p>
<input type="hidden" id="fid" name="fid" value="" />
<input type="hidden" name="link" id="link" value="" />
<input type="hidden" name="descr" id="descr" value="" />
<input type="hidden" name="pass" id="pass" value="" />
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:url.php
示例15: generateSubmitButton
checked="checked"<?php
}
?>
/>
<?php
echo $description[1];
?>
<br />
<?php
}
}
}
?>
</td>
</tr>
<?php
}
}
?>
</table>
<input type="hidden" name="valid" value="yes" />
<?php
if ($num_rows > 0) {
echo generateSubmitButton('Update', base_url() . 'img/icons/ok_16.png', 'green');
} else {
echo generateLinkButton('Go Back', 'javascript:history.go(-1)', base_url() . 'img/icons/back_16.png');
}
?>
<br />
</form>
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:plugin.php
示例16: generateLinkButton
" id="userAdmin" method="post" style="padding:0; margin:0; border:0;">
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-left">
<?php
echo generateLinkButton('Delete', 'javascript:;', base_url() . 'img/icons/close_16.png', 'red', array('onclick' => 'deleteSubmit()'));
?>
<?php
echo generateLinkButton('Ban', 'javascript:;', base_url() . 'img/icons/lock_16.png', NULL, array('onclick' => 'banSubmit()'));
?>
</div>
<div class="float-right">
<?php
echo generateLinkButton('Search', site_url('admin/files/search'), base_url() . 'img/icons/search_16.png', NULL);
?>
<?php
echo generateLinkButton('All', site_url('admin/files/view'), base_url() . 'img/icons/documents_16.png', NULL);
?>
</div>
</div>
<h3 style="clear:both">
Search Query: "<?php
echo $query;
?>
" <br />
Number of results: <?php
echo $res_num;
?>
</h3>
<table class="special" border="0" id="file_list_table"cellspacing="0" style="width:98%">
<tr>
<th>
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:search_result.php
示例17: base_url
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/icons/documents_32.png';
?>
" class="nb" alt="" /> <?php
echo $this->lang->line('files_edit_headertitle');
?>
</h2>
<form action="<?php
echo site_url('admin/files/edit/' . $id);
?>
" method="post">
<input type="hidden" name="status" value="1" />
<p>
<?php
echo generateLinkButton($this->lang->line('files_edit_managebutton'), site_url('admin/files/view'), base_url() . 'img/icons/back_16.png');
?>
<br /><br />
<label for="o_filename"><?php
echo $this->lang->line('files_edit_filename');
?>
</label>
<input type="text" name="o_filename" value="<?php
echo $file->o_filename;
?>
" />
<label for="downloads"><?php
echo $this->lang->line('files_edit_filedownloads');
?>
</label>
<input type="text" name="downloads" value="<?php
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:edit.php
示例18: base_url
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/other/server_32.png';
?>
" class="nb" alt="" /> Install Server Software</h2>
<div id="massActions" style="clear:both; padding-top:4px;">
<div class="float-left">
<?php
echo generateLinkButton('Manage Servers', site_url('admin/server/view'), base_url() . 'img/icons/back_16.png');
?>
</div>
</div>
<p><br /></p>
<h3>Install Complete!</h3>
<p>The server file have been installed on the remote server. If you notice any problems with the install please double check the installer using the server install guid in the docs. Please use the above button to go back to the server manager.</p>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:14,代码来源:install-step2.php
示例19: ___generalError
$('#alert4').show();
setTimeout('$("#alert4").hide("normal");', 2500);
fileToBig = false;
}
function ___generalError()
{
$('#alert5').show();
setTimeout('$("#alert5").hide("normal");', 2500);
fileToBig = false;
}
function ___filePropSaveButtons(id)
{
var template = "<?php
echo str_replace("\n", '', str_replace('"', '\\"', generateLinkButton('Save Changes', 'javascript:;', base_url() . 'img/icons/ok_16.png', 'green', array('onclick' => 'saveFilePropChanges(\'--id--\');$(\'#--id---details\').hide();$(\'#--id---edit_img\').fadeIn(\'fast\');')) . generateLinkButton('Discard Changes', 'javascript:;', base_url() . 'img/icons/close_16.png', 'red', array('onclick' => '$(\'#--id---details\').hide();$(\'#--id---edit_img\').fadeIn(\'fast\');'))));
?>
";
return str_replace('--id--', id, template);
}
function str_replace (search, replace, subject, count)
{
// Replaces all occurrences of search in haystack with replace
f = [].concat(search),
r = [].concat(replace),
s = subject,
ra = r instanceof Array, sa = s instanceof Array; s = [].concat(s);
if (count) {
this.window[count] = 0;
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:home.php
示例20: base_url
?>
</a><?php
echo $this->lang->line('files_search_new_search_1_2');
?>
</span>
<?
}
else
{
?>
<h2 style="vertical-align:middle"><img src="<?php
echo base_url() . 'img/icons/search_32.png';
?>
" class="nb" alt="" /><?php
echo $this->lang->line('files_search_new_files_heading');
?>
</h2>
<?php
echo $flashMessage;
?>
<form action="<?php
echo site_url('files/search');
?>
" onsubmit="submitSearch(); return false;" method="get">
<p>
<label><?php
echo $this->lang->line('files_search_new_files_1');
?>
</label>
<input type="text" name="query" id="search" value="" /><br /><br />
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:new.php
注:本文中的generateLinkButton函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论