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


PHP osc_draw_password_field函数代码示例

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


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

示例1: osc_draw_label

    <form name="billingAddressDetailsForm">
    <ol>

    <?php 
if ($osC_Customer->isLoggedOn() === false) {
    ?>
      <li><?php 
    echo osc_draw_label($osC_Language->get('email_address'), null, 'billing_email_address', true) . osc_draw_input_field('billing_email_address', $email_address);
    ?>
 </li>
      <li><?php 
    echo osc_draw_label($osC_Language->get('field_customer_password'), null, 'billing_password', true) . osc_draw_password_field('billing_password');
    ?>
</li>
      <li style="margin-bottom: 10px"><?php 
    echo osc_draw_label($osC_Language->get('field_customer_password_confirmation'), null, 'billing_confirm_password', true) . osc_draw_password_field('billing_confirm_password');
    ?>
</li>
    <?php 
}
?>
    
    <?php 
if ($osC_Customer->isLoggedOn() && osC_AddressBook::numberOfEntries() > 0) {
    ?>
    <li>
      <div style="float: right; padding: 0px 0px 10px 20px; text-align: center;">
        <?php 
    echo '<b>' . $osC_Language->get('please_select') . '</b><br />' . osc_image(DIR_WS_IMAGES . 'arrow_east_south.gif');
    ?>
      </div>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:billing_address_details.php

示例2: osc_draw_label

?>
</h6>

  <div class="content">
    <p><?php 
echo $osC_Language->get('login_returning_customer_text');
?>
</p>
  
    <ul>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address') . '<br />' . osc_draw_input_field('email_address', $email_address);
?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_password'), 'password') . '<br />' . osc_draw_password_field('password');
?>
</li>
    </ul>
  
    <p><?php 
echo sprintf($osC_Language->get('login_returning_customer_password_forgotten'), osc_href_link(FILENAME_ACCOUNT, 'password_forgotten', 'SSL'));
?>
</p>

    <div class="submitFormButtons" style="text-align: right;">
      <?php 
echo osc_draw_image_submit_button('button_login.gif', null, 'id="btnLogin"');
?>
    </div>
  </div>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:checkout_method_form.php

示例3: osc_draw_password_field

<em>*</em></label>
            <div class="controls">
            	<?php 
    echo osc_draw_password_field('billing_password');
    ?>
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label" for="billing_confirm_password"><?php 
    echo $osC_Language->get('field_customer_password_confirmation');
    ?>
<em>*</em></label>
            <div class="controls">
            	<?php 
    echo osc_draw_password_field('billing_confirm_password');
    ?>
            </div>
        </div>
        <?php 
}
?>
        
        <?php 
