Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 136.04 KB | None | 0 0
  1. diff -ur dine-and-drink.original/404.php dine-and-drink/404.php
  2. --- dine-and-drink.original/404.php 2014-04-19 23:19:12.000000000 +0200
  3. +++ dine-and-drink/404.php 2014-08-21 11:58:21.762743000 +0200
  4. @@ -10,15 +10,15 @@
  5. <div style="text-align:center; margin:10px 0px 25px 0px;">
  6. <img src="<?php echo _IMG; ?>error404-icon.png" alt="error404" style="margin:0 auto;" />
  7. <div style="text-align:center; color:#ffca00; font-size:24px; font-weight:bold; margin-top:10px;">
  8. - <?php _e('ERROR 404', 'default'); ?></div>
  9. + <?php _e('ERROR 404', 'dine-and-drink'); ?></div>
  10. <div style="text-align:center; color:#ffca00; font-size:16px; font-weight:bold; line-height:18px;">
  11. - <?php _e('Page Not Found', 'default'); ?></div>
  12. + <?php _e('Page Not Found', 'dine-and-drink'); ?></div>
  13.  
  14. <div style="text-align:center; font-size:18px; margin-top:40px; font-weight:bold; line-height:20px;">
  15. - <?php _e("We're sorry, but the page you were looking for doesn't exist.", 'default'); ?>
  16. + <?php _e("We're sorry, but the page you were looking for doesn't exist.", 'dine-and-drink'); ?>
  17. </div>
  18. <div style="text-align:center; font-size:14px; line-height:18px; margin-top:5px;">
  19. - <?php _e('You can start from the Home, Blog or see our food menu.', 'default'); ?>
  20. + <?php _e('You can start from the Home, Blog or see our food menu.', 'dine-and-drink'); ?>
  21. </div>
  22. </div>
  23. </div>
  24. diff -ur dine-and-drink.original/at_functions/at_custom_post.php dine-and-drink/at_functions/at_custom_post.php
  25. --- dine-and-drink.original/at_functions/at_custom_post.php 2014-05-21 16:09:22.000000000 +0200
  26. +++ dine-and-drink/at_functions/at_custom_post.php 2014-08-21 11:58:23.906743000 +0200
  27. @@ -9,11 +9,11 @@
  28. 'slider',
  29. array(
  30. 'labels' => array(
  31. - 'name' => __('Slider', 'default'),
  32. - 'singular_name' => __('Slider', 'default'),
  33. - 'add_new' => __('Add New', 'default'),
  34. - 'edit_item' => __('Edit Slider', 'default'),
  35. - 'add_new_item' => __('Add New Slider', 'default')
  36. + 'name' => __('Slider', 'dine-and-drink'),
  37. + 'singular_name' => __('Slider', 'dine-and-drink'),
  38. + 'add_new' => __('Add New', 'dine-and-drink'),
  39. + 'edit_item' => __('Edit Slider', 'dine-and-drink'),
  40. + 'add_new_item' => __('Add New Slider', 'dine-and-drink')
  41. ),
  42. 'supports' => array('title','editor','custom-fields','thumbnail'),
  43. 'public' => true,
  44. @@ -29,11 +29,11 @@
  45. 'menu',
  46. array(
  47. 'labels' => array(
  48. - 'name' => __('Food Menu', 'default'),
  49. - 'singular_name' => __('Food Menu', 'default'),
  50. - 'add_new' => __('Add New', 'default'),
  51. - 'edit_item' => __('Edit Food Menu', 'default'),
  52. - 'add_new_item' => __('Add New Food Menu', 'default')
  53. + 'name' => __('Food Menu', 'dine-and-drink'),
  54. + 'singular_name' => __('Food Menu', 'dine-and-drink'),
  55. + 'add_new' => __('Add New', 'dine-and-drink'),
  56. + 'edit_item' => __('Edit Food Menu', 'dine-and-drink'),
  57. + 'add_new_item' => __('Add New Food Menu', 'dine-and-drink')
  58. ),
  59. 'supports' => array('title','editor','excerpt','thumbnail','custom-fields','post-formats'),
  60. 'public' => true,
  61. @@ -57,20 +57,20 @@
  62. 'rewrite' => array('slug' => $url_food_cate, 'with_front' => true),
  63.  
  64. 'labels' => array(
  65. - 'name' => __('Food Menu Categories', 'default'),
  66. - 'singular_name' => __('Food Menu Categories', 'default'),
  67. - 'search_items' => __('Search Food Menu Categories', 'default'),
  68. - 'popular_items' => __('Popular Food Menu Categories', 'default'),
  69. - 'all_items' => __('All Menu', 'default'),
  70. - 'parent_item' => __('Parent Food Menu Categories', 'default'),
  71. - 'parent_item_colon' => __('Parent Food Menu Categories', 'default'),
  72. - 'edit_item' => __('Edit Food Menu Category', 'default'),
  73. - 'update_item' => __('Update Food Menu Category', 'default'),
  74. - 'add_new_item' => __('Add New Food Menu Category', 'default'),
  75. - 'new_item_name' => __('New Food Menu Category Name', 'default')
  76. + 'name' => __('Food Menu Categories', 'dine-and-drink'),
  77. + 'singular_name' => __('Food Menu Categories', 'dine-and-drink'),
  78. + 'search_items' => __('Search Food Menu Categories', 'dine-and-drink'),
  79. + 'popular_items' => __('Popular Food Menu Categories', 'dine-and-drink'),
  80. + 'all_items' => __('All Menu', 'dine-and-drink'),
  81. + 'parent_item' => __('Parent Food Menu Categories', 'dine-and-drink'),
  82. + 'parent_item_colon' => __('Parent Food Menu Categories', 'dine-and-drink'),
  83. + 'edit_item' => __('Edit Food Menu Category', 'dine-and-drink'),
  84. + 'update_item' => __('Update Food Menu Category', 'dine-and-drink'),
  85. + 'add_new_item' => __('Add New Food Menu Category', 'dine-and-drink'),
  86. + 'new_item_name' => __('New Food Menu Category Name', 'dine-and-drink')
  87. ),
  88.  
  89. - 'label' => __('Food Menu Categories', 'default')
  90. + 'label' => __('Food Menu Categories', 'dine-and-drink')
  91. )
  92. );
  93.  
  94. @@ -85,20 +85,20 @@
  95. 'rewrite' => array('slug' => 'menu_tags', 'with_front' => false),
  96.  
  97. 'labels' => array(
  98. - 'name' => __('Food Menu Tags', 'default'),
  99. - 'singular_name' => __('Food Menu Tags', 'default'),
  100. - 'search_items' => __('Search Food Menu Tags', 'default'),
  101. - 'popular_items' => __('Popular Food Menu Tags', 'default'),
  102. - 'all_items' => __('All Tags', 'default'),
  103. - 'parent_item' => __('Parent Food Menu Tags', 'default'),
  104. - 'parent_item_colon' => __('Parent Food Menu Tags', 'default'),
  105. - 'edit_item' => __('Edit Food Menu Tags', 'default'),
  106. - 'update_item' => __('Update Food Menu Tags', 'default'),
  107. - 'add_new_item' => __('Add New Food Menu Tags', 'default'),
  108. - 'new_item_name' => __('New Food Menu Tags Name', 'default')
  109. + 'name' => __('Food Menu Tags', 'dine-and-drink'),
  110. + 'singular_name' => __('Food Menu Tags', 'dine-and-drink'),
  111. + 'search_items' => __('Search Food Menu Tags', 'dine-and-drink'),
  112. + 'popular_items' => __('Popular Food Menu Tags', 'dine-and-drink'),
  113. + 'all_items' => __('All Tags', 'dine-and-drink'),
  114. + 'parent_item' => __('Parent Food Menu Tags', 'dine-and-drink'),
  115. + 'parent_item_colon' => __('Parent Food Menu Tags', 'dine-and-drink'),
  116. + 'edit_item' => __('Edit Food Menu Tags', 'dine-and-drink'),
  117. + 'update_item' => __('Update Food Menu Tags', 'dine-and-drink'),
  118. + 'add_new_item' => __('Add New Food Menu Tags', 'dine-and-drink'),
  119. + 'new_item_name' => __('New Food Menu Tags Name', 'dine-and-drink')
  120. ),
  121.  
  122. - 'label' => __('Food Menu Tags', 'default')
  123. + 'label' => __('Food Menu Tags', 'dine-and-drink')
  124. )
  125. );
  126.  
  127. @@ -107,11 +107,11 @@
  128. 'gallery',
  129. array(
  130. 'labels' => array(
  131. - 'name' => __('Gallery', 'default'),
  132. - 'singular_name' => __('Gallery', 'default'),
  133. - 'add_new' => __('Add New', 'default'),
  134. - 'edit_item' => __('Edit Gallery', 'default'),
  135. - 'add_new_item' => __('Add New Gallery', 'default')
  136. + 'name' => __('Gallery', 'dine-and-drink'),
  137. + 'singular_name' => __('Gallery', 'dine-and-drink'),
  138. + 'add_new' => __('Add New', 'dine-and-drink'),
  139. + 'edit_item' => __('Edit Gallery', 'dine-and-drink'),
  140. + 'add_new_item' => __('Add New Gallery', 'dine-and-drink')
  141. ),
  142. 'supports' => array('title','editor','excerpt','thumbnail','custom-fields','post-formats'),
  143. 'public' => true,
  144. @@ -135,20 +135,20 @@
  145. 'rewrite' => array('slug' => $url_gallery_cate, 'with_front' => true),
  146.  
  147. 'labels' => array(
  148. - 'name' => __('Gallery Categories', 'default'),
  149. - 'singular_name' => __('Gallery Categories', 'default'),
  150. - 'search_items' => __('Search Gallery Categories', 'default'),
  151. - 'popular_items' => __('Popular Gallery Categories', 'default'),
  152. - 'all_items' => __('All Gallery', 'default'),
  153. - 'parent_item' => __('Parent Gallery Categories', 'default'),
  154. - 'parent_item_colon' => __('Parent Gallery Categories', 'default'),
  155. - 'edit_item' => __('Edit Gallery Category', 'default'),
  156. - 'update_item' => __('Update Gallery Category', 'default'),
  157. - 'add_new_item' => __('Add New Gallery Category', 'default'),
  158. - 'new_item_name' => __('New Gallery Category Name', 'default')
  159. + 'name' => __('Gallery Categories', 'dine-and-drink'),
  160. + 'singular_name' => __('Gallery Categories', 'dine-and-drink'),
  161. + 'search_items' => __('Search Gallery Categories', 'dine-and-drink'),
  162. + 'popular_items' => __('Popular Gallery Categories', 'dine-and-drink'),
  163. + 'all_items' => __('All Gallery', 'dine-and-drink'),
  164. + 'parent_item' => __('Parent Gallery Categories', 'dine-and-drink'),
  165. + 'parent_item_colon' => __('Parent Gallery Categories', 'dine-and-drink'),
  166. + 'edit_item' => __('Edit Gallery Category', 'dine-and-drink'),
  167. + 'update_item' => __('Update Gallery Category', 'dine-and-drink'),
  168. + 'add_new_item' => __('Add New Gallery Category', 'dine-and-drink'),
  169. + 'new_item_name' => __('New Gallery Category Name', 'dine-and-drink')
  170. ),
  171.  
  172. - 'label' => __('Gallery Categories', 'default')
  173. + 'label' => __('Gallery Categories', 'dine-and-drink')
  174. )
  175. );
  176.  
  177. @@ -160,10 +160,10 @@
  178.  
  179. unset($defaults);
  180. $defaults['cb'] = '<input type="checkbox"/>';
  181. - $defaults['at_thumbnail'] = __('Thumbnail', 'default');
  182. - $defaults['title'] = __('Title', 'default');
  183. - $defaults['author'] = __('Author', 'default');
  184. - $defaults['date'] = __('Date', 'default');
  185. + $defaults['at_thumbnail'] = __('Thumbnail', 'dine-and-drink');
  186. + $defaults['title'] = __('Title', 'dine-and-drink');
  187. + $defaults['author'] = __('Author', 'dine-and-drink');
  188. + $defaults['date'] = __('Date', 'dine-and-drink');
  189. return $defaults;
  190. }
  191. function posts_custom_column_slider($column_name, $post_id){
  192. @@ -182,12 +182,12 @@
  193.  
  194. unset($defaults);
  195. $defaults['cb'] = '<input type="checkbox"/>';
  196. - $defaults['at_thumbnail'] = __('Thumbnail', 'default');
  197. - $defaults['title'] = __('Title', 'default');
  198. - $defaults['author'] = __('Author', 'default');
  199. - $defaults['at_categories'] = __('Categories', 'default');
  200. - $defaults['at_tags'] = __('Tags', 'default');
  201. - $defaults['date'] = __('Date', 'default');
  202. + $defaults['at_thumbnail'] = __('Thumbnail', 'dine-and-drink');
  203. + $defaults['title'] = __('Title', 'dine-and-drink');
  204. + $defaults['author'] = __('Author', 'dine-and-drink');
  205. + $defaults['at_categories'] = __('Categories', 'dine-and-drink');
  206. + $defaults['at_tags'] = __('Tags', 'dine-and-drink');
  207. + $defaults['date'] = __('Date', 'dine-and-drink');
  208. return $defaults;
  209. }
  210. function posts_custom_column_menu($column_name, $post_id){
  211. @@ -229,9 +229,9 @@
  212.  
  213. unset($defaults);
  214. $defaults['cb'] = '<input type="checkbox"/>';
  215. - $defaults['title'] = __('Title', 'default');
  216. - $defaults['author'] = __('Author', 'default');
  217. - $defaults['date'] = __('Date', 'default');
  218. + $defaults['title'] = __('Title', 'dine-and-drink');
  219. + $defaults['author'] = __('Author', 'dine-and-drink');
  220. + $defaults['date'] = __('Date', 'dine-and-drink');
  221. return $defaults;
  222. }
  223. */
  224. diff -ur dine-and-drink.original/at_functions/at_dropdownmenu.php dine-and-drink/at_functions/at_dropdownmenu.php
  225. --- dine-and-drink.original/at_functions/at_dropdownmenu.php 2014-04-19 23:19:20.000000000 +0200
  226. +++ dine-and-drink/at_functions/at_dropdownmenu.php 2014-08-06 06:01:50.378819000 +0200
  227. @@ -31,15 +31,15 @@
  228. }*/
  229. class Walker_Nav_Menu_Dropdown extends Walker_Nav_Menu{
  230. var $to_depth = -1;
  231. - function start_lvl(&$output, $depth){
  232. + function start_lvl(&$output, $depth = 0, $args = Array()){
  233. $output .= '</option>';
  234. }
  235.  
  236. - function end_lvl(&$output, $depth){
  237. + function end_lvl(&$output, $depth = 0, $args = Array()){
  238. $indent = str_repeat("\t", $depth); // don't output children closing tag
  239. }
  240.  
  241. - function start_el(&$output, $item, $depth, $args){
  242. + function start_el(&$output, $item, $depth = 0, $args = Array(), $id = 0){
  243.  
  244. $indent = ( $depth ) ? str_repeat( "&nbsp;", $depth * 4 ) : '';
  245. $class_names = $value = '';
  246. @@ -60,7 +60,7 @@
  247.  
  248. }
  249.  
  250. - function end_el(&$output, $item, $depth){
  251. + function end_el(&$output, $item, $depth = 0, $args = Array()){
  252. if(substr($output, -9) != '</option>')
  253.  
  254. $output .= "</option>"; // replace closing </li> with the option tag
  255. @@ -70,7 +70,7 @@
  256.  
  257. class Walker_Nav_Menu_Split extends Walker_Nav_Menu{
  258. var $to_depth = -1;
  259. - function start_lvl(&$output, $depth){
  260. + function start_lvl(&$output, $depth = 0, $args = Array()){
  261. if($depth == 1){
  262. $output .= '<ul>';
  263. }else{
  264. @@ -78,13 +78,13 @@
  265. }
  266. }
  267.  
  268. - function end_lvl(&$output, $depth){
  269. + function end_lvl(&$output, $depth = 0, $args = Array()){
  270. $output .= '</ul>';
  271.  
  272. //$indent = str_repeat("\t", $depth); // don't output children closing tag
  273. }
  274.  
  275. - function start_el(&$output, $item, $depth, $args){
  276. + function start_el(&$output, $item, $depth = 0, $args = Array(), $id = 0){
  277.  
  278. $class_names = $value = '';
  279. $classes = empty( $item->classes ) ? array() : (array) $item->classes;
  280. @@ -112,7 +112,7 @@
  281.  
  282. }
  283.  
  284. - function end_el(&$output, $item, $depth){
  285. + function end_el(&$output, $item, $depth = 0, $args = Array()){
  286. if(substr($output, -9) != '</li>')
  287.  
  288. $output .= "</li>"; // replace closing </li> with the option tag
  289. Only in dine-and-drink/at_functions: at_dropdownmenu.php-original
  290. diff -ur dine-and-drink.original/at_functions/at_functions.php dine-and-drink/at_functions/at_functions.php
  291. --- dine-and-drink.original/at_functions/at_functions.php 2014-07-17 16:40:06.000000000 +0200
  292. +++ dine-and-drink/at_functions/at_functions.php 2014-08-21 11:58:24.654743001 +0200
  293. @@ -17,8 +17,8 @@
  294. function at_admin_scripts(){
  295.  
  296. wp_enqueue_script('jquery');
  297. - wp_register_script('at_widget', _JS . 'at_widget.js', array(), '1.0', false);
  298. - wp_enqueue_script('at_widget');
  299. +// wp_register_script('at_widget', _JS . 'at_widget.js', array(), '1.0', false);
  300. +// wp_enqueue_script('at_widget');
  301.  
  302. if(isset($_GET['page']) && ($_GET['page']=='options-page.php')){
  303. wp_register_script('jquery-ui', _JS . 'jquery-ui.js', array(), '', true);
  304. @@ -229,99 +229,99 @@
  305. <div id="tabwrap">
  306. <ul id="tabnav">
  307. <li class="active"><a href="#tab1" data-toggle="tab">
  308. - <?php _e('General', 'default');?>
  309. + <?php _e('General', 'dine-and-drink');?>
  310. </a></li>
  311. <li><a href="#tab2" data-toggle="tab">
  312. - <?php _e('Font', 'default');?>
  313. + <?php _e('Font', 'dine-and-drink');?>
  314. </a></li>
  315. <li><a href="#tab3" data-toggle="tab">
  316. - <?php _e('Overall Elements', 'default');?>
  317. + <?php _e('Overall Elements', 'dine-and-drink');?>
  318. </a></li>
  319. <li><a href="#tab4" data-toggle="tab">
  320. - <?php _e('Elements Color', 'default');?>
  321. + <?php _e('Elements Color', 'dine-and-drink');?>
  322. </a></li>
  323. <li><a href="#tab5" data-toggle="tab">
  324. - <?php _e('Food Menu', 'default');?>
  325. + <?php _e('Food Menu', 'dine-and-drink');?>
  326. </a></li>
  327. <li><a href="#tab6" data-toggle="tab">
  328. - <?php _e('Blog', 'default');?>
  329. + <?php _e('Blog', 'dine-and-drink');?>
  330. </a></li>
  331. <li><a href="#tab10" data-toggle="tab">
  332. - <?php _e('Gallery', 'default');?>
  333. + <?php _e('Gallery', 'dine-and-drink');?>
  334. </a></li>
  335. <li><a href="#tab9" data-toggle="tab">
  336. - <?php _e('Custom CSS', 'default');?>
  337. + <?php _e('Custom CSS', 'dine-and-drink');?>
  338. </a></li>
  339. <li><a href="#tab7" data-toggle="tab">
  340. - <?php _e('Setting & Support', 'default');?>
  341. + <?php _e('Setting & Support', 'dine-and-drink');?>
  342. </a></li>
  343. <?php /*?><li><a href="#tab8" data-toggle="tab">
  344. - <?php _e('Support', 'default');?>
  345. + <?php _e('Support', 'dine-and-drink');?>
  346. </a></li><?php */?>
  347. </ul>
  348. <p class="p_submit right">
  349. <input type="hidden" name="page" value="options-page.php">
  350. <input type="hidden" name="form" value="general">
  351. - <input class="btn at_save_all_button" name="save" type="submit" value="<?php _e('Save changes', 'default'); ?>" />
  352. + <input class="btn at_save_all_button" name="save" type="submit" value="<?php _e('Save changes', 'dine-and-drink'); ?>" />
  353. </p>
  354. <div class="tab-content">
  355. <div id="tab1" class="at_tab_content tab-pane fade active in clear">
  356. <div class="at_main_heaer">
  357. - <?php _e('General', 'default');?>
  358. + <?php _e('General', 'dine-and-drink');?>
  359. </div>
  360. <?php at_tab_general();?>
  361. </div>
  362. <div id="tab2" class="at_tab_content tab-pane fade">
  363. <div class="at_main_heaer">
  364. - <?php _e('Font', 'default');?>
  365. + <?php _e('Font', 'dine-and-drink');?>
  366. </div>
  367. <?php at_tab_font();?>
  368. </div>
  369. <div id="tab3" class="at_tab_content tab-pane fade">
  370. <div class="at_main_heaer">
  371. - <?php _e('Overall Elements', 'default');?>
  372. + <?php _e('Overall Elements', 'dine-and-drink');?>
  373. </div>
  374. <?php at_tab_overallelements();?>
  375. </div>
  376. <div id="tab4" class="at_tab_content tab-pane fade">
  377. <div class="at_main_heaer">
  378. - <?php _e('Elements Color', 'default');?>
  379. + <?php _e('Elements Color', 'dine-and-drink');?>
  380. </div>
  381. <?php at_tab_color();?>
  382. </div>
  383. <div id="tab5" class="at_tab_content tab-pane fade">
  384. <div class="at_main_heaer">
  385. - <?php _e('Food Menu', 'default');?>
  386. + <?php _e('Food Menu', 'dine-and-drink');?>
  387. </div>
  388. <?php at_tab_foodmenu();?>
  389. </div>
  390. <div id="tab6" class="at_tab_content tab-pane fade">
  391. <div class="at_main_heaer">
  392. - <?php _e('Blog', 'default');?>
  393. + <?php _e('Blog', 'dine-and-drink');?>
  394. </div>
  395. <?php at_tab_blog();?>
  396. </div>
  397. <div id="tab10" class="at_tab_content tab-pane fade">
  398. <div class="at_main_heaer">
  399. - <?php _e('Gallery', 'default');?>
  400. + <?php _e('Gallery', 'dine-and-drink');?>
  401. </div>
  402. <?php at_tab_gallery();?>
  403. </div>
  404. <div id="tab9" class="at_tab_content tab-pane fade">
  405. <div class="at_main_heaer">
  406. - <?php _e('Custom CSS', 'default');?>
  407. + <?php _e('Custom CSS', 'dine-and-drink');?>
  408. </div>
  409. <?php at_tab_css();?>
  410. </div>
  411. <div id="tab7" class="at_tab_content tab-pane fade">
  412. <div class="at_main_heaer">
  413. - <?php _e('Setting & Support', 'default');?>
  414. + <?php _e('Setting & Support', 'dine-and-drink');?>
  415. </div>
  416. <?php at_tab_setting();?>
  417. </div><?php /*?>
  418. <div id="tab8" class="at_tab_content tab-pane fade">
  419. <div class="at_main_heaer">
  420. - <?php _e('Support', 'default');?>
  421. + <?php _e('Support', 'dine-and-drink');?>
  422. </div>
  423. <?php at_tab_support();?>
  424. </div><?php */?>
  425. @@ -330,7 +330,7 @@
  426. <p class="p_submit right">
  427. <input type="hidden" name="page" value="<?php echo $_REQUEST['page'];?>">
  428. <input type="hidden" name="form" value="general">
  429. - <input name="save" type="submit" value="<?php _e('Save changes', 'default'); ?>" class="btn at_save_all_button" />
  430. + <input name="save" type="submit" value="<?php _e('Save changes', 'dine-and-drink'); ?>" class="btn at_save_all_button" />
  431. </p>
  432. <div class="at_admin_copy"></div>
  433. </div>
  434. @@ -405,7 +405,7 @@
  435. <div class="option-control"> <img src="<?php echo $default; ?>" id="image_id_<?php echo $opt['id']; ?>" width="<?php echo $opt['img_width']; ?>" <?php if($default == ""){ ?> style="display:none" <?php }?> alt="image_id_<?php echo $opt['id']; ?>"> <br />
  436. <input name="<?php echo $opt['id']; ?>" id="file_input_<?php echo $opt['id']; ?>" value="<?php echo $default; ?>" type="text">
  437. <div class="at_image_upload" id="<?php echo $opt['id']; ?>">
  438. - <?php _e('Upload Image', 'default'); ?>
  439. + <?php _e('Upload Image', 'dine-and-drink'); ?>
  440. </div>
  441. <span id="mestatus_<?php echo $opt['id']; ?>"></span> </div>
  442. <div class="option-desc"><?php echo $opt['desc']; ?></div>
  443. @@ -417,7 +417,7 @@
  444. <div class="option-control">
  445. <select name="<?php echo $opt['id']; ?>">
  446. <option value="-1">
  447. - <?php _e('Please Select', 'default');?>
  448. + <?php _e('Please Select', 'dine-and-drink');?>
  449. </option>
  450. <?php foreach($opt['options'] as $selectkey => $selectval){?>
  451. <option value="<?php echo $selectkey; ?>" class="<?php echo $selectkey; ?>" <?php if($default == $selectkey){?> selected="selected" <?php }?>><?php echo $selectval; ?></option>
  452. @@ -584,7 +584,7 @@
  453. <div class="food_badge_div_delete"><a href="#" class="add_remove_delete at_delete food_badge_delete" id="<?php echo $opt['id']; ?>">x</a></div>
  454. <?php /*?><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion<?php echo $opt['id']?>" href="#collapse<?php echo $opt['id']?>"> <?php */?>
  455. <div class="food_badge_name">
  456. - <?php _e('Name', 'default');?>
  457. + <?php _e('Name', 'dine-and-drink');?>
  458. </div>
  459. <input name="<?php echo $opt['id']; ?>" id="<?php echo $opt['id']; ?>" value="<?php echo $default; ?>" type="text" class="<?php echo $opt['class']; ?>" size="">
  460. <?php /*?></a><?php */?></div>
  461. @@ -608,14 +608,14 @@
  462. }
  463. ?>
  464. <div class="food_badge_icon_url">
  465. - <?php _e('Icon URL', 'default');?>
  466. + <?php _e('Icon URL', 'dine-and-drink');?>
  467.  
  468. <img src="<?php echo $default; ?>" id="image_id_<?php echo $opt['id']; ?>" width="<?php echo $opt['img_width']?>" <?php if($default == ""){ ?> style="display:none" <?php }?> alt="image_id_<?php echo $opt['id']; ?>">
  469.  
  470. </div>
  471. <input name="<?php echo $opt['id']; ?>" class="food_badge_icon_url_input" id="file_input_<?php echo $opt['id']; ?>" value="<?php echo $default; ?>" type="text" size="">
  472. <div class="at_image_upload at_admin_white_button" id="<?php echo $opt['id']; ?>" style="display:inline">
  473. - <?php _e('Upload Icon', 'default');?>
  474. + <?php _e('Upload Icon', 'dine-and-drink');?>
  475. </div>
  476. <span id="mestatus_<?php echo $opt['id']; ?>"></span> </div>
  477. </div>
  478. @@ -646,7 +646,7 @@
  479. <li class="field2 li_food_price_list" id="field<?php echo $opt['id']?>">
  480. <div class="portfolio_meta_info_set foodmenu_price_info_set clearfix">
  481. <a href="#" class="add_text_delete at_delete food_price_delete" id="<?php echo $opt['id']; ?>">x</a>
  482. - <div class="food_price_name"><?php _e('Name', 'default');?></div>
  483. + <div class="food_price_name"><?php _e('Name', 'dine-and-drink');?></div>
  484. <input name="<?php echo $opt['id']; ?>" id="<?php echo $opt['id']; ?>" value="<?php echo $default; ?>" type="text" class="<?php echo $opt['class']; ?>" size="">
  485. </div>
  486. </li>
  487. @@ -675,7 +675,7 @@
  488. <li class="field2 li_food_price_list" id="field<?php echo $opt['id']?>">
  489. <div class="portfolio_meta_info_set foodmenu_price_info_set clearfix">
  490. <a href="#" class="add_text_delete at_delete food_price_delete" id="<?php echo $opt['id']; ?>">x</a>
  491. - <div class="food_price_name"><?php _e('Name', 'default');?></div>
  492. + <div class="food_price_name"><?php _e('Name', 'dine-and-drink');?></div>
  493. <input name="<?php echo $opt['id']; ?>" id="<?php echo $opt['id']; ?>" value="<?php echo $default; ?>" type="text" class="<?php echo $opt['class']; ?>" size="">
  494. </div>
  495. </li>
  496. @@ -1200,7 +1200,7 @@
  497. function register_at_menus() {
  498.  
  499. register_nav_menus(
  500. - array('header-menu' => __('Header Menu', 'default'))
  501. + array('header-menu' => __('Header Menu', 'dine-and-drink'))
  502. );
  503. }
  504. add_action('init', 'register_at_menus');
  505. @@ -1224,7 +1224,7 @@
  506.  
  507.  
  508. register_sidebar(array(
  509. - 'name' => __('Home Area', 'default'),
  510. + 'name' => __('Home Area', 'dine-and-drink'),
  511. 'id' => 'sidebar-1',
  512. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  513. 'after_widget' => '</div>',
  514. @@ -1234,9 +1234,9 @@
  515. ));
  516.  
  517. register_sidebar(array(
  518. - 'name' => __('Footer Area One', 'default'),
  519. + 'name' => __('Footer Area One', 'dine-and-drink'),
  520. 'id' => 'sidebar-3',
  521. - 'description' => __('An optional widget area for your site footer', 'default'),
  522. + 'description' => __('An optional widget area for your site footer', 'dine-and-drink'),
  523. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  524. 'after_widget' => '</div>',
  525. 'before_title' => '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-food"></i></div><h3 class="widget_title_text">',
  526. @@ -1245,9 +1245,9 @@
  527. ));
  528.  
  529. register_sidebar(array(
  530. - 'name' => __('Footer Area Two', 'default'),
  531. + 'name' => __('Footer Area Two', 'dine-and-drink'),
  532. 'id' => 'sidebar-4',
  533. - 'description' => __('An optional widget area for your site footer', 'default'),
  534. + 'description' => __('An optional widget area for your site footer', 'dine-and-drink'),
  535. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  536. 'after_widget' => "</div>",
  537. 'before_title' => '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-food"></i></div><h3 class="widget_title_text">',
  538. @@ -1256,9 +1256,9 @@
  539. ));
  540.  
  541. register_sidebar(array(
  542. - 'name' => __('Footer Area Three', 'default'),
  543. + 'name' => __('Footer Area Three', 'dine-and-drink'),
  544. 'id' => 'sidebar-5',
  545. - 'description' => __('An optional widget area for your site footer', 'default'),
  546. + 'description' => __('An optional widget area for your site footer', 'dine-and-drink'),
  547. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  548. 'after_widget' => "</div>",
  549. 'before_title' => '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-food"></i></div><h3 class="widget_title_text">',
  550. @@ -1266,9 +1266,9 @@
  551. 'class' => '%d',
  552. ));
  553. register_sidebar(array(
  554. - 'name' => __('Sidebar', 'default'),
  555. + 'name' => __('Sidebar', 'dine-and-drink'),
  556. 'id' => 'mainsidebar-1',
  557. - 'description' => __('The sidebar for the optional Showcase Template', 'default'),
  558. + 'description' => __('The sidebar for the optional Showcase Template', 'dine-and-drink'),
  559. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  560. 'after_widget' => '</div>',
  561. 'before_title' => '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-food"></i></div><h3 class="widget_title_text">',
  562. @@ -1282,7 +1282,7 @@
  563. register_sidebar(array(
  564. 'name' => $value,
  565. 'id' => $name,
  566. - 'description' => __('The sidebar for the optional Showcase Template', 'default'),
  567. + 'description' => __('The sidebar for the optional Showcase Template', 'dine-and-drink'),
  568. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  569. 'after_widget' => '</div>',
  570. 'before_title' => '<div class="widget_title at_widget_title widget_title_background clearfix"><div class="widget_title_background_inner clearfix"><div class="widget_title_icon"></div><h3 class="widget_title_text">',
  571. @@ -1295,9 +1295,9 @@
  572. }
  573. /*
  574. register_sidebar(array(
  575. - 'name' => __('Footer Area Four', 'default'),
  576. + 'name' => __('Footer Area Four', 'dine-and-drink'),
  577. 'id' => 'sidebar-6',
  578. - 'description' => __('An optional widget area for your site footer', 'default'),
  579. + 'description' => __('An optional widget area for your site footer', 'dine-and-drink'),
  580. 'before_widget' => '<div id="%1$s" class="widget %2$s">',
  581. 'after_widget' => "</div>",
  582. 'before_title' => '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-food"></i></div><h3 class="widget_title_text">',
  583. @@ -1332,7 +1332,7 @@
  584. <li class="post pingback">
  585. <p>Pingback:
  586. <?php comment_author_link(); ?>
  587. - <?php edit_comment_link(__('Edit', 'default'), '<span class="edit-link">', '</span>'); ?>
  588. + <?php edit_comment_link(__('Edit', 'dine-and-drink'), '<span class="edit-link">', '</span>'); ?>
  589. </p>
  590. <?php
  591. break;
  592. @@ -1359,8 +1359,8 @@
  593. <div class="comment-author"> <a href="<?php echo get_comment_link($comment->comment_ID);?>"><?php echo get_comment_author_link(); ?></a> </div>
  594. <div class="comment-date"><span class="main-color"> | </span><?php echo get_comment_date()." at ".get_comment_time(); ?></div>
  595. <div class="comment-edit-reply">
  596. - <?php comment_reply_link(array_merge($args, array('reply_text' => __('Reply', 'default'), 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
  597. - <?php edit_comment_link(__('Edit', 'default'), '', ''); ?>
  598. + <?php comment_reply_link(array_merge($args, array('reply_text' => __('Reply', 'dine-and-drink'), 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
  599. + <?php edit_comment_link(__('Edit', 'dine-and-drink'), '', ''); ?>
  600. </div>
  601. </div>
  602. </div><!-- comment-content-->
  603. Only in dine-and-drink/at_functions: at_functions.php-original
  604. diff -ur dine-and-drink.original/at_functions/at_metaboxes.php dine-and-drink/at_functions/at_metaboxes.php
  605. --- dine-and-drink.original/at_functions/at_metaboxes.php 2014-05-21 15:11:26.000000000 +0200
  606. +++ dine-and-drink/at_functions/at_metaboxes.php 2014-08-21 11:58:26.862742997 +0200
  607. @@ -36,7 +36,7 @@
  608. echo '<tr>';
  609. echo '<td>';
  610. echo '<label for="at_post_layout"><b>';
  611. - echo __( 'Select Layout', 'default');
  612. + echo __( 'Select Layout', 'dine-and-drink');
  613. echo ' :</b></label></td>';
  614. echo '<td>';
  615. echo '<label><input name="at_post_layout" id="at_post_layout4" type="radio" value="4"'; checked(get_post_meta($post->ID, 'at_post_layout', TRUE), 4, true ); echo '/> Default</label>';
  616. @@ -48,7 +48,7 @@
  617. echo '<tr>';
  618. echo '<td>';
  619. echo '<div class="at_sidebar_div"><b>';
  620. - echo __( 'Choose Sidebar', 'default');
  621. + echo __( 'Choose Sidebar', 'dine-and-drink');
  622. echo ' :</b></div></td>';
  623. echo '<td>';
  624. echo '<div class="at_sidebar_div">';
  625. @@ -69,7 +69,7 @@
  626. echo '<tr>';
  627. echo '<td>';
  628. echo '<label for="at_post_author"><b>';
  629. - echo __( 'Show Author Infomation', 'default');
  630. + echo __( 'Show Author Infomation', 'dine-and-drink');
  631. echo ' :</b></label></td>';
  632. echo '<td>';
  633. echo '<input name="at_post_author" type="checkbox" '; checked(get_post_meta($post->ID, 'at_post_author', TRUE), 'true', true ); echo ' />';
  634. @@ -78,7 +78,7 @@
  635. echo '<tr>';
  636. echo '<td>';
  637. echo '<label for="at_post_social"><b>';
  638. - echo __( 'Show Social Share Icon', 'default');
  639. + echo __( 'Show Social Share Icon', 'dine-and-drink');
  640. echo ' :</b></label></td>';
  641. echo '<td>';
  642. echo '<input name="at_post_social" type="checkbox" '; checked(get_post_meta($post->ID, 'at_post_social', TRUE), 'true', true ); echo ' />';
  643. @@ -88,7 +88,7 @@
  644. echo '<tr>';
  645. echo '<td>';
  646. echo '<label for="at_post_featuretype"><b>';
  647. - echo __( 'Select Post Thumbnail Type', 'default');
  648. + echo __( 'Select Post Thumbnail Type', 'dine-and-drink');
  649. echo ' :</b></label></td>';
  650. echo '<td>';
  651. echo '<label><input name="at_post_featuretype" id="at_post_featuretype1" type="radio" value="1"'; checked(get_post_meta($post->ID, 'at_post_featuretype', TRUE), 1, true ); echo '/> Single Image</label>';
  652. @@ -99,7 +99,7 @@
  653. echo '<tr class="at_post_thumbimage" style="display:none">';
  654. echo '<td></td>';
  655. echo '<td>';
  656. - echo __( 'Use Feature Image', 'default');
  657. + echo __( 'Use Feature Image', 'dine-and-drink');
  658. echo '</td>';
  659. echo '</tr>';
  660.  
  661. @@ -190,7 +190,7 @@
  662. echo '<tr>';
  663. echo '<td>';
  664. echo '<div class="at_sidebar_div"><b>';
  665. - echo __( 'Choose Sidebar', 'default');
  666. + echo __( 'Choose Sidebar', 'dine-and-drink');
  667. echo ' :</b></div></td>';
  668. echo '<td>';
  669. echo '<div class="at_sidebar_div">';
  670. @@ -211,7 +211,7 @@
  671. echo '<tr>';
  672. echo '<td>';
  673. echo '<div class="at_sidebar_div"><b>';
  674. - echo __( 'Page Title Icon', 'default');
  675. + echo __( 'Page Title Icon', 'dine-and-drink');
  676. echo ' :</b></div></td>';
  677. echo '<td>';
  678. echo '<div class="at_sidebar_div">';
  679. @@ -249,13 +249,13 @@
  680. echo '<tr>';
  681. echo '<th width="25%" style="text-align:left; vertical-align:top; padding:10px;">';
  682. echo '<label for="at_videourl">';
  683. - echo __( 'HTML Video Embed Code', 'default');
  684. + echo __( 'HTML Video Embed Code', 'dine-and-drink');
  685. echo ' : </label></th>';
  686. echo '<td width="75%" style="text-align:left; vertical-align:top; padding:10px;">
  687. <textarea name="at_videourl" cols="50" rows="5" style="width:100%">'.$at_videourl.'</textarea>
  688. <br />';
  689. echo '<p class="howto">';
  690. - echo __( 'Enter the HTML Video Embed Code of the video, youtube or vimeo, etc.', 'default');
  691. + echo __( 'Enter the HTML Video Embed Code of the video, youtube or vimeo, etc.', 'dine-and-drink');
  692. echo '</td>';
  693. echo '</tr>';
  694. echo '</table>';
  695. @@ -275,7 +275,7 @@
  696. echo '<tr>';
  697. echo '<th width="25%" style="text-align:left; vertical-align:top; padding:10px;">';
  698. echo '<label for="at_recommend">';
  699. - echo __( 'Chef Recommended', 'default');
  700. + echo __( 'Chef Recommended', 'dine-and-drink');
  701. echo ' : </label></th>';
  702. echo '<td width="75%" style="text-align:left; vertical-align:central; padding:10px;">
  703. <input name="at_recommend" id="at_recommend" type="checkbox" style="vertical-align:auto;" ';
  704. @@ -292,7 +292,7 @@
  705. echo '<tr>';
  706. echo '<th width="25%" style="text-align:left; vertical-align:top; padding:10px;">';
  707. echo '<label for="at_videourl">';
  708. - echo __( 'Pricing (s)', 'default');
  709. + echo __( 'Pricing (s)', 'dine-and-drink');
  710. echo ' : </label></th>';
  711. echo '<td width="75%" style="text-align:left; vertical-align:top; padding:10px;">
  712. <input name="at_price" id="singleprice" type="radio" value="1" ';
  713. @@ -332,7 +332,7 @@
  714. echo '<tr>';
  715. echo '<td width="25%" style="text-align:left; vertical-align:top; padding:10px;">';
  716. echo '<label for="at_menu_meta_info">';
  717. - echo __( '<b>Badges, Signs or logos :</b>', 'default');
  718. + echo __( '<b>Badges, Signs or logos :</b>', 'dine-and-drink');
  719. echo '</label></td>';
  720. echo '<td width="75%" style="text-align:left; vertical-align:top; padding:10px;">';
  721.  
  722. @@ -363,7 +363,7 @@
  723. echo '<tr>';
  724. echo '<th width="25%" style="text-align:left; vertical-align:top; padding:10px;">';
  725. echo '<label for="at_foodlink">';
  726. - echo __( 'Enable Food Menu Link', 'default');
  727. + echo __( 'Enable Food Menu Link', 'dine-and-drink');
  728. echo ' : </label></th>';
  729. echo '<td width="75%" style="text-align:left; vertical-align:top; padding:10px;">
  730. <input name="at_foodlink" id="at_foodlink" type="checkbox" ';
  731. @@ -407,7 +407,7 @@
  732. echo '<tr>';
  733. echo '<td width="20%" style="padding:3px 10px;>';
  734. echo '<label for="at_slider_buttonlink"><b>';
  735. - echo __( 'URL Link', 'default');
  736. + echo __( 'URL Link', 'dine-and-drink');
  737. echo ' :</b></label></td>';
  738. echo '<td width="80%">
  739. <input type="text" id="at_slider_buttonlink" name="at_slider_buttonlink" value="'.$at_slider_buttonlink.'" style="width:100%;" />
  740. @@ -441,24 +441,24 @@
  741. echo '<tr>';
  742. echo '<td width="20%" style="padding:3px 10px;>';
  743. echo '<label for="at_testimonials_name">';
  744. - echo __( '<b>Name</b>', 'default');
  745. + echo __( '<b>Name</b>', 'dine-and-drink');
  746. echo ' : </label></td>';
  747. echo '<td width="80%">
  748. <input type="text" id="at_testimonials_name" name="at_testimonials_name" value="'.$at_testimonials_name.'" style="width:100%;" />
  749. <br />';
  750. - echo __('<p class="howto">Enter a Name.</p>', 'default');
  751. + echo __('<p class="howto">Enter a Name.</p>', 'dine-and-drink');
  752. echo '</td>';
  753. echo '</tr>';
  754.  
  755. echo '<tr>';
  756. echo '<td width="20%" style="padding:3px 10px;>';
  757. echo '<label for="at_testimonials_link">';
  758. - echo __( '<b>Link on the Name</b>', 'default');
  759. + echo __( '<b>Link on the Name</b>', 'dine-and-drink');
  760. echo ' : </label></td>';
  761. echo '<td width="80%">
  762. <input type="text" id="at_testimonials_link" name="at_testimonials_link" value="'.$at_testimonials_link.'" style="width:100%;" />
  763. <br />';
  764. - echo __('<p class="howto">Enter URL link, It will be link on the name.</p>', 'default');
  765. + echo __('<p class="howto">Enter URL link, It will be link on the name.</p>', 'dine-and-drink');
  766. echo '</td>';
  767. echo '</tr>';
  768.  
  769. diff -ur dine-and-drink.original/at_functions/at_options_page.php dine-and-drink/at_functions/at_options_page.php
  770. --- dine-and-drink.original/at_functions/at_options_page.php 2014-07-17 15:46:28.000000000 +0200
  771. +++ dine-and-drink/at_functions/at_options_page.php 2014-08-21 11:58:27.730743002 +0200
  772. @@ -72,13 +72,13 @@
  773. $options1 = array (
  774. ///////tab 1 General
  775. array(
  776. - "name" => __('Header Social Network', 'default'),
  777. + "name" => __('Header Social Network', 'dine-and-drink'),
  778. "type" => "heading",
  779. "tab" => "general",
  780. "open" => -1,
  781. "close" => -1),
  782. array(
  783. - "name" => __("Facebook", 'default'),
  784. + "name" => __("Facebook", 'dine-and-drink'),
  785. "id" => $shortname."_sociallink_fb",
  786. "type" => "text",
  787. "size" => 30,
  788. @@ -86,7 +86,7 @@
  789. "default" => "",
  790. "tab" => "general"),
  791. array(
  792. - "name" => __("Twitter", 'default'),
  793. + "name" => __("Twitter", 'dine-and-drink'),
  794. "id" => $shortname."_sociallink_tw",
  795. "type" => "text",
  796. "size" => 30,
  797. @@ -94,7 +94,7 @@
  798. "default" => "",
  799. "tab" => "general"),
  800. array(
  801. - "name" => __("Google Plus", 'default'),
  802. + "name" => __("Google Plus", 'dine-and-drink'),
  803. "id" => $shortname."_sociallink_gplus",
  804. "type" => "text",
  805. "size" => 30,
  806. @@ -102,7 +102,7 @@
  807. "default" => "",
  808. "tab" => "general"),
  809. array(
  810. - "name" => __("Linkedin", 'default'),
  811. + "name" => __("Linkedin", 'dine-and-drink'),
  812. "id" => $shortname."_sociallink_linkedin",
  813. "type" => "text",
  814. "size" => 30,
  815. @@ -110,7 +110,7 @@
  816. "default" => "",
  817. "tab" => "general"),
  818. array(
  819. - "name" => __("Pinterest", 'default'),
  820. + "name" => __("Pinterest", 'dine-and-drink'),
  821. "id" => $shortname."_sociallink_pinterest",
  822. "type" => "text",
  823. "size" => 30,
  824. @@ -118,7 +118,7 @@
  825. "default" => "",
  826. "tab" => "general"),
  827. /*array(
  828. - "name" => __("StumbleUpon", 'default'),
  829. + "name" => __("StumbleUpon", 'dine-and-drink'),
  830. "id" => $shortname."_sociallink_stumbleupon",
  831. "type" => "text",
  832. "size" => 30,
  833. @@ -126,7 +126,7 @@
  834. "default" => "",
  835. "tab" => "general"),*/
  836. array(
  837. - "name" => __("Dribbble", 'default'),
  838. + "name" => __("Dribbble", 'dine-and-drink'),
  839. "id" => $shortname."_sociallink_dribbble",
  840. "type" => "text",
  841. "size" => 30,
  842. @@ -134,7 +134,7 @@
  843. "default" => "",
  844. "tab" => "general"),
  845. array(
  846. - "name" => __("Tumblr", 'default'),
  847. + "name" => __("Tumblr", 'dine-and-drink'),
  848. "id" => $shortname."_sociallink_tumblr",
  849. "type" => "text",
  850. "size" => 30,
  851. @@ -142,7 +142,7 @@
  852. "default" => "",
  853. "tab" => "general"),
  854. array(
  855. - "name" => __("Youtube", 'default'),
  856. + "name" => __("Youtube", 'dine-and-drink'),
  857. "id" => $shortname."_sociallink_youtube",
  858. "type" => "text",
  859. "size" => 30,
  860. @@ -150,7 +150,7 @@
  861. "default" => "",
  862. "tab" => "general"),
  863. array(
  864. - "name" => __("Instagram", 'default'),
  865. + "name" => __("Instagram", 'dine-and-drink'),
  866. "id" => $shortname."_sociallink_instagram",
  867. "type" => "text",
  868. "size" => 30,
  869. @@ -158,7 +158,7 @@
  870. "default" => "",
  871. "tab" => "general"),
  872. array(
  873. - "name" => __("Flickr", 'default'),
  874. + "name" => __("Flickr", 'dine-and-drink'),
  875. "id" => $shortname."_sociallink_flickr",
  876. "type" => "text",
  877. "size" => 30,
  878. @@ -166,7 +166,7 @@
  879. "default" => "",
  880. "tab" => "general"),
  881. array(
  882. - "name" => __("Foursquare", 'default'),
  883. + "name" => __("Foursquare", 'dine-and-drink'),
  884. "id" => $shortname."_sociallink_foursquare",
  885. "type" => "text",
  886. "size" => 30,
  887. @@ -174,7 +174,7 @@
  888. "default" => "",
  889. "tab" => "general"),
  890. array(
  891. - "name" => __("Yelp", 'default'),
  892. + "name" => __("Yelp", 'dine-and-drink'),
  893. "id" => $shortname."_sociallink_yelp",
  894. "type" => "text",
  895. "size" => 30,
  896. @@ -182,7 +182,7 @@
  897. "default" => "",
  898. "tab" => "general"),
  899. array(
  900. - "name" => __("Tripadvisor", 'default'),
  901. + "name" => __("Tripadvisor", 'dine-and-drink'),
  902. "id" => $shortname."_sociallink_tripadvisor",
  903. "type" => "text",
  904. "size" => 30,
  905. @@ -190,39 +190,39 @@
  906. "default" => "",
  907. "tab" => "general"),
  908. array(
  909. - "name" => __("Responsive", 'default'),
  910. + "name" => __("Responsive", 'dine-and-drink'),
  911. "type" => "heading",
  912. "tab" => "general",
  913. "open" => -1,
  914. "close" => -1),
  915. array(
  916. - "name" => __("Enable Responsive Design", 'default'),
  917. + "name" => __("Enable Responsive Design", 'dine-and-drink'),
  918. "id" => $shortname."_resposive",
  919. "type" => "checkbox",
  920. "desc" => "Check to use Responsive Design that addapts to Tablet and Mobile Devices.",
  921. "default" => "true",
  922. "tab" => "general"),
  923. array(
  924. - "name" => __("Tracking Code", 'default'),
  925. + "name" => __("Tracking Code", 'dine-and-drink'),
  926. "type" => "heading",
  927. "tab" => "general",
  928. "open" => -1,
  929. "close" => -1),
  930. array(
  931. - "name" => __("Tracking Code (Google Analytic)", 'default'),
  932. + "name" => __("Tracking Code (Google Analytic)", 'dine-and-drink'),
  933. "desc" => "Paste your Google Analytics Tracking Code here. This will be added before the closing &lt;/head&gt; tag.",
  934. "id" => $shortname."_tracking",
  935. "type" => "textarea",
  936. "default" => "",
  937. "tab" => "general"),
  938. array(
  939. - "name" => __("Favicon", 'default'),
  940. + "name" => __("Favicon", 'dine-and-drink'),
  941. "type" => "heading",
  942. "tab" => "general",
  943. "open" => -1,
  944. "close" => -1),
  945. array(
  946. - "name" => __("Favicon", 'default'),
  947. + "name" => __("Favicon", 'dine-and-drink'),
  948. "desc" => "Upload a 16 x 16 px png/ico/gif image for your website's favicon.",
  949. "id" => $shortname."_favicon_url",
  950. "type" => "upload",
  951. @@ -233,13 +233,13 @@
  952.  
  953. ////////////font////////
  954. array(
  955. - "name" => __('GoogleWebFont Directory', 'default'),
  956. + "name" => __('GoogleWebFont Directory', 'dine-and-drink'),
  957. "type" => "heading",
  958. "tab" => "font",
  959. "open" => -1,
  960. "close" => -1),
  961. array(
  962. - "name" => __("Update Font List", 'default'),
  963. + "name" => __("Update Font List", 'dine-and-drink'),
  964. "text" => "Update Google Fonts",
  965. "desc" => "Click to update your Google font list.<br />Preview the fonts at <a href='http://www.google.com/fonts' target='_blank'>GoogleFont Directory</a>",
  966. "id" => $shortname."_load_google_font",
  967. @@ -247,7 +247,7 @@
  968. "type" => "formbutton",
  969. "tab" => "font"),
  970. array(
  971. - "name" => __('Headline Font Setting ', 'default'),
  972. + "name" => __('Headline Font Setting ', 'dine-and-drink'),
  973. "type" => "heading",
  974. "tab" => "font",
  975. "open" => -1,
  976. @@ -283,7 +283,7 @@
  977. "type" => "select",
  978. "tab" => "font"),
  979. array(
  980. - "name" => __('General Font Setting', 'default'),
  981. + "name" => __('General Font Setting', 'dine-and-drink'),
  982. "type" => "heading",
  983. "tab" => "font",
  984. "open" => -1,
  985. @@ -325,7 +325,7 @@
  986. "type" => "select",
  987. "tab" => "font"),
  988. array(
  989. - "name" => __('Top Navigation Font Setting', 'default'),
  990. + "name" => __('Top Navigation Font Setting', 'dine-and-drink'),
  991. "type" => "heading",
  992. "tab" => "font",
  993. "open" => -1,
  994. @@ -371,13 +371,13 @@
  995. ////////// overall elements
  996.  
  997. array(
  998. - "name" => __('Header', 'default'),
  999. + "name" => __('Header', 'dine-and-drink'),
  1000. "type" => "heading",
  1001. "tab" => "overallelements",
  1002. "open" => -1,
  1003. "close" => -1),
  1004. array(
  1005. - "name" => __("Header Logo", 'default'),
  1006. + "name" => __("Header Logo", 'dine-and-drink'),
  1007. "desc" => "Upload a logo for your theme or the image address of your online logo.<br /><br />If leave it blank, logo will not shown.",
  1008. "id" => $shortname."_logo_url",
  1009. "type" => "upload",
  1010. @@ -386,7 +386,7 @@
  1011. "class" => "btn at_admin_white_button",
  1012. "tab" => "overallelements"),
  1013. array(
  1014. - "name" => __("Logo Position Style", 'default'),
  1015. + "name" => __("Logo Position Style", 'dine-and-drink'),
  1016. "id" => $shortname."_logo_position",
  1017. "options" => array(1 => 'Above Menu Bar',
  1018. 2 => 'Overlap Menu Bar'),
  1019. @@ -395,7 +395,7 @@
  1020. "default" => 1,
  1021. "tab" => "overallelements"),
  1022. array(
  1023. - "name" => __("Logo Position From Top", 'default'),
  1024. + "name" => __("Logo Position From Top", 'dine-and-drink'),
  1025. "id" => $shortname."_logo_pos_top",
  1026. "type" => "text",
  1027. "desc" => "Enter logo position from top in pixels",
  1028. @@ -404,7 +404,7 @@
  1029. "optionclass" => '',
  1030. "tab" => "overallelements"),
  1031. array(
  1032. - "name" => __("Logo Position From Left", 'default'),
  1033. + "name" => __("Logo Position From Left", 'dine-and-drink'),
  1034. "id" => $shortname."_logo_pos_left",
  1035. "type" => "text",
  1036. "desc" => "Enter logo position from left in pixels.",
  1037. @@ -413,7 +413,7 @@
  1038. "optionclass" => 'above_menu',
  1039. "tab" => "overallelements"),
  1040. array(
  1041. - "name" => __("Top Area Height", 'default'),
  1042. + "name" => __("Top Area Height", 'dine-and-drink'),
  1043. "id" => $shortname."_top_height",
  1044. "type" => "text",
  1045. "desc" => "Enter Top Area Height in pixels<br />
  1046. @@ -423,7 +423,7 @@
  1047. "optionclass" => '',
  1048. "tab" => "overallelements"),
  1049. array(
  1050. - "name" => __("Logo Align", 'default'),
  1051. + "name" => __("Logo Align", 'dine-and-drink'),
  1052. "id" => $shortname."_logo_position_overlap",
  1053. "options" => array(1 => '<img src="'._IMG.'editor-logo-position-left.png" class="at_image_style_thumbnail" alt="logo-left" />',
  1054. 2 => '<img src="'._IMG.'editor-logo-position-center.png" class="at_image_style_thumbnail" alt="logo-center" />',
  1055. @@ -437,7 +437,7 @@
  1056. "optionclass" => 'overlap_menu',
  1057. "tab" => "overallelements"),
  1058. array(
  1059. - "name" => __("Logo Space", 'default'),
  1060. + "name" => __("Logo Space", 'dine-and-drink'),
  1061. "id" => $shortname."_logo_space",
  1062. "type" => "text",
  1063. "desc" => "Enter logo space in pixels use in Logo Position Style(Overlap Menu) Bar and Logo align center, menu align center",
  1064. @@ -448,20 +448,20 @@
  1065.  
  1066. ////reservation
  1067. array(
  1068. - "name" => __('Header Reservation', 'default'),
  1069. + "name" => __('Header Reservation', 'dine-and-drink'),
  1070. "type" => "heading",
  1071. "tab" => "overallelements",
  1072. "open" => -1,
  1073. "close" => -1),
  1074. array(
  1075. - "name" => __("Text", 'default'),
  1076. + "name" => __("Text", 'dine-and-drink'),
  1077. "id" => $shortname."_reservation_text",
  1078. "type" => "text",
  1079. "desc" => "Enter Text For Top Right Riboon in the header.<br /><br />If leave it blank, the ribbon will not show. ",
  1080. "default" => '',
  1081. "tab" => "overallelements"),
  1082. array(
  1083. - "name" => __("Link URL", 'default'),
  1084. + "name" => __("Link URL", 'dine-and-drink'),
  1085. "id" => $shortname."_reservation_url",
  1086. "type" => "text",
  1087. "desc" => "Enter Reservation Link URL",
  1088. @@ -469,27 +469,27 @@
  1089. "tab" => "overallelements"),
  1090. ////slider
  1091. array(
  1092. - "name" => __('Home Slider', 'default'),
  1093. + "name" => __('Home Slider', 'dine-and-drink'),
  1094. "type" => "heading",
  1095. "tab" => "overallelements",
  1096. "open" => -1,
  1097. "close" => -1),
  1098. array(
  1099. - "name" => __("Enable Slider", 'default'),
  1100. + "name" => __("Enable Slider", 'dine-and-drink'),
  1101. "id" => $shortname."_slider",
  1102. "type" => "checkbox",
  1103. "desc" => "Check to Enable Sllider.",
  1104. "default" => "false",
  1105. "tab" => "overallelements"),
  1106. array(
  1107. - "name" => __("Enable Autoplay", 'default'),
  1108. + "name" => __("Enable Autoplay", 'dine-and-drink'),
  1109. "id" => $shortname."_slider_auto_play",
  1110. "type" => "checkbox",
  1111. "desc" => "Check to Enable Autoplay.",
  1112. "default" => "false",
  1113. "tab" => "overallelements"),
  1114. array(
  1115. - "name" => __("Slider Style", 'default'),
  1116. + "name" => __("Slider Style", 'dine-and-drink'),
  1117. "id" => $shortname."_slider_style",
  1118. "options" => array(1 => '<img src="'._IMG.'editor-slider-full.png" class="at_slider_full at_image_style_thumbnail" width="80" height="60" alt="editor-slider-full" /> Full Width',
  1119. 2 => '<img src="'._IMG.'editor-slider-fit.png" class="at_slider_fit at_image_style_thumbnail" width="80" height="60" alt="editor-slider-fit" /> Fit 940px'),
  1120. @@ -498,14 +498,14 @@
  1121. "default" => 1,
  1122. "tab" => "overallelements"),
  1123. array(
  1124. - "name" => __("Slider Time Interval", 'default'),
  1125. + "name" => __("Slider Time Interval", 'dine-and-drink'),
  1126. "id" => $shortname."_slider_auto_play_ms",
  1127. "type" => "text",
  1128. "desc" => "Enter Animation Speed in Milliseconds. If leave it blank, it will use default speed (4000 ms).",
  1129. "default" => 4000,
  1130. "tab" => "overallelements"),
  1131. array(
  1132. - "name" => __("Enable Widget Overlap with Slider", 'default'),
  1133. + "name" => __("Enable Widget Overlap with Slider", 'dine-and-drink'),
  1134. "id" => $shortname."_slider_overlapse",
  1135. "type" => "checkbox",
  1136. "desc" => "Check to enable first home widget overlapse 60px on home slider.",
  1137. @@ -513,13 +513,13 @@
  1138. "tab" => "overallelements"),
  1139. /////sidebar
  1140. array(
  1141. - "name" => __('Unlimited Sidebars', 'default'),
  1142. + "name" => __('Unlimited Sidebars', 'dine-and-drink'),
  1143. "type" => "heading",
  1144. "tab" => "overallelements",
  1145. "open" => -1,
  1146. "close" => -1),
  1147. array(
  1148. - "name" => __("Choose", 'default'),
  1149. + "name" => __("Choose", 'dine-and-drink'),
  1150. "type" => "add_text_open_sidebar",
  1151. "tab" => "overallelements",
  1152. "close" => -1)
  1153. @@ -567,13 +567,13 @@
  1154. "open" => -1),
  1155. ////footer
  1156. array(
  1157. - "name" => __('Footer', 'default'),
  1158. + "name" => __('Footer', 'dine-and-drink'),
  1159. "type" => "heading",
  1160. "tab" => "overallelements",
  1161. "open" => -1,
  1162. "close" => -1),
  1163. array(
  1164. - "name" => __("Choose Footer style", 'default'),
  1165. + "name" => __("Choose Footer style", 'dine-and-drink'),
  1166. "id" => $shortname."_footer_style",
  1167. "options" => array(1 => '<img src="'._IMG.'editor-footer_1-1-1.png" class="at_image_style_thumbnail" width="80" height="28" alt="footer_1-1-1" />',
  1168. 2 => '<img src="'._IMG.'editor-footer_2-1.png" class="at_image_style_thumbnail" width="80" height="28" alt="footer_2-1" />',
  1169. @@ -584,7 +584,7 @@
  1170. "default" => 1,
  1171. "tab" => "overallelements"),
  1172. array(
  1173. - "name" => __("Copyright", 'default'),
  1174. + "name" => __("Copyright", 'dine-and-drink'),
  1175. "id" => $shortname."_footer_text",
  1176. "type" => "textarea",
  1177. "desc" => "Custom HTML copyright Text that will show in the Footer. <br /><br /> If leave it blank, the copyright area will not show.",
  1178. @@ -596,13 +596,13 @@
  1179. ////== 4. Elements Color ==
  1180. ////1. Top Header
  1181. array(
  1182. - "name" => __('Header', 'default'),
  1183. + "name" => __('Header', 'dine-and-drink'),
  1184. "type" => "heading",
  1185. "tab" => "color",
  1186. "open" => -1,
  1187. "close" => -1),
  1188. array(
  1189. - "name" => __('Header Background Color', 'default'),
  1190. + "name" => __('Header Background Color', 'dine-and-drink'),
  1191. "id" => $shortname."_header_bg_color",
  1192. "type" => "special_colorpicker",
  1193. "desc" => "Header background color included main menu area.",
  1194. @@ -610,7 +610,7 @@
  1195. "class" => 'input_with_color_selector',
  1196. "tab" => "color"),
  1197. array(
  1198. - "name" => __("Header Background Image", 'default'),
  1199. + "name" => __("Header Background Image", 'dine-and-drink'),
  1200. "desc" => "Upload a image for your header background. (included main menu area)",
  1201. "id" => $shortname."_header_bg_img",
  1202. "type" => "upload",
  1203. @@ -657,7 +657,7 @@
  1204. "type" => "select",
  1205. "tab" => "color"),
  1206. array(
  1207. - "name" => __('Header Social Icon Background Color ', 'default'),
  1208. + "name" => __('Header Social Icon Background Color ', 'dine-and-drink'),
  1209. "id" => $shortname."_header_social",
  1210. "type" => "special_colorpicker",
  1211. "desc" => "",
  1212. @@ -665,7 +665,7 @@
  1213. "class" => 'input_with_color_selector',
  1214. "tab" => "color"),
  1215. array(
  1216. - "name" => __('Header Social Icon Color', 'default'),
  1217. + "name" => __('Header Social Icon Color', 'dine-and-drink'),
  1218. "id" => $shortname."_header_social_text",
  1219. "type" => "special_colorpicker",
  1220. "desc" => "",
  1221. @@ -674,7 +674,7 @@
  1222. "tab" => "color"),
  1223.  
  1224. array(
  1225. - "name" => __('Header Dotted Line Color ', 'default'),
  1226. + "name" => __('Header Dotted Line Color ', 'dine-and-drink'),
  1227. "id" => $shortname."_header_dotline",
  1228. "type" => "special_colorpicker",
  1229. "desc" => "Dotted line above main menu <br />
  1230. @@ -685,13 +685,13 @@
  1231.  
  1232. ///2 Main menu
  1233. array(
  1234. - "name" => __('Main Navigation Menu', 'default'),
  1235. + "name" => __('Main Navigation Menu', 'dine-and-drink'),
  1236. "type" => "heading",
  1237. "tab" => "color",
  1238. "open" => -1,
  1239. "close" => -1),
  1240. array(
  1241. - "name" => __('Main Navigation Bar Background color', 'default'),
  1242. + "name" => __('Main Navigation Bar Background color', 'dine-and-drink'),
  1243. "id" => $shortname."_lv1_bg",
  1244. "type" => "special_colorpicker",
  1245. "desc" => "",
  1246. @@ -699,7 +699,7 @@
  1247. "class" => 'input_with_color_selector',
  1248. "tab" => "color"),
  1249. array(
  1250. - "name" => __('Main Navigation Text Color', 'default'),
  1251. + "name" => __('Main Navigation Text Color', 'dine-and-drink'),
  1252. "id" => $shortname."_lv1_link",
  1253. "type" => "special_colorpicker",
  1254. "desc" => "This is the text color of the main navigation in normal stage",
  1255. @@ -707,7 +707,7 @@
  1256. "class" => 'input_with_color_selector',
  1257. "tab" => "color"),
  1258. array(
  1259. - "name" => __('Main Navigation Text Hover Color', 'default'),
  1260. + "name" => __('Main Navigation Text Hover Color', 'dine-and-drink'),
  1261. "id" => $shortname."_lv1_hover",
  1262. "type" => "special_colorpicker",
  1263. "desc" => "This is the text color of the main navigation in hover stage",
  1264. @@ -715,7 +715,7 @@
  1265. "class" => 'input_with_color_selector',
  1266. "tab" => "color"),
  1267. array(
  1268. - "name" => __('Sub Navigation Background color', 'default'),
  1269. + "name" => __('Sub Navigation Background color', 'dine-and-drink'),
  1270. "id" => $shortname."_lv2_bg",
  1271. "type" => "special_colorpicker",
  1272. "desc" => "",
  1273. @@ -723,7 +723,7 @@
  1274. "class" => 'input_with_color_selector',
  1275. "tab" => "color"),
  1276. array(
  1277. - "name" => __('Sub Navigation Text Color', 'default'),
  1278. + "name" => __('Sub Navigation Text Color', 'dine-and-drink'),
  1279. "id" => $shortname."_lv2_link",
  1280. "type" => "special_colorpicker",
  1281. "desc" => "This is the text color of the sub navigation in normal stage",
  1282. @@ -731,7 +731,7 @@
  1283. "class" => 'input_with_color_selector',
  1284. "tab" => "color"),
  1285. array(
  1286. - "name" => __('Sub Navigation Text Hover Color', 'default'),
  1287. + "name" => __('Sub Navigation Text Hover Color', 'dine-and-drink'),
  1288. "id" => $shortname."_lv2_hover",
  1289. "type" => "special_colorpicker",
  1290. "desc" => "This is the text color of the sub navigation in hover stage",
  1291. @@ -739,7 +739,7 @@
  1292. "class" => 'input_with_color_selector',
  1293. "tab" => "color"),
  1294. array(
  1295. - "name" => __('Sub Navigation Background Opacity' , 'default'),
  1296. + "name" => __('Sub Navigation Background Opacity' , 'dine-and-drink'),
  1297. "id" => $shortname."_bg_opacity",
  1298. "type" => "text",
  1299. "desc" => "Enter Number from 0.0 to 1.0 for sub navigation background opacity<br /> default is 0.8 ",
  1300. @@ -748,13 +748,13 @@
  1301.  
  1302. ///3. Body
  1303. array(
  1304. - "name" => __('Body', 'default'),
  1305. + "name" => __('Body', 'dine-and-drink'),
  1306. "type" => "heading",
  1307. "tab" => "color",
  1308. "open" => -1,
  1309. "close" => -1),
  1310. array(
  1311. - "name" => __('Body Background Color', 'default'),
  1312. + "name" => __('Body Background Color', 'dine-and-drink'),
  1313. "id" => $shortname."_body_bg_color",
  1314. "type" => "special_colorpicker",
  1315. "desc" => "Body Background Color",
  1316. @@ -762,7 +762,7 @@
  1317. "class" => 'input_with_color_selector',
  1318. "tab" => "color"),
  1319. array(
  1320. - "name" => __("Body Background Image", 'default'),
  1321. + "name" => __("Body Background Image", 'dine-and-drink'),
  1322. "desc" => "Upload a image for your body background.",
  1323. "id" => $shortname."_body_bg_img",
  1324. "type" => "upload",
  1325. @@ -808,7 +808,7 @@
  1326. "type" => "select",
  1327. "tab" => "color"),
  1328. array(
  1329. - "name" => __('Page Title Ribbon Color', 'default'),
  1330. + "name" => __('Page Title Ribbon Color', 'dine-and-drink'),
  1331. "id" => $shortname."_body_color_ribbon",
  1332. "type" => "special_colorpicker",
  1333. "desc" => "",
  1334. @@ -816,7 +816,7 @@
  1335. "class" => 'input_with_color_selector',
  1336. "tab" => "color"),
  1337. array(
  1338. - "name" => __('Page Title Ribbon Icon Color', 'default'),
  1339. + "name" => __('Page Title Ribbon Icon Color', 'dine-and-drink'),
  1340. "id" => $shortname."_body_color_ribbon_icon",
  1341. "type" => "special_colorpicker",
  1342. "desc" => "",
  1343. @@ -824,7 +824,7 @@
  1344. "class" => 'input_with_color_selector',
  1345. "tab" => "color"),
  1346. array(
  1347. - "name" => __('Page Title Text Color', 'default'),
  1348. + "name" => __('Page Title Text Color', 'dine-and-drink'),
  1349. "id" => $shortname."_body_color_title",
  1350. "type" => "special_colorpicker",
  1351. "desc" => "",
  1352. @@ -832,7 +832,7 @@
  1353. "class" => 'input_with_color_selector',
  1354. "tab" => "color"),
  1355. array(
  1356. - "name" => __('Body Dotted Line Color', 'default'),
  1357. + "name" => __('Body Dotted Line Color', 'dine-and-drink'),
  1358. "id" => $shortname."_body_color_dotline",
  1359. "type" => "special_colorpicker",
  1360. "desc" => "Dotted line color on body background area.",
  1361. @@ -841,7 +841,7 @@
  1362. "tab" => "color"),
  1363.  
  1364. array(
  1365. - "name" => __('Page Navigation Text Color', 'default'),
  1366. + "name" => __('Page Navigation Text Color', 'dine-and-drink'),
  1367. "id" => $shortname."_body_color_pagenavi_text",
  1368. "type" => "special_colorpicker",
  1369. "desc" => "This is the text color of the page navigation in normal stage",
  1370. @@ -849,7 +849,7 @@
  1371. "class" => 'input_with_color_selector',
  1372. "tab" => "color"),
  1373. array(
  1374. - "name" => __('Page Navigation Text Hover Color', 'default'),
  1375. + "name" => __('Page Navigation Text Hover Color', 'dine-and-drink'),
  1376. "id" => $shortname."_body_color_pagenavi_text_hover",
  1377. "type" => "special_colorpicker",
  1378. "desc" => "This is the text color of the page navigation in hover stage",
  1379. @@ -857,7 +857,7 @@
  1380. "class" => 'input_with_color_selector',
  1381. "tab" => "color"),
  1382. array(
  1383. - "name" => __('Page Navigation Background Color', 'default'),
  1384. + "name" => __('Page Navigation Background Color', 'dine-and-drink'),
  1385. "id" => $shortname."_body_color_pagenavi_bg",
  1386. "type" => "special_colorpicker",
  1387. "desc" => "This is the background color of the page navigation in normal stage",
  1388. @@ -865,7 +865,7 @@
  1389. "class" => 'input_with_color_selector',
  1390. "tab" => "color"),
  1391. array(
  1392. - "name" => __('Page Navigation Background Hover Color', 'default'),
  1393. + "name" => __('Page Navigation Background Hover Color', 'dine-and-drink'),
  1394. "id" => $shortname."_body_color_pagenavi_bg_hover",
  1395. "type" => "special_colorpicker",
  1396. "desc" => "This is the background color of the page navigation in normal stage",
  1397. @@ -876,13 +876,13 @@
  1398. ///4. Sidebar
  1399.  
  1400. array(
  1401. - "name" => __('Sidebar', 'default'),
  1402. + "name" => __('Sidebar', 'dine-and-drink'),
  1403. "type" => "heading",
  1404. "tab" => "color",
  1405. "open" => -1,
  1406. "close" => -1),
  1407. array(
  1408. - "name" => __('Sidebar Ribbon Color', 'default'),
  1409. + "name" => __('Sidebar Ribbon Color', 'dine-and-drink'),
  1410. "id" => $shortname."_sidebar_color_ribbon",
  1411. "type" => "special_colorpicker",
  1412. "desc" => "",
  1413. @@ -890,7 +890,7 @@
  1414. "class" => 'input_with_color_selector',
  1415. "tab" => "color"),
  1416. array(
  1417. - "name" => __('Sidebar Ribbon Icon Color', 'default'),
  1418. + "name" => __('Sidebar Ribbon Icon Color', 'dine-and-drink'),
  1419. "id" => $shortname."_sidebar_color_ribbon_icon",
  1420. "type" => "special_colorpicker",
  1421. "desc" => "",
  1422. @@ -898,7 +898,7 @@
  1423. "class" => 'input_with_color_selector',
  1424. "tab" => "color"),
  1425. array(
  1426. - "name" => __('Sidebar Widget Title Color', 'default'),
  1427. + "name" => __('Sidebar Widget Title Color', 'dine-and-drink'),
  1428. "id" => $shortname."_sidebar_color_title",
  1429. "type" => "special_colorpicker",
  1430. "desc" => "",
  1431. @@ -909,13 +909,13 @@
  1432. ///4. content
  1433.  
  1434. array(
  1435. - "name" => __('Content', 'default'),
  1436. + "name" => __('Content', 'dine-and-drink'),
  1437. "type" => "heading",
  1438. "tab" => "color",
  1439. "open" => -1,
  1440. "close" => -1),
  1441. array(
  1442. - "name" => __('Content Background Color', 'default'),
  1443. + "name" => __('Content Background Color', 'dine-and-drink'),
  1444. "id" => $shortname."_content_color_bg",
  1445. "type" => "special_colorpicker",
  1446. "desc" => "background color of text content box",
  1447. @@ -923,7 +923,7 @@
  1448. "class" => 'input_with_color_selector',
  1449. "tab" => "color"),
  1450. array(
  1451. - "name" => __('Content Box Shadow Color', 'default'),
  1452. + "name" => __('Content Box Shadow Color', 'dine-and-drink'),
  1453. "id" => $shortname."_content_color_box_shadow",
  1454. "type" => "special_colorpicker",
  1455. "desc" => "",
  1456. @@ -931,7 +931,7 @@
  1457. "class" => 'input_with_color_selector',
  1458. "tab" => "color"),
  1459. array(
  1460. - "name" => __('Content Ribbon And Icon Background Color', 'default'),
  1461. + "name" => __('Content Ribbon And Icon Background Color', 'dine-and-drink'),
  1462. "id" => $shortname."_content_color_ribbon",
  1463. "type" => "special_colorpicker",
  1464. "desc" => "This is a color of ribbon, icon, some main elements in content <br />Ex. h1, h2, h3, h4, h5, h6, some title text etc.",
  1465. @@ -939,7 +939,7 @@
  1466. "class" => 'input_with_color_selector',
  1467. "tab" => "color"),
  1468. array(
  1469. - "name" => __('Cotent Ribbon Icon Color', 'default'),
  1470. + "name" => __('Cotent Ribbon Icon Color', 'dine-and-drink'),
  1471. "id" => $shortname."_content_color_ribbon_icon",
  1472. "type" => "special_colorpicker",
  1473. "desc" => "",
  1474. @@ -947,7 +947,7 @@
  1475. "class" => 'input_with_color_selector',
  1476. "tab" => "color"),
  1477. array(
  1478. - "name" => __('Content Dotted Line Color', 'default'),
  1479. + "name" => __('Content Dotted Line Color', 'dine-and-drink'),
  1480. "id" => $shortname."_content_color_dotline",
  1481. "type" => "special_colorpicker",
  1482. "desc" => "color of line and divider on content box area.",
  1483. @@ -955,7 +955,7 @@
  1484. "class" => 'input_with_color_selector',
  1485. "tab" => "color"),
  1486. array(
  1487. - "name" => __('General Text Color', 'default'),
  1488. + "name" => __('General Text Color', 'dine-and-drink'),
  1489. "id" => $shortname."_content_color_normal_text",
  1490. "type" => "special_colorpicker",
  1491. "desc" => "",
  1492. @@ -963,7 +963,7 @@
  1493. "class" => 'input_with_color_selector',
  1494. "tab" => "color"),
  1495. array(
  1496. - "name" => __('General Link Color', 'default'),
  1497. + "name" => __('General Link Color', 'dine-and-drink'),
  1498. "id" => $shortname."_content_color_normal_text_link",
  1499. "type" => "special_colorpicker",
  1500. "desc" => "This is the color of text link, header reservation background, button ",
  1501. @@ -971,7 +971,7 @@
  1502. "class" => 'input_with_color_selector',
  1503. "tab" => "color"),
  1504. array(
  1505. - "name" => __('General Link Hover Color', 'default'),
  1506. + "name" => __('General Link Hover Color', 'dine-and-drink'),
  1507. "id" => $shortname."_content_color_normal_text_link_hover",
  1508. "type" => "special_colorpicker",
  1509. "desc" => "This is the color of text link hover, header reservation hover background, button hover, tag background color ",
  1510. @@ -979,7 +979,7 @@
  1511. "class" => 'input_with_color_selector',
  1512. "tab" => "color"),
  1513. array(
  1514. - "name" => __('Read more Text Color', 'default'),
  1515. + "name" => __('Read more Text Color', 'dine-and-drink'),
  1516. "id" => $shortname."_content_color_readmore_text",
  1517. "type" => "special_colorpicker",
  1518. "desc" => "This is the text color of the readmore in normal stage",
  1519. @@ -987,7 +987,7 @@
  1520. "class" => 'input_with_color_selector',
  1521. "tab" => "color"),
  1522. array(
  1523. - "name" => __('Read more Text Hover Color', 'default'),
  1524. + "name" => __('Read more Text Hover Color', 'dine-and-drink'),
  1525. "id" => $shortname."_content_color_readmore_text_hover",
  1526. "type" => "special_colorpicker",
  1527. "desc" => "This is the text color of the readmore in hover stage",
  1528. @@ -996,7 +996,7 @@
  1529. "tab" => "color"),
  1530.  
  1531. array(
  1532. - "name" => __('Read more Background Color', 'default'),
  1533. + "name" => __('Read more Background Color', 'dine-and-drink'),
  1534. "id" => $shortname."_content_color_readmore_bg",
  1535. "type" => "special_colorpicker",
  1536. "desc" => "This is the background color of the readmore in normal stage",
  1537. @@ -1005,7 +1005,7 @@
  1538. "tab" => "color"),
  1539.  
  1540. array(
  1541. - "name" => __('Read more Background Hover Color', 'default'),
  1542. + "name" => __('Read more Background Hover Color', 'dine-and-drink'),
  1543. "id" => $shortname."_content_color_readmore_bg_hover",
  1544. "type" => "special_colorpicker",
  1545. "desc" => "This is the background color of the readmore in hover stage",
  1546. @@ -1013,7 +1013,7 @@
  1547. "class" => 'input_with_color_selector',
  1548. "tab" => "color"),
  1549. array(
  1550. - "name" => __("Read More Text", 'default'),
  1551. + "name" => __("Read More Text", 'dine-and-drink'),
  1552. "id" => $shortname."_content_readmore_text",
  1553. "type" => "text",
  1554. "desc" => "Enter the text for 'read more' link for post. <br />If leave it blank, it will use 'Read More' ' ",
  1555. @@ -1023,14 +1023,14 @@
  1556. ///6. Footer
  1557.  
  1558. array(
  1559. - "name" => __('Footer Widgets Area', 'default'),
  1560. + "name" => __('Footer Widgets Area', 'dine-and-drink'),
  1561. "type" => "heading",
  1562. "tab" => "color",
  1563. "open" => -1,
  1564. "close" => -1),
  1565.  
  1566. array(
  1567. - "name" => __('Footer Background Color', 'default'),
  1568. + "name" => __('Footer Background Color', 'dine-and-drink'),
  1569. "id" => $shortname."_footer_color_bg",
  1570. "type" => "special_colorpicker",
  1571. "desc" => "",
  1572. @@ -1038,7 +1038,7 @@
  1573. "class" => 'input_with_color_selector',
  1574. "tab" => "color"),
  1575. array(
  1576. - "name" => __('Footer Ribbon Color', 'default'),
  1577. + "name" => __('Footer Ribbon Color', 'dine-and-drink'),
  1578. "id" => $shortname."_footer_color_ribbon",
  1579. "type" => "special_colorpicker",
  1580. "desc" => "This is a color of ribbon, icon, some main elements in footer area <br />Ex. h1, h2, h3, h4, h5, h6, some title text etc.",
  1581. @@ -1046,7 +1046,7 @@
  1582. "class" => 'input_with_color_selector',
  1583. "tab" => "color"),
  1584. array(
  1585. - "name" => __('Footer Ribbon Icon Color', 'default'),
  1586. + "name" => __('Footer Ribbon Icon Color', 'dine-and-drink'),
  1587. "id" => $shortname."_footer_color_ribbon_icon",
  1588. "type" => "special_colorpicker",
  1589. "desc" => "",
  1590. @@ -1054,7 +1054,7 @@
  1591. "class" => 'input_with_color_selector',
  1592. "tab" => "color"),
  1593. array(
  1594. - "name" => __('Footer Dotted Line Color', 'default'),
  1595. + "name" => __('Footer Dotted Line Color', 'dine-and-drink'),
  1596. "id" => $shortname."_footer_color_dotline",
  1597. "type" => "special_colorpicker",
  1598. "desc" => "Dotted line color.",
  1599. @@ -1062,7 +1062,7 @@
  1600. "class" => 'input_with_color_selector',
  1601. "tab" => "color"),
  1602. array(
  1603. - "name" => __('Footer Widget Title Color', 'default'),
  1604. + "name" => __('Footer Widget Title Color', 'dine-and-drink'),
  1605. "id" => $shortname."_footer_color_title",
  1606. "type" => "special_colorpicker",
  1607. "desc" => "",
  1608. @@ -1070,7 +1070,7 @@
  1609. "class" => 'input_with_color_selector',
  1610. "tab" => "color"),
  1611. array(
  1612. - "name" => __('Footer Normal Text Color', 'default'),
  1613. + "name" => __('Footer Normal Text Color', 'dine-and-drink'),
  1614. "id" => $shortname."_footer_color_text",
  1615. "type" => "special_colorpicker",
  1616. "desc" => "This is the text color of the footer.",
  1617. @@ -1078,7 +1078,7 @@
  1618. "class" => 'input_with_color_selector',
  1619. "tab" => "color"),
  1620. array(
  1621. - "name" => __('Footer Link Color', 'default'),
  1622. + "name" => __('Footer Link Color', 'dine-and-drink'),
  1623. "id" => $shortname."_footer_color_link",
  1624. "type" => "special_colorpicker",
  1625. "desc" => "This is the link color of the footer in normal stage.",
  1626. @@ -1086,7 +1086,7 @@
  1627. "class" => 'input_with_color_selector',
  1628. "tab" => "color"),
  1629. array(
  1630. - "name" => __('Footer Link Hover Color', 'default'),
  1631. + "name" => __('Footer Link Hover Color', 'dine-and-drink'),
  1632. "id" => $shortname."_footer_color_link_hover",
  1633. "type" => "special_colorpicker",
  1634. "desc" => "This is the link color of the footer in hover stage.",
  1635. @@ -1097,13 +1097,13 @@
  1636. ///7. Copyright
  1637.  
  1638. array(
  1639. - "name" => __('Footer Copyright', 'default'),
  1640. + "name" => __('Footer Copyright', 'dine-and-drink'),
  1641. "type" => "heading",
  1642. "tab" => "color",
  1643. "open" => -1,
  1644. "close" => -1),
  1645. array(
  1646. - "name" => __('Footer Copyright Background Color', 'default'),
  1647. + "name" => __('Footer Copyright Background Color', 'dine-and-drink'),
  1648. "id" => $shortname."_copyright_color_bg",
  1649. "type" => "special_colorpicker",
  1650. "desc" => "",
  1651. @@ -1111,7 +1111,7 @@
  1652. "class" => 'input_with_color_selector',
  1653. "tab" => "color"),
  1654. array(
  1655. - "name" => __('Footer Copyright Normal Text Color', 'default'),
  1656. + "name" => __('Footer Copyright Normal Text Color', 'dine-and-drink'),
  1657. "id" => $shortname."_copyright_color_text",
  1658. "type" => "special_colorpicker",
  1659. "desc" => "This is the text color of the footer copyright.",
  1660. @@ -1119,7 +1119,7 @@
  1661. "class" => 'input_with_color_selector',
  1662. "tab" => "color"),
  1663. array(
  1664. - "name" => __('Footer Copyright Link Color', 'default'),
  1665. + "name" => __('Footer Copyright Link Color', 'dine-and-drink'),
  1666. "id" => $shortname."_copyright_color_link",
  1667. "type" => "special_colorpicker",
  1668. "desc" => "This is the link color of the footer copyright in normal stage.",
  1669. @@ -1127,7 +1127,7 @@
  1670. "class" => 'input_with_color_selector',
  1671. "tab" => "color"),
  1672. array(
  1673. - "name" => __('Footer Copyright Link Hover Color', 'default'),
  1674. + "name" => __('Footer Copyright Link Hover Color', 'dine-and-drink'),
  1675. "id" => $shortname."_copyright_color_link_hover",
  1676. "type" => "special_colorpicker",
  1677. "desc" => "This is the link color of the footer copyright in hover stage.",
  1678. @@ -1139,7 +1139,7 @@
  1679. //////== 5. Food Menu ==
  1680. ////Style
  1681. array(
  1682. - "name" => __('Style', 'default'),
  1683. + "name" => __('Style', 'dine-and-drink'),
  1684. "type" => "heading",
  1685. "tab" => "foodmenu",
  1686. "close" => -1),
  1687. @@ -1148,7 +1148,7 @@
  1688.  
  1689. $options12 = array();
  1690. array_push($options12,array(
  1691. - "name" => __("Food Menu Style", 'default'),
  1692. + "name" => __("Food Menu Style", 'dine-and-drink'),
  1693. "type" => "drag_drop_open",
  1694. "tab" => "foodmenu",
  1695. "open" => -1,
  1696. @@ -1198,7 +1198,7 @@
  1697. /////5. Recommended menu (on/off) ?
  1698. $options13 = array(
  1699. array(
  1700. - "name" => __("Enable Recommended Menu", 'default'),
  1701. + "name" => __("Enable Recommended Menu", 'dine-and-drink'),
  1702. "id" => $shortname."_recommendmenu",
  1703. "type" => "checkbox",
  1704. "desc" => "Check to Show Recommended Menu.<br /><br />
  1705. @@ -1209,7 +1209,7 @@
  1706. "default" => "true",
  1707. "tab" => "foodmenu"),
  1708. array(
  1709. - "name" => __("Recommended Menu Icon", 'default'),
  1710. + "name" => __("Recommended Menu Icon", 'dine-and-drink'),
  1711. "id" => $shortname."_recommendmenu_icon",
  1712. "type" => "text",
  1713. "desc" => "Recommended Menu Icon will display in Single Food menu item, Food Menu category and AT - Home Food Menu widget<br>
  1714. @@ -1217,7 +1217,7 @@
  1715. "default" => "icon-thumbs-up",
  1716. "tab" => "foodmenu"),
  1717. array(
  1718. - "name" => __("Recommended Menu Text", 'default'),
  1719. + "name" => __("Recommended Menu Text", 'dine-and-drink'),
  1720. "id" => $shortname."_recommendmenu_text",
  1721. "type" => "text",
  1722. "desc" => "Recommended Menu Text will display in Single Food menu item and First filter of Menu category in jQuery Isotope Style<br>
  1723. @@ -1226,13 +1226,13 @@
  1724. "tab" => "foodmenu"),
  1725. /////Food Menu Categories List
  1726. array(
  1727. - "name" => __("Food Menu Categories Order", 'default'),
  1728. + "name" => __("Food Menu Categories Order", 'dine-and-drink'),
  1729. "type" => "heading",
  1730. "tab" => "foodmenu",
  1731. "open" => -1,
  1732. "close" => -1),
  1733. array(
  1734. - "name" => __("Food Menu Categories Order", 'default'),
  1735. + "name" => __("Food Menu Categories Order", 'dine-and-drink'),
  1736. "type" => "drag_drop_open",
  1737. "tab" => "foodmenu",
  1738. "close" => -1)
  1739. @@ -1289,7 +1289,7 @@
  1740. $alldefault = implode(',',$all_food_cate);
  1741. }
  1742. array_push($options7,array(
  1743. - "name" => __("", 'default'),
  1744. + "name" => __("", 'dine-and-drink'),
  1745. "type" => "drag_drop_open_ul",
  1746. "id" => $shortname."_all_food_cate".$cate_parent->term_id,
  1747. "parent" => $cate_parent->name,
  1748. @@ -1332,13 +1332,13 @@
  1749. "tab" => "foodmenu",
  1750. "open" => -1),
  1751. array(
  1752. - "name" => __("Badge / Sign or Icon", 'default'),
  1753. + "name" => __("Badge / Sign or Icon", 'dine-and-drink'),
  1754. "type" => "heading",
  1755. "tab" => "foodmenu",
  1756. "open" => -1,
  1757. "close" => -1),
  1758. array(
  1759. - "name" => __("Choose", 'default'),
  1760. + "name" => __("Choose", 'dine-and-drink'),
  1761. "type" => "add_remove_open",
  1762. "tab" => "foodmenu",
  1763. "close" => -1)
  1764. @@ -1399,13 +1399,13 @@
  1765. "open" => -1),
  1766.  
  1767. array(
  1768. - "name" => __("Additional Pricing", 'default'),
  1769. + "name" => __("Additional Pricing", 'dine-and-drink'),
  1770. "type" => "heading",
  1771. "tab" => "foodmenu",
  1772. "open" => -1,
  1773. "close" => -1),
  1774. array(
  1775. - "name" => __("Choose", 'default'),
  1776. + "name" => __("Choose", 'dine-and-drink'),
  1777. "type" => "add_text_open",
  1778. "tab" => "foodmenu",
  1779. "close" => -1)
  1780. @@ -1451,13 +1451,13 @@
  1781. "open" => -1),
  1782. ////Single Food Menu
  1783. array(
  1784. - "name" => __("Food Menu Title Icon", 'default'),
  1785. + "name" => __("Food Menu Title Icon", 'dine-and-drink'),
  1786. "type" => "heading",
  1787. "tab" => "foodmenu",
  1788. "open" => -1,
  1789. "close" => -1),
  1790. array(
  1791. - "name" => __("Food Menu Title Icon", 'default'),
  1792. + "name" => __("Food Menu Title Icon", 'dine-and-drink'),
  1793. "id" => $shortname."_menu_title_icon",
  1794. "type" => "text",
  1795. "desc" => "Enter Icon for Page Title of Food Menu Category and Single Food Menu<br />ex. icon-food",
  1796. @@ -1465,13 +1465,13 @@
  1797. "tab" => "foodmenu"),
  1798.  
  1799. array(
  1800. - "name" => __(" Food Menu Slider", 'default'),
  1801. + "name" => __(" Food Menu Slider", 'dine-and-drink'),
  1802. "type" => "heading",
  1803. "tab" => "foodmenu",
  1804. "open" => -1,
  1805. "close" => -1),
  1806. array(
  1807. - "name" => __("Enable Food Menu Slider Autoplay?", 'default'),
  1808. + "name" => __("Enable Food Menu Slider Autoplay?", 'dine-and-drink'),
  1809. "id" => $shortname."_menu_auto_play",
  1810. "type" => "checkbox",
  1811. "desc" => "Check to Enable Slider Autoplay on Single Food Menu",
  1812. @@ -1479,34 +1479,34 @@
  1813. "tab" => "foodmenu"),
  1814.  
  1815. array(
  1816. - "name" => __("Food Menu Slider Time Interval", 'default'),
  1817. + "name" => __("Food Menu Slider Time Interval", 'dine-and-drink'),
  1818. "id" => $shortname."_menu_auto_play_ms",
  1819. "type" => "text",
  1820. "desc" => "Enter Animation Speed in Milliseconds. If leave it blank, it will use default speed (4000 ms).",
  1821. "default" => 4000,
  1822. "tab" => "foodmenu"),
  1823. array(
  1824. - "name" => __("Social Sharing", 'default'),
  1825. + "name" => __("Social Sharing", 'dine-and-drink'),
  1826. "type" => "heading",
  1827. "tab" => "foodmenu",
  1828. "open" => -1,
  1829. "close" => -1),
  1830. array(
  1831. - "name" => __("Enable Social Share on Food Menu", 'default'),
  1832. + "name" => __("Enable Social Share on Food Menu", 'dine-and-drink'),
  1833. "id" => $shortname."_menu_widget",
  1834. "type" => "checkbox",
  1835. "desc" => "Check to Enable Social Share on your Food Menus.",
  1836. "default" => "false",
  1837. "tab" => "foodmenu"),
  1838. array(
  1839. - "name" => __("Social Share Button", 'default'),
  1840. + "name" => __("Social Share Button", 'dine-and-drink'),
  1841. "type" => "checkboxgroup",
  1842. "desc" => "Check to select your Social Share Button.",
  1843. "default" => "false",
  1844. "tab" => "foodmenu",
  1845. "close" => -1),
  1846. array(
  1847. - "name" => __("Facebook", 'default'),
  1848. + "name" => __("Facebook", 'dine-and-drink'),
  1849. "id" => $shortname."_menu_widget_fb",
  1850. "type" => "checkboxgroup_sub",
  1851. "default" => "false",
  1852. @@ -1514,7 +1514,7 @@
  1853. "open" => -1,
  1854. "close" => -1),
  1855. array(
  1856. - "name" => __("Twitter", 'default'),
  1857. + "name" => __("Twitter", 'dine-and-drink'),
  1858. "id" => $shortname."_menu_widget_tw",
  1859. "type" => "checkboxgroup_sub",
  1860. "default" => "false",
  1861. @@ -1522,7 +1522,7 @@
  1862. "open" => -1,
  1863. "close" => -1),
  1864. array(
  1865. - "name" => __("Google+", 'default'),
  1866. + "name" => __("Google+", 'dine-and-drink'),
  1867. "id" => $shortname."_menu_widget_google",
  1868. "type" => "checkboxgroup_sub",
  1869. "default" => "false",
  1870. @@ -1530,7 +1530,7 @@
  1871. "open" => -1,
  1872. "close" => -1),
  1873. array(
  1874. - "name" => __("Linkedin", 'default'),
  1875. + "name" => __("Linkedin", 'dine-and-drink'),
  1876. "id" => $shortname."_menu_widget_linkedin",
  1877. "type" => "checkboxgroup_sub",
  1878. "default" => "false",
  1879. @@ -1551,13 +1551,13 @@
  1880. //////== 6. Blog ==
  1881. ////Style
  1882. array(
  1883. - "name" => __('Blog Style', 'default'),
  1884. + "name" => __('Blog Style', 'dine-and-drink'),
  1885. "type" => "heading",
  1886. "tab" => "blog",
  1887. "open" => -1,
  1888. "close" => -1),
  1889. array(
  1890. - "name" => __("Blog Style", 'default'),
  1891. + "name" => __("Blog Style", 'dine-and-drink'),
  1892. "id" => $shortname."_blog_style",
  1893. "options" => array(1 => '<img src="'._IMG.'editor-blogstyle_3-9.png" class="at_image_style_thumbnail" width="60" height="59" alt="blogstyle_3-9" /> Left Sidebar',
  1894. 2 => '<img src="'._IMG.'editor-blogstyle_9-3.png" class="at_image_style_thumbnail" width="60" height="59" alt="blogstyle_3-9" /> Right Sidebar',
  1895. @@ -1567,20 +1567,20 @@
  1896. "default" => 2,
  1897. "tab" => "blog"),
  1898. array(
  1899. - "name" => __("Display Featured Image on Post", 'default'),
  1900. + "name" => __("Display Featured Image on Post", 'dine-and-drink'),
  1901. "id" => $shortname."_display_feature",
  1902. "type" => "checkbox",
  1903. "desc" => "Check to show Featured Image on Post.",
  1904. "default" => "true",
  1905. "tab" => "blog"),
  1906. array(
  1907. - "name" => __("Post Title Icon", 'default'),
  1908. + "name" => __("Post Title Icon", 'dine-and-drink'),
  1909. "type" => "heading",
  1910. "tab" => "blog",
  1911. "open" => -1,
  1912. "close" => -1),
  1913. array(
  1914. - "name" => __("Post Title Icon", 'default'),
  1915. + "name" => __("Post Title Icon", 'dine-and-drink'),
  1916. "id" => $shortname."_post_title_icon",
  1917. "type" => "text",
  1918. "size" => 30,
  1919. @@ -1588,27 +1588,27 @@
  1920. "default" => "icon-bullhorn",
  1921. "tab" => "blog"),
  1922. array(
  1923. - "name" => __("Social Sharing", 'default'),
  1924. + "name" => __("Social Sharing", 'dine-and-drink'),
  1925. "type" => "heading",
  1926. "tab" => "blog",
  1927. "open" => -1,
  1928. "close" => -1),
  1929. array(
  1930. - "name" => __("Enable Social Share on Posts", 'default'),
  1931. + "name" => __("Enable Social Share on Posts", 'dine-and-drink'),
  1932. "id" => $shortname."_post_widget",
  1933. "type" => "checkbox",
  1934. "desc" => "Check to Enable Social Share on your Posts.",
  1935. "default" => "false",
  1936. "tab" => "blog"),
  1937. array(
  1938. - "name" => __("Social Share Button", 'default'),
  1939. + "name" => __("Social Share Button", 'dine-and-drink'),
  1940. "type" => "checkboxgroup",
  1941. "desc" => "Check to select your Social Share Button.",
  1942. "default" => "false",
  1943. "tab" => "blog",
  1944. "close" => -1),
  1945. array(
  1946. - "name" => __("Facebook", 'default'),
  1947. + "name" => __("Facebook", 'dine-and-drink'),
  1948. "id" => $shortname."_post_widget_fb",
  1949. "type" => "checkboxgroup_sub",
  1950. "default" => "false",
  1951. @@ -1616,7 +1616,7 @@
  1952. "open" => -1,
  1953. "close" => -1),
  1954. array(
  1955. - "name" => __("Twitter", 'default'),
  1956. + "name" => __("Twitter", 'dine-and-drink'),
  1957. "id" => $shortname."_post_widget_tw",
  1958. "type" => "checkboxgroup_sub",
  1959. "default" => "false",
  1960. @@ -1624,7 +1624,7 @@
  1961. "open" => -1,
  1962. "close" => -1),
  1963. array(
  1964. - "name" => __("Google+", 'default'),
  1965. + "name" => __("Google+", 'dine-and-drink'),
  1966. "id" => $shortname."_post_widget_google",
  1967. "type" => "checkboxgroup_sub",
  1968. "default" => "false",
  1969. @@ -1632,7 +1632,7 @@
  1970. "open" => -1,
  1971. "close" => -1),
  1972. array(
  1973. - "name" => __("Linkedin", 'default'),
  1974. + "name" => __("Linkedin", 'dine-and-drink'),
  1975. "id" => $shortname."_post_widget_linkedin",
  1976. "type" => "checkboxgroup_sub",
  1977. "default" => "false",
  1978. @@ -1647,13 +1647,13 @@
  1979. /////Gallery
  1980.  
  1981. array(
  1982. - "name" => __("Gallery Title Icon", 'default'),
  1983. + "name" => __("Gallery Title Icon", 'dine-and-drink'),
  1984. "type" => "heading",
  1985. "tab" => "gallery",
  1986. "open" => -1,
  1987. "close" => -1),
  1988. array(
  1989. - "name" => __("Gallery Title Icon", 'default'),
  1990. + "name" => __("Gallery Title Icon", 'dine-and-drink'),
  1991. "id" => $shortname."_gallery_title_icon",
  1992. "type" => "text",
  1993. "size" => 30,
  1994. @@ -1664,13 +1664,13 @@
  1995. /////== Custom CSS ==
  1996.  
  1997. array(
  1998. - "name" => __("Custom CSS", 'default'),
  1999. + "name" => __("Custom CSS", 'dine-and-drink'),
  2000. "type" => "heading",
  2001. "tab" => "css",
  2002. "open" => -1,
  2003. "close" => -1),
  2004. array(
  2005. - "name" => __("Custom CSS", 'default'),
  2006. + "name" => __("Custom CSS", 'dine-and-drink'),
  2007. "desc" => "",
  2008. "id" => $shortname."_custom_css",
  2009. "type" => "textarea",
  2010. @@ -1682,13 +1682,13 @@
  2011. /////== 7. Setting ==
  2012.  
  2013. array(
  2014. - "name" => __("Settings", 'default'),
  2015. + "name" => __("Settings", 'dine-and-drink'),
  2016. "type" => "heading",
  2017. "tab" => "setting",
  2018. "open" => -1,
  2019. "close" => -1),
  2020. array(
  2021. - "name" => __("Theme Options", 'default'),
  2022. + "name" => __("Theme Options", 'dine-and-drink'),
  2023. "text" => "Load",
  2024. "desc" => "Click to Load your Default Theme Options.<br /><br />
  2025. General, Font, Overall Elements, Elements Color, Food Menu, Blog",
  2026. @@ -1726,7 +1726,7 @@
  2027. }
  2028. if(count($color_arr) >0){
  2029. array_push($options9, array(
  2030. - "name" => __("Color Scheme", 'default'),
  2031. + "name" => __("Color Scheme", 'dine-and-drink'),
  2032. "text" => "Load",
  2033. "desc" => "Click to load Color Scheme.
  2034. <br /><br />
  2035. @@ -1743,7 +1743,7 @@
  2036.  
  2037. $options8 = array(
  2038. array(
  2039. - "name" => __("Widgets Settings", 'default'),
  2040. + "name" => __("Widgets Settings", 'dine-and-drink'),
  2041. "text" => "Load Default Widgets Settings",
  2042. "desc" => "Click to Load the Default Widgets Setting.",
  2043. "id" => $shortname."_load_widget",
  2044. @@ -1751,7 +1751,7 @@
  2045. "type" => "formbutton",
  2046. "tab" => "setting"),
  2047. array(
  2048. - "name" => __("Import XML Content", 'default'),
  2049. + "name" => __("Import XML Content", 'dine-and-drink'),
  2050. "text" => "Import XML Content",
  2051. "link" => admin_url()."admin.php?import=wordpress",
  2052. "desc" => "Click to goto Tool > import to upload an XML file included in the '/".$themeslugname."/defaults/'",
  2053. @@ -1759,13 +1759,13 @@
  2054. "tab" => "setting"),
  2055. /////friendly URL
  2056. array(
  2057. - "name" => __("Friendly URL", 'default'),
  2058. + "name" => __("Friendly URL", 'dine-and-drink'),
  2059. "type" => "heading",
  2060. "tab" => "setting",
  2061. "open" => -1,
  2062. "close" => -1),
  2063. array(
  2064. - "name" => __("Single Food Menu URL", 'default'),
  2065. + "name" => __("Single Food Menu URL", 'dine-and-drink'),
  2066. "id" => $shortname."_url_food",
  2067. "type" => "text",
  2068. "size" => 30,
  2069. @@ -1776,7 +1776,7 @@
  2070. "default" => "menu",
  2071. "tab" => "setting"),
  2072. array(
  2073. - "name" => __("Food Categories URL", 'default'),
  2074. + "name" => __("Food Categories URL", 'dine-and-drink'),
  2075. "id" => $shortname."_url_food_cate",
  2076. "type" => "text",
  2077. "size" => 30,
  2078. @@ -1785,7 +1785,7 @@
  2079. "tab" => "setting"),
  2080.  
  2081. array(
  2082. - "name" => __("Single Gallery URL", 'default'),
  2083. + "name" => __("Single Gallery URL", 'dine-and-drink'),
  2084. "id" => $shortname."_url_gallery",
  2085. "type" => "text",
  2086. "size" => 30,
  2087. @@ -1793,7 +1793,7 @@
  2088. "default" => "gallery",
  2089. "tab" => "setting"),
  2090. array(
  2091. - "name" => __("Gallery Categories URL", 'default'),
  2092. + "name" => __("Gallery Categories URL", 'dine-and-drink'),
  2093. "id" => $shortname."_url_gallery_cate",
  2094. "type" => "text",
  2095. "size" => 30,
  2096. @@ -1805,13 +1805,13 @@
  2097. //////== 8. Support ==
  2098.  
  2099. array(
  2100. - "name" => __("Support", 'default'),
  2101. + "name" => __("Support", 'dine-and-drink'),
  2102. "type" => "heading",
  2103. "tab" => "setting",
  2104. "open" => -1,
  2105. "close" => -1),
  2106. array(
  2107. - "name" => __("Help Document", 'default'),
  2108. + "name" => __("Help Document", 'dine-and-drink'),
  2109. "text" => "Help Document",
  2110. "desc" => "",
  2111. "id" => $shortname."_doc_download",
  2112. diff -ur dine-and-drink.original/at_functions/at_shortcodes.php dine-and-drink/at_functions/at_shortcodes.php
  2113. --- dine-and-drink.original/at_functions/at_shortcodes.php 2014-04-29 18:58:24.000000000 +0200
  2114. +++ dine-and-drink/at_functions/at_shortcodes.php 2014-08-21 11:58:29.102743000 +0200
  2115. @@ -382,27 +382,27 @@
  2116. ), $atts));
  2117. $return = '<div class="contact"><div id="node" style="display:none"></div>
  2118. <div id="contact_success" style="display:none">
  2119. - '.__('Your message has been sent.', 'default').'
  2120. + '.__('Your message has been sent.', 'dine-and-drink').'
  2121. </div>
  2122. <form id="contact_me" name="contact_form" method="post" class="clearfix">
  2123. <ol class="forms">
  2124. - <li><label>'.__('Name' , 'default').' *</label>
  2125. + <li><label>'.__('Name' , 'dine-and-drink').' *</label>
  2126. <input type="text" name="name" id="contact_name" class="require-field" value="">
  2127. - <div class="contacterror name-error">'.__('* Please enter your name.', 'default').'</span>
  2128. + <div class="contacterror name-error">'.__('* Please enter your name.', 'dine-and-drink').'</span>
  2129. </li>
  2130. - <li><label>'.__('Email' , 'default').' *</label>
  2131. + <li><label>'.__('Email' , 'dine-and-drink').' *</label>
  2132. <input type="text" name="email" id="contact_email" class="require-field" value="">
  2133. - <div class="contacterror email-error">'.__('* Please enter your email.', 'default').'</span>
  2134. - <div class="contacterror email-valid">'.__('* Please enter a valid email address.', 'default').'</span>
  2135. + <div class="contacterror email-error">'.__('* Please enter your email.', 'dine-and-drink').'</span>
  2136. + <div class="contacterror email-valid">'.__('* Please enter a valid email address.', 'dine-and-drink').'</span>
  2137. </li>
  2138. - <li class="textarea"><label>'.__('Message' , 'default').' *</label>
  2139. + <li class="textarea"><label>'.__('Message' , 'dine-and-drink').' *</label>
  2140. <textarea name="message" id="contact_message" class="require-field"></textarea>
  2141. - <div class="contacterror message-error">'.__('* Please enter the message.', 'default').'</span>
  2142. + <div class="contacterror message-error">'.__('* Please enter the message.', 'dine-and-drink').'</span>
  2143. </li>
  2144. <li class="buttons">
  2145. <input type="hidden" name="emailto" id="contact_emailto" value="'.$to.'">
  2146. <input type="hidden" name="action" value="contact_me">
  2147. - <button type="submit" class="contact-submit button" id="contactform-submit">'.__('Submit' , 'default').'</button>
  2148. + <button type="submit" class="contact-submit button" id="contactform-submit">'.__('Submit' , 'dine-and-drink').'</button>
  2149. <span class="contact-loading" id="contact-loading"></span>
  2150. </li>
  2151. </ol>
  2152. @@ -544,43 +544,43 @@
  2153. ), $atts));
  2154. $return = '<div class="reservationfrom"><div id="node" style="display:none"></div>
  2155. <div id="reservation_success" style="display:none">
  2156. - '.__('Your reservation has been sent.', 'default').'
  2157. + '.__('Your reservation has been sent.', 'dine-and-drink').'
  2158. </div>
  2159. <form id="reservation_me" name="reservation_form" method="post" class="clearfix">
  2160. <ol class="forms">
  2161. <li>
  2162. - <label>'.__('Name' , 'default').': <span class="required-star">*</span></label>
  2163. + <label>'.__('Name' , 'dine-and-drink').': <span class="required-star">*</span></label>
  2164. <input type="text" name="name" id="reservation_name" class="require-field" value="">
  2165. - <div class="reservationerror name-error">'.__('* Please enter your name.', 'default').'</div>
  2166. + <div class="reservationerror name-error">'.__('* Please enter your name.', 'dine-and-drink').'</div>
  2167. </li>
  2168. - <li><label>'.__('Phone Number' , 'default').': <span class="required-star">*</span></label>
  2169. + <li><label>'.__('Phone Number' , 'dine-and-drink').': <span class="required-star">*</span></label>
  2170. <input type="text" name="phone" id="reservation_phone" class="require-field" value="">
  2171. - <div class="reservationerror phone-error">'.__('* Please enter your phone number.', 'default').'</div>
  2172. + <div class="reservationerror phone-error">'.__('* Please enter your phone number.', 'dine-and-drink').'</div>
  2173. </li>
  2174. - <li><label>'.__('Email Address' , 'default').': <span class="required-star">*</span></label>
  2175. + <li><label>'.__('Email Address' , 'dine-and-drink').': <span class="required-star">*</span></label>
  2176. <input type="text" name="email" id="reservation_email" class="require-field" value="">
  2177. - <div class="reservationerror email-error">'.__('* Please enter your email.', 'default').'</div>
  2178. - <div class="reservationerror email-valid">'.__('* Please enter a valid email address.', 'default').'</div>
  2179. + <div class="reservationerror email-error">'.__('* Please enter your email.', 'dine-and-drink').'</div>
  2180. + <div class="reservationerror email-valid">'.__('* Please enter a valid email address.', 'dine-and-drink').'</div>
  2181. </li>
  2182. - <li><label>'.__('Number of Persons' , 'default').': <span class="required-star">*</span></label>
  2183. + <li><label>'.__('Number of Persons' , 'dine-and-drink').': <span class="required-star">*</span></label>
  2184. <input type="text" name="guest" id="reservation_guest" class="require-field" value="">
  2185. - <div class="reservationerror guest-error">'.__('* Please enter number of persons.', 'default').'</div>
  2186. + <div class="reservationerror guest-error">'.__('* Please enter number of persons.', 'dine-and-drink').'</div>
  2187. </li>
  2188. - <li><label>'.__('Date' , 'default').': <span class="required-star">*</span></label>
  2189. + <li><label>'.__('Date' , 'dine-and-drink').': <span class="required-star">*</span></label>
  2190. <input type="text" name="date" id="reservation_date" class="require-field" value="">
  2191. - <div class="reservationerror date-error">'.__('* Please enter date.', 'default').'</div>
  2192. + <div class="reservationerror date-error">'.__('* Please enter date.', 'dine-and-drink').'</div>
  2193. </li>
  2194. - <li><label>'.__('Time' , 'default').': <span class="required-star">*</span></label>
  2195. + <li><label>'.__('Time' , 'dine-and-drink').': <span class="required-star">*</span></label>
  2196. <input type="text" name="time" id="reservation_time" class="require-field" value="">
  2197. - <div class="reservationerror time-error">'.__('* Please enter time.', 'default').'</div>
  2198. + <div class="reservationerror time-error">'.__('* Please enter time.', 'dine-and-drink').'</div>
  2199. </li>
  2200. - <li class="textarea"><label>'.__('Message / Special Request' , 'default').'</label>
  2201. + <li class="textarea"><label>'.__('Message / Special Request' , 'dine-and-drink').'</label>
  2202. <textarea name="message" id="reservation_message"></textarea>
  2203. </li>
  2204. <li class="buttons">
  2205. <input type="hidden" name="emailto" id="reservation_emailto" value="'.$to.'">
  2206. <input type="hidden" name="action" value="reservation_me">
  2207. - <button type="submit" class="contact-submit button" id="contactform-submit">'.__('Make a reservation' , 'default').'</button>
  2208. + <button type="submit" class="contact-submit button" id="contactform-submit">'.__('Make a reservation' , 'dine-and-drink').'</button>
  2209. <span class="contact-loading" id="contact-loading"></span>
  2210. </li>
  2211. </ol>
  2212. diff -ur dine-and-drink.original/at_functions/widgets/at_boxes_widget.php dine-and-drink/at_functions/widgets/at_boxes_widget.php
  2213. --- dine-and-drink.original/at_functions/widgets/at_boxes_widget.php 2014-04-29 02:58:32.000000000 +0200
  2214. +++ dine-and-drink/at_functions/widgets/at_boxes_widget.php 2014-08-21 11:58:30.326743001 +0200
  2215. @@ -7,7 +7,7 @@
  2216. parent::__construct(
  2217. 'AT_boxes_widget', // Base ID
  2218. 'AT - Home Special Boxes', // Name
  2219. - array('description' => __('3 Special Boxes - can pull content from food menu, post or custom text. (this widget use only on Home Area)', 'default'),
  2220. + array('description' => __('3 Special Boxes - can pull content from food menu, post or custom text. (this widget use only on Home Area)', 'dine-and-drink'),
  2221. 'classname' => 'AT_boxes_widget'), // Args
  2222. array('width' => 350)
  2223. );
  2224. @@ -251,11 +251,11 @@
  2225.  
  2226. <div id="<?php echo $this->get_field_id('at_box'.$i.'_type1');?>" style="display:none">
  2227. <p>
  2228. - <label for="<?php echo $this->get_field_id('box'.$i.'_type1_title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2229. + <label for="<?php echo $this->get_field_id('box'.$i.'_type1_title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2230. <input id="<?php echo $this->get_field_id('box'.$i.'_type1_title'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type1_title'); ?>" type="text" value="<?php echo esc_attr($title1[$i]); ?>" class="widefat" />
  2231. </p>
  2232. <p>
  2233. - <label for="<?php echo $this->get_field_id('box'.$i.'_type1_icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2234. + <label for="<?php echo $this->get_field_id('box'.$i.'_type1_icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2235. <input id="<?php echo $this->get_field_id('box'.$i.'_type1_icon'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type1_icon'); ?>" type="text" value="<?php echo esc_attr($icon1[$i]); ?>" class="widefat" />
  2236. </p>
  2237. <p>
  2238. @@ -264,7 +264,7 @@
  2239. 'hide_empty' => 0
  2240. ));
  2241. ?>
  2242. - <label for="<?php echo $this->get_field_id('box'.$i.'tags_type1'); ?>"><?php _e('Select Tag :', 'default'); ?></label>
  2243. + <label for="<?php echo $this->get_field_id('box'.$i.'tags_type1'); ?>"><?php _e('Select Tag :', 'dine-and-drink'); ?></label>
  2244. <select name="<?php echo $this->get_field_name('box'.$i.'tags_type1'); ?>">
  2245. <option value="-1"selected="selected" disabled="disabled">Please Select</option>
  2246. <?php foreach($taxonomy_terms as $tag){?>
  2247. @@ -277,11 +277,11 @@
  2248. </div>
  2249. <div id="<?php echo $this->get_field_id('at_box'.$i.'_type2');?>" style="display:none">
  2250. <p>
  2251. - <label for="<?php echo $this->get_field_id('box'.$i.'_type2_title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2252. + <label for="<?php echo $this->get_field_id('box'.$i.'_type2_title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2253. <input id="<?php echo $this->get_field_id('box'.$i.'_type2_title'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type2_title'); ?>" type="text" value="<?php echo esc_attr($title2[$i]); ?>" class="widefat"/>
  2254. </p>
  2255. <p>
  2256. - <label for="<?php echo $this->get_field_id('box'.$i.'_type2_icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2257. + <label for="<?php echo $this->get_field_id('box'.$i.'_type2_icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2258. <input id="<?php echo $this->get_field_id('box'.$i.'_type2_icon'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type2_icon'); ?>" type="text" value="<?php echo esc_attr($icon2[$i]); ?>" class="widefat" />
  2259. </p>
  2260. <p>
  2261. @@ -290,7 +290,7 @@
  2262. 'hide_empty' => 0
  2263. ));
  2264. ?>
  2265. - <label for="<?php echo $this->get_field_id('box'.$i.'tags_type2'); ?>"><?php _e('Select Tag :', 'default'); ?></label>
  2266. + <label for="<?php echo $this->get_field_id('box'.$i.'tags_type2'); ?>"><?php _e('Select Tag :', 'dine-and-drink'); ?></label>
  2267. <select name="<?php echo $this->get_field_name('box'.$i.'tags_type2'); ?>">
  2268. <option value="-1" selected="selected" disabled="disabled">Please Select</option>
  2269. <?php foreach($taxonomy_terms as $tag){?>
  2270. @@ -303,21 +303,21 @@
  2271. </div>
  2272. <div id="<?php echo $this->get_field_id('at_box'.$i.'_type3');?>" style="display:none">
  2273. <p>
  2274. - <label for="<?php echo $this->get_field_id('box'.$i.'_type3_title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2275. + <label for="<?php echo $this->get_field_id('box'.$i.'_type3_title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2276. <input id="<?php echo $this->get_field_id('box'.$i.'_type3_title'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type3_title'); ?>" type="text" value="<?php echo esc_attr($title3[$i]); ?>" class="widefat" />
  2277. </p>
  2278. <p>
  2279. - <label for="<?php echo $this->get_field_id('box'.$i.'_type3_icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2280. + <label for="<?php echo $this->get_field_id('box'.$i.'_type3_icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2281. <input id="<?php echo $this->get_field_id('box'.$i.'_type3_icon'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type3_icon'); ?>" type="text" value="<?php echo esc_attr($icon3[$i]); ?>" class="widefat" />
  2282. </p>
  2283. <p>
  2284. - <label for="<?php echo $this->get_field_id('box'.$i.'_type3_text'); ?>"><?php _e('Text :', 'default'); ?></label>
  2285. + <label for="<?php echo $this->get_field_id('box'.$i.'_type3_text'); ?>"><?php _e('Text :', 'dine-and-drink'); ?></label>
  2286. <textarea id="<?php echo $this->get_field_id('box'.$i.'_type3_text'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type3_text'); ?>" cols="45" rows="10" class="widefat"><?php echo esc_attr($text3[$i]); ?></textarea>
  2287. </p>
  2288. </div>
  2289. <div id="<?php echo $this->get_field_id('at_box'.$i.'_type4');?>" style="display:none">
  2290. <p>
  2291. - <label for="<?php echo $this->get_field_id('box'.$i.'_type4_text'); ?>"><?php _e('Text :', 'default'); ?></label>
  2292. + <label for="<?php echo $this->get_field_id('box'.$i.'_type4_text'); ?>"><?php _e('Text :', 'dine-and-drink'); ?></label>
  2293. <textarea id="<?php echo $this->get_field_id('box'.$i.'_type4_text'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_type4_text'); ?>" cols="45" rows="10" class="widefat"><?php echo esc_attr($text4[$i]); ?></textarea>
  2294. </p>
  2295. </div>
  2296. diff -ur dine-and-drink.original/at_functions/widgets/at_flickr_widget.php dine-and-drink/at_functions/widgets/at_flickr_widget.php
  2297. --- dine-and-drink.original/at_functions/widgets/at_flickr_widget.php 2014-04-29 03:00:34.000000000 +0200
  2298. +++ dine-and-drink/at_functions/widgets/at_flickr_widget.php 2014-08-21 11:58:31.214742999 +0200
  2299. @@ -6,7 +6,7 @@
  2300. parent::__construct(
  2301. 'AT_flickr_widget', // Base ID
  2302. 'AT - Flickr', // Name
  2303. - array('description' => __('Display your recent Filckr photos', 'default'),
  2304. + array('description' => __('Display your recent Filckr photos', 'dine-and-drink'),
  2305. 'classname' => 'AT_flickr_widget') // Args
  2306. );
  2307. }
  2308. @@ -42,13 +42,13 @@
  2309. $title = $instance['title'];
  2310. }
  2311. else {
  2312. - $title = __('New title', 'default');
  2313. + $title = __('New title', 'dine-and-drink');
  2314. }
  2315. if (isset($instance['icon'])) {
  2316. $icon = $instance['icon'];
  2317. }
  2318. else {
  2319. - $icon = __('icon-camera-retro', 'default');
  2320. + $icon = __('icon-camera-retro', 'dine-and-drink');
  2321. }
  2322. if (isset($instance['count'])) {
  2323. $count = $instance['count'];
  2324. @@ -66,19 +66,19 @@
  2325.  
  2326. ?>
  2327. <p>
  2328. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2329. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2330. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2331. </p>
  2332. <p>
  2333. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2334. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2335. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2336. </p>
  2337. <p>
  2338. - <label for="<?php echo $this->get_field_id('user'); ?>"><?php _e('Flickr ID :', 'default'); ?></label>
  2339. + <label for="<?php echo $this->get_field_id('user'); ?>"><?php _e('Flickr ID :', 'dine-and-drink'); ?></label>
  2340. <input class="widefat" id="<?php echo $this->get_field_id('user'); ?>" name="<?php echo $this->get_field_name('user'); ?>" type="text" value="<?php echo esc_attr($user); ?>" />
  2341. </p>
  2342. <p>
  2343. - <label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('Number of photos :', 'default'); ?></label>
  2344. + <label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('Number of photos :', 'dine-and-drink'); ?></label>
  2345. <input class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>" type="text" value="<?php echo esc_attr($count); ?>" />
  2346. </p>
  2347. <?php
  2348. diff -ur dine-and-drink.original/at_functions/widgets/at_fourboxes_widget.php dine-and-drink/at_functions/widgets/at_fourboxes_widget.php
  2349. --- dine-and-drink.original/at_functions/widgets/at_fourboxes_widget.php 2014-04-19 23:20:08.000000000 +0200
  2350. +++ dine-and-drink/at_functions/widgets/at_fourboxes_widget.php 2014-08-21 11:58:32.342743001 +0200
  2351. @@ -7,7 +7,7 @@
  2352. parent::__construct(
  2353. 'AT_fourboxes_widget', // Base ID
  2354. 'AT - 4 Boxes', // Name
  2355. - array('description' => __('Boxes with Image Icon, Title and Description', 'default'),
  2356. + array('description' => __('Boxes with Image Icon, Title and Description', 'dine-and-drink'),
  2357. 'classname' => 'AT_fourboxes_widget') // Args
  2358. );
  2359. }
  2360. @@ -101,27 +101,27 @@
  2361. <p><strong>Box <?php echo $i;?></strong></p>
  2362. <p>
  2363. <label for="<?php echo $this->get_field_id('box'.$i.'_enable'); ?>">
  2364. - <input id="<?php echo $this->get_field_id('box'.$i.'_enable'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_enable'); ?>" type="checkbox" <?php if(esc_attr($enable[$i]) == 'on'){?> checked="checked" <?php }?> /> <?php _e('Enable Box ', 'default'); ?><?php echo $i; ?></label>
  2365. + <input id="<?php echo $this->get_field_id('box'.$i.'_enable'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_enable'); ?>" type="checkbox" <?php if(esc_attr($enable[$i]) == 'on'){?> checked="checked" <?php }?> /> <?php _e('Enable Box ', 'dine-and-drink'); ?><?php echo $i; ?></label>
  2366. </p>
  2367. <p>
  2368. - <label for="<?php echo $this->get_field_id('box'.$i.'_title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2369. + <label for="<?php echo $this->get_field_id('box'.$i.'_title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2370. <input id="<?php echo $this->get_field_id('box'.$i.'_title'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_title'); ?>" type="text" value="<?php echo esc_attr($title[$i]); ?>" />
  2371. </p>
  2372. <p>
  2373. - <label for="<?php echo $this->get_field_id('box'.$i.'_icon'); ?>"><?php _e('Icon URL :', 'default'); ?></label>
  2374. + <label for="<?php echo $this->get_field_id('box'.$i.'_icon'); ?>"><?php _e('Icon URL :', 'dine-and-drink'); ?></label>
  2375. <input id="<?php echo $this->get_field_id('box'.$i.'_icon'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_icon'); ?>" type="text" value="<?php echo esc_attr($icon[$i]); ?>" />
  2376. </p>
  2377.  
  2378. <p>
  2379. - <label for="<?php echo $this->get_field_id('box'.$i.'_description'); ?>"><?php _e('Description :', 'default'); ?></label>
  2380. + <label for="<?php echo $this->get_field_id('box'.$i.'_description'); ?>"><?php _e('Description :', 'dine-and-drink'); ?></label>
  2381. <textarea id="<?php echo $this->get_field_id('box'.$i.'_description'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_description'); ?>" cols="30" rows="4"><?php echo esc_attr($description[$i]); ?></textarea>
  2382. </p>
  2383. <?php /*?><p>
  2384. - <label for="<?php echo $this->get_field_id('box'.$i.'_linkname'); ?>"><?php _e('Link Text:', 'default'); ?></label>
  2385. + <label for="<?php echo $this->get_field_id('box'.$i.'_linkname'); ?>"><?php _e('Link Text:', 'dine-and-drink'); ?></label>
  2386. <input id="<?php echo $this->get_field_id('box'.$i.'_linkname'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_linkname'); ?>" type="text" value="<?php echo esc_attr($linkname[$i]); ?>" />
  2387. </p><?php */?>
  2388. <p>
  2389. - <label for="<?php echo $this->get_field_id('box'.$i.'_link'); ?>"><?php _e('Link URL :', 'default'); ?></label>
  2390. + <label for="<?php echo $this->get_field_id('box'.$i.'_link'); ?>"><?php _e('Link URL :', 'dine-and-drink'); ?></label>
  2391. <input id="<?php echo $this->get_field_id('box'.$i.'_link'); ?>" name="<?php echo $this->get_field_name('box'.$i.'_link'); ?>" type="text" value="<?php echo esc_attr($link[$i]); ?>" />
  2392. </p>
  2393. <hr />
  2394. diff -ur dine-and-drink.original/at_functions/widgets/at_home_food_widget.php dine-and-drink/at_functions/widgets/at_home_food_widget.php
  2395. --- dine-and-drink.original/at_functions/widgets/at_home_food_widget.php 2014-07-16 17:54:34.000000000 +0200
  2396. +++ dine-and-drink/at_functions/widgets/at_home_food_widget.php 2014-08-21 11:58:33.534743007 +0200
  2397. @@ -6,7 +6,7 @@
  2398. parent::__construct(
  2399. 'AT_home_food_widget', // Base ID
  2400. 'AT - Home Food Menu', // Name
  2401. - array('description' => __('Display your Food Menu. (this widget use only on Home Area)', 'default'),
  2402. + array('description' => __('Display your Food Menu. (this widget use only on Home Area)', 'dine-and-drink'),
  2403. 'classname' => 'AT_home_food_widget') // Args
  2404. );
  2405. }
  2406. @@ -166,13 +166,13 @@
  2407. $title = $instance['title'];
  2408. }
  2409. else {
  2410. - $title = __('New title', 'default');
  2411. + $title = __('New title', 'dine-and-drink');
  2412. }
  2413.  
  2414. if (isset($instance['icon'])) {
  2415. $icon = $instance['icon'];
  2416. }else {
  2417. - $icon = __('icon-food', 'default');
  2418. + $icon = __('icon-food', 'dine-and-drink');
  2419. }
  2420.  
  2421. if (isset($instance['tag_cate'])) {
  2422. @@ -206,18 +206,18 @@
  2423.  
  2424. ?>
  2425. <p>
  2426. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2427. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2428. </p>
  2429. <p>
  2430. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2431. </p>
  2432. <p>
  2433. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2434. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2435. </p>
  2436. <p>
  2437. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2438. </p>
  2439. - <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="1" onclick="boxradio(this);" <?php checked($tag_cate, 1); ?>> <?php _e('Select food menu by tags :', 'default'); ?>
  2440. + <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="1" onclick="boxradio(this);" <?php checked($tag_cate, 1); ?>> <?php _e('Select food menu by tags :', 'dine-and-drink'); ?>
  2441. <div id="div_radio_<?php echo $this->get_field_id('tag_cate'); ?>1" style="display:none;">
  2442. <?php
  2443. $taxonomy_terms = get_terms('menu_tags', array(
  2444. @@ -232,7 +232,7 @@
  2445. </select>
  2446. </div>
  2447. </p>
  2448. - <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="2" onclick="boxradio(this);" <?php checked($tag_cate, 2); ?>> <?php _e('Select food menu by categories :', 'default'); ?>
  2449. + <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="2" onclick="boxradio(this);" <?php checked($tag_cate, 2); ?>> <?php _e('Select food menu by categories :', 'dine-and-drink'); ?>
  2450. <div id="div_radio_<?php echo $this->get_field_id('tag_cate'); ?>2" style="display:none;">
  2451. <?php
  2452. $taxonomy_terms = get_terms('menu_cat', array(
  2453. @@ -249,7 +249,7 @@
  2454. </div>
  2455. </p>
  2456. <p>
  2457. - <label for="<?php echo $this->get_field_id('item_order'); ?>"><?php _e('Order by :', 'default'); ?></label>
  2458. + <label for="<?php echo $this->get_field_id('item_order'); ?>"><?php _e('Order by :', 'dine-and-drink'); ?></label>
  2459. <select name="<?php echo $this->get_field_name('item_order'); ?>">
  2460. <option value="1" <?php selected($item_order, 1); ?>>Lastest</option>
  2461. <option value="2" <?php selected($item_order, 2); ?>>Random</option>
  2462. diff -ur dine-and-drink.original/at_functions/widgets/at_home_gallery_widget.php dine-and-drink/at_functions/widgets/at_home_gallery_widget.php
  2463. --- dine-and-drink.original/at_functions/widgets/at_home_gallery_widget.php 2014-06-03 17:11:54.000000000 +0200
  2464. +++ dine-and-drink/at_functions/widgets/at_home_gallery_widget.php 2014-08-21 11:58:34.466743001 +0200
  2465. @@ -6,7 +6,7 @@
  2466. parent::__construct(
  2467. 'AT_home_gallery_widget', // Base ID
  2468. 'AT - Home Gallery', // Name
  2469. - array('description' => __('Show Photo Gallery (this widget use only on Home Area)', 'default'),
  2470. + array('description' => __('Show Photo Gallery (this widget use only on Home Area)', 'dine-and-drink'),
  2471. 'classname' => 'AT_home_gallery_widget') // Args
  2472. );
  2473. }
  2474. @@ -107,14 +107,14 @@
  2475. $title = $instance['title'];
  2476. }
  2477. else {
  2478. - $title = __('New title', 'default');
  2479. + $title = __('New title', 'dine-and-drink');
  2480. }
  2481.  
  2482. if (isset($instance['icon'])) {
  2483. $icon = $instance['icon'];
  2484. }
  2485. else {
  2486. - $icon = __('icon-camera-retro', 'default');
  2487. + $icon = __('icon-camera-retro', 'dine-and-drink');
  2488. }
  2489.  
  2490. if (isset($instance['post'])) {
  2491. @@ -127,13 +127,13 @@
  2492.  
  2493. ?>
  2494. <?php /*?><p>
  2495. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2496. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2497. </p>
  2498. <p>
  2499. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2500. </p><?php */?>
  2501. <p>
  2502. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2503. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2504. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2505. </p>
  2506. <p>
  2507. diff -ur dine-and-drink.original/at_functions/widgets/at_opening_hours_widget.php dine-and-drink/at_functions/widgets/at_opening_hours_widget.php
  2508. --- dine-and-drink.original/at_functions/widgets/at_opening_hours_widget.php 2014-04-29 02:30:08.000000000 +0200
  2509. +++ dine-and-drink/at_functions/widgets/at_opening_hours_widget.php 2014-08-21 11:58:35.214743000 +0200
  2510. @@ -6,7 +6,7 @@
  2511. parent::__construct(
  2512. 'AT_opening_hours_widget', // Base ID
  2513. 'AT - Opening Hours', // Name
  2514. - array('description' => __('Display your Opening Hours', 'default'),
  2515. + array('description' => __('Display your Opening Hours', 'dine-and-drink'),
  2516. 'classname' => 'AT_opening_hours_widget'), // Args
  2517. array('width' => 450)
  2518. );
  2519. @@ -56,14 +56,14 @@
  2520. $title = $instance['title'];
  2521. }
  2522. else {
  2523. - $title = __('New title', 'default');
  2524. + $title = __('New title', 'dine-and-drink');
  2525. }
  2526.  
  2527. if (isset($instance['icon'])) {
  2528. $icon = $instance['icon'];
  2529. }
  2530. else {
  2531. - $icon = __('icon-carlendar', 'default');
  2532. + $icon = __('icon-carlendar', 'dine-and-drink');
  2533. }
  2534.  
  2535. $day_arr = array('MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY','SATURDAY','SUNDAY');
  2536. @@ -82,11 +82,11 @@
  2537.  
  2538. ?>
  2539. <p>
  2540. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2541. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2542. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2543. </p>
  2544. <p>
  2545. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2546. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2547. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2548. </p>
  2549. <?php for($i=1;$i<=7;$i++){?>
  2550. diff -ur dine-and-drink.original/at_functions/widgets/at_recent_widget.php dine-and-drink/at_functions/widgets/at_recent_widget.php
  2551. --- dine-and-drink.original/at_functions/widgets/at_recent_widget.php 2014-04-29 02:27:40.000000000 +0200
  2552. +++ dine-and-drink/at_functions/widgets/at_recent_widget.php 2014-08-21 11:58:36.794743003 +0200
  2553. @@ -6,7 +6,7 @@
  2554. parent::__construct(
  2555. 'AT_recent_post_widget', // Base ID
  2556. 'AT - Recent Posts', // Name
  2557. - array('description' => __('Your Recent posts with thumbnail on Sidebar or Footer', 'default'),
  2558. + array('description' => __('Your Recent posts with thumbnail on Sidebar or Footer', 'dine-and-drink'),
  2559. 'classname' => 'AT_recent_post_widget') // Args
  2560. );
  2561. }
  2562. @@ -64,14 +64,14 @@
  2563. $title = $instance['title'];
  2564. }
  2565. else {
  2566. - $title = __('New title', 'default');
  2567. + $title = __('New title', 'dine-and-drink');
  2568. }
  2569.  
  2570. if (isset($instance['icon'])) {
  2571. $icon = $instance['icon'];
  2572. }
  2573. else {
  2574. - $icon = __('icon-bullhorn', 'default');
  2575. + $icon = __('icon-bullhorn', 'dine-and-drink');
  2576. }
  2577.  
  2578. if (isset($instance['number'])) {
  2579. @@ -83,15 +83,15 @@
  2580.  
  2581. ?>
  2582. <p>
  2583. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2584. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2585. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2586. </p>
  2587. <p>
  2588. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2589. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2590. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2591. </p>
  2592. <p>
  2593. - <label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts to show :', 'default'); ?></label>
  2594. + <label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of posts to show :', 'dine-and-drink'); ?></label>
  2595. <input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" value="<?php echo esc_attr($number); ?>" />
  2596. </p>
  2597. <?php
  2598. diff -ur dine-and-drink.original/at_functions/widgets/at_stunning_text_widget.php dine-and-drink/at_functions/widgets/at_stunning_text_widget.php
  2599. --- dine-and-drink.original/at_functions/widgets/at_stunning_text_widget.php 2014-04-29 02:24:28.000000000 +0200
  2600. +++ dine-and-drink/at_functions/widgets/at_stunning_text_widget.php 2014-08-21 11:58:37.598743000 +0200
  2601. @@ -6,7 +6,7 @@
  2602. parent::__construct(
  2603. 'AT_stunning_text_widget', // Base ID
  2604. 'AT - Home Stunning Text', // Name
  2605. - array('description' => __('Stunning text with title, description, link button. (this widget use only on Home Area)', 'default'),
  2606. + array('description' => __('Stunning text with title, description, link button. (this widget use only on Home Area)', 'dine-and-drink'),
  2607. 'classname' => 'AT_stunning_text_widget'), // Args
  2608. array('width' => 350)
  2609. );
  2610. @@ -46,14 +46,14 @@
  2611. $title = $instance['title'];
  2612. }
  2613. else {
  2614. - $title = __('New title', 'default');
  2615. + $title = __('New title', 'dine-and-drink');
  2616. }
  2617.  
  2618. if (isset($instance['icon'])) {
  2619. $icon = $instance['icon'];
  2620. }
  2621. else {
  2622. - $icon = __('icon-coffee', 'default');
  2623. + $icon = __('icon-coffee', 'dine-and-drink');
  2624. }
  2625.  
  2626. if (isset($instance['text'])) {
  2627. @@ -79,23 +79,23 @@
  2628.  
  2629. ?>
  2630. <p>
  2631. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2632. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2633. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2634. </p>
  2635. <p>
  2636. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2637. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2638. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2639. </p>
  2640. <p>
  2641. - <label for="<?php echo $this->get_field_id('text'); ?>"><?php _e('Text :', 'default'); ?></label>
  2642. + <label for="<?php echo $this->get_field_id('text'); ?>"><?php _e('Text :', 'dine-and-drink'); ?></label>
  2643. <textarea class="widefat" rows="10" cols="20" id="<?php echo $this->get_field_id('text'); ?>" name="<?php echo $this->get_field_name('text'); ?>"><?php echo $text; ?></textarea>
  2644. </p>
  2645. <p>
  2646. - <label for="<?php echo $this->get_field_id('button_text'); ?>"><?php _e('Button Text :', 'default'); ?></label>
  2647. + <label for="<?php echo $this->get_field_id('button_text'); ?>"><?php _e('Button Text :', 'dine-and-drink'); ?></label>
  2648. <input class="widefat" id="<?php echo $this->get_field_id('button_text'); ?>" name="<?php echo $this->get_field_name('button_text'); ?>" type="text" value="<?php echo esc_attr($button_text); ?>" />
  2649. </p>
  2650. <p>
  2651. - <label for="<?php echo $this->get_field_id('link'); ?>"><?php _e('Button Link :', 'default'); ?></label>
  2652. + <label for="<?php echo $this->get_field_id('link'); ?>"><?php _e('Button Link :', 'dine-and-drink'); ?></label>
  2653. <input class="widefat" id="<?php echo $this->get_field_id('link'); ?>" name="<?php echo $this->get_field_name('link'); ?>" type="text" value="<?php echo esc_attr($link); ?>" />
  2654. </p>
  2655.  
  2656. diff -ur dine-and-drink.original/at_functions/widgets/at_text_widget.php dine-and-drink/at_functions/widgets/at_text_widget.php
  2657. --- dine-and-drink.original/at_functions/widgets/at_text_widget.php 2014-05-21 16:17:38.000000000 +0200
  2658. +++ dine-and-drink/at_functions/widgets/at_text_widget.php 2014-08-21 11:58:39.106743000 +0200
  2659. @@ -6,7 +6,7 @@
  2660. parent::__construct(
  2661. 'AT_text_widget', // Base ID
  2662. 'AT - Text', // Name
  2663. - array('description' => __('text or HTML', 'default'),
  2664. + array('description' => __('text or HTML', 'dine-and-drink'),
  2665. 'classname' => 'AT_text_widget'), // Args
  2666. array('width' => 350)
  2667. );
  2668. @@ -43,24 +43,24 @@
  2669. $title = $instance['title'];
  2670. }
  2671. else {
  2672. - $title = __('New title', 'default');
  2673. + $title = __('New title', 'dine-and-drink');
  2674. }
  2675.  
  2676. if (isset($instance['icon'])) {
  2677. $icon = $instance['icon'];
  2678. }
  2679. else {
  2680. - $icon = __('icon-food', 'default');
  2681. + $icon = __('icon-food', 'dine-and-drink');
  2682. }
  2683.  
  2684. $text = esc_textarea($instance['text']);
  2685. ?>
  2686. <p>
  2687. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2688. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2689. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2690. </p>
  2691. <p>
  2692. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2693. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2694. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2695. </p>
  2696.  
  2697. diff -ur dine-and-drink.original/at_functions/widgets/at_twiiter_widget.php dine-and-drink/at_functions/widgets/at_twiiter_widget.php
  2698. --- dine-and-drink.original/at_functions/widgets/at_twiiter_widget.php 2014-05-21 16:39:00.000000000 +0200
  2699. +++ dine-and-drink/at_functions/widgets/at_twiiter_widget.php 2014-08-21 11:58:40.234743026 +0200
  2700. @@ -6,7 +6,7 @@
  2701. parent::__construct(
  2702. 'AT_twitter_widget', // Base ID
  2703. 'AT - Twitter', // Name
  2704. - array('description' => __('Your Recent Twitter feed', 'default'),
  2705. + array('description' => __('Your Recent Twitter feed', 'dine-and-drink'),
  2706. 'classname' => 'AT_twitter_widget'), // Args
  2707. array('width' => 300)
  2708. );
  2709. @@ -121,7 +121,7 @@
  2710. $title = $instance['title'];
  2711. }
  2712. else {
  2713. - $title = __('New title', 'default');
  2714. + $title = __('New title', 'dine-and-drink');
  2715. }
  2716. if (isset($instance['user'])) {
  2717. $user = $instance['user'];
  2718. @@ -169,34 +169,34 @@
  2719.  
  2720. ?>
  2721. <p>
  2722. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2723. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2724. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2725. </p>
  2726. <p>
  2727. - <label for="<?php echo $this->get_field_id('user'); ?>"><?php _e('Twitter username :', 'default'); ?></label>
  2728. + <label for="<?php echo $this->get_field_id('user'); ?>"><?php _e('Twitter username :', 'dine-and-drink'); ?></label>
  2729. <input class="widefat" id="<?php echo $this->get_field_id('user'); ?>" name="<?php echo $this->get_field_name('user'); ?>" type="text" value="<?php echo esc_attr($user); ?>" />
  2730. </p>
  2731. <p>
  2732. - <label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('Number of feeds to show :', 'default'); ?></label>
  2733. + <label for="<?php echo $this->get_field_id('count'); ?>"><?php _e('Number of feeds to show :', 'dine-and-drink'); ?></label>
  2734. <input class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>" type="text" value="<?php echo esc_attr($count); ?>" />
  2735. </p>
  2736. <p>
  2737. Create a Twitter aplication on the Twitter's developer page to get Consumer key, Consumer secret, Access token and Access token secret <a href="https://dev.twitter.com/apps/new" target="_blank">here</a>
  2738. </p>
  2739. <p>
  2740. - <label for="<?php echo $this->get_field_id('consumer_key'); ?>"><?php _e('Consumer key :', 'default'); ?></label>
  2741. + <label for="<?php echo $this->get_field_id('consumer_key'); ?>"><?php _e('Consumer key :', 'dine-and-drink'); ?></label>
  2742. <input class="widefat" id="<?php echo $this->get_field_id('consumer_key'); ?>" name="<?php echo $this->get_field_name('consumer_key'); ?>" type="text" value="<?php echo esc_attr($consumer_key); ?>" />
  2743. </p>
  2744. <p>
  2745. - <label for="<?php echo $this->get_field_id('consumer_secret'); ?>"><?php _e('Consumer secret :', 'default'); ?></label>
  2746. + <label for="<?php echo $this->get_field_id('consumer_secret'); ?>"><?php _e('Consumer secret :', 'dine-and-drink'); ?></label>
  2747. <input class="widefat" id="<?php echo $this->get_field_id('consumer_secret'); ?>" name="<?php echo $this->get_field_name('consumer_secret'); ?>" type="text" value="<?php echo esc_attr($consumer_secret); ?>" />
  2748. </p>
  2749. <p>
  2750. - <label for="<?php echo $this->get_field_id('user_token'); ?>"><?php _e('Access token :', 'default'); ?></label>
  2751. + <label for="<?php echo $this->get_field_id('user_token'); ?>"><?php _e('Access token :', 'dine-and-drink'); ?></label>
  2752. <input class="widefat" id="<?php echo $this->get_field_id('user_token'); ?>" name="<?php echo $this->get_field_name('user_token'); ?>" type="text" value="<?php echo esc_attr($user_token); ?>" />
  2753. </p>
  2754. <p>
  2755. - <label for="<?php echo $this->get_field_id('user_secret'); ?>"><?php _e('Access token secret :', 'default'); ?></label>
  2756. + <label for="<?php echo $this->get_field_id('user_secret'); ?>"><?php _e('Access token secret :', 'dine-and-drink'); ?></label>
  2757. <input class="widefat" id="<?php echo $this->get_field_id('user_secret'); ?>" name="<?php echo $this->get_field_name('user_secret'); ?>" type="text" value="<?php echo esc_attr($user_secret); ?>" />
  2758. </p>
  2759. <?php
  2760. diff -ur dine-and-drink.original/at_functions/widgets/at_unwrap_text_widget.php dine-and-drink/at_functions/widgets/at_unwrap_text_widget.php
  2761. --- dine-and-drink.original/at_functions/widgets/at_unwrap_text_widget.php 2014-04-19 23:20:10.000000000 +0200
  2762. +++ dine-and-drink/at_functions/widgets/at_unwrap_text_widget.php 2014-08-21 11:58:41.002743000 +0200
  2763. @@ -6,7 +6,7 @@
  2764. parent::__construct(
  2765. 'AT_unwrap_text_widget', // Base ID
  2766. 'AT - Unwrap Text', // Name
  2767. - array('description' => __('text or HTML with no widget title', 'default'),
  2768. + array('description' => __('text or HTML with no widget title', 'dine-and-drink'),
  2769. 'classname' => 'AT_unwrap_text_widget'), // Args
  2770. array('width' => 350)
  2771. );
  2772. diff -ur dine-and-drink.original/at_functions/widgets/at_weekly_menu_widget.php dine-and-drink/at_functions/widgets/at_weekly_menu_widget.php
  2773. --- dine-and-drink.original/at_functions/widgets/at_weekly_menu_widget.php 2014-04-29 03:04:14.000000000 +0200
  2774. +++ dine-and-drink/at_functions/widgets/at_weekly_menu_widget.php 2014-08-21 11:58:41.786743001 +0200
  2775. @@ -6,7 +6,7 @@
  2776. parent::__construct(
  2777. 'AT_weekly_menu_widget', // Base ID
  2778. 'AT - Weekly Menu', // Name
  2779. - array('description' => __('Your Recent posts with thumbnail on Sidebar or Footer', 'default'),
  2780. + array('description' => __('Your Recent posts with thumbnail on Sidebar or Footer', 'dine-and-drink'),
  2781. 'classname' => 'AT_weekly_menu_widget') // Args
  2782. );
  2783. }
  2784. @@ -101,14 +101,14 @@
  2785. $title = $instance['title'];
  2786. }
  2787. else {
  2788. - $title = __('New title', 'default');
  2789. + $title = __('New title', 'dine-and-drink');
  2790. }
  2791.  
  2792. if (isset($instance['icon'])) {
  2793. $icon = $instance['icon'];
  2794. }
  2795. else {
  2796. - $icon = __('icon-star', 'default');
  2797. + $icon = __('icon-star', 'dine-and-drink');
  2798. }
  2799.  
  2800. if (isset($instance['tag_cate'])) {
  2801. @@ -135,18 +135,18 @@
  2802.  
  2803. ?>
  2804. <p>
  2805. - <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'default'); ?></label>
  2806. + <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title :', 'dine-and-drink'); ?></label>
  2807. </p>
  2808. <p>
  2809. <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" />
  2810. </p>
  2811. <p>
  2812. - <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'default'); ?></label>
  2813. + <label for="<?php echo $this->get_field_id('icon'); ?>"><?php _e('Icon :', 'dine-and-drink'); ?></label>
  2814. </p>
  2815. <p>
  2816. <input class="widefat" id="<?php echo $this->get_field_id('icon'); ?>" name="<?php echo $this->get_field_name('icon'); ?>" type="text" value="<?php echo esc_attr($icon); ?>" />
  2817. </p>
  2818. - <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="1" onclick="boxradio_weekly(this);" <?php checked($tag_cate, 1); ?>> <?php _e('Select food menu by tags :', 'default'); ?>
  2819. + <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="1" onclick="boxradio_weekly(this);" <?php checked($tag_cate, 1); ?>> <?php _e('Select food menu by tags :', 'dine-and-drink'); ?>
  2820. <div id="div_radio_<?php echo $this->get_field_id('tag_cate'); ?>1" style="display:none;">
  2821. <?php
  2822. $taxonomy_terms = get_terms('menu_tags', array(
  2823. @@ -162,7 +162,7 @@
  2824. </select>
  2825. </div>
  2826. </p>
  2827. - <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="2" onclick="boxradio_weekly(this);" <?php checked($tag_cate, 2); ?>> <?php _e('Select food menu by categories :', 'default'); ?>
  2828. + <p><input name="<?php echo $this->get_field_name('tag_cate'); ?>" id="<?php echo $this->get_field_id('tag_cate'); ?>" type="radio" value="2" onclick="boxradio_weekly(this);" <?php checked($tag_cate, 2); ?>> <?php _e('Select food menu by categories :', 'dine-and-drink'); ?>
  2829. <div id="div_radio_<?php echo $this->get_field_id('tag_cate'); ?>2" style="display:none;">
  2830. <?php
  2831. $taxonomy_terms = get_terms('menu_cat', array(
  2832. diff -ur dine-and-drink.original/comments.php dine-and-drink/comments.php
  2833. --- dine-and-drink.original/comments.php 2014-04-19 23:19:12.000000000 +0200
  2834. +++ dine-and-drink/comments.php 2014-08-21 11:58:21.946743000 +0200
  2835. @@ -16,7 +16,7 @@
  2836. ?>
  2837.  
  2838. <?php if ($post->comment_status == 'open' || have_comments()) : ?>
  2839. - <h3 class="widget_title_text">This article has <?php comments_number(__('0 Comment', 'default'), __('1 Comment', 'default'), __('% Comments', 'default')); ?>
  2840. + <h3 class="widget_title_text">This article has <?php comments_number(__('0 Comment', 'dine-and-drink'), __('1 Comment', 'dine-and-drink'), __('% Comments', 'dine-and-drink')); ?>
  2841. </h3>
  2842. </div>
  2843. <?php endif;?>
  2844. @@ -56,6 +56,6 @@
  2845. $commentargs = array(
  2846. 'title_reply' => __( '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-comment"></i></div><span class="widget_title_text">Leave a Reply</span></div>' ),
  2847. 'title_reply_to' => __( '<div class="widget_title"><div class="widget_title_ribbon"><i class="icon-comment"></i></div><span class="widget_title_text">Leave a Reply to %s</span></div>' ),
  2848. - 'cancel_reply_link' => __( 'Cancel Reply', 'default')
  2849. + 'cancel_reply_link' => __( 'Cancel Reply', 'dine-and-drink')
  2850. );
  2851. comment_form($commentargs); ?>
  2852. diff -ur dine-and-drink.original/index.php dine-and-drink/index.php
  2853. --- dine-and-drink.original/index.php 2014-05-21 15:28:08.000000000 +0200
  2854. +++ dine-and-drink/index.php 2014-08-21 11:58:22.114743001 +0200
  2855. @@ -158,7 +158,7 @@
  2856. </div>
  2857. <div class="single-post-comment">
  2858. <div class="single-post-comment-text">
  2859. - <?php comments_popup_link(__('0 Comment', 'default'), __('1 Comment', 'default'), __('% Comments', 'default')); ?>
  2860. + <?php comments_popup_link(__('0 Comment', 'dine-and-drink'), __('1 Comment', 'dine-and-drink'), __('% Comments', 'dine-and-drink')); ?>
  2861. </div>
  2862. <div class="colorbox-icon colorbox-26px colorbox-comment"><i class="icon-comment"></i></div>
  2863. </div>
  2864. @@ -173,13 +173,13 @@
  2865. <?php the_content('');?>
  2866. </div>
  2867. <?php $args_link_page = array(
  2868. - 'before' => '<div class="post-content-page">' . __('Pages : ', 'default'),
  2869. + 'before' => '<div class="post-content-page">' . __('Pages : ', 'dine-and-drink'),
  2870. 'after' => '</div>',
  2871. 'link_before' => ' ',
  2872. 'link_after' => ' ',
  2873. 'next_or_number' => 'number',
  2874. - 'nextpagelink' => __('Next page', 'default'),
  2875. - 'previouspagelink' => __('Previous page', 'default'),
  2876. + 'nextpagelink' => __('Next page', 'dine-and-drink'),
  2877. + 'previouspagelink' => __('Previous page', 'dine-and-drink'),
  2878. 'pagelink' => '%',
  2879. 'echo' => 1
  2880. ); ?>
  2881. @@ -268,10 +268,10 @@
  2882. else if(function_exists('at_pagenavi')) { at_pagenavi(); }
  2883. else { ?>
  2884. <div class="nav-previous">
  2885. - <?php next_posts_link(__('<span class="meta-nav">&laquo;</span> Older posts', 'default')) ?>
  2886. + <?php next_posts_link(__('<span class="meta-nav">&laquo;</span> Older posts', 'dine-and-drink')) ?>
  2887. </div>
  2888. <div class="nav-next">
  2889. - <?php previous_posts_link(__('Newer posts <span class="meta-nav">&raquo;</span>', 'default')) ?>
  2890. + <?php previous_posts_link(__('Newer posts <span class="meta-nav">&raquo;</span>', 'dine-and-drink')) ?>
  2891. </div>
  2892. <?php } ?>
  2893. </div>
  2894. @@ -282,7 +282,7 @@
  2895. <?php else:?>
  2896. <div class="entry-content">
  2897. <div class="entry-content-inner clearfix">
  2898. - <?php _e('Sorry, no posts matched your criteria.', 'default'); ?>
  2899. + <?php _e('Sorry, no posts matched your criteria.', 'dine-and-drink'); ?>
  2900. </div>
  2901. </div>
  2902. <?php endif; ?>
  2903. diff -ur dine-and-drink.original/sidebar.php dine-and-drink/sidebar.php
  2904. --- dine-and-drink.original/sidebar.php 2014-04-19 23:19:14.000000000 +0200
  2905. +++ dine-and-drink/sidebar.php 2014-08-21 11:58:22.786743001 +0200
  2906. @@ -3,15 +3,15 @@
  2907.  
  2908. <ul>
  2909. <li id="search">
  2910. - <label for="s"><?php _e('Search:', 'default'); ?></label>
  2911. + <label for="s"><?php _e('Search:', 'dine-and-drink'); ?></label>
  2912. <form id="searchform" method="get" action="<?php echo home_url(); ?>">
  2913. <div>
  2914. <input type="text" name="s" id="s" size="15" /><br />
  2915. - <input type="submit" value="<?php esc_attr_e('Search', 'default'); ?>" />
  2916. + <input type="submit" value="<?php esc_attr_e('Search', 'dine-and-drink'); ?>" />
  2917. </div>
  2918. </form>
  2919. </li>
  2920. - <li id="archives"><?php _e('Archives:', 'default'); ?>
  2921. + <li id="archives"><?php _e('Archives:', 'dine-and-drink'); ?>
  2922. <ul>
  2923. <?php wp_get_archives('type=monthly'); ?>
  2924. </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement