Imported Upstream version 0.6.24+dfsg1
This commit is contained in:
31
share/pnp/application/views/special_templates_box.php
Normal file
31
share/pnp/application/views/special_templates_box.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php if (!empty($this->templates) && $this->isAuthorizedFor('service_links') ) { ?>
|
||||
<div class="ui-widget">
|
||||
<div class="p2 ui-widget-header ui-corner-top">
|
||||
<?php echo Kohana::lang('common.special-templates-box-header') ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$filter = $this->session->get('spfilter');
|
||||
?>
|
||||
|
||||
<div class="p4 ui-widget-content">
|
||||
<?php
|
||||
echo "<input type=\"text\" name=\"special-filter\" id=\"special-filter\" value=\"".$filter."\"class=\"textbox\" />"
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="p4 ui-widget-content ui-corner-bottom" id="special-templates">
|
||||
<?php
|
||||
foreach($this->templates as $template){
|
||||
echo "<span id=\"special-".$template."\">";
|
||||
$path = pnp::addToUri( array('tpl' => $template) );
|
||||
echo "<a href=\"".$path."\" class=\"multi0\">".
|
||||
pnp::shorten($template).
|
||||
"</a><br>\n";
|
||||
echo "</span>\n";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<?php } ?>
|
||||
Reference in New Issue
Block a user