if ($osC_Customer->isLoggedOn() && osC_AddressBook::numberOfEntries() > 0) {
    ?>
        <div class="row-fluid">
        	<div class="span9">
        		<?php 
    echo $osC_Language->get('choose_billing_address');
    ?>
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:31,代码来源:billing_address_details.php

示例4: osc_draw_password_field

      <td width="30%"><?php 
echo $osC_Language->get('field_password');
?>
</td>
      <td width="70%"><?php 
echo osc_draw_password_field('password');
?>
</td>
    </tr>
    <tr>
      <td width="30%"><?php 
echo $osC_Language->get('field_password_confirmation');
?>
</td>
      <td width="70%"><?php 
echo osc_draw_password_field('confirmation');
?>
</td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td width="30%"><?php 
echo $osC_Language->get('field_status');
?>
</td>
      <td width="70%"><?php 
echo osc_draw_checkbox_field('status', 'on', true);
?>
</td>
开发者ID:heshuai64,项目名称:gamestore,代码行数:31,代码来源:new.php

示例5: osc_draw_input_field

 <tr>
   <td width="30%" valign="top">Username:</td>
   <td width="70%" class="smallDesc">
     <?php 
   echo osc_draw_input_field('DB_SERVER_USERNAME');
   ?>
     <img src="images/layout/help_icon.gif"  onClick="toggleBox('dbUser');"><br>
     <div id="dbUserSD">Database username</div>
     <div id="dbUser" class="longDescription">The username used to connect to the database server. An example username is 'mysql_10'.<br><br>Note: Create and Drop permissions <b>are required</b> at this point of the installation procedure.</div>
   </td>
 </tr>
 <tr>
   <td width="30%" valign="top">Password:</td>
   <td width="70%" class="smallDesc">
     <?php 
   echo osc_draw_password_field('DB_SERVER_PASSWORD');
   ?>
     <img src="images/layout/help_icon.gif" onClick="toggleBox('dbPass');"><br>
     <div id="dbPassSD">Database password</div>
     <div id="dbPass" class="longDescription">The password is used together with the username, which forms the database user account.</div>
   </td>
 </tr>
 <tr>
   <td width="30%" valign="top">Database Name:</td>
   <td width="70%" class="smallDesc">
     <?php 
   echo osc_draw_input_field('DB_DATABASE');
   ?>
     <img src="images/layout/help_icon.gif" onClick="toggleBox('dbName');"><br>
     <div id="dbNameSD">Database Name</div>
     <div id="dbName" class="longDescription">The database used to hold the data. An example database name is 'osCommerce'.</div>
开发者ID:eosc,项目名称:EosC-2.3,代码行数:31,代码来源:install_2.php

示例6: osc_draw_input_field

      <div class="form-group has-feedback">
        <label for="userName" class="control-label col-xs-3">Username</label>
        <div class="col-xs-9">
          <?php 
echo osc_draw_input_field('DB_SERVER_USERNAME', NULL, 'required aria-required="true" id="userName" placeholder="Username"');
?>
          <span class="fa fa-asterisk form-control-feedback text-danger"></span>
          <span class="help-block">The username used to connect to the database server.</span>
        </div>
      </div>
    
      <div class="form-group has-feedback">
        <label for="passWord" class="control-label col-xs-3">Password</label>
        <div class="col-xs-9">
          <?php 
echo osc_draw_password_field('DB_SERVER_PASSWORD', NULL, 'required aria-required="true" id="passWord"');
?>
          <span class="fa fa-asterisk form-control-feedback text-danger"></span>
          <span class="help-block">The password that is used together with the username to connect to the database server.</span>
        </div>
      </div>
    
      <div class="form-group has-feedback">
        <label for="dbName" class="control-label col-xs-3">Database Name</label>
        <div class="col-xs-9">
          <?php 
echo osc_draw_input_field('DB_DATABASE', NULL, 'required aria-required="true" id="dbName" placeholder="Database"');
?>
          <span class="fa fa-asterisk form-control-feedback text-danger"></span>
          <span class="help-block">The name of the database to hold the data in.</span>
        </div>
开发者ID:katapofatico,项目名称:Responsive-osCommerce,代码行数:31,代码来源:install.php

示例7: osc_href_link

if ($messageStack->size('maintenance') > 0) {
    echo $messageStack->output('maintenance');
}
?>
        
        <form name="login" action="<?php 
echo osc_href_link(FILENAME_DEFAULT, 'maintenance=login', 'SSL');
?>
" method="post">
        
          <ol>
            <li><?php 
echo osc_draw_label($osC_Language->get('field_username'), 'user_name') . osc_draw_input_field('user_name');
?>
</li>
            <li><?php 
echo osc_draw_label($osC_Language->get('field_password'), 'user_password') . osc_draw_password_field('user_password');
?>
</li>
          </ol>
          
          <p align="center"><?php 
echo osc_draw_image_submit_button('button_login.gif', $osC_Language->get('button_sign_in'));
?>
</p>
          
        </form>
      </div>
    </div>
  </body>
</html>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:offline.php

示例8: osc_draw_input_field

	      <tr>
	        <td class="inputField">
	          <?php 
echo $osC_Language->get('param_database_username') . '<br />' . osc_draw_input_field('DB_SERVER_USERNAME', null, 'class="text"');
?>
	          <br />
	          <span><?php 
echo $osC_Language->get('param_database_username_description');
?>
</span>
	        </td>
	      </tr>
	      <tr>
	        <td class="inputField">
	          <?php 
echo $osC_Language->get('param_database_password') . '<br />' . osc_draw_password_field('DB_SERVER_PASSWORD', 'class="text"');
?>
	          <br />
	          <span><?php 
echo $osC_Language->get('param_database_password_description');
?>
</span>        
	        </td>
	      </tr>
	      <tr>
	        <td class="inputField">
	          <?php 
echo $osC_Language->get('param_database_name') . '<br />' . osc_draw_input_field('DB_DATABASE', null, 'class="text"');
?>
	          <br />
	          <span><?php 
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:step_3.php

示例9: osc_draw_password_field

        <tr>
          <td class="inputField">
            <?php 
echo $osC_Language->get('param_administrator_password') . '<br />' . osc_draw_password_field('CFG_ADMINISTRATOR_PASSWORD', 'class="text"');
?>
            <br>
            <span><?php 
echo $osC_Language->get('param_administrator_password_description');
?>
</span>            
          </td>
        </tr>
        <tr>
          <td class="inputField">
            <?php 
echo $osC_Language->get('param_confirm_password') . '<br />' . osc_draw_password_field('CFG_CONFIRM_PASSWORD', 'class="text"');
?>
            <br>
            <span><?php 
echo $osC_Language->get('param_administrator_password_description');
?>
</span>            
          </td>
        </tr>      
        <tr>
          <td class="inputField">
            <?php 
echo osc_draw_checkbox_field('DB_INSERT_SAMPLE_DATA', 'true', true) . '&nbsp;' . $osC_Language->get('param_database_import_sample_data');
?>
            <br>
            <span><?php 
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:step_5.php

示例10: osc_draw_input_field

        <td class="inputField"><?php 
echo 'Database Server<br />' . osc_draw_input_field('DB_SERVER', 'localhost', 'class="text"');
?>
</td>
        <td class="inputDescription">The address of the database server in the form of a hostname or IP address.</td>
      </tr>
      <tr>
        <td class="inputField"><?php 
echo 'Username<br />' . osc_draw_input_field('DB_SERVER_USERNAME', null, 'class="text"');
?>
</td>
        <td class="inputDescription">The username used to connect to the database server.</td>
      </tr>
      <tr>
        <td class="inputField"><?php 
echo 'Password<br />' . osc_draw_password_field('DB_SERVER_PASSWORD', 'class="text"');
?>
</td>
        <td class="inputDescription">The password that is used together with the username to connect to the database server.</td>
      </tr>
      <tr>
        <td class="inputField"><?php 
echo 'Database Name<br />' . osc_draw_input_field('DB_DATABASE', null, 'class="text"');
?>
</td>
        <td class="inputDescription">The name of the database to hold the data in.</td>
      </tr>
    </table>

    <p><?php 
echo osc_draw_button('Continue', 'triangle-1-e', null, 'primary');
开发者ID:Sibzsolutions,项目名称:Savostore,代码行数:31,代码来源:install.php

示例11: osc_draw_label

echo OSCOM::getDef('my_password_title');
?>
</h6>

  <div class="content">
    <ol>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password_current'), 'password_current', null, true) . osc_draw_password_field('password_current');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password_new'), 'password_new', null, true) . osc_draw_password_field('password_new');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password_confirmation'), 'password_confirmation', null, true) . osc_draw_password_field('password_confirmation');
