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

PHP submit_image_tag函数代码示例

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

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



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

示例1: imagen

 public static function imagen($alt, $src)
 {
     $params = is_array($alt) ? $alt : Util::getParams(func_get_args());
     $params["alt"] = $params[0];
     $params["title"] = $params[0];
     return submit_image_tag($params);
 }
开发者ID:raalveco,项目名称:Escuela,代码行数:7,代码来源:formulario.php


示例2: object_admin_double_list

function object_admin_double_list($object, $method, $options = array(), $callback = null)
{
    $options = _parse_attributes($options);
    $options['multiple'] = true;
    $options['class'] = 'sf_admin_multiple';
    if (!isset($options['size'])) {
        $options['size'] = 10;
    }
    $label_all = __(isset($options['unassociated_label']) ? $options['unassociated_label'] : 'Unassociated');
    $label_assoc = __(isset($options['associated_label']) ? $options['associated_label'] : 'Associated');
    // get the lists of objects
    list($all_objects, $objects_associated, $associated_ids) = _get_object_list($object, $method, $options, $callback);
    $objects_unassociated = array();
    foreach ($all_objects as $object) {
        if (!in_array($object->getPrimaryKey(), $associated_ids)) {
            $objects_unassociated[] = $object;
        }
    }
    // remove non html option
    unset($options['through_class']);
    // override field name
    unset($options['control_name']);
    $name = _convert_method_to_name($method, $options);
    $name1 = 'unassociated_' . $name;
    $name2 = 'associated_' . $name;
    $select1 = select_tag($name1, options_for_select(_get_options_from_objects($objects_unassociated), '', $options), $options);
    $options['class'] = 'sf_admin_multiple-selected';
    $select2 = select_tag($name2, options_for_select(_get_options_from_objects($objects_associated), '', $options), $options);
    $html = '<div>
  <div style="float: left">
    <div style="font-weight: bold; padding-bottom: 0.5em">%s</div>
    %s
  </div>
  <div style="float: left">
    %s<br />
    %s
  </div>
  <div style="float: left">
    <div style="font-weight: bold; padding-bottom: 0.5em">%s</div>
    %s
  </div>
  <br style="clear: both" />
</div>
';
    $response = sfContext::getInstance()->getResponse();
    $response->addJavascript(sfConfig::get('sf_prototype_web_dir') . '/js/prototype');
    $response->addJavascript(sfConfig::get('sf_admin_web_dir') . '/js/double_list');
    return sprintf($html, $label_all, $select1, submit_image_tag(sfConfig::get('sf_admin_web_dir') . '/images/next.png', "style=\"border: 0\" onclick=\"double_list_move(\$('{$name1}'), \$('{$name2}')); return false;\""), submit_image_tag(sfConfig::get('sf_admin_web_dir') . '/images/previous.png', "style=\"border: 0\" onclick=\"double_list_move(\$('{$name2}'), \$('{$name1}')); return false;\""), $label_assoc, $select2);
}
开发者ID:kotow,项目名称:work,代码行数:49,代码来源:ObjectAdminHelper.php


示例3: object_input_tag

?>
				<p style="font-size: 10px; margin-top: -7px; margin-left: 150px;"></p>
                <label style="width: 150px;">No. Telp *</label>
                <?php 
echo object_input_tag($applicant_detail, 'getPhone', array('size' => 24));
?>
				<?php 
echo form_error('phone');
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;">
                	Nomor telepon yang dapat dihubungi. Pisahkan dengan , (koma) jika ada beberapa nomor.</p>
                <label style="width: 150px;">No. Handphone *</label>
                <?php 
echo object_input_tag($applicant_detail, 'getCellphone', array('size' => 24));
?>
                <?php 
echo form_error('cellphone');
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;">
                	Pastikan nomor handphone anda benar dan dapat dihubungi</p>               
            	<label style="width: 150px;">&nbsp;</label>
				<?php 
