Unbreak webpages
This commit is contained in:
parent
2e2f101e0b
commit
d132646915
@ -81,9 +81,6 @@ function webpages_content(&$a) {
|
|||||||
require_once('include/conversation.php');
|
require_once('include/conversation.php');
|
||||||
$o = profile_tabs($a,true);
|
$o = profile_tabs($a,true);
|
||||||
|
|
||||||
$o .= '<div class="generic-content-wrapper-styled">';
|
|
||||||
|
|
||||||
$o .= '<h2>' . t('Webpages') . '</h2>';
|
|
||||||
|
|
||||||
$x = array(
|
$x = array(
|
||||||
'webpage' => ITEM_WEBPAGE,
|
'webpage' => ITEM_WEBPAGE,
|
||||||
@ -129,6 +126,7 @@ function webpages_content(&$a) {
|
|||||||
$url = z_root() . "/editwebpage/" . $which;
|
$url = z_root() . "/editwebpage/" . $which;
|
||||||
// This isn't pretty, but it works. Until I figure out what to do with the UI, it's Good Enough(TM).
|
// This isn't pretty, but it works. Until I figure out what to do with the UI, it's Good Enough(TM).
|
||||||
return $o . replace_macros(get_markup_template("webpagelist.tpl"), array(
|
return $o . replace_macros(get_markup_template("webpagelist.tpl"), array(
|
||||||
|
'$listtitle = t('Webpages'),
|
||||||
'$baseurl' => $url,
|
'$baseurl' => $url,
|
||||||
'$edit' => t('Edit'),
|
'$edit' => t('Edit'),
|
||||||
'$pages' => $pages,
|
'$pages' => $pages,
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{{$listtitle}}
|
||||||
{{if $pages}}
|
{{if $pages}}
|
||||||
|
|
||||||
<div id="pagelist-content-wrapper">
|
<div id="pagelist-content-wrapper">
|
||||||
|
Reference in New Issue
Block a user