?>
</li>
    </ol>
  </div>
</div>

<div class="submitFormButtons">
  <span style="float: right;"><?php 
echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue'));
?>
</span>

  <?php 
echo osc_link_object(OSCOM::getLink(null, null, null, 'SSL'), osc_draw_image_button('button_back.gif', OSCOM::getDef('button_back')));
?>
开发者ID:kdexter,项目名称:oscommerce,代码行数:31,代码来源:password.php

示例12: osc_draw_password_field

?>
</div>
      <div id="dbUser" class="longDescription"><?php 
echo CONFIG_DATABASE_USERNAME_RESTRICTED_DESCRIPTION_LONG;
?>
</div>
    </td>
  </tr>
  <tr>
    <td width="30%" valign="top"><?php 
echo CONFIG_DATABASE_PASSWORD;
?>
</td>
    <td width="70%" class="smallDesc">
      <?php 
echo osc_draw_password_field('DB_SERVER_PASSWORD', isset($_POST['DB_SERVER_PASSWORD']) ? $_POST['DB_SERVER_PASSWORD'] : '');
?>
      <img src="templates/<?php 
echo $template;
?>
/images/help_icon.gif" onClick="toggleBox('dbPass');"><br>
      <div id="dbPassSD"><?php 
echo CONFIG_DATABASE_PASSWORD_DESCRIPTION;
?>
</div>
      <div id="dbPass" class="longDescription"><?php 
