当前位置: 首页>>代码示例>>PHP>>正文


PHP artxPost函数代码示例

本文整理汇总了PHP中artxPost函数的典型用法代码示例。如果您正苦于以下问题:PHP artxPost函数的具体用法?PHP artxPost怎么用?PHP artxPost使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了artxPost函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: modChrome_artarticle

function modChrome_artarticle($module, &$params, &$attribs)
{
    if (!empty($module->content)) {
        $data = array('classes' => $params->get('moduleclass_sfx'), 'content' => $module->content);
        if ($module->showtitle != 0) {
            $data['header-text'] = $module->title;
        }
        echo artxPost($data);
    }
}
开发者ID:sealse,项目名称:mondiale,代码行数:10,代码来源:modules.php

示例2: artxPost

		<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());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:form.php

示例3: artxModules

<div class="art-sidebar1"><?php 
    echo artxModules($document, 'left', 'art-block');
    ?>
</div>
<?php 
}
?>
<div class="art-<?php 
echo artxCountModules($document, 'left') ? 'content' : 'content-wide';
?>
">

<?php 
echo artxModules($document, 'banner2', 'art-nostyle');
if (artxCountModules($document, 'breadcrumb')) {
    echo artxPost(null, artxModules($document, 'breadcrumb'));
}
echo artxPositions($document, array('user1', 'user2'), 'art-article');
echo artxModules($document, 'banner3', 'art-nostyle');
if (artxHasMessages()) {
    ?>
<div class="art-Post">
    <div class="art-Post-body">
<div class="art-Post-inner">
<div class="art-PostContent">

<jdoc:include type="message" />

</div>
<div class="cleared"></div>
开发者ID:Isabella570,项目名称:Hotel-Management-Selena-,代码行数:30,代码来源:index.php

示例4: artxPost

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());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:default_logout.php

示例5: artxPost

    ?>
" class="inputbox" onchange="document.getElementById('adminForm').submit();" />
        <?php 
}
?>

        <?php 
echo $this->form->monthField;
?>
        <?php 
echo $this->form->yearField;
?>
        <?php 
echo $this->form->limitField;
?>
        <button type="submit" class="button"><?php 
echo JText::_('JGLOBAL_FILTER_BUTTON');
?>
</button>
    </div>
    <input type="hidden" name="view" value="archive" />
    <input type="hidden" name="option" value="com_content" />
    <input type="hidden" name="limitstart" value="0" />
    </fieldset>
<?php 
echo artxPost(array('header-text' => $component->pageHeading, 'content' => ob_get_clean()));
echo $this->loadTemplate('items');
?>
</form>
<?php 
echo $component->endPageContainer();
开发者ID:sealse,项目名称:mondiale,代码行数:31,代码来源:default.php

示例6: artxComponent

 function artxComponent()
 {
     // for Joomla 1.0
     ob_start();
     mosMainBody();
     $content = ob_get_clean();
     if (false === strpos($content, '<div class="art-Post">')) {
         $title = null;
         if (preg_match('~<div\\s+class="(componentheading[^"]*)"([^>]*)>([^<]+)</div>~', $content, $matches, PREG_OFFSET_CAPTURE)) {
             $content = substr($content, 0, $matches[0][1]) . substr($content, $matches[0][1] + strlen($matches[0][0]));
             $title = '<span class="' . $matches[1][0] . '"' . $matches[2][0] . '>' . $matches[3][0] . '</span>';
         }
         return artxPost($title, $content);
     }
     return $content;
 }
开发者ID:ercankuru,项目名称:hattrick,代码行数:16,代码来源:functions.php

示例7: artxPost

		</tr>
		<tr>
			<td height="40">
				<label for="token" class="hasTip" title="<?php 
echo JText::_('RESET_PASSWORD_TOKEN_TIP_TITLE');
?>
::<?php 
echo JText::_('RESET_PASSWORD_TOKEN_TIP_TEXT');
?>
"><?php 
echo JText::_('Token');
?>
:</label>
			</td>
			<td>
				<input id="token" name="token" type="text" class="required" size="36" />
			</td>
		</tr>
	</table>

	<button type="submit" class="validate"><?php 
echo JText::_('Submit');
?>
</button>
	<?php 
