add Comanche help link to pdledit

This commit is contained in:
friendica 2014-03-04 21:03:56 -08:00
parent efc828bed5
commit cdcbc5816e
2 changed files with 8 additions and 0 deletions

View File

@ -52,6 +52,7 @@ function pdledit_content(&$a) {
$o = replace_macros(get_markup_template('pdledit.tpl'),array(
'$header' => t('Edit System Page Description'),
'$mname' => t('Module Name:'),
'$help' => t('Layout Help'),
'$module' => argv(1),
'$content' => htmlspecialchars($t,ENT_COMPAT,'UTF-8'),
'$submit' => t('Submit')

View File

@ -2,6 +2,13 @@
<h2>{{$mname}} {{$module}}</h2>
<br />
<a href="help/Comanche" target="redmatrix-help">{{$help}}</a>
<br />
<br />
<form action="pdledit" method="post" >
<input type="hidden" name="module" value="{{$module}}" />
<textarea rows="24" cols="80" name="content">{{$content}}</textarea>