- Timestamp:
- Apr 24, 2011, 12:53:31 AM (14 years ago)
- Location:
- trunk/xpressme_integration_kit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_block_render.php
r708 r716 156 156 $block['err_message'] = $block_theme_file['error']; 157 157 } else { 158 if (xpress_block_cache_found($mydirname,$cache_title. $blockID)){ 159 $xml = xpress_block_cache_read($mydirname,$cache_title. $blockID); 160 $block = $xml['block']; 158 global $xoops_config,$xoopsUserIsAdmin; 159 $cache_dir = $xoops_config->xoops_cache_path; 160 if(!is_writable($cache_dir)){ 161 $block['err_message'] = _MB_XP2_CACHE_NOT_WRITABLE ; 162 if($xoopsUserIsAdmin) 163 $block['err_message'] .= " ($cache_dir)"; 161 164 } else { 162 $block['err_message'] = sprintf(_MB_XP2_BLOCK_CACHE_ERR, '<a href="' . XOOPS_URL . '/modules/' . $mydirname . '">' . $mydirname .'</a>'); 165 if (xpress_block_cache_found($mydirname,$cache_title. $blockID)){ 166 $xml = xpress_block_cache_read($mydirname,$cache_title. $blockID); 167 $block = $xml['block']; 168 } else { 169 $block['err_message'] = sprintf(_MB_XP2_BLOCK_CACHE_ERR, '<a href="' . XOOPS_URL . '/modules/' . $mydirname . '">' . $mydirname .'</a>'); 170 } 163 171 } 164 172 } -
trunk/xpressme_integration_kit/language/english/blocks.php
r533 r716 27 27 define("_MB_XP2_FILE_NAME","Files Name"); 28 28 define("_MB_XP2_THISTEMPLATE","Template"); 29 define("_MB_XP2_NO_JSCRIPT","Javascript should be enable by a browser."); 29 define("_MB_XP2_NO_JSCRIPT","Javascript should be enable by a browser."); 30 define("_MB_XP2_CACHE_NOT_WRITABLE","Cache Directory is not writable."); 30 31 31 32 // recent comment block -
trunk/xpressme_integration_kit/language/ja_utf8/blocks.php
r533 r716 27 27 define("_MB_XP2_FILE_NAME","ファイル名"); 28 28 define("_MB_XP2_THISTEMPLATE","このブロックのテンプレート"); 29 define("_MB_XP2_NO_JSCRIPT","ブラウザでJavascriptを有効にする必要があります。"); 29 define("_MB_XP2_NO_JSCRIPT","ブラウザでJavascriptを有効にする必要があります。"); 30 define("_MB_XP2_CACHE_NOT_WRITABLE","キャッシュディレクトリへの書き込みが許可されていません。"); 30 31 31 32 // recent comment block -
trunk/xpressme_integration_kit/language/japanese/blocks.php
r533 r716 27 27 define("_MB_XP2_FILE_NAME","¥Õ¥¡¥¤¥ë̾"); 28 28 define("_MB_XP2_THISTEMPLATE","¤³¤Î¥Ö¥í¥Ã¥¯¤Î¥Æ¥ó¥×¥ì¡¼¥È"); 29 define("_MB_XP2_NO_JSCRIPT","¥Ö¥é¥¦¥¶¤ÇJavascript¤ò͸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£"); 29 define("_MB_XP2_NO_JSCRIPT","¥Ö¥é¥¦¥¶¤ÇJavascript¤ò͸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£"); 30 define("_MB_XP2_CACHE_NOT_WRITABLE","¥¥ã¥Ã¥·¥å¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î½ñ¤¹þ¤ß¤¬µö²Ä¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£"); 30 31 31 32 // recent comment block -
trunk/xpressme_integration_kit/language/pt-br_utf8/blocks.php
r533 r716 27 27 define("_MB_XP2_FILE_NAME","Nome do arquivo"); 28 28 define("_MB_XP2_THISTEMPLATE","Modelo"); 29 define("_MB_XP2_NO_JSCRIPT","Javascript deveria ser habilite por um browser."); 29 define("_MB_XP2_NO_JSCRIPT","Javascript deveria ser habilite por um browser."); 30 define("_MB_XP2_CACHE_NOT_WRITABLE","Diretório de Cache não é nenhum writable."); 30 31 31 32 // recent comment block
Note: See TracChangeset
for help on using the changeset viewer.