Template/Update (Part 3)

* convert amalgamation more.php into separate endpoints
 * fix url of help articles
This commit is contained in:
Sarjuuk
2025-08-06 01:24:10 +02:00
parent 5713834f90
commit 81d9248541
22 changed files with 651 additions and 330 deletions

View File

@@ -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>

View File

@@ -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>