Changeset 1377071
- Timestamp:
- 03/23/2016 02:51:18 PM (10 years ago)
- Location:
- selectyco/trunk
- Files:
-
- 2 edited
-
inc/style.css (modified) (1 diff)
-
selectyco.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
selectyco/trunk/inc/style.css
r1376148 r1377071 16 16 no-repeat; 17 17 background-size: contain; 18 text-align: center; 18 19 } 19 20 -
selectyco/trunk/selectyco.php
r1377031 r1377071 8 8 Author: selectyco Media Solutions GmbH 9 9 Author URI: https://www.selectyco.com 10 Text Domain: selectyco 11 Domain Path: /languages/ 10 12 */ 11 13 … … 95 97 public function add_syc_metabox() 96 98 { 97 add_meta_box("syc-meta-box", "selectyco: Artikel-Stammdaten", array($this, "syc_meta_box_markup"), "post", "side", "high", null);99 add_meta_box("syc-meta-box", "selectyco: " . __('Item data','selectyco'), array($this, "syc_meta_box_markup"), "post", "side", "high", null); 98 100 } 99 101 … … 115 117 <table border="0" id="selectycoTbl"> 116 118 <tr> 117 <td><?php _e('Itemname',' itemname')?></td>118 <td colspan="2"><input style="width:150px" id="sycItemName" name="meta-box-itemName" type="text" placeholder=" Name des Beitrages" value=""></td>119 </tr> 120 <tr> 121 <td> Beitragstyp</td>119 <td><?php _e('Itemname','selectyco')?></td> 120 <td colspan="2"><input style="width:150px" id="sycItemName" name="meta-box-itemName" type="text" placeholder="<?php _e('Name of the article','selectyco')?>" value=""></td> 121 </tr> 122 <tr> 123 <td><?php _e('Type of Item','selectyco')?></td> 122 124 <td colspan="2"> 123 125 <select style="width:150px" name="meta-box-laufZeit" id="sycItemType"> … … 125 127 $itemTypes = array(0=>'Artikel',1=>'Video',2=>'ContentPlacement',3=>'Ausgabe, EPaper'); 126 128 foreach($itemTypes as $itKey => $itVal ) { 127 echo "<option value=".$itKey.">". $itVal."</option>";129 echo "<option value=".$itKey.">".__($itVal,'selectyco')."</option>"; 128 130 } 129 131 ?> … … 132 134 </tr> 133 135 <tr> 134 <td> Preiskategorie</td>136 <td><?php _e('Price category','selectyco')?></td> 135 137 <td colspan="2"> 136 138 <select style="width:150px" id="sycPriceClass" name="meta-box-priceClass"> … … 145 147 </tr> 146 148 <tr> 147 <td> Laufzeit</td>149 <td><?php _e('Runtime','selectyco')?></td> 148 150 <td width="50"> 149 151 <select style="width:50px" name="meta-box-laufZeit" id="sycRunTime"> … … 156 158 </td> 157 159 <td> 158 <input type="radio" id="sycMonth" name="sycTimeunits" value="month" checked><label for="sycMonth"> Monate</label><br>159 <input type="radio" id="sycWeek" name="sycTimeunits" value="week"><label for="sycWeek"> Wochen</label><br>160 <input type="radio" id="sycDay" name="sycTimeunits" value="day" ><label for="sycDay"> Tage</label>160 <input type="radio" id="sycMonth" name="sycTimeunits" value="month" checked><label for="sycMonth"> <?php _e('months','selectyco')?></label><br> 161 <input type="radio" id="sycWeek" name="sycTimeunits" value="week"><label for="sycWeek"> <?php _e('weeks','selectyco')?></label><br> 162 <input type="radio" id="sycDay" name="sycTimeunits" value="day" ><label for="sycDay"> <?php _e('days','selectyco')?></label> 161 163 </td> 162 164 </tr> … … 170 172 } 171 173 else { 172 echo "<div class=\"button tagadd\" id=\"createBackendItem\"> Artikel bei selectyco anlegen</div>";174 echo "<div class=\"button tagadd\" id=\"createBackendItem\">".__('Create selectyco item','selectyco')."</div>"; 173 175 } 174 176 ?> … … 484 486 485 487 // init the plugin class 488 load_plugin_textdomain( 'selectyco', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 486 489 add_action('plugins_loaded', 'syc_init'); 487 490
Note: See TracChangeset
for help on using the changeset viewer.