?> <input type="hidden" name="reviewMode" value="1" /> <?php } ?> <div id="my-story"> <div class="padding rtkframe"> <div class="left"> <span class="framenum" title="Frame number"><?php echo $kanjiData->framenum; ?> </span> <div class="kanji"><?php echo cjk_lang_ja($kanjiData->kanji); ?> </div> <span class="strokecount" title="Stroke count">[<?php echo $kanjiData->strokecount; ?> ]</span> </div> <div class="right"> <div class="keyword"><?php echo KanjisPeer::getDisplayKeyword($kanjiData->keyword); ?> </div> <?php
public function filterDisplayData(uiSelectTableRow $row) { $rowData =& $row->getRowData(); $rowData['_failurecount'] = $rowData['failurecount'] == 0 ? '' : $rowData['failurecount']; $rowData['_kanji'] = cjk_lang_ja($rowData['kanji']); // $rowData['_keyword'] = link_to_keyword($rowData['keyword'], $rowData['framenum']); $tsLastReview = (int) $rowData['tsLastReview']; $rowData['_lastreview'] = $tsLastReview ? format_date($tsLastReview, rtkLocale::DATE_SHORT) : '-'; $id = $rowData['framenum']; $rowData['_checkbox'] = $this->_selection->getInputTag('rf', $id) . $this->_selection->getCheckboxTag('rf', $id); if ($this->_selection->getState($id)) { $row->addCssClass(array('selected')); } }
public function filterDisplayData(uiSelectTableRow $row) { $rowData =& $row->getRowData(); $rowData['failurecount'] = $rowData['failurecount'] != 0 ? $rowData['failurecount'] : ''; $rowData['_kanji'] = cjk_lang_ja($rowData['kanji']); $rowData['keyword'] = link_to_keyword($rowData['keyword'], $rowData['framenum']); }
"> <span class="frame"><?php echo $S['framenum']; ?> </span> <span class="votes"><?php echo $S['stars']; echo $S['kicks']; ?> </span> <span class="keywo"><?php echo $S['keyword']; ?> </span> <span class="kanji"><?php echo cjk_lang_ja($S['kanji']); ?> </span> <span class="bookstyle"><?php echo $S['story']; ?> </span> <span class="laste">Last edited: <?php echo $S['dispdate']; ?> </span> </a> </li> <?php } ?>
public function filterDisplayData(uiSelectTableRow $row) { $rowData =& $row->getRowData(); if ($rowData['failurecount'] == 0) { $rowData['failurecount'] = ''; } $rowData['_kanji'] = cjk_lang_ja($rowData['kanji']); $rowData['_keyword'] = link_to_keyword($rowData['keyword'], $rowData['framenum']); $lastReviewTS = (int) $rowData['ts_lastreview']; $rowData['_lastreview'] = $lastReviewTS ? format_date($lastReviewTS, rtkLocale::DATE_SHORT) : '-'; return $rowData; }