aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_widgets.php
blob: 21d5e5382956edd26f56d907c16df97385bc9680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

// A toolbar for observers with write_pages permissions
function writepages_widget ($who,$which){
return replace_macros(get_markup_template('write_pages.tpl'), array(
			'$new' => t('New Page'),
			'$newurl' => "webpages/$who",
                        '$edit' => t('edit'),
                        '$editurl' => "editwebpage/$who/$which"
			));
}