mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Template/Update (Part 3)
* convert amalgamation more.php into separate endpoints * fix url of help articles
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php namespace Aowow; ?>
|
||||
|
||||
<?php $this->brick('header'); ?>
|
||||
<?php
|
||||
namespace Aowow\Template;
|
||||
|
||||
$this->brick('header');
|
||||
?>
|
||||
<div class="main" id="main">
|
||||
<div class="main-precontents" id="main-precontents"></div>
|
||||
<div class="main-contents" id="main-contents">
|
||||
@@ -13,10 +14,10 @@
|
||||
?>
|
||||
|
||||
<div class="text">
|
||||
<h1><?=$this->name;?></h1>
|
||||
<p><?=$this->privReqPoints;?></p><br>
|
||||
<h1><?=$this->h1;?></h1>
|
||||
<p><?=$this->privReqPoints;?></p><br />
|
||||
<?php
|
||||
$this->brick('article');
|
||||
$this->brick('markup', ['markup' => $this->article]);
|
||||
?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
<?php namespace Aowow; ?>
|
||||
<?php
|
||||
namespace Aowow\Template;
|
||||
|
||||
<?php $this->brick('header'); ?>
|
||||
use \Aowow\Lang;
|
||||
|
||||
$this->brick('header');
|
||||
?>
|
||||
<div class="main" id="main">
|
||||
<div class="main-precontents" id="main-precontents"></div>
|
||||
<div class="main-contents" id="main-contents">
|
||||
@@ -14,9 +17,9 @@
|
||||
|
||||
<div class="text">
|
||||
<h1><?=Lang::privileges('privileges');?></h1>
|
||||
<div style="float:right;line-height:1.2;max-width:410px;overflow:hidden;text-align:center"><img class="border" alt="" src="<?=Cfg::get('STATIC_URL');?>/images/help/privileges/example.jpg" /></div>
|
||||
<div style="float:right;line-height:1.2;max-width:410px;overflow:hidden;text-align:center"><img class="border" alt="" src="<?=$this->gStaticUrl;?>/images/help/privileges/example.jpg" /></div>
|
||||
<p><?=Lang::privileges('main');?></p>
|
||||
<br><br>
|
||||
<br /><br />
|
||||
<table class="wsa-list wsa-tbl">
|
||||
<thead><th><?=Lang::privileges('privilege');?></th><th><?=Lang::privileges('requiredRep');?></th></thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user