Example #1
0
 /**
  * Content rendern
  */
 private function renderContent()
 {
     if (!\fpcm\classes\baseconfig::canConnect()) {
         $this->content = $this->language->translate('GLOBAL_NOTFOUND2');
         return false;
     }
     $xmlString = simplexml_load_file('https://nobody-knows.org/category/fanpress-cm/feed/');
     if (!$xmlString) {
         $this->content = $this->language->translate('GLOBAL_NOTFOUND2');
         return false;
     }
     $items = $xmlString->channel->item;
     $idx = 0;
     $content = array();
     $content[] = '<table class="fpcm-ui-table fpcm-ui-rssnews fpcm-ui-large-td">';
     foreach ($items as $item) {
         if ($idx >= 10) {
             break;
         }
         $content[] = '<tr class="fpcm-small-text">';
         $content[] = '  <td class="fpcm-ui-articlelist-open">';
         $content[] = '  <a class="fpcm-ui-button fpcm-ui-button-blank fpcm-openlink-btn" href="' . \fpcm\model\view\helper::escapeVal(strip_tags($item->link)) . '" target="_blank" title="' . $this->language->translate('GLOBAL_OPENNEWWIN') . '">' . $this->language->translate('GLOBAL_OPENNEWWIN') . '</a>';
         $content[] = '  </td>';
         $content[] = '  <td>';
         $content[] = '  <strong>' . \fpcm\model\view\helper::escapeVal(strip_tags($item->title)) . '</strong><br>';
         $content[] = '  <span>' . date($this->config->system_dtmask, strtotime($item->pubDate)) . '</span>';
         $content[] = '  </td>';
         $content[] = '</tr>';
         $idx++;
     }
     $content[] = '</table>';
     $this->content = implode(PHP_EOL, $content);
     $this->cache->write($this->content, $this->config->system_cache_timeout);
 }
Example #2
0
 /**
  * Content rendern
  */
 private function renderContent()
 {
     $userlist = new \fpcm\model\users\userList();
     $content = array();
     $content[] = '<table class="fpcm-ui-table fpcm-ui-users fpcm-ui-large-td">';
     $items = $userlist->getUsersActive();
     /* @var $item \fpcm\model\users\author */
     foreach ($items as $item) {
         $emailAddress = \fpcm\model\view\helper::escapeVal($item->getEmail());
         $content[] = '<tr class="fpcm-small-text">';
         $content[] = '  <td class="fpcm-ui-editbutton-col">';
         $content[] = '  <a class="fpcm-ui-button fpcm-ui-button-blank fpcm-email-btn" href="mailto:' . $emailAddress . '" target="_blank" title="' . $this->language->translate('GLOBAL_WRITEMAIL') . '">' . $this->language->translate('GLOBAL_WRITEMAIL') . '</a>';
         $content[] = '  </td>';
         $content[] = '  <td>';
         $content[] = '  <strong>' . \fpcm\model\view\helper::escapeVal($item->getDisplayname()) . '</strong><br>';
         $content[] = '  <span>' . $emailAddress . '</span>';
         $content[] = '  </td>';
         $content[] = '</tr>';
     }
     $content[] = '</table>';
     $this->content = implode(PHP_EOL, $content);
     $this->cache->write($this->content, $this->config->system_cache_timeout);
 }
Example #3
0
                        <td class="fpcm-td-select-row"><input type="radio" name="ids" value="<?php 
    print $cat->getId();
    ?>
"></td>
                    </tr>      
                    <?php 
}
?>
                </table>
                
                <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
                    <div class="fpcm-ui-margin-center">
                        <?php 
fpcm\model\view\helper::linkButton($FPCM_BASEMODULELINK . 'categories/add', $FPCM_LANG->translate('CATEGORIES_ADD'), '', 'fpcm-loader fpcm-new-btn');
?>
                        <?php 
fpcm\model\view\helper::deleteButton('delete');
?>
                    </div>
                </div>
            </div>
        </div>

        <?php 
\fpcm\model\view\helper::pageTokenField();
?>
    </form>
</div>
Example #4
0
    fpcm\model\view\helper::linkButton('#', 'MODULES_LIST_RELOADPKGLIST', 'fpcm-ui-reloadpkglist', 'fpcm-ui-button-blank fpcm-reload-btn');
    ?>
            <?php 
} else {
    ?>
                <?php 
    fpcm\model\view\helper::linkButton(\fpcm\classes\baseconfig::$moduleServerManualLink, 'MODULES_LIST_EXTERNALLIST', 'fpcm-ui-externalpkglist', 'fpcm-externallink-btn', '_blank');
    ?>
            <?php 
}
?>
                <?php 
