3 * Link Plugin for TRPG Databank
7 * @copyright Copyright 2010, Cake. (http://trpgtools-onweb.sourceforge.jp/)
9 * @package plugin for TRPG Data Bank
11 * @author Cake <cake_67@users.sourceforge.jp>
12 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
13 * @link http://trpgtools-onweb.sourceforge.jp/
16 <div class="links form">
18 echo $form->create('Link', array(
24 <legend><?php if (!$isEdit): ?><?php __('Add Link'); ?><?php else: ?><?php __('Edit Link'); ?><?php endif ?></legend>
26 echo $this->Form->input('url', array(
28 'label' => __('URL', true),
29 'style' => 'ime-mode:inactive;',
30 'class' => 'longInput',
31 'after' => $html->div(
37 echo $this->Html->div(
39 __('URL must be less than 512 letters. The Multi-byte letters will counted after UTF-8 encoded.', true)
42 echo $this->element('medium_edit', array(
43 'label' => __('Banner', true),
46 'previewVersion' => 's',
49 echo $this->Form->input('title', array(
51 'label' => __('Title', true),
52 'class' => 'longInput',
53 'after' => $html->div(
55 __('If empty, the site title will be automatically inputted.', true)
59 echo $this->Form->input('notes', array(
61 'label' => __('Description', true)
65 echo $select->create_boolean_select('pickup', array(
66 'label' => __('PickUp', true),
70 echo $linkSelect->create_type_select($type);
72 echo $form->input('ring', array(
73 'label' => __('Ring text', true),
74 'after' => $html->tag('div',
75 __('HTML tags OK. It is for RING Tags setting.', true),
76 array('class' => 'attention')
81 echo $token->create();
84 <?php echo $this->Form->end(__('Submit', true));?>
87 <div class="backButton">
89 echo $form->create('', array('url' => array(
91 'controller' => 'links',
92 'action' => 'listview',
95 'id' => 'CancelButton'
97 echo $form->end(array('label' => __('Cancel', true)));