echo CONFIG_DATABASE_PASSWORD_DESCRIPTION_LONG;
?>
</div>
    </td>
  </tr>
开发者ID:itnovator,项目名称:oscommerce_cvs,代码行数:31,代码来源:install_6.php

示例13: osc_draw_label

?>
</h6>

  <div class="content">
    <p><?php 
echo OSCOM::getDef('login_returning_customer_text');
?>
</p>

    <ol>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_email_address'), 'email_address') . osc_draw_input_field('email_address');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password'), 'password') . osc_draw_password_field('password');
?>
</li>
    </ol>

    <p><?php 
echo sprintf(OSCOM::getDef('login_returning_customer_password_forgotten'), OSCOM::getLink(null, null, 'PasswordForgotten', 'SSL'));
?>
</p>

    <p align="right"><?php 
echo osc_draw_image_submit_button('button_login.gif', OSCOM::getDef('button_sign_in'));
?>
</p>
  </div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:login.php

示例14: osc_draw_password_field

?>
<em>*</em></label>
            <div class="controls">
            	<?php 
echo osc_draw_password_field('password', 'AUTOCOMPLETE="off"');
?>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="confirmation"><?php 
echo $osC_Language->get('field_customer_password_confirmation');
?>
<em>*</em></label>
            <div class="controls">
            	<?php 
echo osc_draw_password_field('confirmation', 'AUTOCOMPLETE="off"');
?>
            </div>
        </div>
      <?php 
if (ACTIVATE_CAPTCHA == '1') {
    ?>
        <div class="control-group">
            <label class="control-label" for="confirmation">&nbsp;</label>
            <div class="controls">
                <span class="captcha-image"><?php 
    echo osc_image(osc_href_link(FILENAME_ACCOUNT, 'create=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"');
    ?>
</span>
                <span class="captcha-field">
                    <span><?php 
开发者ID:seshna,项目名称:Tomatocart-Bootstrap,代码行数:31,代码来源:create.php

示例15: osc_draw_input_field

?>
</p>

  <fieldset>
    <div><label for="user_name"><?php 
echo $osC_Language->get('field_username');
?>
</label><?php 
echo osc_draw_input_field('user_name', $osC_ObjectInfo->get('user_name'));
?>
</div>
    <div><label for="user_password"><?php 
echo $osC_Language->get('field_password');
?>
</label><?php 
echo osc_draw_password_field('user_password');
?>
</div>

    <div><select name="accessModules" id="modulesList"><option value="-1" disabled="disabled">-- Access Modules --</option><option value="0"><?php 
echo $osC_Language->get('global_access');
?>
</option></select></div>

    <ul id="accessToModules" class="modulesListing"></ul>
  </fieldset>

  <p align="center"><?php 
echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()) . '\';" class="operationButton" />';
?>
</p>
开发者ID:heshuai64,项目名称:gamestore,代码行数:31,代码来源:edit.php


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