echo submit_image_tag('btn_submit.gif', array('title' => __('Daftar'), 'value' => 'registered', 'name' => 'save_submit', 'id' => 'save_submit', 'style' => 'cursor:pointer; border: none;'));
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px; color: #FF0000;">* Wajib Diisi</p>                
            </div>
        </fieldset>
    </div>
	<span class="article_separator">&nbsp;</span>
	</form>
</div>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:registerSuccess.php


示例4: url_for

?>
            <div class="article-content">
				<p>Upload Foto Ukuran 4 x 6</p>
				<fieldset>
        			<legend>Foto Calon Siswa</legend>
        				<div>
            				<img style=" border: 1px solid #7B8080; padding: 0; margin-left: 10px;" height="130" width="100" id='thumbPhoto' 
                            	 src="<?php 
echo url_for('applicant/getPhoto?id=' . $applicant->getId() . '&rnd=' . rand(999, 9999999));
?>
" >
							<?php 
echo input_hidden_tag('photoFile');
?>
							<div id='photoError' class="errorText" style="display:none"></div>
							<br>
							<iframe src="<?php 
echo url_for('applicant/uploadPhoto');
?>
" width="100%" height="50" frameborder="0" style="margin-bottom: -15px;"></iframe>
                            <p style="font-size: 10px; margin-top: -10px; margin-left: 10px; line-height: 10px;">Foto yang diupload dapat berformat png, jpeg dan gif.</p>            	                
            				<?php 
echo submit_image_tag('btn_submit.gif', array('title' => __('Simpan'), 'value' => 'save', 'name' => 'save_submit', 'id' => 'save_submit', 'style' => 'cursor:pointer; border: none; margin-left: 5px;'));
?>
                        </div>
        		</fieldset>
            </div>
            </form>
	</div>
	<span class="article_separator">&nbsp;</span>
</div>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:fotoSuccess.php


示例5: array

$t->is(submit_tag(), '<input type="submit" name="commit" value="Save changes" />', 'submit_tag() default value is "Save changes"');
$t->is(submit_tag("save"), '<input type="submit" name="commit" value="save" />', 'submit_tag() takes a value as its first argument');
// options
$t->is(submit_tag('save', array('class' => 'foo')), '<input type="submit" name="commit" value="save" class="foo" />', 'submit_tag() takes an array of attribute options as its second argument');
$t->is(submit_tag('save', array('name' => 'foo')), '<input type="submit" name="foo" value="save" />', 'submit_tag() can override the "name" attribute');
// reset_tag()
$t->diag('reset_tag()');
$t->is(reset_tag(), '<input type="reset" name="reset" value="Reset" />', 'reset_tag() default value is "Reset"');
$t->is(reset_tag("save"), '<input type="reset" name="reset" value="save" />', 'reset_tag() takes a value as its first argument');
// options
$t->is(reset_tag('save', array('class' => 'foo')), '<input type="reset" name="reset" value="save" class="foo" />', 'reset_tag() takes an array of attribute options as its second argument');
$t->is(reset_tag('save', array('name' => 'foo')), '<input type="reset" name="foo" value="save" />', 'reset_tag() can override the "name" attribute');
// submit_image_tag()
$t->diag('submit_image_tag()');
$t->is(submit_image_tag('submit'), '<input type="image" name="commit" src="/images/submit.png" alt="Submit" />', 'submit_image_tag() takes an image source as its first argument');
$t->is(submit_image_tag('/img/submit.gif'), '<input type="image" name="commit" src="/img/submit.gif" alt="Submit" />', 'submit_image_tag() takes an image source as its first argument');
// options
$t->is(submit_image_tag('submit', array('class' => 'foo')), '<input type="image" name="commit" src="/images/submit.png" class="foo" alt="Submit" />', 'submit_image_tag() takes an array of attribute options as its second argument');
$t->is(submit_image_tag('submit', array('alt' => 'foo')), '<input type="image" name="commit" src="/images/submit.png" alt="foo" />', 'reset_tag() can override the "alt" attribute');
$t->is(submit_image_tag('submit', array('name' => 'foo')), '<input type="image" name="foo" src="/images/submit.png" alt="Submit" />', 'reset_tag() can override the "name" attribute');
// label_for()
$t->diag('label_for()');
$t->todo('label_for()');
// get_id_from_name()
$t->diag('get_id_from_name()');
$t->is(get_id_from_name('foo'), 'foo', 'get_id_from_name() returns the id if there is no [] in the id');
$t->is(get_id_from_name('foo[]', 'name'), 'foo_name', 'get_id_from_name() removes all [] from ids');
// _convert_options()
$t->diag('_convert_options()');
$t->is(_convert_options(array('class' => 'foo', 'multiple' => true)), array('class' => 'foo', 'multiple' => 'multiple'), '_convert_options() converts some options for XHTML compliance');
$t->is(_convert_options(array('class' => 'foo', 'multiple' => false)), array('class' => 'foo'), '_convert_options() converts some options for XHTML compliance');
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:31,代码来源:FormHelperTest.php


