예제 #1
0
<?php

defined('_JEXEC') or die('Restricted access');
// no direct access
require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../../../functions.php');
echo artxPost(artxPageTitle($this), null);
if ($this->params->def('num_leading_articles', 1)) {
    for ($i = $this->pagination->limitstart; $i < $this->pagination->limitstart + $this->params->get('num_leading_articles'); $i++) {
        if ($i >= $this->total) {
            break;
        }
        $this->item =& $this->getItem($i, $this->params);
        echo $this->loadTemplate('item');
    }
} else {
    $i = $this->pagination->limitstart;
}
?>

<?php 
$startIntroArticles = $this->pagination->limitstart + $this->params->get('num_leading_articles');
$numIntroArticles = $startIntroArticles + $this->params->get('num_intro_articles', 4);
if ($numIntroArticles != $startIntroArticles && $i < $this->total) {
    ?>
		<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
		<?php 
    $divider = '';
    if ($this->params->get('multi_column_order')) {
        // order across as before
        for ($z = 0; $z < $this->params->def('num_columns', 2); $z++) {
예제 #2
0
<?php

defined('_JEXEC') or die('Restricted access');
// no direct access
require_once dirname(__FILE__) . DS . '..' . DS . '..' . DS . '..' . DS . 'functions.php';
$canEdit = $this->user->authorize('com_content', 'edit', 'content', 'all') || $this->user->authorize('com_content', 'edit', 'content', 'own');
echo artxPost(artxPageTitle($this, $this->params->get('show_page_title', 1) && $this->params->get('page_title') != $this->article->title), null);
$metadata = array();
?>
<div class="Post">
    <div class="Post-body">
<div class="Post-inner">
<?php 
if ($this->params->get('show_title')) {
    ?>
<h2 class="PostHeaderIcon-wrapper"> 	<?php 
    if ($this->params->get('show_title')) {
        ?>
		<?php 
        if ($this->params->get('link_titles') && $this->article->readmore_link != '') {
            ?>
		<a href="<?php 
            echo $this->article->readmore_link;
            ?>
" class="PostHeader">
			<?php 
            echo $this->escape($this->article->title);
            ?>
</a>
		<?php 
        } else {
예제 #3
0
if ($this->params->get('description_logout')) {
    echo $this->params->get('description_logout_text');
}
?>
		</div>
	</td>
</tr>
<tr>
	<td align="center">
		<div align="center">
			<input type="submit" name="Submit" class="button" value="<?php 
echo JText::_('Logout');
?>
" />
		</div>
	</td>
</tr>
</table>

<br /><br />

<input type="hidden" name="option" value="com_user" />
<input type="hidden" name="task" value="logout" />
<input type="hidden" name="return" value="<?php 
echo $this->return;
?>
" />
</form>
<?php 
echo artxPost(artxPageTitle($this, $this->params->get('show_logout_title'), 'header_logout'), ob_get_clean());
예제 #4
0
파일: form.php 프로젝트: jammie230/JAMIDA
		<button type="button" onclick="submitbutton('save')"><?php 
echo JText::_('Save');
?>
</button>
		<button type="button" onclick="submitbutton('cancel')"><?php 
echo JText::_('Cancel');
?>
</button>
	</div>
	<input type="hidden" name="jform[id]" value="<?php 
echo $this->weblink->id;
?>
" />
	<input type="hidden" name="jform[ordering]" value="<?php 
echo $this->weblink->ordering;
?>
" />
	<input type="hidden" name="jform[approved]" value="<?php 
echo $this->weblink->approved;
?>
" />
	<input type="hidden" name="option" value="com_weblinks" />
	<input type="hidden" name="controller" value="weblink" />
	<input type="hidden" name="task" value="" />
	<?php 
echo JHTML::_('form.token');
?>
</form>
<?php 
echo artxPost(artxPageTitle($this), ob_get_clean());
예제 #5
0
if ($this->contact->params->get('allow_vcard')) {
    ?>
<tr>
	<td colspan="2">
	<?php 
    echo JText::_('Download information as a');
    ?>
		<a href="<?php 
    echo JURI::base();
    ?>
index.php?option=com_contact&amp;task=vcard&amp;contact_id=<?php 
    echo $this->contact->id;
    ?>
&amp;format=raw&amp;tmpl=component">
			<?php 
    echo JText::_('VCard');
    ?>
</a>
	</td>
</tr>
<?php 
}
if ($this->contact->params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id)) {
    echo $this->loadTemplate('form');
}
?>
</table>
</div>
<?php 
echo artxPost(artxPageTitle($this, $this->params->get('show_page_title', 1) && !$this->contact->params->get('popup') && $this->params->get('page_title') != $this->contact->name), ob_get_clean());