fpcm\model\view\helper::select('moduleActions', $moduleActions, '', false, true, false, 'fpcm-ui-input-select-moduleactions');
?>
                <?php 
\fpcm\model\view\helper::submitButton('doAction', 'GLOBAL_OK', 'fpcm-ui-actions-modules fpcm-ok-button fpcm-loader');
?>
                </div>
            </div>         
        </div>
        
        <?php 
if ($permissionInstall) {
    ?>
        <div id="tabs-modules-upload">
            <?php 
    include_once dirname(__DIR__) . '/filemanager/forms/phpupload.php';
    ?>
        </div>
        <?php 
}
Example #5
0
            
            <div id="tabs-user">                
               <?php 
include __DIR__ . '/usereditor.php';
?>
                
            </div>
            
            <div id="tabs-user-meta">                
               <?php 
include __DIR__ . '/editormeta.php';
?>
                
            </div>            
        </div>
        
        <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
            <div class="fpcm-ui-margin-center">
                <?php 
\fpcm\model\view\helper::saveButton('userSave');
?>
                <?php 
\fpcm\model\view\helper::submitButton('resetProfileSettings', 'GLOBAL_RESET', 'fpcm-profilereset-btn');
?>
            </div>
        </div>
    </form>
</div>
Example #6
0
$FPCM_LANG->write('USERS_ROLLS_NAME');
?>
:</td>
                        <td>
                            <?php 
\fpcm\model\view\helper::textInput('rollname', '', $userRoll->getRollName());
?>
                        </td>
                    </tr>      
                </table>            

                <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
                    <div class="fpcm-ui-margin-center">
                        <?php 
\fpcm\model\view\helper::saveButton('saveRoll');
?>
                    </div>
                </div>                
            </div>
        </div>
    </form>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        fpcmJs.setFocus('rollname');
    });
</script>
Example #7
0
$FPCM_LANG->write('INSTALLER_DBCONNECTION_USER');
?>
:</td>
                <td><?php 
\fpcm\model\view\helper::textInput('database[DBUSER]', 'fpcm-installer-data');
?>
</td>
            </tr>
            <tr>
                <td><?php 
$FPCM_LANG->write('INSTALLER_DBCONNECTION_PASS');
?>
:</td>
                <td><?php 
\fpcm\model\view\helper::passwordInput('database[DBPASS]', 'fpcm-installer-data');
?>
</td>
            </tr>
            <tr>
                <td><?php 
$FPCM_LANG->write('INSTALLER_DBCONNECTION_PREF');
?>
:</td>
                <td><?php 
\fpcm\model\view\helper::textInput('database[DBPREF]', 'fpcm-installer-data', 'fpcm3');
?>
</td>
            </tr>
        </table>        
    </div>
</div>
Example #8
0
    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';
        ?>
</td>
                <td class="fpcm-td-articlelist-meta"><?php 
        include dirname(__DIR__) . '/metainfo.php';
        ?>
</td>
                <td class="fpcm-td-select-row">
                <?php 
        if ($article->getEditPermission()) {
            ?>
                    
Example #9
0
        </div>
    </div>

    <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
">
        <table>
            <tr>
                <td><?php 
fpcm\model\view\helper::select('langfile', $langfiles, base64_encode($selectedFile), false, false, false, 'fpcm-ui-input-select-moduleactions');
?>
</td>
                <td><?php 
fpcm\model\view\helper::submitButton('langfileSelect', 'GLOBAL_OK');
?>
</td>
                <?php 
if (count($lines)) {
    ?>
                <td><?php 
    \fpcm\model\view\helper::saveButton('editLangfile');
    ?>
</td>
                <?php 
}
?>
            </tr>
        </table>
    </div>
</form>
Example #10
0
            <?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 
}
?>

            <?php 
\fpcm\model\view\helper::shortHelpButton($FPCM_LANG->translate('HL_HELP'), '', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=system/help&ref=' . base64_encode('system_options_twitter_connection'), '_blank');
?>
        </td>
    </tr>
    <tr>			
        <td><?php 
$FPCM_LANG->write('SYSTEM_OPTIONS_TWITTER_EVENTS');
?>
:</td>
        <td>
            <div class="fpcm-ui-buttonset">
                <?php 
fpcm\model\view\helper::checkbox('twitter_events[create]', '', 1, 'SYSTEM_OPTIONS_TWITTER_EVENTCREATE', 'twitter_events_create', $globalConfig['twitter_events']['create']);
?>
                <?php 
fpcm\model\view\helper::checkbox('twitter_events[update]', '', 1, 'SYSTEM_OPTIONS_TWITTER_EVENTUPDATE', 'twitter_events_update', $globalConfig['twitter_events']['update']);
Example #11
0
    <?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>
    <?php 
}
?>
</table>
Example #12
0
    ?>
