Changeset 15078 for branches/feature-module-update/data/smarty_extends
- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 5 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/data/smarty_extends/block.marquee.php
r12157 r15078 1 1 <?php 2 2 /** 3 * marquee ¥¿¥°¤Ç°Ï¤à¡£3 * marqueeタグで囲む。 4 4 * 5 * DoCoMo ¤Î·ÈÂÓüËö¤Î¾ì¹ç¤Ïmarquee¤ò»ÈÍѤ·¤Ê¤¤¡£5 * DoCoMoの携帯端末の場合はmarqueeを使用しない。 6 6 * 7 * @param string $value ÆþÎÏ8 * @return string ½ÐÎÏ7 * @param string $value 入力 8 * @return string 出力 9 9 */ 10 10 function smarty_block_marquee($params, $content, &$smarty, &$repeat) { 11 // {/marquee} ¤Î¾ì¹ç¤Î¤ß½ÐÎϤ¹¤ë¡£11 // {/marquee}の場合のみ出力する。 12 12 if ($repeat || !isset($content)) { 13 13 return null; 14 14 } 15 15 16 // ËöÈø¤Î²þ¹Ô¤Ê¤É¤ò¼è¤ê½ü¤¯¡£16 // 末尾の改行などを取り除く。 17 17 $content = rtrim($content); 18 18 19 // marquee ¥¿¥°¤ò»ÈÍѤ·¤Ê¤¤¾ì¹ç19 // marqueeタグを使用しない場合 20 20 if (defined('MOBILE_SITE') && GC_MobileUserAgent::getCarrier() == 'docomo') { 21 21 return "<div>\n$content\n</div>\n"; -
branches/feature-module-update/data/smarty_extends/function.html_checkboxes_ex.php
r12157 r15078 156 156 } 157 157 158 // ÃͤòÁÞÆþ158 // 値を挿入 159 159 $_output .= $output; 160 160 -
branches/feature-module-update/data/smarty_extends/function.html_radios_ex.php
r12157 r15078 158 158 } 159 159 160 // ÃͤòÁÞÆþ160 // 値を挿入 161 161 $_output .= $output; 162 162 -
branches/feature-module-update/data/smarty_extends/modifier.numeric_emoji.php
r12157 r15078 1 1 <?php 2 2 /** 3 * ¿ôÃͤò¿ô»ú³¨Ê¸»ú¤ËÊÑ´¹¤¹¤ë¡£3 * 数値を数字絵文字に変換する。 4 4 * 5 * ÆþÎϤ¬0¡Á9¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¡¢·ÈÂÓüËö¤«¤é¤Î¥¢¥¯¥»¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢6 * ÆþÎϤò [ ¤È ] ¤Ç°Ï¤ó¤Àʸ»úÎó¤òÊÖ¤¹¡£5 * 入力が0〜9ではない場合、または、携帯端末からのアクセスではない場合は、 6 * 入力を [ と ] で囲んだ文字列を返す。 7 7 * 8 * @param string $value ÆþÎÏ9 * @return string ½ÐÎÏ8 * @param string $value 入力 9 * @return string 出力 10 10 */ 11 11 function smarty_modifier_numeric_emoji($value) { 12 // ¿ô»ú³¨Ê¸»ú (0¡Á9) ¤Î³¨Ê¸»úÈÖ¹æ12 // 数字絵文字 (0〜9) の絵文字番号 13 13 static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 14 14 -
branches/feature-module-update/data/smarty_extends/modifier.script_escape.php
r14928 r15078 1 1 <?php 2 2 /** 3 * Script ¥¿¥°¤ò¥¨¥¹¥±¡¼¥×¤¹¤ë3 * Scriptタグをエスケープする 4 4 * 5 * @param string $value ÆþÎÏ6 * @return string $value ¥Þ¥Ã¥Á¤·¤¿¾ì¹ç¤ÏÊÑ´¹¸å¤Îʸ»úÎ󡢤·¤Ê¤¤¾ì¹ç¤ÏÆþÎϤµ¤ì¤¿Ê¸»úÎó¤ò¤½¤Î¤Þ¤ÞÊÖ¤¹¡£5 * @param string $value 入力 6 * @return string $value マッチした場合は変換後の文字列、しない場合は入力された文字列をそのまま返す。 7 7 */ 8 8 function smarty_modifier_script_escape($value) {
Note: See TracChangeset
for help on using the changeset viewer.