示例#1
0
        ?>
        <div class="fpcm-ui-editor-extended-row">
            <div class="fpcm-ui-editor-extended-icon"><span class="fa fa-<?php 
        print $options['type'];
        ?>
 fa-fw fa-lg"></span></div>
            <div class="fpcm-ui-editor-extended-button">
            <?php 
        if ($options['type'] == 'textarea') {
            ?>
                <p><?php 
            print $options['description'];
            ?>
:</p>
                <?php 
            \fpcm\model\view\helper::textArea('userfields[' . $options['name'] . ']', $options['class'], $options['value'], $options['readonly']);
            ?>
            <?php 
        } elseif ($options['type'] == 'select') {
            ?>
                <p><?php 
            print $options['description'];
            ?>
:</p>
                <?php 
            \fpcm\model\view\helper::select('userfields[' . $options['name'] . ']', $options['options'], $options['value'], $options['firstempty'], $options['firstenabled'], $options['readonly'], $options['class']);
            ?>
            <?php 
        } elseif ($options['type'] == 'checkbox') {
            ?>
                <?php 
示例#2
0
}
?>
    
    <tr>
        <td>
            <?php 
\fpcm\model\view\helper::textInput('article[title]', 'fpcm-full-width', $article->getTitle());
?>
        </td>
    </tr>
    <tr>
        <td class="fpcm-ui-editor-categories">
            <?php 
include dirname(__DIR__) . '/categories.php';
?>
        </td>
    </tr>
     <tr>
        <td>
            <?php 
\fpcm\model\view\helper::textArea('article[content]', 'fpcm-full-width', stripslashes($article->getContent()), false, false);
?>
        </td>
    </tr>
</table>

<script type="text/javascript">
    jQuery(document).ready(function() {
        fpcmEditor.initTinyMce();
    });
</script>
示例#3
0
            <?php 
}
?>
                <button title="<?php 
$FPCM_LANG->write('EDITOR_HTML_BUTTONS_REMOVESTYLE');
?>
 (Ctrl + Shift + S)" id="fpcm-editor-html-removetags-btn"><span class="fa fa-eraser"></span></button>
                <button disabled="disabled" title="<?php 
$FPCM_LANG->write('EDITOR_AUTOSAVE_RESTORE');
?>
" id="fpcm-editor-html-restoredraft-btn"><span class="fa fa-repeat fa-flip-horizontal"></span></button>
            </div>                
        </td>
    </tr>
    <tr>
        <td style="font-size: <?php 
print $editorDefaultFontsize;
?>
">
            <?php 
\fpcm\model\view\helper::textArea('article[content]', 'fpcm-full-width', $article->getContent());
?>
        </td>
    </tr>
</table>

<script type="text/javascript">
    jQuery(document).ready(function() {
        fpcmEditor.initCodeMirror();
    });    
</script>
示例#4
0
    ?>
            </div>
        </td>
    </tr>
    <?php 
}
?>
    <tr>
        <td colspan="2"><strong><?php 
$FPCM_LANG->write('COMMMENT_TEXT');
?>
</strong>:</td>
    </tr>
    <tr>
        <td colspan="2"><?php 
\fpcm\model\view\helper::textArea('comment[text]', 'fpcm-full-width', stripslashes($comment->getText()), false, false);
?>
</td>
    </tr>
</table>

<div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons <?php 
if ($commentsMode == 2) {
    ?>
fpcm-hidden<?php 
}
?>
">
示例#5
0
    <tr>
        <td><strong><?php 
$FPCM_LANG->write('NKORG_MODULECREATOR_GENERAL_VERSION');
?>
</strong></td>
        <td><?php 
\fpcm\model\view\helper::textInput('nkorgmodulecreator[version]', 'fpcm-half-width fpcm-nkorgmodulecreator-input', '0.0.1');
?>
</td>
    </tr>
    <tr>
        <td><strong><?php 
$FPCM_LANG->write('NKORG_MODULECREATOR_GENERAL_FPCMVER');
?>
</strong></td>
        <td><?php 
\fpcm\model\view\helper::textInput('nkorgmodulecreator[sysversion]', 'fpcm-half-width fpcm-nkorgmodulecreator-input', $FPCM_VERSION);
?>
</td>
    </tr>
    <tr>
        <td><strong><?php 
$FPCM_LANG->write('NKORG_MODULECREATOR_GENERAL_DESCR');
?>
</strong></td>
        <td><?php 
\fpcm\model\view\helper::textArea('nkorgmodulecreator[description]', 'fpcm-half-width fpcm-nkorgmodulecreator-input');
?>
</td>
    </tr>
</table>
示例#6
0
            <form method="post" action="<?php 
print $FPCM_SELF;
?>
?module=<?php 
print $FPCM_CURRENT_MODULE;
print $additional;
?>
">
                <table class="fpcm-ui-table fpcm-ui-options">
                    <tr>
                        <td><?php 
$FPCM_LANG->write('NKORGINACTIVITY_MANAGER_TEXT');
?>
:</td>
                        <td><?php 
\fpcm\model\view\helper::textArea('msg[text]', 'fpcm-half-width', $msg->getText());
?>
</td>
                    </tr>
                    <tr>
                        <td><?php 
$FPCM_LANG->write('NKORGINACTIVITY_MANAGER_START');
?>
</td>
                        <td><?php 
\fpcm\model\view\helper::textInput('msg[start]', 'nkorg-inactivity-manager-dates', date('Y-m-d', $msg->getStarttime()));
?>
</td>
                    </tr>  
                    <tr>
                        <td><?php 
示例#7
0
<p class="fpcm-ui-center"><?php 
$FPCM_LANG->write('NKORG_MODULECREATOR_DEPENDENCIES_TXT');
?>
</p>

<p class="fpcm-ui-center"><?php 
\fpcm\model\view\helper::textArea('nkorgmodulecreator[dependencies]', 'fpcm-half-width fpcm-nkorgmodulecreator-input');
?>
</p>