本文整理汇总了PHP中CF7DBPlugin::getSettingsSlug方法的典型用法代码示例。如果您正苦于以下问题:PHP CF7DBPlugin::getSettingsSlug方法的具体用法?PHP CF7DBPlugin::getSettingsSlug怎么用?PHP CF7DBPlugin::getSettingsSlug使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CF7DBPlugin
的用法示例。
在下文中一共展示了CF7DBPlugin::getSettingsSlug方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: displaySecurityControl
public function displaySecurityControl()
{
?>
<div id="security_div" class="shortcodeoptions">
<?php
echo htmlspecialchars(__('Security', 'contact-form-7-to-database-extension'));
?>
<div>
<div class="label_box">
<label for="role_cntl"><?php
echo htmlspecialchars(__('role', 'contact-form-7-to-database-extension'));
?>
</label>
<a target="_docs" href="http://cfdbplugin.com/?page_id=89#role"><img alt="?"
src="<?php
echo $this->infoImg;
?>
"/></a>
</div>
<select id="role_cntl" name="role_cntl">
<option value=""></option>
<option value="Administrator"><?php
echo htmlspecialchars(__('Administrator', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Editor"><?php
echo htmlspecialchars(__('Editor', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Author"><?php
echo htmlspecialchars(__('Author', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Contributor"><?php
echo htmlspecialchars(__('Contributor', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Subscriber"><?php
echo htmlspecialchars(__('Subscriber', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Anyone"><?php
echo htmlspecialchars(__('Anyone', 'contact-form-7-to-database-extension'));
?>
</option>
</select>
<div class="label_box">
<label for="permissionmsg_cntl"><?php
echo htmlspecialchars(__('permissionmsg', 'contact-form-7-to-database-extension'));
?>
</label>
<a target="_docs" href="http://cfdbplugin.com/?page_id=89#permissionmsg"><img alt="?"
src="<?php
echo $this->infoImg;
?>
"/></a>
</div>
<select id="permissionmsg_cntl" name="permissionmsg_cntl">
<option value=""></option>
<option value="true"><?php
echo htmlspecialchars(__('true', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="false"><?php
echo htmlspecialchars(__('false', 'contact-form-7-to-database-extension'));
?>
</option>
</select>
<div>
<a target="_docs" href="<?php
echo $this->plugin->getAdminUrlPrefix('admin.php') . 'page=' . $this->plugin->getSettingsSlug() . '#security';
?>
"><?php
echo htmlspecialchars(__('Global Security Settings', 'contact-form-7-to-database-extension'));
?>
</a>
</div>
</div>
</div>
<div id="performance_div" class="shortcodeoptions">
<?php
echo htmlspecialchars(__('Performance', 'contact-form-7-to-database-extension'));
?>
<div>
<div class="label_box">
<label for="unbuffered_cntl"><?php
echo htmlspecialchars(__('unbuffered', 'contact-form-7-to-database-extension'));
?>
</label>
<a target="_docs" href="http://cfdbplugin.com/?p=696"><img alt="?"
src="<?php
echo $this->infoImg;
?>
"/></a>
<input id="unbuffered_cntl"
type="checkbox" <?php
echo $this->requestParams['postedUnbuffered'] == 'true' ? 'checked' : '';
?>
/>
</div>
//.........这里部分代码省略.........