示例#1
0
</p>
                <?php 
}
?>
            </div>
        </div>
    </div>
    
    <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
        <div class="fpcm-ui-margin-center">
        <?php 
if ($showNextButton) {
    ?>
            <?php 
    \fpcm\model\view\helper::submitButton('SubmitNext', 'GLOBAL_NEXT', 'fpcm-installer-next-' . $currentStep);
    ?>
        <?php 
} elseif ($showReload) {
    ?>
            <?php 
    \fpcm\model\view\helper::linkButton($FPCM_BASEMODULELINK . 'installer&step=' . $currentStep . ($currentStep > 1 ? '&language=' . $FPCM_LANG->getLangCode() : ''), 'GLOBAL_RELOAD');
    ?>
        <?php 
}
?>
        </div>
    </div>
</form>
示例#2
0
                        <td class="fpcm-td-select-row"><?php 
    fpcm\model\view\helper::checkbox('ids[]', 'fpcm-list-selectbox', $term->getId(), '', '', false);
    ?>
</td>
                    </tr>
                    <?php 
}
?>
                </table>
            </div>
        </div>
    </div>

    <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
">
        <table>
            <tr>
                <td><?php 
\fpcm\model\view\helper::linkButton($FPCM_BASEMODULELINK . 'nkorg/tweetextender/addterm', 'NKORG_TWEETENTENDER_NEWTERM');
?>
</td>
                <td><?php 
\fpcm\model\view\helper::deleteButton('deleteTerms');
?>
</td>
            </tr>
        </table>
    </div>
</form>
示例#3
0
</th> 
            <th class="fpcm-td-articlelist-times"></th>
            <th class="fpcm-td-articlelist-meta"></th>
            <th class="fpcm-td-select-row"><?php 
    fpcm\model\view\helper::checkbox('fpcm-select-allsub', 'fpcm-select-allsub', '-draft' . $articleMonth, '', 'fpcm-select-allsub', false);
    ?>
</th>
        </tr>
        <tr class="fpcm-td-spacer"><td></td></tr>
        <?php 
    foreach ($articles as $articleId => $article) {
        ?>
            <tr>
                <td class="fpcm-ui-articlelist-open">
                    <?php 
        \fpcm\model\view\helper::linkButton($article->getArticleLink(), 'GLOBAL_FRONTEND_OPEN', '', 'fpcm-ui-button-blank fpcm-openlink-btn');
        ?>
                    <?php 
        \fpcm\model\view\helper::editButton($article->getEditLink(), $article->getEditPermission());
        ?>
                </td>
                <td><strong title="<?php 
        print substr(\fpcm\model\view\helper::escapeVal(strip_tags($article->getContent())), 0, 128);
        ?>
..."><?php 
        print \fpcm\model\view\helper::escapeVal(strip_tags($article->getTitle()));
        ?>
</strong></td>
                <td class="fpcm-td-articlelist-times"><?php 
        include dirname(__DIR__) . '/times.php';
        ?>
示例#4
0
    $FPCM_LANG->write('SYSTEM_OPTIONS_TWITTER_ACTIVE', array('{{screenname}}' => $twitterScreenName));
    ?>
</th>
    </tr>
    <tr class="fpcm-td-spacer"><td colspan="2"></td></tr>
    <?php 
}
?>
    <tr>
        <td></td>
        <td>
            <?php 
if (!$globalConfig['twitter_data']['consumer_key'] || !$globalConfig['twitter_data']['consumer_secret'] || !$twitterIsActive) {
    ?>
                <?php 
    \fpcm\model\view\helper::linkButton('https://apps.twitter.com/', 'SYSTEM_OPTIONS_TWITTER_CONNECT', '', '', '_blank');
    ?>
            <?php 
}
?>
            
            <?php 
if ($globalConfig['twitter_data']['user_token'] && $globalConfig['twitter_data']['user_secret'] && $twitterIsActive) {
    ?>
                <?php 
    \fpcm\model\view\helper::submitButton('twitterDisconnect', 'SYSTEM_OPTIONS_TWITTER_DISCONNECT', 'fpcm-ui-actions-genreal');
    ?>
            <?php 
}
?>
$FPCM_LANG->write('FILE_LIST_FILESIZE');
?>
</th>
        <th class="fpcm-th-select-row"></th>
    </tr>
    <?php 
fpcm\model\view\helper::notFoundContainer($templateFiles, 4);
?>

    <tr class="fpcm-td-spacer"><td></td></tr>
    <?php 
