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


PHP generateSubmitButton函数代码示例

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


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

示例1: if

<h2 style="vertical-align:middle"><img src="<?=base_url().'img/icons/security_32.png'?>" class="nb" alt="" /> <?php echo $this->lang->line('files_pass_header') ?></h2>
<? if($error){?><span class="alert"><?php echo $this->lang->line('files_pass_1') ?></span><?php }?>
<form action="<?=site_url('files/get/'.$file->file_id.'/'.$file->link_name)?>" method="post">
<h3 id="dlhere"><?php echo $this->lang->line('files_pass_2') ?></h3>
<p>
	<?php echo $this->lang->line('files_pass_3');?>
	<code> 
		<label style="font-weight:bold" for="pass"><?php echo $this->lang->line('files_pass_4') ?></label>
		<input style="background: url('<?=base_url().'img/icons/security_16.png'?>') 2px center no-repeat; padding-left:20px;" type="text" size="40" maxlength="32" name="pass" /><br /><br />
		
		<?=generateSubmitButton($this->lang->line('files_pass_5'), base_url().'img/icons/security_16.png', 'green')?><br />
	</code>
</p>
</form>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:14,代码来源:pass_protected.php

示例2: site_url

<form action="<?php 
echo site_url('user/login');
?>
" method="post" class="loginform">
<input type="hidden" name="submit" value="1" />
	<p>
		<label for="username"><b><?php 
echo $this->lang->line('user_login_1');
?>
</b></label>
		<input style="background:2px center url(<?php 
echo base_url() . 'img/icons/user_16.png';
?>
) no-repeat transparent; padding-left:22px" type="text" id="username" name="username" />
		
		<label for="password"><b><?php 
echo $this->lang->line('user_login_2');
?>
</b></label>
		<input style="background:2px center url(<?php 
echo base_url() . 'img/other/key_16.png';
?>
) no-repeat transparent; padding-left:22px" type="password" id="password" name="password"  /><br /><br />
		<?php 
echo generateSubmitButton($this->lang->line('user_login_3'), base_url() . 'img/icons/log_in_16.png', 'green');
?>
<br />
		</p>
	</form>
</div>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:30,代码来源:login.php

示例3: generateSubmitButton

                    echo $name;
                    ?>
" rows="4" cols="40" ></textarea>
				<?php 
                } else {
                    ?>
				<input type="text" name="<?php 
                    echo $name;
                    ?>
" size="50" /><br />
				<?php 
                }
            }
        }
    }
    ?>
			<span style="display:none; text-decoration:underline; font-weight:bold" id="d_<?php 
    echo $name;
    ?>
"><?php 
    echo $real_descr[$name];
    ?>
</span><br />
			<?php 
}
echo '<br />';
echo generateSubmitButton('Add New Group', base_url() . 'img/icons/add_16.png', 'green');
?>
<br />
    </p>
</form>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:add.php

示例4: site_url

echo site_url('admin/menu_shortcuts/add');
?>
" method="post">
	<input type="hidden" name="status" value="1" />
	<input type="hidden" name="order" value="<?php 
echo $order;
?>
" />
	<h3>Add Shortcut</h3>
	<p>
		<label for="title">Name</label>
		<input type="text" name="title" value="<?php 
echo $title;
?>
"  />
		
		<label for="link">Link</label>
		<input type="text" name="link" value="<?php 
echo $link;
?>
"  />
		
		<br /><br />
		
		<?php 
echo generateSubmitButton('Add', base_url() . 'img/icons/add_16.png');
?>
<br />
	</p>
</form>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:30,代码来源:add.php

示例5: url

 </b></label>
		<input style="background:2px center url(<?php 
    echo $base_url;
    ?>
img/icons/user_16.png) no-repeat transparent; padding-left:22px" type="text" id="username" name="username" />
		
		<label for="password"><b><?php 
    echo $this->lang->line('global_password');
    ?>
 </b></label>
		<input style="background:2px center url(<?php 
    echo $base_url;
    ?>
