Commit 8203579f authored by xavidp's avatar xavidp

[FIX]Some image-icons bigger in forums when in mobile mode for human fingers.

parent 2c6b3fc2
......@@ -8,10 +8,10 @@
{/if}
{if $thread_style != 'commentStyle_headers' and $this_is_locked eq 'n' and isset($comment.threadId) and $comment.threadId > 0}
<div class="actions">
<div class="actions"{if $prefs.mobile_mode eq 'y'} data-role="controlgroup" data-type="horizontal"{/if}> {* mobile *}
{if $tiki_p_admin_forum eq 'y'
|| ( $comment.userName == $user && $tiki_p_forum_edit_own_posts eq 'y' )}
<a title="{tr}Edit{/tr}"
<a title="{tr}Edit{/tr}"{if $prefs.mobile_mode eq 'y'} data-role="button" {/if}
{if $first eq 'y'}
class="admlink" href="tiki-view_forum.php?comments_offset={$smarty.request.topics_offset}{if isset($thread_sort_mode_param)}{$thread_sort_mode_param}{/if}&amp;comments_threshold={$smarty.request.topics_threshold}{if isset($comments_find_param)}{$comments_find_param}{/if}&amp;comments_threadId={$comment.threadId}&amp;openpost=1&amp;forumId={$forum_info.forumId}{if isset($comments_per_page_param)}{$comments_per_page_param}{/if}"
{else}
......@@ -21,7 +21,7 @@
{/if}
{if $tiki_p_admin_forum eq 'y'}
<a title="{tr}Delete{/tr}"
<a title="{tr}Delete{/tr}"{if $prefs.mobile_mode eq 'y'} data-role="button" {/if}
{if $first eq 'y'}
class="admlink" href="tiki-view_forum.php?comments_offset={$smarty.request.topics_offset}{if isset($thread_sort_mode_param)}{$thread_sort_mode_param}{/if}&amp;comments_threshold={$smarty.request.topics_threshold}{if isset($comments_find_param)}{$comments_find_param}{/if}&amp;comments_remove=1&amp;comments_threadId={$comment.threadId}&amp;forumId={$forum_info.forumId}{if isset($comments_per_page_param)}{$comments_per_page_param}{/if}"
{else}
......@@ -31,29 +31,29 @@
{/if}
{if $tiki_p_forums_report eq 'y'}
{self_link report=$comment.threadId _icon='delete' _alt="{tr}Report this post{/tr}" _title="{tr}Report this post{/tr}"}{/self_link}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' report=$comment.threadId}" title="{tr}Report this post{/tr}">{icon _id='delete' alt="{tr}Report this post{/tr}"}</a> {* mobile *}
{/if}
{if $user and $prefs.feature_notepad eq 'y' and $tiki_p_notepad eq 'y' and $forumId}
{self_link savenotepad=$comment.threadId _icon='disk' _alt="{tr}Save to notepad{/tr}" _title="{tr}Save to notepad{/tr}"}{/self_link}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' savenotepad=$comment.threadId}" title="{tr}Save to notepad{/tr}">{icon _id='disk' alt="{tr}Save to notepad{/tr}"}</a> {* mobile *}
{/if}
{if $user and $prefs.feature_user_watches eq 'y' and $display eq ''}
{if $first eq 'y'}
{if $user_watching_topic eq 'n'}
{self_link watch_event='forum_post_thread' watch_object=$comments_parentId watch_action='add' _icon='eye' _alt="{tr}Monitor this Topic{/tr}" _title="{tr}Monitor this Topic{/tr}"}{/self_link}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' watch_event='forum_post_thread' watch_object=$comments_parentId watch_action='add'}" title="{tr}Monitor this Topic{/tr}">{icon _id='eye' alt="{tr}Monitor this Topic{/tr}"}</a> {* mobile *}
{else}
{self_link watch_event='forum_post_thread' watch_object=$comments_parentId watch_action='remove' _icon='no_eye' _alt="{tr}Stop Monitoring this Topic{/tr}" _title="{tr}Stop Monitoring this Topic{/tr}"}{/self_link}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' watch_event='forum_post_thread' watch_object=$comments_parentId watch_action='remove'}" title="{tr}Stop Monitoring this Topic{/tr}">{icon _id='no_eye' alt="{tr}Stop Monitoring this Topic{/tr}"}</a> {* mobile *}
{/if}
{if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
<a href="tiki-object_watches.php?objectId={$comments_parentId|escape:"url"}&amp;watch_event=forum_post_thread&amp;objectType=forum&amp;objectName={$comment.title|escape:"url"}&amp;objectHref={'tiki-view_forum_thread.php?comments_parentId='|cat:$comments_parentId|cat:'&forumId='|cat:$forumId|escape:"url"}" class="icon">{icon _id='eye_group' alt="{tr}Group Monitor{/tr}"}</a>
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-object_watches.php?objectId={$comments_parentId|escape:"url"}&amp;watch_event=forum_post_thread&amp;objectType=forum&amp;objectName={$comment.title|escape:"url"}&amp;objectHref={'tiki-view_forum_thread.php?comments_parentId='|cat:$comments_parentId|cat:'&forumId='|cat:$forumId|escape:"url"}" class="icon">{icon _id='eye_group' alt="{tr}Group Monitor{/tr}"}</a>
{/if}
{/if}
<br>
{if $category_watched eq 'y'}
{tr}Watched by categories:{/tr}
{section name=i loop=$watching_categories}
<a href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}" class="icon">{$watching_categories[i].name|escape}</a>&nbsp;
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}" class="icon">{$watching_categories[i].name|escape}</a>&nbsp;
{/section}
{/if}
{/if}
......
......@@ -133,10 +133,12 @@
{/if}
<td class="action">
<a class="admlink" title="{tr}View{/tr}" href="tiki-view_forum.php?forumId={$channels[user].forumId}">{icon _id='table' alt="{tr}View{/tr}"}</a>
{if ($tiki_p_admin eq 'y') or (($channels[user].individual eq 'n') and ($tiki_p_admin_forum eq 'y')) or ($channels[user].individual_tiki_p_admin_forum eq 'y')}
<a class="admlink" title="{tr}Configure Forum{/tr}" href="tiki-admin_forums.php?forumId={$channels[user].forumId}&amp;cookietab=2">{icon _id='page_edit'}</a>
{/if}
{if $prefs.mobile_mode eq 'y'}<div class="navbar" data-role="controlgroup" data-type="horizontal">{/if} {* mobile *}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} class="admlink" title="{tr}View{/tr}" href="tiki-view_forum.php?forumId={$channels[user].forumId}">{icon _id='table' alt="{tr}View{/tr}"}</a> {* mobile *}
{if ($tiki_p_admin eq 'y') or (($channels[user].individual eq 'n') and ($tiki_p_admin_forum eq 'y')) or ($channels[user].individual_tiki_p_admin_forum eq 'y')}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} class="admlink" title="{tr}Configure Forum{/tr}" href="tiki-admin_forums.php?forumId={$channels[user].forumId}&amp;cookietab=2">{icon _id='page_edit'}</a> {* mobile *}
{/if}
{if $prefs.mobile_mode eq 'y'}</div>{/if} {* mobile *}
</td>
</tr>
{sectionelse}
......
......@@ -36,52 +36,53 @@
</td>
<td style="text-align:right;">
{if $prefs.feed_forum eq 'y'}
<a href="tiki-forum_rss.php?forumId={$forumId}" title="{tr}RSS feed{/tr}">{icon _id="feed" alt="{tr}RSS feed{/tr}"}</a>
{/if}
{if !empty($tiki_p_forum_lock) and $tiki_p_forum_lock eq 'y'}
{if $forum_info.is_locked eq 'y'}
{self_link lock='n' _icon='lock_break' _alt="{tr}Unlock{/tr}"}{/self_link}
{else}
{self_link lock='y' _icon='lock_add' _alt="{tr}Lock{/tr}"}{/self_link}
{if $prefs.mobile_mode eq 'y'}<div class="navbar" data-role="controlgroup" data-type="horizontal">{/if} {* mobile *}
{if $prefs.feed_forum eq 'y'}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-forum_rss.php?forumId={$forumId}" title="{tr}RSS feed{/tr}">{icon _id="feed" alt="{tr}RSS feed{/tr}"}</a> {* mobile *}
{/if}
{/if}
{if $user and $prefs.feature_user_watches eq 'y'}
{if $user_watching_forum eq 'n'}
<a href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic&amp;watch_object={$forumId}&amp;watch_action=add" title="{tr}Monitor Topics of this Forum{/tr}">{icon _id='eye' alt="{tr}Monitor Topics of this Forum{/tr}"}</a>
{else}
<a href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic&amp;watch_object={$forumId}&amp;watch_action=remove" title="{tr}Stop Monitoring Topics of this Forum{/tr}">{icon _id='no_eye' alt="{tr}Stop Monitoring Topics of this Forum{/tr}"}</a>
{/if}
{/if}
{if $user and $prefs.feature_user_watches eq 'y'}
{if $user_watching_forum_topic_and_thread eq 'n'}
<a href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic_and_thread&amp;watch_object={$forumId}&amp;watch_action=add" title="{tr}Monitor Topics and Threads of this Forum{/tr}">{icon _id='eye_magnifier' alt="{tr}Monitor Topics and Threads of this Forum{/tr}"}</a>
{else}
<a href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic_and_thread&amp;watch_object={$forumId}&amp;watch_action=remove" title="{tr}Stop Monitoring Topics and Threads of this Forum{/tr}">{icon _id='no_eye' alt="{tr}Stop Monitoring Topics and Threads of this Forum{/tr}"}</a>
{if !empty($tiki_p_forum_lock) and $tiki_p_forum_lock eq 'y'}
{if $forum_info.is_locked eq 'y'}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' lock='n'}" title="{tr}Unlock{/tr}">{icon _id=lock_break alt="{tr}Unlock{/tr}"}</a> {* mobile *}
{else}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' lock='y'}" title="{tr}Lock{/tr}">{icon _id=lock_add alt="{tr}Lock{/tr}"}</a> {* mobile *}
{/if}
{/if}
{/if}
{if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
<a href="tiki-object_watches.php?objectId={$forumId|escape:"url"}&amp;watch_event=forum_post_topic&amp;objectType=forum&amp;objectName={$forum_info.name|escape:"url"}&amp;objectHref={'tiki-view_forum.php?forumId='|cat:$forumId|escape:"url"}" class="icon">{icon _id='eye_group' alt="{tr}Group Monitor Topics of this Forum{/tr}"}</a>
{/if}
{if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
<a href="tiki-object_watches.php?objectId={$forumId|escape:"url"}&amp;watch_event=forum_post_topic_and_thread&amp;objectType=forum&amp;objectName={$forum_info.name|escape:"url"}&amp;objectHref={'tiki-view_forum.php?forumId='|cat:$forumId|escape:"url"}" class="icon">{icon _id='eye_group' alt="{tr}Group Monitor Topics and Threads of this Forum{/tr}"}</a>
{/if}
<div class="categbar" align="right" >
{if $user and $prefs.feature_user_watches eq 'y'}
{if isset($category_watched) and $category_watched eq 'y'}
{tr}Watched by categories:{/tr}
{section name=i loop=$watching_categories}
<a href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}">{$watching_categories[i].name|escape}</a>
&nbsp;
{/section}
{/if}
{if $user_watching_forum eq 'n'}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic&amp;watch_object={$forumId}&amp;watch_action=add" title="{tr}Monitor Topics of this Forum{/tr}">{icon _id='eye' alt="{tr}Monitor Topics of this Forum{/tr}"}</a> {* mobile *}
{else}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic&amp;watch_object={$forumId}&amp;watch_action=remove" title="{tr}Stop Monitoring Topics of this Forum{/tr}">{icon _id='no_eye' alt="{tr}Stop Monitoring Topics of this Forum{/tr}"}</a> {* mobile *}
{/if}
{/if}
</div>
{if $user and $prefs.feature_user_watches eq 'y'}
{if $user_watching_forum_topic_and_thread eq 'n'}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic_and_thread&amp;watch_object={$forumId}&amp;watch_action=add" title="{tr}Monitor Topics and Threads of this Forum{/tr}">{icon _id='eye_magnifier' alt="{tr}Monitor Topics and Threads of this Forum{/tr}"}</a> {* mobile *}
{else}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-view_forum.php?forumId={$forumId}&amp;watch_event=forum_post_topic_and_thread&amp;watch_object={$forumId}&amp;watch_action=remove" title="{tr}Stop Monitoring Topics and Threads of this Forum{/tr}">{icon _id='no_eye' alt="{tr}Stop Monitoring Topics and Threads of this Forum{/tr}"}</a> {* mobile *}
{/if}
{/if}
{if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-object_watches.php?objectId={$forumId|escape:"url"}&amp;watch_event=forum_post_topic&amp;objectType=forum&amp;objectName={$forum_info.name|escape:"url"}&amp;objectHref={'tiki-view_forum.php?forumId='|cat:$forumId|escape:"url"}" class="icon">{icon _id='eye_group' alt="{tr}Group Monitor Topics of this Forum{/tr}"}</a> {* mobile *}
{/if}
{if $prefs.feature_group_watches eq 'y' and ( $tiki_p_admin_users eq 'y' or $tiki_p_admin eq 'y' )}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-object_watches.php?objectId={$forumId|escape:"url"}&amp;watch_event=forum_post_topic_and_thread&amp;objectType=forum&amp;objectName={$forum_info.name|escape:"url"}&amp;objectHref={'tiki-view_forum.php?forumId='|cat:$forumId|escape:"url"}" class="icon">{icon _id='eye_group' alt="{tr}Group Monitor Topics and Threads of this Forum{/tr}"}</a> {* mobile *}
{/if}
<div class="categbar" align="right" >
{if $user and $prefs.feature_user_watches eq 'y'}
{if isset($category_watched) and $category_watched eq 'y'}
{tr}Watched by categories:{/tr}
{section name=i loop=$watching_categories}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}">{$watching_categories[i].name|escape}</a> {* mobile *}
&nbsp;
{/section}
{/if}
{/if}
</div>
{if $prefs.mobile_mode eq 'y'}</div>{/if} {* mobile *}
</td>
</tr>
</table>
......
......@@ -43,24 +43,26 @@
</span>
{/if}
<span style="margin-left:10px;">
{if $pdf_export eq 'y'}<a href="{$smarty.server.PHP_SELF}?{query display="pdf"}" title="{tr}PDF{/tr}">{icon _id='page_white_acrobat' alt="{tr}PDF{/tr}"}</a>{/if}
<a href="{$smarty.server.PHP_SELF}?{query display="print"}" title="{tr}Print this page only{/tr}">{icon _id='printer' alt="{tr}Print this page only{/tr}"}</a>
<a href="{$smarty.server.PHP_SELF}?{query display="print_all"}" title="{tr}Print all pages{/tr}">{icon _id='printer_add' alt="{tr}Print all pages{/tr}"}</a>
{if $prefs.feature_forum_topics_archiving eq 'y' && $tiki_p_admin_forum eq 'y'}
{if $thread_info.archived eq 'y'}
<a href="{$smarty.server.PHP_SELF}?{query archive="n"}" title="{tr}Unarchive{/tr}">{icon _id='package_go' alt="{tr}Unarchive{/tr}"}</a>
{else}
<a href="{$smarty.server.PHP_SELF}?{query archive="y"}" title="{tr}Archive{/tr}">{icon _id='package' alt="{tr}Archive{/tr}"}</a>
{if $prefs.mobile_mode eq 'y'}<div class="navbar" data-role="controlgroup" data-type="horizontal">{/if} {* mobile *}
{if $pdf_export eq 'y'}<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{$smarty.server.PHP_SELF}?{query display="pdf"}" title="{tr}PDF{/tr}">{icon _id='page_white_acrobat' alt="{tr}PDF{/tr}"}</a>{/if} {* mobile *}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{$smarty.server.PHP_SELF}?{query display="print"}" title="{tr}Print this page only{/tr}">{icon _id='printer' alt="{tr}Print this page only{/tr}"}</a> {* mobile *}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{$smarty.server.PHP_SELF}?{query display="print_all"}" title="{tr}Print all pages{/tr}">{icon _id='printer_add' alt="{tr}Print all pages{/tr}"}</a> {* mobile *}
{if $prefs.feature_forum_topics_archiving eq 'y' && $tiki_p_admin_forum eq 'y'}
{if $thread_info.archived eq 'y'}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{$smarty.server.PHP_SELF}?{query archive="n"}" title="{tr}Unarchive{/tr}">{icon _id='package_go' alt="{tr}Unarchive{/tr}"}</a> {* mobile *}
{else}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{$smarty.server.PHP_SELF}?{query archive="y"}" title="{tr}Archive{/tr}">{icon _id='package' alt="{tr}Archive{/tr}"}</a> {* mobile *}
{/if}
{/if}
{/if}
{if isset($tiki_p_forum_lock) and $tiki_p_forum_lock eq 'y'}
{if $thread_info.locked eq 'y'}
{self_link lock='n' _icon='lock_break' _alt="{tr}Unlock{/tr}"}{/self_link}
{else}
{self_link lock='y' _icon='lock_add' _alt="{tr}Lock{/tr}"}{/self_link}
{if isset($tiki_p_forum_lock) and $tiki_p_forum_lock eq 'y'}
{if $thread_info.locked eq 'y'}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' lock='n'}" title="{tr}Unlock{/tr}">{icon _id=lock_break alt="{tr}Unlock{/tr}"}</a> {* mobile *}
{else}
<a {if $prefs.mobile_mode eq 'y'} data-role="button"{/if} href="{query _type='relative' lock='y'}" title="{tr}Lock{/tr}">{icon _id=lock_add alt="{tr}Lock{/tr}"}</a> {* mobile *}
{/if}
{/if}
{/if}
{if $prefs.mobile_mode eq 'y'}</div>{/if} {* mobile *}
</span>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment