<?php /** $Id: filter_search_enabled.php 770 2010-12-22 13:10:48Z stian $ */ defined('KOOWA') or die('Restricted access'); ?> <table class="adminlist ninja-list"> <thead> <tr> <th nowrap="nowrap" style="text-align: left;" width="100%"> <?php echo @template('admin::com.ninja.view.search.filter_default'); ?> </th> <th nowrap="nowrap" style="text-align: right" width="0">  <?php echo @ninja('grid.filter', array('state' => array('enabled' => $state->enabled))); ?>   </th> </tr> </thead> </table>
<style type="text/css"> .current { max-height: 380px; overflow: auto; } </style> <?php echo @ninja('tabs.startpane', array('id' => 'popup', 'options' => array('display' => 1))); ?> <?php echo @ninja('tabs.startpanel', array('title' => @text('General Information'))); ?> <?php echo @template('information'); ?> <?php echo @ninja('tabs.endpanel'); ?> <?php /*@helper('tabs.startpanel', @text('Support')) ?> <?= @template('support') ?> <?= @helper('tabs.endpanel')*/ ?> <?php echo @ninja('tabs.startpanel', array('title' => @text('Changelog and Version Information'))); ?> <?php echo @template('changelog'); ?> <?php echo @ninja('tabs.endpanel'); echo @ninja('tabs.endpane');
echo @ninja('grid.count', array('total' => @$total, 'title' => true)); ?> <th class="grid-check"><?php echo @ninja('grid.checkall'); ?> </th> <th><?php echo @ninja('grid.sort', array('title' => 'Title')); ?> </th> <th><?php echo @ninja('grid.sort', array('title' => 'Enabled')); ?> </th> <th width="1px"><?php echo @ninja('grid.sort', array('title' => 'Min posts')); ?> </th> <th> </th> </tr> </thead> <?php echo @ninja('paginator.tfoot', array('total' => @$total, 'colspan' => 7)); ?> <tbody class="ranks"> <?php echo @template('default_items'); ?> </tbody> </table> </form>
<label class="key"><?php echo @text('State'); ?> </label> <div class="value"><?php echo @ninja('select.statelist', array('attribs' => array('class' => 'validate-reqchk-byname label:\'state\''), 'selected' => @$rank->enabled)); ?> </div> </div> <div class="element"> <label for="rank_file" class="key"><?php echo @text('Rank Image File'); ?> </label> <div class="value"><?php echo @ninja('select.images', array('path' => JPATH_ROOT . '/media/com_ninjaboard/images/rank', 'name' => 'rank_file', 'atrribs' => array('class' => 'value'), 'selected' => @$rank->rank_file, 'vertical' => true)); ?> </div> </div> <div class="element"> <?php echo KFactory::tmp('admin::com.ninja.element.note', array('node' => simplexml_load_string('<param name="hint" type="note" class="note" slide="true" description="Go to the Joomla! media manager, and upload icons here: %s. Create the folders if they don\'t already exist." eval="return JPATH_ROOT.DS.\'images\'.DS.\'com_ninjaboard\'.DS.\'rank\';" show="Show how to upload custom icons." hide="Hide how to upload custom icons." />'), 'value' => '', 'field' => 'note')); ?> </div> </div> <input type="hidden" name="description" value="<?php echo @escape($rank->description); ?> "/> <input type="hidden" name="params" value="<?php echo @escape($rank->params);
<?php defined('KOOWA') or die('Restricted access'); ?> <form action="<?php echo @route('id=' . @$setting->id); ?> " method="post" id="<?php echo @id(); ?> "> <div class="col width-50"> <?php echo @template('form_details'); ?> <?php @ninja('behavior.tooltip', array('selector' => '[title].hasTip')); ?> <?php echo @template('admin::com.ninja.view.setting.fieldsets'); ?> </div> </form>
<?php defined('KOOWA') or die('Restricted access'); ?> <?php echo @ninja('bbcode.parse', array('text' => urldecode(KRequest::get('get.text', 'raw'))));
?> <th class="grid-check"><?php echo @ninja('grid.checkall'); ?> </th> <th width="100%"><?php echo @text('Title'); ?> </th> <?php foreach ($columns as $column) { ?> <th><?php echo @text($column); ?> </th> <?php } ?> </tr> </thead> <?php echo @ninja('paginator.tfoot', array('total' => @$total, 'colspan' => $colspan, 'display' => 4)); ?> <tbody class="sortable"> <?php echo @template('default_items'); ?> </tbody> </table> </form>
<label for="search"><?php echo @text('Search:'); ?> </label> <?php echo @ninja('paginator.search'); ?>    <input type="hidden" name="option" value="com_ninjaboard" /> <input type="hidden" name="view" value="users" /> <label for="fusergroup"><?php echo @text('Filter:'); ?> </label> <?php echo @ninja('paginator.usergroup'); ?>    <div class="button2-left" style="float: none; display: inline-block;"> <div class="page" style="float:none;"> <a style="float:none;" href="<?php echo @route('option=com_ninjaboard&view=users&search=&usergroup=&limit=20&offset=0'); ?> " title="<?php echo @text('Reset filtering'); ?> "><?php echo @text('Reset'); ?> </a></div> </div> </form>
<?php defined('_JEXEC') or die('Restricted access'); ?> <div class="inner"><?php echo @ninja('manifest.changelogs'); ?> </div>
</label> <input type="text" name="subject" id="subject" class="inputbox required value" size="50" value="<?php echo @escape($post->subject); ?> " maxlength="100" /> </div> <div class="element icons"> <label class="key"><?php echo @text('Topic Icon'); ?> </label> <?php $icon = isset($topic->params['customization']['icon']) ? $topic->params['customization']['icon'] : '32__default.png'; ?> <?php echo @ninja('select.images', array('path' => JPATH_ROOT . '/media/com_ninjaboard/images/topic', 'name' => 'params[customization][icon]', 'attribs' => array('class' => 'value', 'id' => 'params[customization][icon]'), 'selected' => $icon, 'idtag' => false, 'translate' => true, 'vertical' => false, 'script' => false)); ?> </div> <?php } ?> <div class="element wider" style="text-align:center;position:relative"> <textarea name="text" id="text" placeholder="<?php echo @text('Enter some text'); ?> "><?php echo @escape($post->text); ?> </textarea> <div id="text_preview"></div> </div>
<?php defined('KOOWA') or die('Restricted access'); ?> <?php @ninja('behavior.tooltip'); $params = KFactory::get('admin::com.ninjaboard.model.settings')->getParams(); ?> <style type="text/css"> .ninja-form .element.avatar { min-height: 37px; } .ninja-form .element .avatar.value { margin-right: 10px; } .ninja-form .element.avatar .avatar.upload, .ninja-form .element.avatar .avatar.delete { display: none; } .ninja-form .element.avatar .avatar.options { display: inline-block; } .ninja-form .element .avatar.options { display: none; } .ninja-form .element .avatar.options { display: inline-block; width: 250px; position: absolute;
?> <div class="message by-<?php echo $class; ?> " data-id="<?php echo $message->id; ?> " data-conversation_id="<?php echo $message->conversation_id; ?> "> <div class="message-from"> <?php echo implode(', ', (array) $message->conversation_with); ?> </div> <div class="message-content"> <div class="message-text"><?php echo @ninja('bbcode.parse', array('text' => $message->text)); ?> </div> <div class="message-footer"> <span class="message-date"><?php echo @ninja('date.html', array('date' => $message->created_on)); ?> </span> </div> </div> </div> <?php }
echo $remove_selected_button; ?> </div> </td> </tr> </tfoot> <tbody class="watches"> <?php foreach ($watches as $watch) { ?> <tr class="<?php echo @ninja('grid.zebra'); ?> "> <td align="center"><?php echo @ninja('grid.id', array('value' => $watch->id)); ?> </td> <td style="text-align: center"><img src="<?php echo $watch->icon; ?> " title="<?php echo $watch->type; ?> " alt="icon" width="16px" /></td> <td><a href="<?php echo $watch->link; ?> "><?php echo $watch->title; ?>
"> <?php echo @text(KInflector::humanize(KInflector::pluralize($name))); ?> </option> <?php } ?> </select> </legend> <?php foreach ($this->controllers as $name => $controller) { ?> <?php @($actions = KFactory::tmp('admin::com.ninja.helper.access', array('name' => 'com_ninjaboard.permission.' . $name, 'actions' => $controller, 'id' => @ninja('default.formid', $name), 'inputName' => 'access[' . $name . ']', 'inputId' => 'access-' . $name, 'default' => $name == 'default'))); ?> <?php $actions = array(); ?> <?php $void = array('access', 'order', 'upload', 'cancel', 'save', 'apply'); ?> <?php foreach (@$actions->getActions() as $action => $obj) { ?> <?php if (in_array($action, $void)) { continue; }
echo @template('site::com.ninjaboard.view.person.usergroups', array('usergroups' => $person->usergroups)); } ?> <ul> <li> <strong><?php echo @text('Posts:'); ?> </strong> <?php echo $person->posts; ?> </li> <li> <strong><?php echo @text('Member Since:'); ?> </strong> <?php echo @ninja('date.html', array('date' => $person->registerDate)); ?> </li> <li> <strong><?php echo @text('Last Logged In:'); ?> </strong> <?php echo @ninja('date.html', array('date' => $person->lastvisitDate)); ?> </li> </ul>
?> " maxlength="150" /> </div> <div class="element"> <label class="key hasTip" title="<?php echo @text("Visibility allows you to setup advanced acl without exposing it to your users. By only showing usergroups that makes sense to them, like 'Moderator', 'Administrator' and 'Banned'."); ?> "><?php echo @text('Visibility'); ?> </label> <?php /* Needs to use other icons than the default enabled/disabled ones, or better yet should be iPhone style switches */ ?> <?php echo @ninja('select.statelist', array('name' => 'visible', 'id' => 'visible', 'attribs' => array('class' => 'validate-reqchk-byname label:\'visible\''), 'selected' => $usergroup->visible, 'yes' => 'Visible', 'no' => 'Hidden')); ?> </div> </fieldset> <fieldset class="adminform ninja-form"> <legend><?php echo @text('Group permissions'); ?> </legend> <?php echo $permissions->render(); ?> </fieldset> </div>
<span class="message-label"><?php echo @text('From:'); ?> </span><a href="#"><?php echo $message->from; ?> </a> </div> <div class="message-header-to"> <span class="message-label"><?php echo @text('To:'); ?> </span><a href="#"><?php echo $me->display_name; ?> </a> </div> <div class="message-header-date"> <span class="message-label"><?php echo @text('Date:'); ?> </span><?php echo @date(array('date' => $message->created_on, 'format' => @text('DATE_FORMAT_LC2'))); ?> </div> </div> </div> <div class="message-body"><?php echo @ninja('bbcode.parse', array('text' => $message->text)); ?> </div>
?> <table class="adminlist ninja-list"> <thead> <tr> <th width="32px" class="hasHint" title="<?php echo @text('Drag here to reorder…'); ?> "></th> <?php echo @ninja('grid.count', array('total' => @$total, 'title' => true)); ?> <th class="grid-check"><?php echo @ninja('grid.checkall'); ?> </th> <th colspan="2"><?php echo @ninja('grid.sort', array('title' => 'Title')); ?> </th> </tr> </thead> <?php echo @ninja('paginator.tfoot', array('total' => @$total, 'display' => 4, 'colspan' => 5, 'ajax' => true)); ?> <tbody class="sortable"> <?php echo @template('default_items'); ?> </tbody> </table> </form>
<?php } elseif (count($images) || count($files)) { ?> <h5 class="notice attachments-no-access"><?php echo @text("You don't have access to view the attachments in this post."); ?> </h5> <?php } ?> <div style="clear: both; display: block;"></div> <!-- .signature.footer still present because of browser cache. Browser cache is solved permanently in Ninjaboard 1.2 --> <div class="ninjaboard-post-footer signature footer"> <div class="ninjaboard-signature"> <?php echo @ninja('bbcode.parse', array('text' => @$post->signature)); ?> </div> <?php if (@$forum->post_permissions == 3 or @$forum->post_permissions == 2 && @$post->created_by == @$user->id) { ?> <div class="ninjaboard-buttons actions toolbar"> <?php echo @edit_post_button($post->id); ?> <?php if ($topic->first_post_id != $post->id) { echo $delete_post_button; } ?> </div>
echo @ninja('grid.checkall'); ?> </th> <th><?php echo @text('Name'); ?> </th> <th><?php echo @text('Version'); ?> </th> <th><?php echo @text('Date'); ?> </th> <th><?php echo @text('Author'); ?> </th> </tr> </thead> <?php echo @ninja('paginator.tfoot', @$total, @$state->offset, @$state->limit, 4, 6); ?> <tbody> <?php echo @template('default_items'); ?> </tbody> </table> </form>
defined('KOOWA') or die('Restricted access'); ?> <div class="message-left <?php if (!$message->is_read) { echo 'message-unread'; } ?> "></div> <div class="message-right"> <div class="message-first-row"> <span class="message-from"><?php echo implode(', ', (array) $message->conversation_with); ?> </span> <span class="message-header-date"><?php echo @ninja('date.html', array('date' => $message->created_on)); ?> </span> </div> <div class="message-second-row message-subject"> <?php echo $message->subject; ?> </div> <div class="message-third-row"> <?php echo strip_tags(@ninja('bbcode.parse', array('text' => $message->text))); ?> </div> </div>
<?php echo @ninja('grid.count', @$state->offset, @$total); ?> <td><?php echo @ninja('grid.id', $iconset->id); ?> </td> <td><?php echo $iconset->name; ?> </td> <td align="center"><?php echo $iconset->version; ?> </td> <td><?php echo @$date->_strftime(@text('DATE_FORMAT_LC'), @$date->toUnix($iconset->creationdate)); ?> </td> <td><a href="http://<?php echo $iconset->authorurl; ?> "><?php echo $iconset->author; ?> </a></td> </tr> <?php } echo @ninja('grid.placeholders', count(@$iconsets), 6, @$total < 10);
?> "> <div class="header relative"> <h2 class="title"> <a href="<?php echo @route('id=' . @$forum->id); ?> " class="forum"> <?php echo @escape(@$forum->title); ?> </a> </h2> <div class="description"> <?php echo @ninja('bbcode.parse', array('text' => isset($forum->params['forum']['header']) && trim($forum->params['forum']['header']) ? $forum->params['forum']['header'] : $forum->description)); ?> </div> <?php if ($toolbar) { ?> <div class="start"> <?php echo $toolbar; ?> </div> <?php } ?> <?php
<?php defined('KOOWA') or die('Restricted access'); ?> <?php echo str_replace('<a href="', '<a target="_blank" href="', @ninja('bbcode.parse', array('text' => urldecode(KRequest::get('get.text', 'raw')))));
<form action="<?php echo @route('view=message'); ?> " method="post" id="<?php echo @id(); ?> " class="ninjaboard" enctype="multipart/form-data"> <fieldset class="adminform ninja-form"> <h2 class="reply-to"></h2> <div class="element name-to"> <label class="key" for="to"><?php echo @text('To'); ?> </label> <?php echo @ninja('behavior.textboxlist', array('name' => 'to', 'id' => 'to')); ?> </div> <div class="element wider" style="text-align:center;position:relative"> <textarea name="text" id="text" placeholder="<?php echo @text('Enter some text'); ?> "></textarea> <div id="text_preview"></div> </div> <div class="element"></div> <div class="element footer"> <div class="inner"> <div id="<?php
?> <img src="<?php echo @$img('/16/star.png'); ?> " alt="<?php echo @text('Default'); ?> " /> <?php } else { ?> <img src="<?php echo @$img('/16/star_off.png'); ?> " alt="<?php echo @text('Default'); ?> " /> <?php } ?> </td> <td class="grid-center"><?php echo @ninja('grid.toggle', array('enabled' => $setting->enabled)); ?> </td> </tr> <?php } echo @ninja('grid.placeholders', array('total' => $total, 'colspan' => 7));
if(width > max) max = width; }); states.setStyle('width', max); } window.addEvents({domready: setWidth, load: setWidth}); </script> <div class="element" id="states"> <label class="key"><?php echo @text('State'); ?> </label> <div><?php echo @ninja('select.statelist', array('attribs' => array('class' => 'validate-reqchk-byname label:\'state\''), 'selected' => @$setting->enabled)); ?> </div> <div><?php echo @ninja('select.statelist', array('name' => 'default', 'attribs' => array('class' => 'validate-reqchk-byname label:\'default\''), 'selected' => @$setting->default, 'yes' => 'Default', 'no' => 'Not Default', 'img_y' => '/16/star.png', 'img_x' => '/16/star_off.png', 'id' => 'default')); ?> </div> </div> <!--<div class="element"> <label class="key" for="theme"><?php echo @text('Theme'); ?> </label> <input type="text" name="theme" id="theme" class="inputbox required value" size="50" value="<?php echo @escape($setting->title); ?> " maxlength="100" /> </div>--> </fieldset>
} elseif ($do[0] == "verify") { header("Location: users.php?do=verify"); die; } elseif ($do[0] == "spell") { include 'heal.php'; healspells($do[1]); } elseif ($do[0] == "showchar") { showchar(); } elseif ($do[0] == "onlinechar") { onlinechar($do[1]); } elseif ($do[0] == "showmap") { showmap(); } elseif ($do[0] == "babblebox") { babblebox(); } elseif ($do[0] == "ninja") { ninja(); } } else { donothing(); } function donothing() { global $userrow; if ($userrow["currentaction"] == "In Town") { $page = dotown(); $title = "Na Cidade"; } elseif ($userrow["currentaction"] == "Exploring") { $page = doexplore(); $title = "Explorando"; } elseif ($userrow["currentaction"] == "Fighting") { $page = dofight();
" class="username-coloured"><?php echo @escape($forum->last_post_username); ?> </a> <?php } else { ?> <span class="username-coloured"><?php echo @escape($forum->last_post_username); ?> </span> <?php } ?> <?php echo @ninja('date.html', array('date' => $forum->last_post_date)); ?> <?php } else { ?> <?php echo @text('No Posts'); ?> <br />  <?php } ?> </span></dd> </dl> </li> <?php