Changeset 1843512
- Timestamp:
- 03/20/2018 01:57:07 PM (8 years ago)
- Location:
- wp-database-session-handler/trunk
- Files:
-
- 8 edited
-
admin.php (modified) (3 diffs)
-
inc/admin_page.php (modified) (9 diffs)
-
languages/sc-session-handler-en_US.mo (modified) (previous)
-
languages/sc-session-handler-en_US.po (modified) (2 diffs)
-
languages/sc-session-handler-it_IT.mo (modified) (previous)
-
languages/sc-session-handler-it_IT.po (modified) (1 diff)
-
languages/sc-session-handler.pot (modified) (1 diff)
-
sc-session-handler.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-database-session-handler/trunk/admin.php
r1843426 r1843512 10 10 if( !current_user_can( 'manage_options' ) ) { 11 11 12 wp_die( __( 'Your permissions are not sufficient to view the page', ' sc-session-handler' ) );12 wp_die( __( 'Your permissions are not sufficient to view the page', 'wp-database-session-handler' ) ); 13 13 14 14 } … … 31 31 if ($_REQUEST['clean_all']) { 32 32 SC_MySqlSessionHandler::destroy_all(); 33 _e( 'Cleaned all sessions.', ' sc-session-handler' );33 _e( 'Cleaned all sessions.', 'wp-database-session-handler' ); 34 34 } 35 35 … … 43 43 44 44 echo '<table width="100%">'; 45 echo '<thead><tr><td>'.__( 'ID', ' sc-session-handler' ).'</td><td> </td><td>'.__( 'CONTENT', 'sc-session-handler' ).'</td><td>'.__( 'IP', 'sc-session-handler' ).'</td><td>'.__( 'LAST UPDATE', 'sc-session-handler' ).'</td></tr></thead>';45 echo '<thead><tr><td>'.__( 'ID', 'wp-database-session-handler' ).'</td><td> </td><td>'.__( 'CONTENT', 'wp-database-session-handler' ).'</td><td>'.__( 'IP', 'wp-database-session-handler' ).'</td><td>'.__( 'LAST UPDATE', 'wp-database-session-handler' ).'</td></tr></thead>'; 46 46 echo '<tbody>'; 47 47 while ($obj = $rows->fetch_object()) { -
wp-database-session-handler/trunk/inc/admin_page.php
r1843426 r1843512 2 2 3 3 <div id="icon-options-general" class="icon32"></div> 4 <h2><?_e( 'WP Database Session Handler settings', ' sc-session-handler' )?></h2>4 <h2><?_e( 'WP Database Session Handler settings', 'wp-database-session-handler' )?></h2> 5 5 6 6 <div id="poststuff"> … … 15 15 <div class="postbox"> 16 16 17 <h3><span><?_e( 'Options', ' sc-session-handler' )?></span></h3>17 <h3><span><?_e( 'Options', 'wp-database-session-handler' )?></span></h3> 18 18 <div class="inside"> 19 19 … … 27 27 </td> 28 28 <td> 29 <label for="clean_on_open"><?_e( 'Clean expired sessions on open new session', ' sc-session-handler' )?></label>29 <label for="clean_on_open"><?_e( 'Clean expired sessions on open new session', 'wp-database-session-handler' )?></label> 30 30 </td> 31 31 </tr> … … 36 36 </td> 37 37 <td> 38 <label for="clean_on_gc"><?_e( 'Clean expired sessions on garbage collection', ' sc-session-handler' )?></label>38 <label for="clean_on_gc"><?_e( 'Clean expired sessions on garbage collection', 'wp-database-session-handler' )?></label> 39 39 </td> 40 40 </tr> … … 45 45 </td> 46 46 <td> 47 <label for="clean_every"><?_e( 'Clean expired sessions every N hours. 0 for disable', ' sc-session-handler' )?></label>47 <label for="clean_every"><?_e( 'Clean expired sessions every N hours. 0 for disable', 'wp-database-session-handler' )?></label> 48 48 </td> 49 49 </tr> … … 51 51 52 52 <p> 53 <input class="button-primary" type="submit" name="update_options" value="<?_e( 'Save', ' sc-session-handler' )?>" />53 <input class="button-primary" type="submit" name="update_options" value="<?_e( 'Save', 'wp-database-session-handler' )?>" /> 54 54 </p> 55 55 … … 62 62 <div class="postbox"> 63 63 64 <h3><span><?_e( 'Clean all session', ' sc-session-handler' )?></span></h3>64 <h3><span><?_e( 'Clean all session', 'wp-database-session-handler' )?></span></h3> 65 65 <div class="inside"> 66 66 67 67 <p> 68 68 <?php 69 _e( 'Currently there are: ', ' sc-session-handler' );69 _e( 'Currently there are: ', 'wp-database-session-handler' ); 70 70 echo ' ' . \SC\WPSH\SC_MySqlSessionHandler::count() . ' '; 71 _e( ' sessions ', ' sc-session-handler' );71 _e( ' sessions ', 'wp-database-session-handler' ); 72 72 ?> 73 73 </p> 74 <p><?_e( 'If you want to clean all session you can press this button. All connected users will lose their session informations.', ' sc-session-handler' )?></p>74 <p><?_e( 'If you want to clean all session you can press this button. All connected users will lose their session informations.', 'wp-database-session-handler' )?></p> 75 75 76 76 <form method="post" action=""> … … 84 84 <div class="postbox"> 85 85 86 <h3><span><?_e( 'View sessions', ' sc-session-handler' )?></span></h3>86 <h3><span><?_e( 'View sessions', 'wp-database-session-handler' )?></span></h3> 87 87 <div class="inside"> 88 88 89 89 <p> 90 90 <?php 91 _e( 'Currently there are: ', ' sc-session-handler' );91 _e( 'Currently there are: ', 'wp-database-session-handler' ); 92 92 echo ' ' . \SC\WPSH\SC_MySqlSessionHandler::count() . ' '; 93 _e( ' sessions ', ' sc-session-handler' );93 _e( ' sessions ', 'wp-database-session-handler' ); 94 94 ?> 95 95 </p> 96 <p><?_e( 'If you want to view the content of all sessions, push the button.', ' sc-session-handler' )?></p>96 <p><?_e( 'If you want to view the content of all sessions, push the button.', 'wp-database-session-handler' )?></p> 97 97 98 98 <form method="post" action=""> … … 115 115 <div class="postbox"> 116 116 117 <h3><span><?_e( 'Info', ' sc-session-handler' )?></span></h3>117 <h3><span><?_e( 'Info', 'wp-database-session-handler' )?></span></h3> 118 118 <div class="inside"> 119 119 120 <p><?_e( 'In this page you can setup when the sessions will be automatically cleaned.<br><br>You can also check how many sessions actually exist currently and you can clean them.<br><br>Further more, you can view all sessions content.', ' sc-session-handler' )?></p>120 <p><?_e( 'In this page you can setup when the sessions will be automatically cleaned.<br><br>You can also check how many sessions actually exist currently and you can clean them.<br><br>Further more, you can view all sessions content.', 'wp-database-session-handler' )?></p> 121 121 122 122 </div> <!-- .inside --> -
wp-database-session-handler/trunk/languages/sc-session-handler-en_US.po
r1843426 r1843512 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2018-03-19 11:35+0000\n" 6 "PO-Revision-Date: 2018-03- 19 11:37+0000\n"6 "PO-Revision-Date: 2018-03-20 13:54+0000\n" 7 7 "Last-Translator: WdJonr7VLA <steve@stefanocanziani.com>\n" 8 8 "Language-Team: English (United States)\n" … … 16 16 #: inc/admin_page.php:71 inc/admin_page.php:93 17 17 msgid " sessions " 18 msgstr " sessions "18 msgstr " sessions" 19 19 20 20 #. Description of the plugin -
wp-database-session-handler/trunk/languages/sc-session-handler-it_IT.po
r1843426 r1843512 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2018-03-19 11:35+0000\n" 6 "PO-Revision-Date: 2018-03- 19 14:39+0000\n"6 "PO-Revision-Date: 2018-03-20 13:53+0000\n" 7 7 "Last-Translator: WdJonr7VLA <steve@stefanocanziani.com>\n" 8 8 "Language-Team: Italian\n" -
wp-database-session-handler/trunk/languages/sc-session-handler.pot
r1843426 r1843512 4 4 "Project-Id-Version: WP Database Session Handler\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2018-03- 19 11:35+0000\n"6 "POT-Creation-Date: 2018-03-20 13:54+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
wp-database-session-handler/trunk/sc-session-handler.php
r1843475 r1843512 8 8 Author URI: http://www.stefanocanziani.com 9 9 License: GPLv2 or later 10 Text Domain: sc-session-handler10 Text Domain: wp-database-session-handler 11 11 Domain Path: /languages 12 12 */ … … 42 42 43 43 // define textdomain 44 load_plugin_textdomain( ' sc-session-handler' );44 load_plugin_textdomain( 'wp-database-session-handler' ); 45 45 46 46 // include plugin files … … 72 72 add_action( 'admin_menu', function () { 73 73 add_options_page( 74 __( 'DB Session Handler settings', 'sc-session-handler' ),75 __( 'DB Session Handler', 'sc-session-handler' ),74 __( 'DB Session Handler settings', 'wp-database-session-handler' ), 75 __( 'DB Session Handler', 'wp-database-session-handler' ), 76 76 'manage_options', 77 77 'sc_mysqlsessionadmin',
Note: See TracChangeset
for help on using the changeset viewer.