summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_external_wikis.tpl2
-rw-r--r--templates/page_action_bar.tpl7
-rw-r--r--templates/page_icons.tpl2
3 files changed, 3 insertions, 8 deletions
diff --git a/templates/admin_external_wikis.tpl b/templates/admin_external_wikis.tpl
index cd12419..6fca060 100644
--- a/templates/admin_external_wikis.tpl
+++ b/templates/admin_external_wikis.tpl
@@ -30,7 +30,7 @@
<td>{$channels[user].name}</td>
<td>{$channels[user].extwiki}</td>
<td>
- &nbsp;&nbsp;<a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].extwiki_id}" onclick="return confirmTheLink(this,'{tr}Are you sure you want to delete this external wiki?{/tr}')" title="Click here to delete this external wiki">{biticon ipackage=liberty iname="delete" iexplain="remove"}</a>&nbsp;&nbsp;
+ &nbsp;&nbsp;<a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$channels[user].extwiki_id}" onclick="return confirm('{tr}Are you sure you want to delete this external wiki?{/tr}')" title="Click here to delete this external wiki">{biticon ipackage=liberty iname="delete" iexplain="remove"}</a>&nbsp;&nbsp;
<a href="{$smarty.const.WIKI_PKG_URL}admin/admin_external_wikis.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;extwiki_id={$channels[user].extwiki_id}">{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
</td>
</tr>
diff --git a/templates/page_action_bar.tpl b/templates/page_action_bar.tpl
index bb30f0d..b93d214 100644
--- a/templates/page_action_bar.tpl
+++ b/templates/page_action_bar.tpl
@@ -6,12 +6,7 @@
{assign var=format_guid value=$pageInfo.format_guid}
{if $gLibertySystem->mPlugins.$format_guid.is_active eq 'y'}
{if $gBitUser->hasPermission( 'bit_p_edit' ) or $page eq 'SandBox'}
- {if $beingEdited eq 'y'}
- {*popup_init src="`$smarty.const.THEMES_PKG_URL`js/overlib.js"*}
- <li><strong><a href="{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}" {popup text="$semUser"}>{tr}Edit{/tr}</a></strong></li>
- {else}
- <li><a href="{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}">{tr}Edit{/tr}</a></li>
- {/if}
+ <li><a {if $beingEdited eq 'y'}class="highlight" title="{$semUser}"{/if} href="{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}">{tr}Edit{/tr}</a></li>
{/if}
{/if}
{/if}
diff --git a/templates/page_icons.tpl b/templates/page_icons.tpl
index e4a4b80..e40cf93 100644
--- a/templates/page_icons.tpl
+++ b/templates/page_icons.tpl
@@ -18,7 +18,7 @@
{assign var=format_guid value=$pageInfo.format_guid}
{if $gLibertySystem->mPlugins.$format_guid.is_active eq 'y'}
{if $gBitUser->hasPermission( 'bit_p_edit' ) or $page eq 'SandBox'}
- <a href="{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}" {if $beingEdited eq 'y'}{*popup_init src="`$smarty.const.THEMES_PKG_URL`js/overlib.js"*}{popup text="$semUser" width="-1"}{/if}>{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
+ <a href="{$smarty.const.WIKI_PKG_URL}edit.php?page_id={$pageInfo.page_id}" {if $beingEdited eq 'y'}class="highlight" title="$semUser"{/if}>{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
{/if}
{/if}
{/if}