diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-06-02 05:20:14 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-06-02 05:20:14 +0000 |
| commit | 0b62dfbbc440ea7a8130630066030cc8221ec80a (patch) | |
| tree | a31abd422b39ff0c3d3ffa1bd61abfa009ea0a4a /views/admin | |
| parent | cf5a71b778233df461bfec53669e307a62dcdddd (diff) | |
- WPML String-Übersetzungen
- Text Domains korrigiert
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6301 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/wpml.phtml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/views/admin/wpml.phtml b/views/admin/wpml.phtml new file mode 100644 index 0000000..9ab858e --- /dev/null +++ b/views/admin/wpml.phtml @@ -0,0 +1,48 @@ +<?php
+
+ /**
+ * User: Daschmi (daschmi@daschmi.de)
+ * Date: 01.06.2017
+ * Time: 13:53
+ */
+
+ namespace wpsg;
+
+?>
+
+<div class="wpsg_admin_submenu">
+
+ <div class="list-group">
+ <span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
+ <?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
+ <a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
+ <?php } ?>
+ </div>
+
+</div>
+
+<div class="wpsg_admin_content form-horizontal">
+ <form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=wpml&noheader=1'); ?>">
+
+ <div class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title"><?php echo __('WPML Einstellungen', 'wpsg'); ?></h3>
+ </div>
+ <div class="panel-body">
+
+ <?php /* ?>
+ <?php echo wpsg_drawForm_Checkbox('clear', __('Nicht verwendete String-Übersetzungen entfernen', 'wpsg'), false, array('fullWidth' => true)); ?>
+
+ <br /> */ ?>
+
+ <p class="info"><?php echo __('Fügt dynamische Inhalte wie Ländernamen, Namen von Varianten etc. zu den String-Übersetzungen von WPML hinzu und ermöglicht unter WPML -> String-Übersetzung die Übersetzung von diesen Inhalten.', 'wpsg'); ?></p>
+
+ <input type="submit" name="wpsg_set_string_translation" class="button" value="<?php echo __('String-Übersetzung füllen'); ?>" />
+
+ </div>
+ </div>
+
+ </form>
+</div>
+
+
|
