示例#1
0
?>
		<div class="uiFcButtons" id="uiFcButtons">
			
			<div id="uiFcButtons0" style="display:none">
				<h3>Press Spacebar or F to flip card</h3>
				<p>
					<?php 
echo ui_ibtn('<u>F</u>lip Card', '', array('class' => 'uiFcAction-flip'));
?>
				</p>
			</div>
	
			<div id="uiFcButtons1" style="display:none">
				<h3>Do you remember this kanji ?</h3>
				<?php 
echo ui_ibtn('<u>N</u>o', '', array('class' => 'uiFcAction-no', 'title' => 'Forgotten')) . ui_ibtn('<u>Y</u>es', '', array('class' => 'uiFcAction-yes', 'title' => 'Remembered with some effort')) . ui_ibtn('<u>E</u>asy', '', array('class' => 'uiFcAction-easy', 'title' => 'Remembered easily'));
?>
			</div>
			
		</div>
		
	</td>
	<td class="layout"></td>
</tr>
</table>

</div>

<?php 
# Form to redirect to Review Summary with POST
?>
示例#2
0
          <h3>Export your kanji flashcards</h3>
          
          <p>Click the link below to download your flashcards and current review status. The data
             is exported as a CSV file, using UTF-8 encoding.
             
<?php 
if (coreConfig::get('app_forum_url')) {
    ?>
          <p>Learn more about using CSV data <?php 
    echo link_to('here', coreConfig::get('app_forum_url') . '/viewtopic.php?pid=81160');
    ?>
.</p>
<?php 
}
?>

          <p><?php 
echo ui_ibtn('Export flashcards', 'manage/exportflashcards', array('icon' => 'export'));
?>
</p>
          

        </div>
      </div>
      <div class="clear"></div>
    </div>

  </div>

</div>
示例#3
0
<?php 
pre_end();
?>

<p>Disabled button: <?php 
echo ui_ibtn('Disabled', '#', array('type' => 'uiIBtnDisabled'));
?>
</p>

<?php 
pre_start();
?>
echo ui_ibtn('Disabled button', '', array('type' => 'uiIBtnDisabled'));
<?php 
pre_end();
?>

<p>Centered buttons</p>
  
<div style="text-align:center; background:#eee;padding:10px;">
  <?php 
echo ui_ibtn('Default button');
?>
 <?php 
echo ui_ibtn('Lorem');
?>
 <?php 
echo ui_ibtn('Ipsum');
?>
</div>
示例#4
0
  <div style="width:100%;position:relative;">
    Stories : <strong><?php 
echo $num_stories->private;
?>
</strong> private,
    <strong><?php 
echo $num_stories->public;
?>
</strong> public,
    <strong><?php 
echo $num_stories->total;
?>
</strong> total.
    <div style="position:absolute;right:0;top:-3px;"><?php 
echo ui_ibtn('Export to CSV', 'study/export', array('icon' => 'export'));
?>
</div>
  </div>
</div>

<?php 
echo ui_data_filter('Order by:', $sort_links, $sort_active);
?>

<div id="MyStoriesComponent">
  <?php 
include_component('study', 'MyStoriesTable', array());
?>
</div>
示例#5
0
    echo $forum_uid;
    ?>
">View this member's profile in the community forums</a> for contact information,
    website address, etc. (if any of those are provided).
  </p>
<?php 
}
?>

<?php 
if ($self_account) {
    ?>
  <p><?php 
    echo ui_ibtn('Edit Account', 'account/edit', array('icon' => 'edit'));
    ?>
</p>


  <p><?php 
    echo ui_ibtn('Change Password', 'account/password', array('icon' => 'edit'));
    ?>
</p>
<?php 
}
?>

  </div>
  </div>
 
</div>
    <div class="uiFcButtons" id="uiFcButtons">
      
      <div id="uiFcButtons0" style="display:none">
        <h3>Press Spacebar to continue</h3>
        <p>
          <?php 
echo ui_ibtn('Flip Card', '', array('class' => 'uiFcAction-flip'));
?>
        </p>
      </div>
  
      <div id="uiFcButtons1" style="display:none">
        <h3>Press Spacebar to continue</h3>
        <p>
          <?php 
echo ui_ibtn('Next Card', '', array('class' => 'uiFcAction-flip'));
?>
        </p>
      </div>
      
    </div>
    
  </td>
  <td class="layout"></td>
</tr>
</table>

<script type="text/javascript">
var options =
{
  // the page to go to when clicking End with 0 reviews