system/logout" class="fpcm-loader">
                         <span class="fpcm-navicon fa fa-sign-out fa-fw"></span>
                         <span class="fpcm-navigation-descr"><?php 
    $FPCM_LANG->write('LOGOUT_BTN');
    ?>
</span>
                     </a>
                 </li>
                 <li class="fpcm-menu-top-level2 fpcm-menu-top-level2-status">
                     <span><b><?php 
    $FPCM_LANG->write('PROFILE_MENU_LOGGEDINSINCE');
    ?>
:</b></span>
                     <span><?php 
    \fpcm\model\view\helper::dateText($FPCM_SESSION_LOGIN);
    ?>
 (<?php 
    print $FPCM_DATETIME_ZONE;
    ?>
)</span>
                     <span><b><?php 
    $FPCM_LANG->write('PROFILE_MENU_YOURIP');
    ?>
</b></span>
                     <span><?php 
    print fpcm\classes\http::getIp();
    ?>
</span>
                 </li>
             </ul>
Example #13
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>
Example #14
0
?>
</td>
    </tr>
    <tr>
        <td><?php 
$FPCM_LANG->write('WORDBAN_ICON_PATH');
?>
:</td>
        <td><?php 
\fpcm\model\view\helper::textInput('wbitem[replacementtext]', '', $item->getReplacementtext());
?>
</td>
    </tr>              
</table> 

<div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
    <div class="fpcm-ui-margin-center">
        <?php 
\fpcm\model\view\helper::saveButton('wbitemSave');
?>
    </div>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        fpcmJs.setFocus('wbitemsearchtext');
    });
</script>
Example #15
0
 /**
  * Content rendern
  */
 private function renderContent()
 {
     $ownPermissions = $this->permissions->check(array('article' => 'edit'), array('comment' => 'edit'));
     $allPermissions = $this->permissions->check(array('article' => 'editall'), array('comment' => 'editall'));
     $commenList = new \fpcm\model\comments\commentList();
     $userlist = new \fpcm\model\users\userList();
     $comments = $commenList->getCommentsByLimit(10, 0);
     $users = array_flip($userlist->getUsersNameList());
     $content = array();
     $content[] = '<table class="fpcm-ui-table fpcm-ui-articles fpcm-ui-large-td">';
     foreach ($comments as $comment) {
         $createInfo = $this->language->translate('COMMMENT_LASTCHANGE', array('{{username}}' => isset($users[$comment->getChangeuser()]) ? $users[$comment->getChangeuser()] : $this->language->translate('GLOBAL_NOTFOUND'), '{{time}}' => date($this->config->system_dtmask, $comment->getChangetime())));
         if (!$comment->getChangeuser() && !$comment->getChangetime()) {
             $createInfo = '';
         }
         $content[] = '<tr class="fpcm-small-text">';
         $content[] = '  <td class="fpcm-ui-articlelist-open">';
         $content[] = '  <a class="fpcm-ui-button fpcm-ui-button-blank fpcm-openlink-btn" href="' . $comment->getArticleLink() . '" target="_blank" title="' . $this->language->translate('GLOBAL_FRONTEND_OPEN') . '">' . $this->language->translate('GLOBAL_FRONTEND_OPEN') . '</a>';
         if ($comment->getEditPermission()) {
             $content[] = '  <a class="fpcm-ui-button fpcm-ui-button-blank fpcm-ui-button-edit fpcm-loader" href="' . $comment->getEditLink() . '&amp;mode=1" title="' . $this->language->translate('GLOBAL_EDIT') . '">' . $this->language->translate('GLOBAL_EDIT') . '</a>';
         } else {
             $content[] = '  <span class="fpcm-ui-button fpcm-ui-button-blank fpcm-ui-button-edit fpcm-ui-readonly" title="' . $this->language->translate('GLOBAL_EDIT') . '">' . $this->language->translate('GLOBAL_EDIT') . '</span>';
         }
         $content[] = '  </td>';
         $content[] = '  <td>';
         $content[] = '  <strong>' . \fpcm\model\view\helper::escapeVal(strip_tags($comment->getName())) . '</strong> @ ' . date($this->config->system_dtmask, $comment->getCreatetime()) . '<br>';
         $content[] = '  <span>' . $createInfo . '</span>';
         $content[] = '  </td>';
         $content[] = '  <td class="fpcm-ui-dashboard-recentarticles-meta">';
         if ($comment->getSpammer()) {
             $content[] = '      <span class="fa-stack fa-fw fpcm-ui-status-1" title="' . $this->language->translate('COMMMENT_SPAM') . '"><span class="fa fa-square fa-stack-2x"></span><span class="fa fa-flag fa-stack-1x fa-inverse"></span></span>';
         }
         if ($comment->getApproved()) {
             $content[] = '      <span class="fa-stack fa-fw fpcm-ui-status-1" title="' . $this->language->translate('COMMMENT_APPROVE') . '"><span class="fa fa-square fa-stack-2x"></span><span class="fa fa-check-circle-o fa-rotate-90 fa-stack-1x fa-inverse"></span></span>';
         }
         if ($comment->getPrivate()) {
             $content[] = '      <span class="fa-stack fa-fw fpcm-ui-status-1" title="' . $this->language->translate('COMMMENT_PRIVATE') . '"><span class="fa fa-square fa-stack-2x"></span><span class="fa fa-eye-slash fa-stack-1x fa-inverse"></span></span>';
         }
         $content[] = '  </td>';
         $content[] = '</tr>';
     }
     $content[] = '</table>';
     $this->content = implode(PHP_EOL, $content);
     $this->cache->write($this->content, $this->config->system_cache_timeout);
 }