示例6: submit_image_tag

echo submit_image_tag('login-btn.png', array('title' => __('Login'), 'name' => 'login_submit', 'id' => 'login_submit', 'style' => 'opacity:1;filter:alpha(opacity=100);', 'onmouseover' => 'this.style.opacity=0.6;this.filters.alpha.opacity=50', 'onmouseout' => 'this.style.opacity=1;this.filters.alpha.opacity=100'));
?>
&nbsp;
	  <?php 
echo submit_image_tag('cancel-btn.png', array('title' => __('Cancel'), 'name' => 'cancel_submit', 'id' => 'cancel_submit', 'style' => 'opacity:1;filter:alpha(opacity=100);', 'onmouseover' => 'this.style.opacity=0.6;this.filters.alpha.opacity=50', 'onmouseout' => 'this.style.opacity=1;this.filters.alpha.opacity=100'));
?>
     
	 <table border="0" cellpadding="2" cellspacing="1" id="table" width="100%">
		<tr>
	  		<td><?php 
echo image_tag('arrow.png');
?>
&nbsp; Klik <a href=#>DISINI</a> Untuk <span style="color:#FFCC00;">Lupa Password.</span></td>
		</tr>
    </table><br><br><br>
	
	<?php 
echo submit_image_tag('button.png', array('title' => __('Panduan'), 'name' => 'panduan_submit', 'id' => 'panduan_submit', 'style' => 'opacity:1;filter:alpha(opacity=100);', 'onmouseover' => 'this.style.opacity=0.6;this.filters.alpha.opacity=50', 'onmouseout' => 'this.style.opacity=1;this.filters.alpha.opacity=100'));
?>
		</div>
	</div>
	
	<div id="rightcontent">
	  <div class="img">
	  	<?php 
echo submit_image_tag('home.png', array('title' => __('Home'), 'name' => 'home_submit', 'id' => 'home_submit', 'style' => 'opacity:1;filter:alpha(opacity=100);', 'onmouseover' => 'this.style.opacity=0.6;this.filters.alpha.opacity=50', 'onmouseout' => 'this.style.opacity=1;this.filters.alpha.opacity=100', 'onClick' => 'window.location=http://www.ikipbudiutomo.ac.id'));
?>
	   </div>
	</div>
</div>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:loginSuccess.php


示例7: select_tag

             
<?php 
    echo select_tag('parlamentare1', options_for_select($arr_tendina, $select1));
} else {
    ?>
<input type="hidden" name="parlamentare1" id="parlamentare1" value="<?php 
    echo $parlamentare_id;
    ?>
 " />
<?php 
}
?>
 
<?php 
echo select_tag('parlamentare2', options_for_select($arr_tendina, $select2));
?>
<input type="hidden" name="ramo" id="ramo" value="<?php 
echo $ramo;
?>
 " />                          

                              
                                               

<?php 
echo submit_image_tag('btn-applica.png', array('id' => 'tendina', 'alt' => 'applica', 'name' => 'tendina'));
?>
 


开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:26,代码来源:_tendinaParlamentari.php


示例8: form_tag

<?php

echo form_tag("@attiSearch?type={$type}", array('method' => 'get', 'id' => 'search-ddl'));
?>
  <h6><?php 
