==Change Log==

= 1.2.2 =
 - Additional multi-lingual support
 - Adds turkish translation ~ by Ömer Faruk [ramerta.com]
 - Fix permalinks by flushing the rewrite rules after updates ~ thanks Alexey ;)

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@88571 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
jmash 2009-01-23 00:34:38 +00:00
parent 03b4a15101
commit 6aeac3b4f0
5 changed files with 78 additions and 4 deletions

View File

@ -3,7 +3,7 @@ Contributors: JoelStarnes
Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide,
Requires at least: 2.1
Tested up to: 2.7
Stable tag: 1.2.1
Stable tag: 1.2.2
Manage your multitude of pages with pageMash's slick drag-and-drop style, ajax interface. Allows for quick sorting, hiding and organising of page parenting structure in a simple intuative manner.
@ -21,7 +21,7 @@ Feedback is greatly appreciated: http://joelstarnes.co.uk/contact
1. Activate in 'Plugins' admin menu
1. Then have fun..
pageMash works with the `wp_list_pages` function. The easiest way to use it is to put the pages widget in your sidebar. Click the configure button on the widget and ensure that 'sort by' is set to 'page order'. Hey presto, you're done.
pageMash works with the `wp_list_pages` function. The easiest way to use it is to put the standard WordPress pages widget in your sidebar. Click the configure button on the widget and ensure that 'sort by' is set to 'page order'. Hey presto, you're done.
You can also use the function anywhere in your theme code. e.g. in your sidebar.php file (but the code in here will not run if you're using any widgets) or your header.php file (somewhere under the body tag, you may want to use the depth=1 parameter to only show top levle pages). The code should look something like the following:
@ -55,6 +55,11 @@ Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and
==Change Log==
= 1.2.2 =
- Additional multi-lingual support
- Adds turkish translation ~ by Ömer Faruk [ramerta.com]
- Fix permalinks by flushing the rewrite rules after updates ~ thanks Alexey ;)
= 1.2.1 =
- fix for menu position in WP2.7

View File