Example #16
0
?>
</th>
    </tr>
    
    <?php 
\fpcm\model\view\helper::notFoundContainer($databaseLogs, 2);
?>

    <tr class="fpcm-td-spacer"><td></td></tr>  
    <?php 
foreach ($databaseLogs as $value) {
    ?>
    <?php 
    if (!is_object($value)) {
        continue;
    }
    ?>
    <tr>
        <td><?php 
    print $value->time;
    ?>
</td>
        <td><?php 
    print nl2br(\fpcm\model\view\helper::escapeVal($value->text));
    ?>
</td>
    </tr>
    <?php 
}
?>
</table>
Example #17
0
</td>
            <td><?php 
\fpcm\model\view\helper::select('approved', $searchApproval, null, false, false, false, 'fpcm-comments-search-input fpcm-ui-input-select-commentsearch');
?>
</td>
            <td><?php 
\fpcm\model\view\helper::select('private', $searchPrivate, null, false, false, false, 'fpcm-comments-search-input fpcm-ui-input-select-commentsearch');
?>
</td>
        </tr>
        <tr>    
            <td><?php 
\fpcm\model\view\helper::textInput('datefrom', 'fpcm-comments-search-input fpcm-full-width-date', '', false, 10, $FPCM_LANG->translate('ARTICLE_SEARCH_DATE_FROM'), 'fpcm-full-width');
?>
</td>
            <td><?php 
\fpcm\model\view\helper::textInput('dateto', 'fpcm-comments-search-input fpcm-full-width-date', '', false, 10, $FPCM_LANG->translate('ARTICLE_SEARCH_DATE_TO'), 'fpcm-full-width');
?>
</td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><?php 
\fpcm\model\view\helper::select('combination', $searchCombination, null, false, false, false, 'fpcm-comments-search-input fpcm-ui-input-select-commentsearch');
?>
</td>
        </tr>
    </table>
</div>
Example #18
0
        <ul>
            <li><a href="#example"><?php 
$FPCM_LANG->write('FPCM_EXAMPLE_HEADLINE');
?>
</a></li>
        </ul>

        <div id="example">
            <?php 
include __DIR__ . '/logview.php';
?>
        </div>
        
        <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
            <div class="fpcm-ui-margin-center">
                <form method="post" action="<?php 
print $FPCM_BASEMODULELINK . $FPCM_CURRENT_MODULE;
?>
&key=nkorg/example">
                    <?php 
\fpcm\model\view\helper::submitButton('clearLog', 'LOGS_CLEARLOG');
?>
                </form>
            </div>
        </div>
    </div>
</div>
Example #19
0
<div class="fpcm-content-wrapper">
    <h1>
        <span class="fa fa-pencil"></span> <?php 
$FPCM_LANG->write('HL_ARTICLE_ADD');
?>
        <?php 
\fpcm\model\view\helper::helpButton('articles_editor');
?>
    </h1>
    <?php 
include __DIR__ . '/articleeditor.php';
?>
</div>
Example #20
0
</td>
                    </tr>
                    <tr>
                        <td><?php 