foreach ($templateFiles as $templateFile) {
    ?>
    <tr>
        <td class="fpcm-ui-editbutton-col fpcm-ui-center"><?php 
    \fpcm\model\view\helper::linkButton($templateFile->getFileUrl(), 'GLOBAL_DOWNLOAD', '', 'fpcm-ui-button-blank fpcm-download-btn', '_blank');
    ?>
</td>
        <td><?php 
    print $templateFile->getFilename();
    ?>
</td>
        <td><?php 
    print \fpcm\classes\tools::calcSize($templateFile->getFilesize());
    ?>
</td>
        <td class="fpcm-td-select-row"><?php 
    fpcm\model\view\helper::checkbox('deltplfiles[]', 'fpcm-list-selectbox', base64_encode($templateFile->getFilename()), '', '', false);
    ?>
</td>
    </tr>
示例#6
0
        }
        ?>
            <?php 
        if ($permissionInstall && $module->hasUpdates()) {
            ?>
                <?php 
            \fpcm\model\view\helper::linkButton('#', 'MODULES_LIST_UPDATE', str_replace('/', '', $module->getKey()), 'fpcm-ui-button-blank fpcm-modulelist-singleaction-update');
            ?>
            <?php 
        }
        ?>
        <?php 
    } elseif (!$module->isInstalled() && $permissionInstall) {
        ?>
            <?php 
        \fpcm\model\view\helper::linkButton('#', 'MODULES_LIST_INSTALL', str_replace('/', '', $module->getKey()), 'fpcm-ui-button-blank fpcm-modulelist-singleaction-install');
        ?>
        <?php 
    }
    ?>
        </td>
        <td><?php 
    fpcm\model\view\helper::linkButton('', \fpcm\model\view\helper::escapeVal($module->getName()), str_replace('/', '', $module->getKey()), 'fpcm-module-openinfo-link');
    ?>
</td>
        <td class="fpcm-ui-modules-key"><?php 
    print \fpcm\model\view\helper::escapeVal($module->getKey());
    ?>
</td>
        <td class="fpcm-ui-modules-version fpcm-ui-center" id="fpcm-module-version<?php 
    print $module->getKey();
示例#7
0
fpcm\model\view\helper::checkbox('fpcm-select-all', '', '', '', 'fpcm-select-allrevisions', false);
?>
</th>
    </tr>

    <?php 
\fpcm\model\view\helper::notFoundContainer($revisions, 4);
?>

    <tr class="fpcm-td-spacer"><td></td></tr>
    <?php 
foreach ($revisions as $revisionTime => $revisionTitle) {
    ?>
        <tr>
            <td class="fpcm-ui-articlelist-open"><?php 
    \fpcm\model\view\helper::linkButton($article->getEditLink() . '&rev=' . $revisionTime, 'EDITOR_STATUS_REVISION_SHOW', '', 'fpcm-ui-button-blank fpcm-openlink-btn');
    ?>
</td>
            <td><strong><?php 
    print \fpcm\model\view\helper::escapeVal(strip_tags($revisionTitle));
    ?>
</strong></td>
            <td class="fpcm-ui-revision-time"><?php 
    fpcm\model\view\helper::dateText($revisionTime);
    ?>
</td>
            <td class="fpcm-td-select-row"><?php 
    fpcm\model\view\helper::checkbox('revisionIds[]', 'fpcm-list-selectboxrevisions', $revisionTime, '', 'chbx' . $revisionTime, false);
    ?>
</td>
        </tr>
示例#8
0
            
            <?php 
    }
    ?>
        </td>
        <td class="fpcm-ui-center">            
            <?php 
    \fpcm\model\view\helper::select('pageSelect', $pageSelectOptions, $pageCurrent, false, false);
    ?>
        </td>
        <td class="fpcm-ui-center">
            <?php 
    if ($nextBtn) {
        ?>
                <?php 
        \fpcm\model\view\helper::linkButton($FPCM_SELF . '?module=' . $listAction . '&page=' . $nextBtn, 'GLOBAL_NEXT', 'fpcm-pager-next', 'fpcm-ui-pager-buttons fpcm-forward-button');
        ?>
            <?php 
    } else {
        ?>
            
                <?php 
        \fpcm\model\view\helper::dummyButton('GLOBAL_NEXT', 'fpcm-ui-pager-buttons fpcm-forward-button fpcm-ui-readonly');
        ?>
            
            <?php 
    }
    ?>
        </td>
    </tr>    
</table>
示例#9
0
    <?php 
if (!$timesMode && !$isRevision) {
    ?>
    <div class="fpcm-ui-editor-metabox-left-frontend"><?php 
    \fpcm\model\view\helper::linkButton($article->getArticleLink(), 'GLOBAL_FRONTEND_OPEN', '', 'fpcm-ui-button-blank fpcm-openlink-btn', '_blank');
    ?>
</div>
    <div class="fpcm-ui-editor-metabox-left-short"><?php 
    \fpcm\model\view\helper::linkButton($article->getArticleShortLink(), 'EDITOR_ARTICLE_SHORTLINK', '', 'fpcm-ui-button-blank fpcm-articlelist-shortlink');
    ?>
</div>
    <?php 
    if ($article->getImagepath()) {
        ?>
<div class="fpcm-ui-editor-metabox-left-aimg"><?php 
        \fpcm\model\view\helper::linkButton($article->getImagepath(), 'EDITOR_ARTICLEIMAGE_SHOW', '', 'fpcm-ui-button-blank fpcm-filelist-articleimage');
        ?>
</div><?php 
    }
    ?>
    <?php 
}
?>
    
    <div><?php 
