• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-jp-ancient: Commit

Nucleus CMS日本語版SVNをgit-svnしたもの。リポジトリの変換作業用


Commit MetaInfo

Revision64905b7a1f61b7556fe72d3c29c55e5c9452af82 (tree)
Zeit2009-03-13 10:02:40
Autorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

プラグイン一覧画面の「入手元URL」を本家にあわせて表示しないようにした。
スキンタイプ一覧のヘルプアイコンの位置を本家にあわせて名前の前に移動。
Fix bug in showlist.php for displaying plugin dependency.
history.html update

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk/utf8@971 1ca29b6e-896d-4ea0-84a5-967f57386b96

Ändern Zusammenfassung

Diff

--- a/nucleus/documentation/history.html
+++ b/nucleus/documentation/history.html
@@ -64,6 +64,7 @@
6464 <li>CHANGED: NP_SkinFilesオプション用言語定義追加(NP_SkinFiles option word update via language file)(shizuki)</li>
6565 <li>UPDATED: NP_SkinFiles 2.03に差し替え(code:yama/commit:shizuki)(NP_SkinFiles update to 2.03)(code:yama,katsumi/commit:shizuki)</li>
6666 <li>FIXED: 「General」カテゴリのUPDATE漏れ修正(install.php)(preinstall default category name is not localize)(shizuki)</li>
67+ <li>FIXED: bug in showlist.php for displaying plugin dependency. See <a href="http://forum.nucleuscms.org/viewtopic.php?t=18594">Manage Plugins error in Nucleus 3.40</a> (ftruscot, thanks ajmiller)</li>
6768 <li>FIXED: SQL error in MEMBER::write() where mautosave not forced to be integer. See <a href="http://forum.nucleuscms.org/viewtopic.php?t=18575">Problem with 3.40</a>. (ftruscot)</li>
6869 <li>CHANGED: Modify Fix SQL error when new blog add by shizuki, to give a default english value for category name, category desc, first item title, and first item body in case where user does not have updated language file. (ftruscot)</li>
6970 <li>FIXED: Fix SQL Error when new blog add. (shizuki)</li>
@@ -148,6 +149,8 @@
148149 <li>ADDED: new event in ADMIN.php called TemplateExtraFields to allow plugin developers to add fields to templates. This should encourage plugin authors to make use of the core template storage to provide formatting for their output. This event just presents the extra fields on the template edit form and stores data entered there into the nucleus_template table. It is the responsibility of the plugin authors to use the template fields they add and to provide the variables used in those fields. Plugins should also document their variables and provide for a default, either in the code or through a plugin option. (ftruscot)</li>
149150 <li>FIXED: (<a href="http://nucleus-jp.sourceforge.jp/tracker/index.php?do=details&amp;task_id=73">#73(JP)</a>): スキン読み込みの改良. (kotorisan/yu/shizuki)</li>
150151 <li>FIXED: (<a href="http://nucleus-jp.sourceforge.jp/tracker/index.php?do=details&amp;task_id=74">#74(JP)</a>): スキン編集画面の日本語化漏れ. (shizuki)</li>
152+ <li>CHANGED: プラグイン一覧画面の「入手元URL」を本家にあわせて表示しないようにした。</li>
153+ <li>CHANGED: スキンタイプ一覧のヘルプアイコンの位置を本家にあわせて名前の前に移動。</li>
151154 <li>CHANGED: 管理画面CSS差し替え(code:yama/commit:shizuki)</li>
152155 <li>FIXED: スキン差し替えによる問題修正(PHP4のみ。PHP5オンリーになったら戻す。SKIN.php、TEMPLATE.php)(shizuki)</li>
153156 <li>CHANGED: デフォルトスキンを日本語版に差し替え(coded:yama/commit:shizuki)</li>
--- a/nucleus/libs/showlist.php
+++ b/nucleus/libs/showlist.php
@@ -186,7 +186,7 @@ function listplug_table_pluginlist($template, $type) {
186186 echo _LIST_PLUGS_VER, ' ' , htmlspecialchars($plug->getVersion()) , '<br />';
187187 if ($plug->getURL())
188188 echo '<a href="',htmlspecialchars($plug->getURL()),'" tabindex="'.$template['tabindex'].'">',_LIST_PLUGS_SITE,'</a><br />';
189- echo '<a href="',htmlspecialchars($plug->getURL()),'" tabindex="'.$template['tabindex'].'">'.htmlspecialchars(shorten($plug->getURL(), 25, '...')),'</a><br />';
189+// echo '<a href="',htmlspecialchars($plug->getURL()),'" tabindex="'.$template['tabindex'].'">'.htmlspecialchars(shorten($plug->getURL(), 25, '...')),'</a><br />';
190190 echo '</td>';
191191 echo '<td>';
192192 echo _LIST_PLUGS_DESC .'<br/>'. encode_desc($plug->getDescription());
@@ -206,7 +206,7 @@ function listplug_table_pluginlist($template, $type) {
206206 $res = sql_query('SELECT pfile FROM ' . sql_table('plugin'));
207207 while($o = mysql_fetch_object($res)) {
208208 $preq =& $manager->getPlugin($o->pfile);
209- if ($plug) {
209+ if ($preq) {
210210 $depList = $preq->getPluginDep();
211211 foreach ($depList as $depName) {
212212 if ($current->pfile == $depName) {
@@ -599,9 +599,9 @@ function listplug_table_skinlist($template, $type) {
599599 for ($i=0;$i<sizeof($types);$i++) {
600600 $type = $types[$i];
601601 if (in_array($type, array('index', 'item', 'archivelist', 'archive', 'search', 'error', 'member', 'imagepopup'))) {
602- $types[$i] = '<li> <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . helpHtml('skinpart'.$type) . "</a></li>";
602+ $types[$i] = '<li>' . helpHtml('skinpart'.$type) . ' <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . "</a></li>";
603603 } else {
604- $types[$i] = '<li> <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . helpHtml('skinpartspecial') . "</a></li>";
604+ $types[$i] = '<li>' . helpHtml('skinpartspecial') . ' <a href="index.php?action=skinedittype&amp;skinid='.$current->sdnumber.'&amp;type='.$type.'" tabindex="'.$template['tabindex'].'">' . htmlspecialchars($friendlyNames[$type]) . "</a></li>";
605605 }
606606 }
607607 echo '<br /><br />',_LIST_SKINS_DEFINED,' <ul>',implode($types,'') ,'</ul>';
Show on old repository browser