@ -107,7 +107,7 @@ function pageMash_main(){
<div id="debug_list"<?php if(false==$ShowDegubInfo) echo' style="display:none;"'; ?>></div>
<div id="pageMash" class="wrap">
<div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;">
version [1.2.0]
version [1.2.2]
</div>
<h2 style="margin-bottom:0; clear:none;"><?php _e('pageMash - pageManagement ','pmash');?></h2>
<p style="margin-top:4px;">

BIN
pmash-tr_TR.mo Normal file

Binary file not shown.

66
pmash-tr_TR.po Normal file
View File

@ -0,0 +1,66 @@
msgid ""
msgstr ""
"Project-Id-Version: pmash\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-14 10:21+0800\n"
"PO-Revision-Date: \n"
"Last-Translator: Omer Faruk - wordpress.info.tr <admin@wordpress.info.tr>\n"
"Language-Team: Outsource to Asia <tom@outsourcetoasia.de>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: German\n"
"X-Poedit-Country: GERMANY\n"
"X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-KeywordsList: _e;__\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
#: pagemash.php:113
msgid "pageMash - pageManagement "
msgstr "pageMash - Sayfa Yönetimi"
#: pagemash.php:115
msgid "Just drag the pages <strong>up</strong> or <strong>down</strong> to change the page order and <strong>left</strong> or <strong>right</strong> to change the page`s parent, then hit \"update\". "
msgstr "Sayfa düzenini değiştirmek için sadece sayfaları <strong>yukarı</strong> ya da <strong>aşağı</strong> doğru bırak ve sayfanın parentini değiştirmek için <strong>sol</strong> ya da <strong>sağ</strong> olarak değiştir, sonra tıkla: \"update\". "
#: pagemash.php:116
msgid "The icon to the left of each page shows if it has child pages, <strong>double click</strong> on that item to toggle <strong>expand|collapse</strong> of it`s children. "
msgstr "Eğer bir iconun üzerinde + işareti görünüyorsa, bu, o sayfanın alt sayfaları var anlamına gelir, Alt sayfalarını görmek için veya kapatmak için o sayfanın iconuna <strong>çift tıklayın</strong>. Hepsini açıp kapatmak için tıkla <strong>Hepsini Aç/Hepsini Kapat</strong> seçeneklerine tıklayın."
#: pagemash.php:118
msgid "Expand All "
msgstr "Hepsini Aç"
#: pagemash.php:118
msgid "Collapse All "
msgstr "Hepsini Kapat"
#: pagemash.php:124
msgid "Update "
msgstr "Güncelle"
#: pagemash.php:131
msgid "How to Use "
msgstr "Nasıl Kullanılır"
#: pagemash.php:132
msgid "pageMash works with the wp_list_pages function. The easiest way to use it is to put the pages widget in your sidebar 'WP admin page \\> Presentation \\> Widgets'. Click the configure button on the widget and ensure that 'sort by' is set to 'page order'. Hey presto, you're done. "
msgstr "pageMash. wp_list_pages function ile birlikte çalışmaktadır. Yan menüde bu eklentiyi kullanmanın kolay yolu şu 'WP Admin Sayfası\\> Görünüm \\> Bileşenler'. Ayarlar butonuna tıkla ve 'sort by' kısmını 'sayfa düzenine' ayarla ve olduğunu garantiye al."
#: pagemash.php:133
msgid "You can also use the function anywhere in your theme code. e.g. in your sidebar.php file (but the code in here will not run if you're using any widgets) or your header.php file (somewhere under the body tag, you may want to use the depth=1 parameter to only show top level pages). The code should look something like the following:"
msgstr "Bu eklentiyi sidebar.php dosyasının içindeki kodu ile heryerde kullanabilirsiniz. ( Sidebar kısmında kullanılırken diğer kısımlarda kullanılamaz) Örnek header.php kısmında. ( bazı yerlerde derinliği=1(depth=1 olarak kullanmak isteyebilirsiniz, sadece popüler sayfaları göstermek için ). Kodlar takiben gördüğünüz gibi olmalı"
#: pagemash.php:138
msgid "You can also hard-code pages to exclude and these will be merged with the pages you set to exclude in your pageMash admin."
msgstr "Zor-kod sayfalarından istersen dışlayabilirsin ve bunlar senin pageMash admin sayfalarında ayarlayıp dışta tuttuğun sayfalarla birleşecek "
#: pagemash.php:139
msgid "The code here is very simple and flexible, for more information look up <a href=\"http://codex.wordpress.org/Template_Tags/wp_list_pages\" title=\"wp_list_pages Documentation\">wp_list_pages() in the Wordpress Codex</a> as it is very well documented and if you have any further questions or feedback I like getting messages, so <a href=\"http://joelstarnes.co.uk/contact/\" title=\"email Joel Starnes\">drop me an email</a>."
msgstr "Kod sade ve kullanımlıdır, daha fazla bilgi için incele <a href=\"http://codex.wordpress.org/Template_Tags/wp_list_pages\" title=\"wp_list_pages Documentation\">wp_list_pages() in the Wordpress Codex</a> bol dökümanı bulabilirsiniz. Bana soru sorabilir veya feedback yapabilirsiniz. E-mail: <a href=\"http://joelstarnes.co.uk/contact/\" title=\"email Joel Starnes\">bana mail yaz.</a>."
#: pagemash.php:204
msgid "pageMash "
msgstr "pageMash"

View File

@ -24,7 +24,7 @@ if (file_exists($root.'/wp-load.php')) {
require_once($root.'/wp-settings.php');
}
global $wpdb, $excludePages;
global $wpdb, $excludePages, $wp_rewrite;
$excludePages = array();
// fetch JSON object from $_POST['m']
@ -59,6 +59,9 @@ function saveList($parent, $children) {
$i++;
}
}
$wp_rewrite->flush_rules();
echo "Update Pages: \n";
echo saveList(0, $aMenu);
$wpdb->print_error();