echo JHTML::_('form.token');
?>
</form>
<?php 
echo artxPost(JText::_('Confirm your Account'), ob_get_clean());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:confirm.php

示例8: artxPost

        ?>
</div>
<?php 
        echo artxPost(null, ob_get_contents());
    }
}
if ($this->params->def('show_pagination', 2) == 1 || $this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1) {
    ob_start();
    ?>
<div id="navigation">
	<p><?php 
    echo $this->pagination->getPagesLinks();
    ?>
</p>
<?php 
    if ($this->params->def('show_pagination_results', 1)) {
        ?>
	<p><?php 
        echo $this->pagination->getPagesCounter();
        ?>
</p>
<?php 
    }
    ?>
</div>
<?php 
    echo artxPost(null, ob_get_clean());
}
?>

开发者ID:kwizera05,项目名称:police,代码行数:29,代码来源:default.php

示例9: ob_start

        $rowcount = ((int) $key - 1) % (int) $this->columns + 1;
        $row = $counter / $this->columns;
        if ($rowcount == 1) {
            echo '<div class="items-row cols-' . (int) $this->columns . ' row-' . $row . '">';
        }
        echo '<div class="item column-' . $rowcount . ($item->state == 0 ? ' system-unpublished"' : '') . '">';
        $this->item = $item;
        echo $this->loadTemplate('item');
        echo '</div>';
        $counter++;
        if ($rowcount == $this->columns || $counter == $introcount) {
            echo '<span class="row-separator"></span></div>';
        }
    }
}
if (!empty($this->link_items)) {
    ob_start();
    echo '<div class="items-more">' . $this->loadTemplate('links') . '</div>';
    echo artxPost(ob_get_clean());
}
if ($this->params->def('show_pagination', 2) == 1 || $this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1) {
    ob_start();
    echo '<div class="pagination">';
    if ($this->params->def('show_pagination_results', 1)) {
        echo '<p class="counter">' . $this->pagination->getPagesCounter() . '</p>';
    }
    echo $this->pagination->getPagesLinks();
    echo '</div>';
    echo artxPost(ob_get_clean());
}
echo $view->endPageContainer();
开发者ID:syncrase,项目名称:webTemplates,代码行数:31,代码来源:default.php

示例10: componentWrapper

 /**
  * Wraps component content into article style unless it is not already wrapped.
  *
  * The componentWrapper method gets the content of the 'component' buffer and searches for the '<div class="art-post">' string in it.
  * Then it wraps the content of the buffer with the art-post.
  */
 public function componentWrapper()
 {
     if ($this->page->getType() != 'html') {
         return;
     }
     $option = JRequest::getCmd('option');
     $view = JRequest::getCmd('view');
     $layout = JRequest::getCmd('layout');
     $content = $this->page->getBuffer('component');
     // Workarounds for Joomla bugs and inconsistencies:
     switch ($option) {
         case "com_content":
             switch ($view) {
                 case "form":
                     if ("edit" == $layout) {
                         $content = str_replace('<button type="button" onclick="', '<button type="button" class="button" onclick="', $content);
                     }
                     break;
                 case "article":
                     $content = preg_replace_callback('/<script[^>]*>([\\s\\S]+?)<\\/script>/', array(&$this, 'parseInlineScripts'), $content);
                     break;
             }
             break;
         case "com_users":
             switch ($view) {
                 case "remind":
                     if ("" == $layout) {
                         $content = str_replace('<button type="submit">', '<button type="submit" class="button">', $content);
                         $content = str_replace('<button type="submit" class="validate">', '<button type="submit" class="button">', $content);
                     }
                     break;
                 case "reset":
                     if ("" == $layout) {
                         $content = str_replace('<button type="submit">', '<button type="submit" class="button">', $content);
                         $content = str_replace('<button type="submit" class="validate">', '<button type="submit" class="button">', $content);
                     }
                     break;
                 case "registration":
                     if ("" == $layout) {
                         $content = str_replace('<button type="submit" class="validate">', '<button type="submit" class="button validate">', $content);
                     }
                     break;
             }
             break;
     }
     // Code injections:
     switch ($option) {
         case "com_content":
             switch ($view) {
                 case "form":
                     if ("edit" == $layout) {
                         $this->page->addScriptDeclaration($this->getWysiwygBackgroundImprovement());
                     }
                     break;
             }
             break;
     }
     if ('com_content' == $option && ('featured' == $view || 'article' == $view || 'category' == $view && 'blog' == $layout)) {
         $this->page->setBuffer($content, 'component');
     }
     if (false === strpos($content, '<div class="art-post')) {
         $this->page->setBuffer(artxPost(array('header-text' => null, 'content' => $content)), 'component');
     }
 }
