PluginProbe
CryptX / 3.4.5
CryptX v3.4.5
4.2.0 4.1.1 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.9 2.0 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 92 releases
cryptx / include / admin_howto.php

admin_howto.php in CryptX 3.4.5, at include/admin_howto.php

27 lines 872 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * CryptX option page "How to"-Tab
4 */
5 function rw_cryptx_settings_tab_content_howto() {
6 if ( 'howto' != rw_cryptx_getActiveTab() )
7 return;
8 ?>
9
10 <h4><?php _e( "How to use CryptX in your Template",'cryptx' ); ?></h4>
11 <table class="form-table">
12 <tr>
13 <td><?php _e("In your Template you can use the following function to encrypt a email address:",'cryptx'); ?><br>
14 <pre>
15 &lt;?php
16 $content = "name@example.com";
17 // with this values the link text will be replaced by 'example', otherwise set $args = array();
18 $args = array( 'alt_linktext' => 'example', 'opt_linktext' => 1 );
19 echo (function_exists('encryptx'))? encryptx($content, $args) : $content;
20 ?&gt;
21 </pre>
22 </td>
23 </tr>
24 </table>
25 <?php
26 }
27 add_action( 'rw_cryptx_settings_content', 'rw_cryptx_settings_tab_content_howto' );