示例#1
0
<?php

/*------------------------------------------------------------------------
# Class Form Template for RaidPlanner Component
# com_raidplanner - RaidPlanner Component
# ------------------------------------------------------------------------
# author    Taracque
# copyright Copyright (C) 2011 Taracque. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website: http://www.taracque.hu/raidplanner
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');
if (RaidPlannerHelper::getJVersion() < '3.0') {
    RaidPlannerHelper::fixBootstrap();
}
?>
<form action="index.php" method="post" name="adminForm" id="adminForm" class="form-horizontal">
	<fieldset class="adminform">
		<legend><?php 
echo JText::_('JDETAILS');
?>
</legend>
		<div class="control-group">
			<label class="control-label" for="class_name"><?php 
echo JText::_('COM_RAIDPLANNER_CLASS_NAME');
?>
</label>
			<div class="controls">
				<input class="text_area" type="text" name="class_name" id="class_name" size="32" maxlength="250" value="<?php 
echo $this->class->class_name;
示例#2
0
<?php

/*------------------------------------------------------------------------
# Event Template for RaidPlanner Component
# com_raidplanner - RaidPlanner Component
# ------------------------------------------------------------------------
# author    Taracque
# copyright Copyright (C) 2011 Taracque. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website: http://www.taracque.hu/raidplanner
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$dateFormat = RaidPlannerHelper::shortDateFormat();
RaidPlannerHelper::fixBootstrap(true);
$hasChars = !empty($this->characters);
?>
<table class="rp_header_container">
	<tr>
		<td class="rp_header">
		<?php 
if ($this->event->icon_name) {
    ?>
			<img src="<?php 
    echo JURI::base() . "media/com_raidplanner/raid_icons/" . $this->event->icon_name;
    ?>
" style="float:left; margin: 0 5px 5px 0;" alt="<?php 
    echo $this->event->icon_name;
    ?>
" />
		<?php