开发者ID:randomNone1,项目名称:BiuWeb,代码行数:70,代码来源:Page.php

示例11: pageHeading

 public function pageHeading($title = null)
 {
     return artxPost(array('header-text' => $this->_component->escape(null == $title ? $this->pageHeading : $title)));
 }
开发者ID:randomNone1,项目名称:BiuWeb,代码行数:4,代码来源:Content.php

示例12: artxPost

		</tr>
		<tr>
			<td height="40">
				<label for="password2" class="hasTip" title="<?php 
echo JText::_('RESET_PASSWORD_PASSWORD2_TIP_TITLE');
?>
::<?php 
echo JText::_('RESET_PASSWORD_PASSWORD2_TIP_TEXT');
?>
"><?php 
echo JText::_('Verify Password');
?>
:</label>
			</td>
			<td>
				<input id="password2" name="password2" type="password" class="required validate-password" />
			</td>
		</tr>
	</table>

	<button type="submit" class="validate"><?php 
echo JText::_('Submit');
?>
</button>
	<?php 
echo JHTML::_('form.token');
?>
</form>
<?php 
echo artxPost(JText::_('Reset your Password'), ob_get_clean());
开发者ID:jammie230,项目名称:JAMIDA,代码行数:30,代码来源:complete.php

示例13: artxComponentWrapper

 function artxComponentWrapper(&$document)
 {
     if ($document->getType() != 'html') {
         return;
     }
     $option = JRequest::getCmd('option');
     $view = JRequest::getCmd('view');
     $layout = JRequest::getCmd('layout');
     $content = $document->getBuffer('component');
     // fixes for w3.org validation
     if ('com_contact' == $option) {
         if ('category' == $view) {
             $content = artxHtmlFixFormAction($content);
         } elseif ('contact' == $view) {
             $content = artxHtmlFixMoveScriptToHead('~<script [^>]+>\\s*(<!--[^>]*-->)\\s*</script>~', $content);
         }
     } elseif ('com_content' == $option) {
         if ('category' == $view) {
             if ('' == $layout) {
                 $content = artxHtmlFixMoveScriptToHead('~<script [^>]+>([^<]*)</script>~', $content);
                 $content = artxHtmlFixFormAction($content);
             }
         } elseif ('archive' == $view) {
             $content = artxHtmlFixRemove('~<ul id="archive-list" style="list-style: none;">\\s*</ul>~', $content);
         }
     } elseif ('com_user' == $option) {
         if ('user' == $view) {
             if ('form' == $layout) {
                 $content = artxHtmlFixRemove('~autocomplete="off"~', $content);
             }
         }
     }
     if (false === strpos($content, '<div class="art-post">')) {
         $title = null;
         if (preg_match('~<div\\s+class="(componentheading[^"]*)"([^>]*)>([^<]+)</div>~', $content, $matches, PREG_OFFSET_CAPTURE)) {
             $content = substr($content, 0, $matches[0][1]) . substr($content, $matches[0][1] + strlen($matches[0][0]));
             $title = '<span class="' . $matches[1][0] . '"' . $matches[2][0] . '>' . $matches[3][0] . '</span>';
         }
         $document->setBuffer(artxPost($title, $content), 'component');
     }
 }
开发者ID:jammie230,项目名称:JAMIDA,代码行数:41,代码来源:functions.php

示例14: defined

<?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 {
开发者ID:jammie230,项目名称:JAMIDA,代码行数:31,代码来源:default.php

示例15: article

 public function article($article)
 {
     return artxPost($article);
 }
开发者ID:randomNone1,项目名称:BiuWeb,代码行数:4,代码来源:ArticleBase.php


注:本文中的artxPost函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。