$FPCM_LANG->write('NKORG_TWEETENTENDER_REPLACETERM');
?>
:</td>
                        <td><?php 
\fpcm\model\view\helper::textInput('term[replace]', '', $term->getReplaceterm());
?>
</td>
                    </tr>         
                </table> 

                <div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
">
                    <table>
                        <tr>
                            <td><?php 
\fpcm\model\view\helper::saveButton('termSave');
?>
</td>
                        </tr>
                    </table>
                </div>            
            </form>
        </div>
    </div>
</div>
Example #21
0
<div class="fpcm-accordion-pkgmanager">
    <?php 
\fpcm\model\view\helper::notFoundContainer($packagesLogs, 0);
?>
    <?php 
foreach ($packagesLogs as $value) {
    ?>
        <?php 
    if (!is_object($value) || !is_array($value->text)) {
        continue;
    }
    ?>
        <h2><?php 
    print $value->time;
    ?>
: <?php 
    print $value->pkgname;
    ?>
</h2>
        <div>
            <ul>
                <?php 
    foreach ($value->text as $line) {
        ?>
                <li><?php 
        print $line;
        ?>
</li>
                <?php 
    }
    ?>
Example #22
0
<p><?php 
$FPCM_LANG->write('FPCM_CLASSICIMPORTER_IMPORT_ARTICLES_TXT');
?>
</p>
<p><?php 
\fpcm\model\view\helper::button('button', 'startImportArticles', 'FPCM_CLASSICIMPORTER_IMPORT_START', 'fpcm-classicimporter-importstart');
?>
</p>
<p class="fpcm-ui-checkdata-text fpcm-ui-important-text">
    <span class="fa fa-exclamation-circle"></span> <?php 
$FPCM_LANG->write('FPCM_CLASSICIMPORTER_CHECK');
?>
</p>

Example #23
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>
Example #24
0
            <?php 
        } elseif ($options['type'] == 'checkbox') {
            ?>
                <?php 
            \fpcm\model\view\helper::checkbox('userfields[' . $options['name'] . ']', $options['class'], $options['value'], $options['description'], $options['id'], $options['selected'], $options['readonly']);
            ?>
            <?php 
        } elseif ($options['type'] == 'radio') {
            ?>
                <?php 
            \fpcm\model\view\helper::radio('userfields[' . $options['name'] . ']', $options['class'], $options['value'], $options['description'], $options['id'], $options['selected'], $options['readonly']);
            ?>
            <?php 
        } else {
            ?>
                <?php 
            \fpcm\model\view\helper::textInput('userfields[' . $options['name'] . ']', $options['class'], $options['value'], $options['readonly'], $options['lenght']);
            ?>
            <?php 
        }
        ?>
    
            </div>
            <div class="fpcm-ui-editor-extended-col">

            </div>
            <div class="fpcm-clear"></div>
        </div>  
    <?php 
    }
}
            
        </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 
}
Example #26
0
<p class="fpcm-ui-center"><?php 
$FPCM_LANG->write('NKORG_MODULECREATOR_CREATESTRUCTURE_TXT');
?>
</p>

<div id="fpcm-nkorgmodulecreator-createmsg"></div>

<div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
">
    <table>
        <tr>
            <td><?php 
fpcm\model\view\helper::button('submit', 'startCreation', 'GLOBAL_OK', 'fpcm-loader');
?>
</td>
        </tr>
    </table>
</div>
Example #27
0
    } else {
        $selected = false;
    }
    ?>
            <?php 
    fpcm\model\view\helper::checkbox('category[groups][]', '', $rollid, $rollname, 'cat' . $rollid, $selected);
    ?>
        <?php 
}
?>
                    
        </td>
    </tr>               
</table> 

<div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
    <div class="fpcm-ui-margin-center">
        <?php 
\fpcm\model\view\helper::saveButton('categorySave');
?>
    </div>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        fpcmJs.setFocus('categoryname');
    });
</script>
Example #28
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>
Example #29
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>
Example #30
0
    ?>
</td>
                    <td><?php 
    \fpcm\model\view\helper::radio('smiley[filename]', '', $filename, '', '', $smiley->getFilename());
    ?>
</td>
                </tr>
                <?php 
}
?>
            </table>
        </td>
    </tr>                    
</table>            

<div class="<?php 
\fpcm\model\view\helper::buttonsContainerClass();
?>
 fpcm-ui-list-buttons">
    <div class="fpcm-ui-margin-center">
        <?php 
\fpcm\model\view\helper::saveButton('saveSmiley');
?>
    </div>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        fpcmJs.setFocus('smileycode');
    });
</script>