img/other/key_16.png) no-repeat transparent; padding-left:22px" type="password" id="password" name="password"  /><br /><br />
		<?php 
    echo generateSubmitButton($this->lang->line('global_login'), $base_url . 'img/icons/log_in_16.png', 'green');
    ?>
<br />
		</p>
	</form>
	<ul class="sidemenu">
		<li>
			<a href="<?php 
    echo site_url('user/forgotPassword');
    ?>
">
				<img src="<?php 
    echo $base_url;
    ?>
img/icons/help_16.png" class="nb" alt="" /> <?php 
    echo $this->lang->line('global_forgot_pass');
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:menu.php

示例6: rand

" size="50"/>
	<input type="hidden" name="ftp_user" value="<?php 
echo $this->input->post('ftp_user');
?>
" size="20"/>
	<input type="hidden" name="ftp_pass" value="<?php 
echo $this->input->post('ftp_pass');
?>
" size="20"/>
	<input type="hidden" name="ftp_port" value="<?php 
echo $this->input->post('ftp_port') ? $this->input->post('ftp_port') : '21';
?>
" size="7"/>
	<input type="hidden" name="ftp_path" value="<?php 
echo $this->input->post('ftp_path');
?>
" size="50"/>
	<input type="hidden" name="random" value="<?php 
$rand = rand(111, 999);
echo $rand;
?>
" size="50"/>
	<h3>Confirm Software Install</h3>
	<p>We have confirmed a working FTP connection to the server you specified. Please click the button below to confirm that you want to install server software on this server.</p>
	<p>
		<?php 
echo generateSubmitButton('Install Server Software', base_url() . 'img/icons/ok_16.png');
?>
<br />
	</p>
</form>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:install-step1.php

示例7: generateSubmitButton

</td>
				<td>
					<input type="checkbox" class="filec" value="<?php 
    echo $file->file_id;
    ?>
" name="files[]" /> <?php 
    echo $this->lang->line('image_gallys_create_6');
    ?>
				</td>
			</tr>
			<?php 
}
?>
	</table>
	<?php 
echo generateSubmitButton($this->lang->line('image_gallys_create_7'), base_url() . 'img/icons/new_16.png');
?>
<br />
	</p>
</form>
<script>
var checkBoxAllBool = false;

