PageRenderTime 51ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/plugins/wp-table-reloaded/views/view-about.php

https://github.com/petergibbons/OpenCounterWP
PHP | 106 lines | 91 code | 10 blank | 5 comment | 1 complexity | 2259e6bb62f509d7f2ff25147d8df817 MD5 | raw file
  1. <?php if ( !defined( 'WP_TABLE_RELOADED_ABSPATH' ) ) exit; // no direct loading of this file ?>
  2. <div style="clear:both;">
  3. <div class="postbox">
  4. <h3 class="hndle"><span><?php _e( 'Plugin Purpose', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span></h3>
  5. <div class="inside">
  6. <p><?php _e( 'WP-Table Reloaded allows you to create and manage tables in the admin-area of WordPress.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'Those tables may contain strings, numbers and even HTML (e.g. to include images or links).', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'You can then show the tables in your posts, on your pages or in text-widgets by using a shortcode.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'If you want to show your tables anywhere else in your theme, you can use a template tag function.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p>
  7. </div>
  8. </div>
  9. <div class="postbox">
  10. <h3 class="hndle"><span><?php _e( 'Usage', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span></h3>
  11. <div class="inside">
  12. <p><?php _e( 'At first you should add or import a table.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'This means that you either let the plugin create an empty table for you or that you load an existing table from either a CSV, XML or HTML file.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php _e( 'Then you can edit your data or change the structure of your table (e.g. by inserting or deleting rows or columns, swaping rows or columns or sorting them) and select specific table options like alternating row colors or whether to print the name or description, if you want.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'To easily add a link or an image to a cell, use the provided buttons. Those will ask you for the URL and a title. Then you can click into a cell and the corresponding HTML will be added to it for you.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p><p><?php printf( __( 'To insert the table into a page, post or text-widget, copy the shortcode <strong>[table id=%s /]</strong> and paste it into the corresponding place in the editor.', WP_TABLE_RELOADED_TEXTDOMAIN ), '&lt;ID&gt;' ); ?> <?php printf( __( 'You can also select the desired table from a list (after clicking the button &quot;%s&quot; in the editor toolbar) and the corresponding shortcode will be added for you.', WP_TABLE_RELOADED_TEXTDOMAIN ), __( 'Table', WP_TABLE_RELOADED_TEXTDOMAIN ) ); ?></p><p><?php _e( 'Tables can be styled by changing and adding CSS commands.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'The plugin ships with default CSS Stylesheets, which can be customized with own code or replaced with other Stylesheets.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php _e( 'For this, each table is given certain CSS classes that can be used as CSS selectors.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <?php printf ( __( 'Please see the <a href="%s">documentation</a> for a list of these selectors and for styling examples.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/' ); ?></p>
  13. </div>
  14. </div>
  15. <div class="postbox">
  16. <h3 class="hndle"><span><?php _e( 'More Information and Documentation', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span></h3>
  17. <div class="inside">
  18. <p><?php printf( __( 'More information about WP-Table Reloaded can be found on the <a href="%s">plugin\'s website</a> or on its page in the <a href="%s">WordPress Plugin Directory</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/website/', 'http://wordpress.org/extend/plugins/wp-table-reloaded/' ); ?> <?php printf( __( 'For technical information, see the <a href="%s">documentation</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/' ); ?></p>
  19. </div>
  20. </div>
  21. <div class="postbox">
  22. <h3 class="hndle"><span><?php _e( 'Help and Support', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span></h3>
  23. <div class="inside">
  24. <p><?php printf( __( '<a href="%s">Support</a> is provided through the <a href="%s">WordPress Support Forums</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/support/', 'http://www.wordpress.org/support/' ); ?> <?php printf( __( 'Before asking for support, please carefully read the <a href="%s">Frequently Asked Questions</a> where you will find answered to the most common questions, and search through the forums.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/faq/' ); ?></p><p><?php printf( __( 'If you do not find an answer there, please <a href="%s">open a new thread</a> in the WordPress Support Forums with the tag &quot;wp-table-reloaded&quot;.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/tags/wp-table-reloaded' ); ?></p>
  25. </div>
  26. </div>
  27. <div class="postbox">
  28. <h3 class="hndle"><span><?php _e( 'Author and License', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span></h3>
  29. <div class="inside">
  30. <p><?php printf( __( 'This plugin was written by <a href="%s">Tobias B&auml;thge</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/' ); ?> <?php _e( 'It is licensed as Free Software under GPL 2.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/><?php printf( __( 'If you like the plugin, <a href="%s"><strong>a donation</strong></a> is recommended.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/donate/' ); ?> <?php printf( __( 'Please rate the plugin in the <a href="%s">WordPress Plugin Directory</a>.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://wordpress.org/extend/plugins/wp-table-reloaded/' ); ?><br/><?php _e( 'Donations and good ratings encourage me to further develop the plugin and to provide countless hours of support. Any amount is appreciated! Thanks!', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></p>
  31. </div>
  32. </div>
  33. <div class="postbox">
  34. <h3 class="hndle"><span><?php _e( 'Credits and Thanks', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span></h3>
  35. <div class="inside">
  36. <p>
  37. <?php _e( 'Thanks go to <a href="http://alexrabe.boelinger.com/">Alex Rabe</a> for the original wp-Table plugin,', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/>
  38. <?php _e( 'Allan Jardine for the <a href="http://www.datatables.net/">DataTables jQuery plugin</a>,', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/>
  39. <?php _e( 'Christian Bach for the <a href="http://www.tablesorter.com/">Tablesorter jQuery plugin</a>,', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/>
  40. <?php _e( 'Soeren Krings for its extension <a href="http://tablesorter.openwerk.de/">Tablesorter Extended</a>,', WP_TABLE_RELOADED_TEXTDOMAIN ); ?><br/>
  41. <?php _e( 'the submitters of translations:', WP_TABLE_RELOADED_TEXTDOMAIN ); ?>
  42. <?php
  43. $credits_links = array(
  44. 'ar' => '<a href="http://jdwel.com/">Mohammed Kashmiry</a>',
  45. 'be_BY' => '<a href="http://www.mikheev.biz/">Slava Mikheev</a>',
  46. 'bg_BG' => '<a href="http://www.ajoft.com/">Gill Ajoft</a>',
  47. 'cs_CZ' => '<a href="http://separatista.net/">Separatista</a>',
  48. 'es_ES' => '<a href="http://halles.cl/">Matias Halles</a>', // <a href="http://theindependentproject.com/">Alejandro Urrutia</a>
  49. 'fi' => 'Jaakko',
  50. 'fr_FR' => '<a href="http://www.ningbohotelreview.com/">NingboHOTELreview</a>',
  51. 'he_IL' => '<a href="http://www.site2goal.co.il/">Mulli Bahr</a>',
  52. 'hi_IN' => '<a href="http://outshinesolutions.com/">Outshine Solutions</a>',
  53. 'id_ID' => '<a href="http://sys-talk.com/">Dedy Sofyan</a>, <a href="http://kelayang.com/">Kelayang</a>',
  54. 'it_IT' => '<a href="http://www.scrical.it/">Gabriella Mazzon</a>',
  55. 'ja' => '<a href="http://www.u-1.net/">Yuuichi</a>',
  56. 'nl_NL' => '<a href="http://http://www.siteoptimo.com/blog/">Pieter Carette</a>',
  57. 'pl_PL' => '<a href="http://www.projektowaniestronwww.net/">Projektowanie Stron WWW</a>',
  58. 'pt_BR' => '<a href="http://www.pensarics.com/">Rics</a>',
  59. 'pt_PT' => '<a href="http://couzinatech.com/">S&eacute;rgio Martins</a>',
  60. 'ru_RU' => '<a href="http://www.wordpress4you.com/">WordPress4You</a>',
  61. 'sk_SK' => '<a href="http://lukas.cerro.sk/">55.lukas</a>',
  62. 'sv_SE' => '<a href="http://www.zuperzed.se/">ZuperZed</a>',
  63. 'ua_UA' => '<a href="http://antsar.info/">murooch</a>',
  64. 'zh_CN' => '<a href="http://cnzhx.net/">Haoxian Zeng</a>',
  65. // inactive languages
  66. // 'ga_IR' => '<a href="http://letsbefamous.com/">Lets Be Famous</a>',
  67. // 'sq_AL' => '<a href="http://www.romeolab.com/">Romeo</a>',
  68. // 'tr_TR' => '<a href="http://www.wpuzmani.com/">Semih</a>',
  69. );
  70. // no credits link for English and German, as they are by me :-)
  71. unset ( $this->available_plugin_languages['en_US'] );
  72. unset ( $this->available_plugin_languages['de_DE'] );
  73. foreach ( $this->available_plugin_languages as $code => $language ) {
  74. echo "<br/>&middot; " . sprintf( __( '%s (thanks to %s)', WP_TABLE_RELOADED_TEXTDOMAIN ), $language, $credits_links[ $code ] ) . "\n";
  75. }
  76. ?>
  77. <br/><?php _e( 'and to all donors, contributors, supporters, reviewers and users of the plugin!', WP_TABLE_RELOADED_TEXTDOMAIN ); ?>
  78. </p>
  79. </div>
  80. </div>
  81. <div class="postbox<?php echo $this->helper->postbox_closed( 'debug-version-information', true ); ?>">
  82. <h3 class="hndle"><span><?php _e( 'Debug and Version Information', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></span><span class="hide_link"><small><?php echo _x( 'Hide', 'expand', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></small></span><span class="expand_link"><small><?php _e( 'Expand', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></small></span></h3>
  83. <div class="inside">
  84. <p>
  85. <?php _e( 'You are using the following versions of the software.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?> <strong><?php _e( 'Please provide this information in bug reports.', WP_TABLE_RELOADED_TEXTDOMAIN ); ?></strong><br/>
  86. <br/>&middot; WP-Table Reloaded (DB): <?php echo $this->options['installed_version']; ?>
  87. <br/>&middot; WP-Table Reloaded (Script): <?php echo WP_TABLE_RELOADED_PLUGIN_VERSION; ?>
  88. <br/>&middot; <?php _e( 'Plugin installed', WP_TABLE_RELOADED_TEXTDOMAIN ); ?>: <?php echo date( 'Y/m/d H:i:s', $this->options['install_time'] ); ?>
  89. <br/>&middot; WordPress: <?php echo $GLOBALS['wp_version']; ?>
  90. <br/>&middot; PHP: <?php echo phpversion(); ?>
  91. <br/>&middot; mySQL (Server): <?php echo mysql_get_server_info(); ?>
  92. <br/>&middot; mySQL (Client): <?php echo mysql_get_client_info(); ?>
  93. </p>
  94. </div>
  95. </div>
  96. </div>