echo $title;
?>
</h6>
  <fieldset id="search-ddl-fbox">
    <?php 
echo input_tag('query', $query, array('id' => 'search-ddl-field', 'name' => 'query', 'tabindex' => '1', 'accesskey' => 'q', 'class' => 'blur'));
?>
    <?php 
echo submit_image_tag('btn-cerca-small.png', array('id' => 'search-ddl-go', 'alt' => 'cerca', 'name' => 'search-go', 'accesskey' => 's'));
?>
	
  </fieldset>
</form>
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:18,代码来源:_specialized_controls.php


示例9: form_tag

<div class="login">
    <h2 class="contentheading"><b>Login Calon Siswa</b></h2>
    <p style="text-align:left; width:90%; line-height: 15px; padding-top: 15px;">Silahkan login terlebih dahulu untuk melakukan pendaftaran atau mengetahui status hasil seleksi PMB.</p>
    <?php 
echo form_tag('applicant/login');
?>
    <div><label>No. Pendaftaran</label><input type="text" name="login_user" id="login_user" value=""/></div>
    <div><label>Password</label><input type="password" name="login_password" id="login_password" value=""/></div>
    <div><label>&nbsp;</label>
        <?php 
echo link_to_remote('Lupa Password ?', array('url' => 'applicant/forget', 'update' => 'content', 'script' => 'true'), array('style' => 'font-weight:bold;'));
?>
 |
        <?php 
echo link_to_remote('Daftar', array('url' => 'applicant/register', 'update' => 'content', 'script' => 'true', 'style' => 'font-weight:bold;'), array('style' => 'font-weight:bold;'));
?>
    </div>
    <div><label>&nbsp;</label><?php 
echo submit_image_tag('btn_submit.gif', array('title' => __('Login'), 'value' => 'go', 'name' => 'login_submit', 'id' => 'login_submit', 'style' => 'cursor:pointer; border: none;'));
?>
</div>
</form>
</div>
开发者ID:taryono,项目名称:school,代码行数:23,代码来源:_login.php


示例10: radiobutton_tag

	<fieldset id="search-autocompleter-fbox">
	  <?php 
if (isset($limit)) {
    ?>
  	  <input id="limit" name="limit" value="<?php 
    echo $limit;
    ?>
" type="hidden"/>	   
	  <?php 
}
?>
    <input id="tag_search" name="tag_search" class="ac_input blur" value="<?php 
echo $tags;
?>
"/>
    <label for="ramo_C">Camera</label>
    <?php 
echo radiobutton_tag('ramo', 'C', $ramo == 'C');
?>
    <label for="ramo_S">Senato</label>
    <?php 
echo radiobutton_tag('ramo', 'S', $ramo == 'S');
?>
    <?php 
echo submit_image_tag('btn-cerca-small.png', array('alt' => 'cerca', 'id' => 'aggiungi', 'name' => 'aggiungi'));
?>
	</fieldset>
</form>
      

开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:28,代码来源:_searchWithAutocompleter.php


示例11: label_for

		          <div class="form-row" id="sf_guard_auth_password">
		            <?php 
echo label_for('password', __('password:')), input_password_tag('password');
?>
		          </div>
		          <div class="form-row" id="sf_guard_auth_remember" style="margin-left: 10em">
		            <?php 
echo link_to('Hai dimenticato la password?', 'http://' . sfConfig::get('sf_remote_guard_host', 'op_accesso.openpolis.it') . (SF_ENVIRONMENT != 'prod' ? '/be_' . SF_ENVIRONMENT . '.php' : '') . '/userProfile/passwordRequest', array('id' => 'sf_guard_auth_forgot_password'));
?>
		          </div>
		        </fieldset>
		        <?php 
//echo submit_tag("Entra")
?>
		        <?php 
echo submit_image_tag("/images/btn-entra.png", array("alt" => "Entra"));
?>
		        <?php 
echo checkbox_tag('remember');
?>
		        <?php 
echo label_for('remember', 'ricordati di me su questo sito');
?>

		      </form>
		    </div>

		    <div class="registrati">

		    <?php 
