parent
4e53df7c71
commit
f44846555a
2 changed files with 8 additions and 5 deletions
|
@ -103,6 +103,7 @@ function editpost_content(&$a) {
|
||||||
//$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
|
//$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
|
||||||
|
|
||||||
$o .= replace_macros($tpl,array(
|
$o .= replace_macros($tpl,array(
|
||||||
|
'$is_edit' => true,
|
||||||
'$return_path' => $_SESSION['return_url'],
|
'$return_path' => $_SESSION['return_url'],
|
||||||
'$action' => 'item',
|
'$action' => 'item',
|
||||||
'$share' => t('Save'),
|
'$share' => t('Save'),
|
||||||
|
|
|
@ -36,7 +36,9 @@
|
||||||
<li><a id="jot-preview-link" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a></li>
|
<li><a id="jot-preview-link" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a></li>
|
||||||
{{$jotplugins}}
|
{{$jotplugins}}
|
||||||
|
|
||||||
|
{{if !$is_edit}}
|
||||||
<li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 {{$lockstate}} {{$bang}}" title="{{$permset}}" ></a></li>
|
<li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 {{$lockstate}} {{$bang}}" title="{{$permset}}" ></a></li>
|
||||||
|
{{/if}}
|
||||||
<li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /></li>
|
<li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /></li>
|
||||||
<li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" /></li>
|
<li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" /></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue