ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 11035


Ignore:
Timestamp:
Mar 17, 2009, 8:47:10 PM (12 years ago)
Author:
ShogoKawahara
Message:

opDiaryPlugin:applied r11034

Location:
OpenPNE3/plugins/opDiaryPlugin/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opDiaryPlugin/trunk/apps/mobile_frontend/modules/diary/templates/showSuccess.php

    r10698 r11035  
    22<?php use_helper('opDiary') ?>
    33
    4 <?php echo op_diary_within_page_link() ?>
     4<?php echo op_within_page_link() ?>
    55<?php echo op_format_date($diary->getCreatedAt(), 'XDateTime') ?>
    66<?php if ($diary->getMemberId() === $sf_user->getMemberId()): ?>
     
    2727
    2828<hr>
    29 <?php echo op_diary_within_page_link('') ?>
     29<?php echo op_within_page_link('') ?>
    3030<?php
    3131$options['title'] = __('Post a diary comment');
  • OpenPNE3/plugins/opDiaryPlugin/trunk/apps/mobile_frontend/modules/diaryComment/templates/_list.php

    r10454 r11035  
    1010<?php foreach ($pager->getResults() as $comment): ?>
    1111<hr>
    12 <?php echo op_diary_within_page_link() ?>
     12<?php echo op_within_page_link() ?>
    1313[<?php printf('%03d', $comment->getNumber()) ?>]<?php echo op_format_date($comment->getCreatedAt(), 'XDateTime') ?>
    1414<?php if ($diary->getMemberId() === $sf_user->getMemberId() || $comment->getMemberId() === $sf_user->getMemberId()): ?>
  • OpenPNE3/plugins/opDiaryPlugin/trunk/lib/helper/opDiaryHelper.php

    r10585 r11035  
    99 */
    1010
    11 function op_diary_within_page_link($marker = '▼')
    12 {
    13   static $n = 0;
    14 
    15   $options = array();
    16   if ($n)
    17   {
    18     $options['name'] = sprintf('a%d', $n);
    19   }
    20   if ($marker)
    21   {
    22     $options['href'] = sprintf('#a%d', $n+1);
    23   }
    24 
    25   $n++;
    26 
    27   return content_tag('a', $marker, $options);
    28 }
    29 
    3011function op_diary_get_title_and_count($diary, $space = true, $width = 36)
    3112{
Note: See TracChangeset for help on using the changeset viewer.