echo link_to('<h2>Non hai una password? Registrati!</h2><br/><strong>Tutti possono registrarsi</strong>, serve meno di un minuto.<br/>', "http://" . sfConfig::get('sf_remote_guard_host', 'op_accesso.openpolis.it') . (SF_ENVIRONMENT != 'prod' ? '/be_' . SF_ENVIRONMENT . '.php' : '') . "/aggiungi_utente", array('class' => 'sign-on'));
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:31,代码来源:signinSuccess.php


示例12: radiobutton_tag

?>
</li>
	            <li><?php 
echo radiobutton_tag('perche[]', 3, false), '&nbsp;', label_for('perche_3_3', 'studio/ricerca');
?>
</li>
	            <li><?php 
echo radiobutton_tag('perche[]', 4, false), '&nbsp;', label_for('perche_4_4', 'altro (descrivi, se vuoi)'), '<br/>', input_tag('perche_altro_desc', '', 'maxlength=250 size=65 disabled=true');
?>
</li>
	          </ul>
	        </div>

	      </fieldset>
	      <?php 
echo submit_image_tag("/images/btn-aderisco.png", array("alt" => "Aderisco", 'style' => 'margin: 1em; margin-left: 13em'));
?>

	    </form>

	    <div>
	      Voglio tornare
	      <?php 
echo link_to('alla pagina che stavo visitando', $sf_user->getAttribute('page_before_buy', '@homepage'));
?>
.
	    </div>
		
	</div>
</div>
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:30,代码来源:sottoscrizionePremiumDemoSuccess.php


示例13: pager_navigation

/**
 * Outputs a regular navigation pager
 * It outputs a series of links to the first, previous, next and last page
 * as well as to the 5 pages surrounding the current page.
 *
 * @param  object sfPager object of the current pager 
 * @param  string 'module/action' or '@rule' of the paginated action
 * @param  boolean if the page navigator has the 'first' and 'last' buttons
 * @param  integer the number of links (odd if possible)
 * @return string XHTML code containing links
 */
function pager_navigation($pager, $uri, $has_first_last = true, $num_links = 0)
{
    if ($num_links == 0) {
        $num_links = sfConfig::get('app_pagination_num_links', 5);
    }
    $navigation = "";
    if ($pager->haveToPaginate()) {
        $navigation .= form_tag($uri, array("method" => "get", "class" => "pagenav tools-container", "style" => "margin: 20px 0; padding-right: 3px"));
        $uri .= (preg_match('/\\?/', $uri) ? '&' : '?') . 'page=';
        $navigation .= content_tag('label', 'pag: ');
        $pagelinks = "";
        // previous page
        if ($pager->getPage() != 1) {
            $navigation .= link_to(image_tag('/images/ico-prev.png', array('align' => 'absmiddle', 'alt' => 'pagine precedente')), $uri . $pager->getPreviousPage()) . '&nbsp;';
        }
        // first page
        if ($pager->getPage() >= $num_links - 1 && $has_first_last) {
            $pagelinks .= link_to('1', $uri . '1');
        }
        // initial dieresis or comma
        if ($pager->getPage() >= $num_links) {
            $pagelinks .= " ... ";
        } else {
            if ($pager->getPage() >= $num_links - 1) {
                $pagelinks .= ", ";
            }
        }
        // pages one by one
        $links = array();
        foreach ($pager->getLinks($num_links) as $page) {
            if ($page == $pager->getPage()) {
                $links[] = content_tag('em', "[ {$page} ]");
            } else {
                $links[] = link_to($page, $uri . $page);
            }
        }
        $pagelinks .= join(',&nbsp;', $links);
        // final dieresis or comma
        if ($pager->getLastPage() - $pager->getPage() >= $num_links - 1) {
            $pagelinks .= " ... ";
        } else {
            if ($pager->getLastPage() - $pager->getPage() >= $num_links - 1) {
                $pagelinks .= ", ";
            }
        }
        // last page
        if ($pager->getLastPage() - $pager->getPage() >= $num_links - 2 && $has_first_last) {
            $pagelinks .= link_to($pager->getLastPage(), $uri . $pager->getLastPage());
        }
        $navigation .= content_tag('span', $pagelinks, array("class" => "pagenav-jumpto"));
        // next page
        if ($pager->getPage() != $pager->getLastPage()) {
            $navigation .= '&nbsp;' . link_to(image_tag('/images/ico-next.png', array('align' => 'absmiddle', 'alt' => 'pagine successiva')), $uri . $pager->getNextPage());
        }
        // goto page
        $navigation .= content_tag('label', 'vai: ', array('for' => 'page'));
        $navigation .= input_tag('page', $pager->getPage(), array('maxlength' => '5', 'size' => '3', 'class' => 'input-text'));
        $navigation .= submit_image_tag("ico-vai.png", array('name' => 'gotopage-go', 'style' => 'padding-left:3px;'));
        // items per page selector
        $navigation .= content_tag('label', 'mostra: ', array('for' => 'itemsperpage'));
        $navigation .= select_tag('itemsperpage', options_for_select(array(15 => '15 righe', 30 => '30 righe', 60 => '60 righe', 90 => '90 righe', 150 => '150 righe'), $pager->getMaxPerPage()));
        $navigation .= "</form>";
        $navigation .= "<div style='clear: both;'></div>";
    }
    return $navigation;
}
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:77,代码来源:PagerNavigationHelper.php