print $timeInfoCreate;
?>
<br>
    <?php 
print $timeInfoChange;
?>
示例#10
0
     if ($resetPasswort) {
         ?>
                 <?php 
         \fpcm\model\view\helper::submitButton('reset', 'GLOBAL_OK', 'fpcm-loader fpcm-ok-button');
         ?>
                 <?php 
         \fpcm\model\view\helper::linkButton($FPCM_BASELINK, 'GLOBAL_BACK', '', 'fpcm-loader fpcm-back-button');
         ?>
             <?php 
     } else {
         ?>
                 <?php 
         \fpcm\model\view\helper::submitButton('login', 'LOGIN_BTN', 'fpcm-loader fpcm-login-btn');
         ?>
                 <?php 
         \fpcm\model\view\helper::linkButton($FPCM_BASELINK . 'index.php?module=' . $FPCM_CURRENT_MODULE . '&reset', 'LOGIN_NEWPASSWORD', '', 'fpcm-loader fpcm-passreset-btn');
         ?>
             <?php 
     }
     ?>
                 </div>
             </div>
             
             <?php 
     \fpcm\model\view\helper::pageTokenField();
     ?>
             
         </form> 
     </div>
     <?php 
 }
示例#11
0
                        <th><?php 
$FPCM_LANG->write('FILE_LIST_FILESIZE');
?>
</th>
                    </tr>
                    <?php 
fpcm\model\view\helper::notFoundContainer($folderList, 2);
?>
                    
                    <tr class="fpcm-td-spacer"><td></td></tr>
                    <?php 
foreach ($folderList as $value) {
    ?>
                    <tr>
                        <td class="fpcm-ui-editbutton-col fpcm-ui-center"><?php 
    \fpcm\model\view\helper::linkButton(fpcm\classes\baseconfig::$rootPath . 'index.php?module=system/backups&save=' . str_rot13(base64_encode($value)), 'GLOBAL_DOWNLOAD', '', 'fpcm-ui-button-blank fpcm-download-btn', '_blank');
    ?>
</td>
                        <td><?php 
    print basename($value);
    ?>
</td>
                        <td><?php 
    print \fpcm\classes\tools::calcSize(filesize($value));
    ?>
</td>
                    </tr>
                    <?php 
}
?>
                </table>
示例#12
0
<div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
    <div class="fpcm-ui-margin-center">
        <?php 
