コード例 #1
0
ファイル: guiplugins.php プロジェクト: vstorm83/propertease
 static function load()
 {
     if (self::$loaded) {
         return;
     }
     $path = JPATH_SITE . DS . "components" . DS . "com_fss" . DS . "plugins" . DS . "gui" . DS;
     $files = JFolder::files($path, ".php\$");
     foreach ($files as $file) {
         $id = pathinfo($file, PATHINFO_FILENAME);
         if (!FSS_Helper::IsPluignEnabled("gui", $id)) {
             continue;
         }
         $class = "FSS_GUIPlugin_" . $id;
         require_once $path . DS . $file;
         if (class_exists($class)) {
             self::$plugins[$id] = new $class();
             self::$plugins[$id]->id = $id;
         }
     }
     self::$loaded = true;
 }
コード例 #2
0
			<a class="post_reply" href='<?php 
        echo FSSRoute::_('&option=com_fss&view=ticket&layout=reply&ticketid=' . $this->ticket['id']);
        // FIX LINK
        ?>
'>
				<i class="icon-redo"></i> <?php 
        echo JText::_("POST_REPLY_LINK");
        ?>
			</a>

		<?php 
    }
    ?>

		<?php 
    echo FSS_GUIPlugins::output("userTicketReplyBar", array('ticket' => $this->ticket, FSS_Settings::get('support_actions_as_buttons')));
    ?>
	</p>
<?php 
}
?>

<div id="messagereply" style="display: none;">
	<?php 
include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_reply.php');
?>
</div>

<div id="messagepleasewait" style="display: none;clear: both" class="alert alert-info">
	<?php 
echo JText::_('PLEASE_WAIT');
コード例 #3
0
ファイル: _tabbar.php プロジェクト: vstorm83/propertease
	<?php 
if (FSS_Permission::auth("fss.reports", "com_fss.reports")) {
    ?>
		<li class="<?php 
    if ($this->view == "admin_report") {
        echo "active";
    }
    ?>
">
			<a href='<?php 
    echo FSSRoute::_('index.php?option=com_fss&view=admin_report');
    ?>
'>
				<img src='<?php 
    echo JURI::root(true);
    ?>
/components/com_fss/assets/images/support/report_16.png'>
				<?php 
    echo JText::_("REPORTS");
    ?>
			</a>
		</li> 
	<?php 
}
?>

	<?php 
echo FSS_GUIPlugins::output("adminTabs");
?>
</ul>
コード例 #4
0
		<li>
			<a href="<?php 
echo FSSRoute::_('index.php?option=com_fss&view=admin_support&layout=list&task=ticket.delete&ticketid=' . $this->ticket->id, false);
?>
" onclick="return confirm('<?php 
echo JText::_('ARE_YOU_SURE_DELETE');
?>
');">
				<?php 
echo JText::_('DELETE_TICKET');
?>
			</a>
		</il>

		<?php 
echo FSS_GUIPlugins::output("adminTicketViewToolsMenu", array('ticket' => $this->ticket));
?>
	</ul>
</div>

<div class="pull-right btn-group" style="margin-right: 8px; z-index: 10;">
	<a class="btn btn-default fssTip" title="Goto previous ticket of this status" href="<?php 
echo FSSRoute::x('task=navigate.prev&ticketid=' . $this->ticket->id, false);
?>
"><?php 
echo JText::_('PREV');
?>
</a>
	<a class="btn btn-default fssTip" title="Goto next ticket of this status" href="<?php 
echo FSSRoute::x('task=navigate.next&ticketid=' . $this->ticket->id, false);
?>
コード例 #5
0
ファイル: _supportbar.php プロジェクト: vstorm83/propertease
        echo FSS_Helper::TicketCountSpan($this->count['all'], "all", JText::sprintf("SA_ALL", $this->count['all']));
        ?>
					</a>
				</li>
			<?php 
    }
    ?>

		</ul>
	</li>
	<?php 
}
?>

	<?php 
echo FSS_GUIPlugins::output("adminSupportTabs_End");
?>

</ul>

<?php 
$values = SupportUsers::getAllSettings();
if (!empty($values->out_of_office) && $values->out_of_office) {
    ?>
<div class="alert alert-warning">
	<div class="pull-right">
		<a class="btn btn-default" href="<?php 
    echo FSSRoute::_("index.php?option=com_fss&view=admin_support&layout=outofoffice", false);
    ?>
"><?php 
    echo JText::_('SET_AS_AVAILABLE');
コード例 #6
0
ファイル: default.php プロジェクト: vstorm83/propertease
?>

<?php 
echo FSS_GUIPlugins::output("adminOverviewTop");
?>

<?php 
if (FSS_Permission::auth("fss.handler", "com_fss.support_admin")) {
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'admin_support' . DS . 'snippet' . DS . '_overview.php');
}
?>

<?php 
if (FSS_Permission::CanModerate()) {
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'admin_moderate' . DS . 'snippet' . DS . '_overview.php');
}
?>

<?php 
if (FSS_Permission::PermAnyContent()) {
    include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'admin_content' . DS . 'snippet' . DS . '_overview.php');
}
?>

<?php 
echo FSS_GUIPlugins::output("adminOverviewBottom");
?>

<?php 
include JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . '_powered.php';
echo FSS_Helper::PageStyleEnd();
コード例 #7
0
ファイル: _search.php プロジェクト: vstorm83/propertease
?>
			</a>
		</li>
		<li>
			<a href="<?php 
echo FSSRoute::_('index.php?option=com_fss&view=admin_support&layout=listhandlers');
?>
">
				<?php 
echo JText::_("LIST_HANDLERS");
?>
			</a>
		</li>

		<?php 
echo FSS_GUIPlugins::output("adminTicketListTools");
?>
	</ul>
</div>

<div class="form-horizontal form-condensed">

	<?php 
if (!FSS_Settings::get('support_no_admin_for_user_open')) {
    ?>
 	<div class="control-group">
		<label class="control-label"><?php 
    echo JText::_("CREATE_TICKET_FOR");
    ?>
</label>
		<div class="controls">