示例14: form_tag

<p class="last-update">data di ultimo aggiornamento: <strong>25-11-2008</strong></p>
<?php 
echo form_tag('#', array("id" => "search-ddl"));
?>
  <h6>nei deputati</h6>
  <fieldset id="search-ddl-fbox">
    <input type="text" id="search-ddl-field" class="blur" />
    <?php 
echo submit_image_tag('btn-cerca-small.png', array('id' => 'search-ddl-go', 'alt' => 'cerca'));
?>
    <div class="search-ddl-type-container">
      <div id="search-ddl-type" style="display: none;">
        <input name="search-ddl-type" id="search-ddl-0" type="radio" value="0" checked="checked" />
        <label for="search-ddl-0" class="focus">tutto</label><br />
        <input name="search-ddl-type" id="search-ddl-1" type="radio" value="1" />
        <label for="search-ddl-1">codice DDL</label><br />
        <input name="search-ddl-type" id="search-ddl-2" type="radio" value="2" />
        <label for="search-ddl-2">titolo DDL</label><br />
        <input name="search-ddl-type" id="search-ddl-3" type="radio" value="3" />
        <label for="search-ddl-3">descrizione</label><br />
        <input name="search-ddl-type" id="search-ddl-4" type="radio" value="4" />
        <label for="search-ddl-4">teseo</label><br />
        <input name="search-ddl-type" id="search-ddl-5" type="radio" value="5" />
        <label for="search-ddl-5">cofirmatari e relatori</label><br />					
      </div>
    </div>						
  </fieldset>
</form>
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:28,代码来源:_parlamentareRightColumn.php


示例15: url_for

    
    .div_taula .HIHAACTIVITAT { color:yellow; font-weight: bold; }

</style>
<TD class="CALENDARI">
	<CENTER>

	<form action="<?php 
echo url_for('web/index');
?>
" method="POST" name="form_calendari">
    	
      <TABLE class="CAL">      
        <TR><TD><input style="width:140px; color:gray;" value="Escriu per cercar..." type="text" name="CERCA"></input>
        		<?php 
echo submit_image_tag('intranet/lupa.png', array('value' => 'BCERCA', 'name' => 'BCERCA'));
?>
         		
        		<br /><br />
        	</TD>
        </TR>                         
        <TR><TD><?php 
getCalendari($DATACAL, $ACTIVITATS_CALENDARI, $CERCA);
?>
</TD></TR>
        <TR><TD id="destacats">DESTACATS</TD></TR>
                                 
 		<?php 