if ($isRevision) {
    ?>
            <?php 
    if ($revisionPermission) {
        fpcm\model\view\helper::submitButton('articleRevisionRestore', 'EDITOR_REVISION_RESTORE', 'fpcm-ui-revision-restore fpcm-loader');
    }
    ?>
            <?php 
    \fpcm\model\view\helper::linkButton($article->getEditLink(), 'EDITOR_BACKTOCURRENT', '', 'fpcm-back-button');
    ?>
        <?php 
} else {
    ?>
            <?php 
    fpcm\model\view\helper::linkButton('#', 'GLOBAL_EXTENDED', 'fpcmeditorextended', 'fpcm-button-extended');
    ?>
            <?php 
    fpcm\model\view\helper::saveButton('articleSave');
    ?>
            <?php 
    if ($editorMode) {
        fpcm\model\view\helper::deleteButton('articleDelete');
    }
    ?>
示例#13
0
            </div>             
            <div id="tabs-templates-tweet">
                <?php 
include __DIR__ . '/tweet.php';
?>
            </div>             
            <div id="tabs-templates-articletpl">
                <?php 
include __DIR__ . '/article_templates.php';
?>
            </div>
        </div>
        
        <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons" id="template_buttons">
            <div class="fpcm-ui-margin-center">
                <?php 
\fpcm\model\view\helper::linkButton('#', 'GLOBAL_PREVIEW', 'showpreview', 'fpcm-ui-preview');
?>
                <?php 
\fpcm\model\view\helper::saveButton('saveTemplates');
?>
            </div>
        </div>
    </form>
</div>

<div class="fpcm-ui-dialog-layer fpcm-hidden fpcm-editor-dialog" id="fpcm-dialog-templatepreview-layer"></div>
示例#14
0
?>
</th>
                    </tr>
                    <tr class="fpcm-td-spacer"><td></td></tr>   
                    <?php 
foreach ($cronjobList as $cronjob) {
    ?>
                    <tr <?php 
    if ($currentTime > $cronjob->getNextExecTime() - 60) {
        ?>
class="fpcm-ui-important-text"<?php 
    }
    ?>
>
                        <td class="fpcm-ui-center"><?php 
    \fpcm\model\view\helper::linkButton('#', 'CRONJOB_LIST_EXECDEMAND', $cronjob->getCronName(), 'fpcm-ui-button-blank fpcm-cronjoblist-exec');
    ?>
</td>
                        <td class="fpcm-cronjob-name"><?php 
    $FPCM_LANG->write('CRONJOB_' . strtoupper($cronjob->getCronName()));
    ?>
</td>
                        <td class="fpcm-cronjob-interval fpcm-ui-center"><?php 
    fpcm\model\view\helper::select('intervals_' . $cronjob->getCronName(), $FPCM_LANG->translate('SYSTEM_OPTIONS_CRONINTERVALS'), $cronjob->getIntervalTime(), false, false, false, 'fpcm-cronjoblist-intervals');
    ?>
</td>
                        <td class="fpcm-ui-center"><?php 
    \fpcm\model\view\helper::dateText($cronjob->getLastExecTime());
    ?>
</td>
                        <td class="fpcm-ui-center"><?php 
示例#15
0
            <?php 
}
?>
        </td>
    </tr>
    <tr>
        <td><?php 
$FPCM_LANG->write('GLOBAL_PASSWORD');
?>
:</td>
        <td>
            <?php 
\fpcm\model\view\helper::textInput('password', 'fpcm-usereditor-password');
?>
            <?php 
\fpcm\model\view\helper::linkButton('#', 'USERS_PASSGEN', 'generatepasswd', 'fpcm-ui-button-blank fpcm-passgen-btn');
?>
            <?php 
\fpcm\model\view\helper::shortHelpButton($FPCM_LANG->translate('USERS_REQUIREMENTS'));
?>
        </td>
    </tr>
    <tr>
        <td><?php 
$FPCM_LANG->write('USERS_PASSWORD_CONFIRM');
?>
:</td>
        <td><?php 
\fpcm\model\view\helper::textInput('password_confirm');
?>
</td>
示例#16
0
    </head>    

    <body class="fpcm-body" id="fpcm-body">

        <?php 
include_once 'vars.php';
?>

        <div class="wrapper">
            <div class="fpcm-ui-center fpcm-ui-errorbox" id="fpcm-ui-errorbox">

                <span class="fa-stack fa-lg fa-5x fpcm-ui-important-text">
                    <span class="fa fa-square fa-stack-2x"></span>
                    <span class="fa fa-exclamation-triangle fa-stack-1x fa-inverse"></span>
                </span>
                
                <p><?php 
print $message;
?>
</p>
                
                <p><?php 
\fpcm\model\view\helper::linkButton('javascript:window.history.back();', 'GLOBAL_BACK');
?>
</p>
                
            </div>
        </div>
        
    </body>
</html>
示例#17
0
            
        </td>
    </tr>      
    <?php 
}
?>
</table>

<?php 
if (count($commentActions)) {
    ?>
<div class="<?php 
    \fpcm\model\view\helper::buttonsContainerClass();
    ?>
 fpcm-ui-list-buttons fpcm-ui-commentaction-buttons">
    <div class="fpcm-ui-margin-center">
        <?php 
    if ($commentsMode == 1) {
        \fpcm\model\view\helper::linkButton('#', 'ARTICLES_SEARCH', 'fpcmcommentsopensearch', 'fpcm-articles-opensearch');
    }
    ?>
        <?php 
    \fpcm\model\view\helper::select('commentAction', $commentActions, '', false, true, false, 'fpcm-ui-input-select-articleactions');
    ?>
        <?php 
    \fpcm\model\view\helper::submitButton('doAction', 'GLOBAL_OK', 'fpcm-ui-articleactions-ok fpcm-loader');
    ?>
    </div>
</div>
<?php 
}
示例#18
0
<div class="fpcm-ui-center">
    <h3><span class="fa fa-check-square"></span> <?php 
$FPCM_LANG->write('INSTALLER_FINALIZE');
?>
</h3>
    
    <div class="fpcm-ui-center">
        <p><?php 
$FPCM_LANG->write('INSTALLER_FINALIZE_TEXT');
?>
</p>
        <?php 
if ($disableInstallerMsg) {
    ?>
        <p class="fpcm-ui-important-text"><?php 
    $FPCM_LANG->write('INSTALLER_FINALIZE_DIABLED');
    ?>
</p>
        <?php 
}
?>
        
        <p><?php 
\fpcm\model\view\helper::linkButton('index.php', 'LOGIN_BTN');
?>
</p>
    </div>
</div>