當前位置: 首頁>>代碼示例>>PHP>>正文


PHP SwpmUtils::account_state_dropdown方法代碼示例

本文整理匯總了PHP中SwpmUtils::account_state_dropdown方法的典型用法代碼示例。如果您正苦於以下問題:PHP SwpmUtils::account_state_dropdown方法的具體用法?PHP SwpmUtils::account_state_dropdown怎麽用?PHP SwpmUtils::account_state_dropdown使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在SwpmUtils的用法示例。


在下文中一共展示了SwpmUtils::account_state_dropdown方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: array

?>
</div>
            <p class="description indicator-hint"><?php 
echo SwpmUtils::_('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).');
?>
</p>
            </td>
	</tr> 
	<tr>
            <th scope="row"><label for="account_state"><?php 
echo SwpmUtils::_('Account Status');
?>
</label></th>
            <td><select class="regular-text" name="account_state" id="account_state">
                    <?php 
echo SwpmUtils::account_state_dropdown('active');
?>
                    </select>
            </td>
	</tr>        
<?php 
include 'admin_member_form_common_part.php';
?>
</tbody>
</table>        
    <?php 
include 'admin_member_form_common_js.php';
?>
        
<?php 
submit_button(SwpmUtils::_('Add New Member '), 'primary', 'createswpmuser', true, array('id' => 'createswpmusersub'));
開發者ID:AndroidScriptAS,項目名稱:bismarck_smv,代碼行數:31,代碼來源:admin_add.php

示例2: member

?>
</div>
            <p class="description indicator-hint"><?php 
echo SwpmUtils::_('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).');
?>
</p>
            </td>
	</tr> 
	<tr>
            <th scope="row"><label for="account_state"><?php 
echo SwpmUtils::_('Account Status');
?>
</label></th>
            <td><select class="regular-text" name="account_state" id="account_state">
                        <?php 
echo SwpmUtils::account_state_dropdown($account_state);
?>
                    </select>
            </td>
	</tr>        
	<tr>
            <th scope="row"><label for="account_state_change"><?php 
echo SwpmUtils::_('Notify User');
?>
</label></th>
            <td><input type="checkbox" id="account_status_change" name="account_status_change" />
                <p class="description indicator-hint">You can use this option to send a quick notification email to this member (the email will be sent when you hit the save button below).</p>
            </td>
	</tr>
    <?php 
include 'admin_member_form_common_part.php';
開發者ID:andrewfieldwmg,項目名稱:greenschoolsproject,代碼行數:31,代碼來源:admin_edit.php


注:本文中的SwpmUtils::account_state_dropdown方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。