foreach ($BANNERS as $B) {
    $URL = empty($B['URL']) || is_null($B['URL']) ? 'web/index' : $B['URL'];
    try {
开发者ID:nagiro,项目名称:intra,代码行数:30,代码来源:_calendari.php


示例16: form_tag

echo form_tag('#', array("id" => "disegni-decreti-filter", "class" => $active ? 'active' : ''));
?>
  <fieldset class="labels">
    <label for="filter_article">articolo:</label>
    <label for="filter_site">sede:</label>
    <label for="filter_presenter">presentatore:</label>
    <label for="filter_status">status:</label>
  </fieldset>
  <p>filtra per</p>
  <fieldset>
    <?php 
echo select_tag('filter_article', options_for_select($available_articles, $selected_article));
?>
                          
    <?php 
echo select_tag('filter_site', options_for_select($available_sites, $selected_site));
?>

    <?php 
echo select_tag('filter_presenter', options_for_select($available_presenters, $selected_presenter));
?>

    <?php 
echo select_tag('filter_status', options_for_select($available_statuses, $selected_status));
?>

    <?php 
echo submit_image_tag('btn-applica.png', array('id' => 'disegni-decreti-filter-apply', 'alt' => 'applica', 'style' => 'display: none;', 'name' => 'disegni-decreti-filter-apply'));
?>
  </fieldset>
</form>
开发者ID:valerio-bozzolan,项目名称:openparlamento,代码行数:31,代码来源:_filter.php


示例17: __

</th>
                    
                    <th><?php 
echo __('Location Condition');
?>
</th>				
				</tr>
                
				<tr class="list" id='filter' <?php 
if (!isset($filters)) {
    echo 'style=""';
}
?>
>
					<td class='filter'><?php 
echo submit_image_tag('/images/magnifier.png', array('class' => 'sort', 'onclick' => "blur();"));
?>
</td>
					<td class='filter_first'><?php 
echo input_tag('filters[CODE]', isset($filters['CODE']) ? $filters['CODE'] : null, array('size' => 15));
?>
</td>

                    <td class='filter'><?php 
echo input_tag('filters[CAMPUS]', isset($filters['CAMPUS']) ? $filters['CAMPUS'] : null, array('size' => 12));
?>
</td>
                    
                    <!--td class='filter'>
						<?php 
#echo my_object_select_tag(isset($filters['DEPARTMENT_ID']) ? $filters['DEPARTMENT_ID'] : null, null, DepartmentPeer::getParents(), array ( 'include_blank' => true, 'related_class' => 'Department', 'peer_method'=>'doSelectFiltered', 'control_name' => 'filters[DEPARTMENT_ID]',))
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php


示例18: submit_image_tag

			<td class="pager_page" nowrap>
<?php 
    if ($pager->getPage() > $pager->getFirstPage()) {
        echo submit_image_tag('resultset_first.png', array('class' => 'pager', 'title' => __('First Page'), 'onclick' => "blur();page.value=" . $pager->getFirstPage()));
        echo submit_image_tag('resultset_previous.png', array('class' => 'pager', 'title' => __('Previous Page'), 'onclick' => "blur();page.value=" . $pager->getPreviousPage()));
    } else {
        echo '<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>';
    }
    if ($position == 'top') {
        echo object_input_tag($pager, 'getPage', array('size' => 3, 'maxlength' => 3, 'tabindex' => '1', 'onfocus' => 'this.select();'));
    } else {
        echo "<span>&nbsp;&nbsp;" . $pager->getPage() . "&nbsp;&nbsp;</span>";
    }
    if ($pager->getPage() < $pager->getLastPage()) {
        echo submit_image_tag('resultset_next.png', array('class' => 'pager', 'title' => __('Next Page'), 'onclick' => "blur();page.value=" . $pager->getNextPage()));
        echo submit_image_tag('resultset_last.png', array('class' => 'pager', 'title' => __('Last Page'), 'onclick' => "blur();page.value=" . $pager->getLastPage()));
    } else {
        echo '<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>';
    }
    ?>
				</td>
<?php 
} else {
    ?>
			<td class="pager_page" nowrap>&nbsp;</td>
<?php 
}
?>
			<td class="pager_record" nowrap valign="bottom">
				<?php 
echo '<span>' . __('records/page') . ': </span> ';
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:_pager.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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