function switchCheckboxes()
{
	if(!checkBoxAllBool)
	{
		$('input[@type=checkbox]', document).each(function(i)
		{
			$(this).attr('checked', 'checked');
		});
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:create.php

示例8: generateSubmitButton

" method="post">
	<input type="hidden" name="valid" value="true" size="50" />
	<h3>Server Details</h3>
	<p>
		<label>Server Name</label>
		<input type="text" name="name" value="<?php 
echo $server->name;
?>
" size="50"/><br />

		<label>Server URL</label>
		<input type="text" name="url" value="<?php 
echo $server->url;
?>
" size="50"/><br />
	
		<label>Is Active?</label>
		<input type="checkbox" name="status" <?php 
if ($server->status) {
    ?>
checked="checked" <?php 
}
?>
value="1"/> Yes<br /><br />

		<?php 
echo generateSubmitButton('Submit Changes', base_url() . 'img/icons/ok_16.png');
?>
<br />
	</p>
</form>
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:31,代码来源:edit.php

示例9: foreach

		<select name="group">
			<option value="0">All Users</option>
			<?php 
$groups = $this->db->get('groups');
foreach ($groups->result() as $group) {
    ?>
				<option value="<?php 
    echo $group->id;
    ?>
"><?php 
    echo $group->name;
    ?>
</option>
				<?php 
}
?>
		</select><br />
		
		<label>Subject</label>
		<input type="text" size="60" name="subject" />	<br />
		
		<label>Message</label>
		<textarea name="msg" cols="60" rows="10"></textarea><br />
		
		<?php 
echo generateSubmitButton('Send Emails', base_url() . 'img/icons/ok_16.png', 'green');
?>
<br /><br />
	</p>
</form>
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:30,代码来源:email.php

示例10: foreach

<?php

/* Forms */
foreach ($langdirs as $langdir) {
    echo form_open('admin/translator');
    //echo form_submit('langDir', $langdir);
    echo form_hidden('langDir', $langdir);
    echo generateSubmitButton(ucwords($langdir), $base_url . 'img/icons/forward_16.png', 'green');
    echo form_close();
}
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:10,代码来源:selectLangDirectory.php

示例11: generateSubmitButton

" method="post">
	<input type="hidden" name="status" value="1" />
	<h3>Edit Shortcut</h3>
	<p>
		<label for="o_filename">Name</label>
		<input type="text" name="title" value="<?php 
echo $shortcut->title;
?>
"  />
		
		<label for="downloads">Link</label>
		<input type="text" name="link" value="<?php 
echo $shortcut->link;
?>
"  />
		
		<label for="downloads">Order</label>
		<input type="text" name="order" value="<?php 
echo $shortcut->order;
?>
"  />

		<br /><br />
		
		<?php 
echo generateSubmitButton('Edit', base_url() . 'img/icons/edit_16.png');
?>
<br />
	</p>
</form>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:30,代码来源:edit.php

示例12: if

	</span>
	<span style="display:none" id="captcha">
	<?php if($captcha_bool)
	{
		?>
		<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));
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:31,代码来源:get.php

示例13: form_open

<?php

echo form_open('admin/translator', '', $hidden);
?>

<table>

<?php 
echo '<tr>';
echo '<td class="translator_table_header">' . 'Key' . '</td>';
echo '<td class="translator_table_header"><b>' . ucwords($masterLang) . '</td>';
echo '<td class="translator_table_header">' . ucwords($slaveLang) . '</td>';
echo '</tr>';
foreach ($moduleData as $key => $line) {
    echo '<tr>';
    echo '<td>' . $key . '</td>';
    echo '<td>' . htmlspecialchars($line['master']) . '</td>';
    echo '<td>' . htmlspecialchars($line['slave']) . '</td>';
    echo '</tr>';
}
?>

</table>

<?php 
echo form_hidden('ConfirmSaveLang', 'Confirm');
echo generateSubmitButton('Confirm Changes', $base_url . 'img/icons/ok_16.png', 'green') . '<br /></p>';
echo form_close();
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:28,代码来源:saveLang.php

示例14: if

		<label for="pass"><?php 
echo $this->lang->line('files_edit_filepassword');
?>
</label>
		<input type="text" name="pass" value="<?php 
echo $file->pass;
?>
"  />
		
		<label for="descr"><?php 
echo $this->lang->line('files_edit_filedescription');
?>
</label>
		<textarea name="descr" cols="60" rows="6"><?php 
echo $file->descr;
?>
</textarea>
		
		<label for="featured"><?php 
echo $this->lang->line('files_edit_featured');
?>
</label>
		<input type="checkbox" <? if($file->feature){?> checked="checked"<? }?> name="feature" value="1"  />
		<br /><br />
		
		<?php 
echo generateSubmitButton($this->lang->line('files_edit_editbutton'), base_url() . 'img/icons/edit_16.png');
?>
	</p>
</form>
开发者ID:rexcarnation,项目名称:XtraUpload,代码行数:30,代码来源:edit.php

示例15: set_value

    
    <label style="font-weight:bold" for="passconf"><?php 
echo $this->lang->line('user_register_begin_15');
?>
</label>
    <input type="password" class="required remove_title" name="passconf" value="<?php 
echo set_value('passconf');
?>
" size="50" /><br /><br />

    
    <label style="font-weight:bold" for="captcha"><?php 
echo $this->lang->line('user_register_begin_16');
?>
</label>
    <?php 
echo $captcha;
?>
<br />
	<input type="text" class="required remove_title" name="captcha" /><br /><br />
    
    <?php 
echo generateSubmitButton($this->lang->line('user_register_begin_17'), base_url() . 'img/other/user-add_16.png');
?>
<br />
</form>
<script type="text/javascript">
$(document).ready(function(){
	$("#user_reg").validate();
});
</script>
开发者ID:KasaiDot,项目名称:XtraUpload,代码行数:30,代码来源:begin.php


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