Changeset 835 in ExiteCMS
- Timestamp:
- 09/23/07 23:34:47 (4 years ago)
- Location:
- trunk
- Files:
-
- 33 deleted
- 22 edited
-
includes/Smarty-2.6.18/custom-plugins/function.buttonlink.php (modified) (2 diffs)
-
includes/comments_include.php (modified) (5 diffs)
-
includes/ratings_include.php (modified) (2 diffs)
-
locale/English/admin/image_uploads.php (modified) (1 diff)
-
locale/English/admin/news-articles.php (modified) (1 diff)
-
locale/English/downloads.php (modified) (1 diff)
-
locale/English/forum/main.php (modified) (1 diff)
-
locale/English/pm.php (modified) (2 diffs)
-
themes/PLiTheme/forum/addnewpanel.gif (deleted)
-
themes/PLiTheme/forum/aim.gif (deleted)
-
themes/PLiTheme/forum/all.gif (deleted)
-
themes/PLiTheme/forum/archive.gif (deleted)
-
themes/PLiTheme/forum/cancel.gif (deleted)
-
themes/PLiTheme/forum/checkall.gif (deleted)
-
themes/PLiTheme/forum/core.gif (deleted)
-
themes/PLiTheme/forum/delete.gif (deleted)
-
themes/PLiTheme/forum/edit.gif (deleted)
-
themes/PLiTheme/forum/email.gif (deleted)
-
themes/PLiTheme/forum/forward.gif (deleted)
-
themes/PLiTheme/forum/icq.gif (deleted)
-
themes/PLiTheme/forum/markread.gif (deleted)
-
themes/PLiTheme/forum/movethread.gif (deleted)
-
themes/PLiTheme/forum/msn.gif (deleted)
-
themes/PLiTheme/forum/newmessage.gif (deleted)
-
themes/PLiTheme/forum/newthread.gif (deleted)
-
themes/PLiTheme/forum/none.gif (deleted)
-
themes/PLiTheme/forum/pm.gif (deleted)
-
themes/PLiTheme/forum/postreply.gif (deleted)
-
themes/PLiTheme/forum/quote.gif (deleted)
-
themes/PLiTheme/forum/refreshpanelorder.gif (deleted)
-
themes/PLiTheme/forum/remove.gif (deleted)
-
themes/PLiTheme/forum/reply.gif (deleted)
-
themes/PLiTheme/forum/restore.gif (deleted)
-
themes/PLiTheme/forum/skype.gif (deleted)
-
themes/PLiTheme/forum/tracking-off.gif (deleted)
-
themes/PLiTheme/forum/tracking-on.gif (deleted)
-
themes/PLiTheme/forum/uncheckall.gif (deleted)
-
themes/PLiTheme/forum/uploadnewimage.gif (deleted)
-
themes/PLiTheme/forum/web.gif (deleted)
-
themes/PLiTheme/forum/website.gif (deleted)
-
themes/PLiTheme/forum/yahoo.gif (deleted)
-
themes/PLiTheme/templates/source/admin.db_backup.tpl (modified) (3 diffs)
-
themes/PLiTheme/templates/source/admin.images.tpl (modified) (3 diffs)
-
themes/PLiTheme/templates/source/admin.modules.tpl (modified) (1 diff)
-
themes/PLiTheme/templates/source/admin.news_cats.tpl (modified) (1 diff)
-
themes/PLiTheme/templates/source/forum.poll.tpl (modified) (1 diff)
-
themes/PLiTheme/templates/source/forum.resultdialog.tpl (modified) (1 diff)
-
themes/PLiTheme/templates/source/forum.viewforum.tpl (modified) (2 diffs)
-
themes/PLiTheme/templates/source/forum.viewthread.tpl (modified) (3 diffs)
-
themes/PLiTheme/templates/source/main.downloads.tpl (modified) (4 diffs)
-
themes/PLiTheme/templates/source/main.pm.options.tpl (modified) (1 diff)
-
themes/PLiTheme/templates/source/main.pm.renderpm.tpl (modified) (2 diffs)
-
themes/PLiTheme/templates/source/main.pm.tpl (modified) (3 diffs)
-
themes/PLiTheme/templates/source/main.profile.groups.tpl (modified) (1 diff)
-
themes/PLiTheme/templates/source/main.profile.members.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Smarty-2.6.18/custom-plugins/function.buttonlink.php
r834 r835 17 17 * - title: optional title text 18 18 * - new: if "yes", URL opens in new window 19 * - script: if "yes", URL is javascript code 19 20 * 20 * Examples: {buttonlink name="Google!" link="http://www.google.com"} 21 * Examples: {buttonlink name="Google!" link="http://www.google.com" new="yes"} 22 * Examples: {buttonlink name="Go Back" link="javascript: history.go(-1);" script="yes"} 21 23 * Output: <input type='button' value='Google!' onClick='window.location="http://www.google.com";' /> 22 24 * @author WanWizard <wanwizard at gmail dot com> … … 49 51 $new = strtolower($params['new']) == "yes"; 50 52 } 53 if (!isset($params['script'])) { 54 $script = false; 55 } else { 56 $script = strtolower($params['script']) == "yes"; 57 } 51 58 52 return "<input type='button' class='button' value='$name' ".($title?"title='$title' ":"")."onClick='".($ new?"window.open(\"$link\");'":"window.location=\"$link\";'")." />";59 return "<input type='button' class='button' value='$name' ".($title?"title='$title' ":"")."onClick='".($script ? $link : ($new ? "window.open(\"$link\");'" : "window.location=\"$link\";'"))." />"; 53 60 } 54 61 -
trunk/includes/comments_include.php
r834 r835 21 21 function showcomments($comment_type,$cdb,$ccol,$comment_id,$clink) { 22 22 23 global $ settings,$locale,$userdata,$aidlink,23 global $db_prefix, $settings,$locale,$userdata,$aidlink, 24 24 $template_panels, $template_variables; 25 25 … … 28 28 if ((iMEMBER || $settings['guestposts'] == "1") && isset($_POST['post_comment'])) { 29 29 $flood = false; 30 if (dbrows(dbquery("SELECT $ccol FROM ". DB_PREFIX."$cdb WHERE $ccol='$comment_id'"))==0) {30 if (dbrows(dbquery("SELECT $ccol FROM ".$db_prefix."$cdb WHERE $ccol='$comment_id'"))==0) { 31 31 fallback(BASEDIR."index.php"); 32 32 } … … 41 41 $comment_smileys = isset($_POST['disable_smileys']) ? "0" : "1"; 42 42 if ($comment_name != "" && $comment_message != "") { 43 $result = dbquery("SELECT MAX(comment_datestamp) AS last_comment FROM ". DB_PREFIX."comments WHERE comment_ip='".USER_IP."'");43 $result = dbquery("SELECT MAX(comment_datestamp) AS last_comment FROM ".$db_prefix."comments WHERE comment_ip='".USER_IP."'"); 44 44 if (!iSUPERADMIN || dbrows($result) > 0) { 45 45 $data = dbarray($result); … … 52 52 } 53 53 } 54 if (!$flood) $result = dbquery("INSERT INTO ". DB_PREFIX."comments (comment_item_id, comment_type, comment_name, comment_message, comment_smileys, comment_datestamp, comment_ip) VALUES ('$comment_id', '$comment_type', '$comment_name', '$comment_message', '$comment_smileys', '".time()."', '".USER_IP."')");54 if (!$flood) $result = dbquery("INSERT INTO ".$db_prefix."comments (comment_item_id, comment_type, comment_name, comment_message, comment_smileys, comment_datestamp, comment_ip) VALUES ('$comment_id', '$comment_type', '$comment_name', '$comment_message', '$comment_smileys', '".time()."', '".USER_IP."')"); 55 55 } 56 56 redirect($clink); … … 58 58 59 59 $result = dbquery( 60 "SELECT tcm.*,user_name FROM ". DB_PREFIX."comments tcm61 LEFT JOIN ". DB_PREFIX."users tcu ON tcm.comment_name=tcu.user_id60 "SELECT tcm.*,user_name FROM ".$db_prefix."comments tcm 61 LEFT JOIN ".$db_prefix."users tcu ON tcm.comment_name=tcu.user_id 62 62 WHERE comment_item_id='$comment_id' AND comment_type='$comment_type' 63 63 ORDER BY comment_datestamp ASC" -
trunk/includes/ratings_include.php
r834 r835 21 21 function showratings($rating_type,$rating_item_id,$rating_link) { 22 22 23 global $ locale, $userdata,23 global $db_prefix, $locale, $userdata, 24 24 $template_panels, $template_variables; 25 25 … … 27 27 28 28 if (iMEMBER) { 29 $d_rating = dbarray(dbquery("SELECT rating_vote,rating_datestamp FROM ". DB_PREFIX."ratings WHERE rating_item_id='".$rating_item_id."' AND rating_type='".$rating_type."' AND rating_user='".$userdata['user_id']."'"));29 $d_rating = dbarray(dbquery("SELECT rating_vote,rating_datestamp FROM ".$db_prefix."ratings WHERE rating_item_id='".$rating_item_id."' AND rating_type='".$rating_type."' AND rating_user='".$userdata['user_id']."'")); 30 30 $rating_exists = isset($d_rating['rating_vote']); 31 31 if (isset($_POST['post_rating'])) { 32 32 if (isNum($_POST['rating']) && $_POST['rating'] > 0 && $_POST['rating'] < 6 && !$rating_exists) { 33 $result = dbquery("INSERT INTO ". DB_PREFIX."ratings (rating_item_id, rating_type, rating_user, rating_vote, rating_datestamp, rating_ip) VALUES ('$rating_item_id', '$rating_type', '".$userdata['user_id']."', '".$_POST['rating']."', '".time()."', '".USER_IP."')");33 $result = dbquery("INSERT INTO ".$db_prefix."ratings (rating_item_id, rating_type, rating_user, rating_vote, rating_datestamp, rating_ip) VALUES ('$rating_item_id', '$rating_type', '".$userdata['user_id']."', '".$_POST['rating']."', '".time()."', '".USER_IP."')"); 34 34 } 35 35 redirect($rating_link); 36 36 } elseif (isset($_POST['remove_rating'])) { 37 $result = dbquery("DELETE FROM ". DB_PREFIX."ratings WHERE rating_item_id='$rating_item_id' AND rating_type='$rating_type' AND rating_user='".$userdata['user_id']."'");37 $result = dbquery("DELETE FROM ".$db_prefix."ratings WHERE rating_item_id='$rating_item_id' AND rating_type='$rating_type' AND rating_user='".$userdata['user_id']."'"); 38 38 redirect($rating_link); 39 39 } -
trunk/locale/English/admin/image_uploads.php
r807 r835 24 24 $locale['463'] = "This folder is empty"; 25 25 $locale['464'] = "Update image list for TinyMCE editor"; 26 $locale['465'] = "Cancel"; 26 27 ?> -
trunk/locale/English/admin/news-articles.php
r795 r835 39 39 $locale['437'] = "Category Image:"; 40 40 $locale['438'] = "Save Category"; 41 $locale['439'] = " Click Here to upload category images";41 $locale['439'] = "Upload Category Image"; 42 42 $locale['440'] = "News Categories"; 43 43 $locale['441'] = "Edit"; -
trunk/locale/English/downloads.php
r787 r835 10 10 $locale['415'] = "Downloads:"; 11 11 $locale['416'] = "Download"; 12 $locale['417'] = "Sub Download categories"; 12 $locale['417'] = "Sub Download Categories"; 13 $locale['418'] = "Download Categories"; 14 $locale['419'] = "Size:"; 13 15 // Downloads Notices 14 16 $locale['430'] = "No Download Categories defined"; -
trunk/locale/English/forum/main.php
r834 r835 47 47 $locale['514'] = "Post Reply"; 48 48 $locale['515'] = "Stop tracking this thread"; 49 $locale['516'] = "Track this thread ";49 $locale['516'] = "Track this thread by email"; 50 50 $locale['517'] = "Toggle smileys"; 51 51 $locale['518'] = "pixels"; -
trunk/locale/English/pm.php
r787 r835 13 13 $locale['410'] = "Check all"; 14 14 $locale['411'] = "Uncheck all"; 15 $locale['412'] = " Archive";15 $locale['412'] = "Restore"; 16 16 $locale['413'] = "Un-Archive"; 17 17 $locale['414'] = "Mark Read"; … … 128 128 $locale['543'] = "on"; 129 129 130 // buttons 131 $locale['560'] = "pm"; 132 $locale['561'] = "msn"; 133 $locale['562'] = "icq"; 134 $locale['563'] = "web"; 135 $locale['564'] = "aim"; 136 $locale['565'] = "skype"; 137 130 138 // Options 131 139 $locale['620'] = "Options"; -
trunk/themes/PLiTheme/templates/source/admin.db_backup.tpl
r814 r835 92 92 <br />{$locale.435} 93 93 <div style='display:inline;'> 94 <a href="javascript:void(0)" onclick="javascript:tableSelectAll()"><img src='{$smarty.const.THEME}forum/all.gif' alt='{$locale.436}' title='{$locale.436}' /></a> 95 <a href="javascript:void(0)" onclick="javascript:tableSelectNone()"><img src='{$smarty.const.THEME}forum/all.gif' alt='{$locale.437}' title='{$locale.437}' /></a>94 <input type='button' class='button' name='{$locale.436}' value='{$locale.436}' onClick="javascript:tableSelectAll()"/> 95 <input type='button' class='button' name='{$locale.437}' value='{$locale.437}' onClick="javascript:tableSelectNone()"/> 96 96 </div> 97 97 </td> … … 106 106 <br />{$locale.435} 107 107 <div style='display:inline;'> 108 < a href="javascript:void(0)" onclick="javascript:populateSelectAll()"><img src='{$smarty.const.THEME}forum/all.gif' alt='{$locale.436}' title='{$locale.436}' /></a> 109 < a href="javascript:void(0)" onclick="javascript:populateSelectNone()"><img src='{$smarty.const.THEME}forum/all.gif' alt='{$locale.437}' title='{$locale.437}' /></a>108 <input type='button' class='button' name='{$locale.436}' value='{$locale.436}' onClick="javascript:populateSelectAll()"/> 109 <input type='button' class='button' name='{$locale.437}' value='{$locale.437}' onClick="javascript:populateSelectNone()"/> 110 110 </div> 111 111 </td> … … 274 274 <br />{$locale.435} 275 275 <div style='display:inline;text-align:center;vertical-align:middle;'> 276 < a href="javascript:void(0)" onclick="javascript:backupSelectCore()"><img src='{$smarty.const.THEME}forum/core.gif' alt='{$locale.458}' title='{$locale.458}' /></a> 277 < a href="javascript:void(0)" onclick="javascript:backupSelectAll()"><img src='{$smarty.const.THEME}forum/all.gif' alt='{$locale.436}' title='{$locale.436}' /></a> 278 < a href="javascript:void(0)" onclick="javascript:backupSelectNone()"><img src='{$smarty.const.THEME}forum/none.gif' alt='{$locale.437}' title='{$locale.437}' /></a>276 <input type='button' class='button' name='{$locale.458}' value='{$locale.458}' onClick="javascript:backupSelectCore()"/> 277 <input type='button' class='button' name='{$locale.436}' value='{$locale.436}' onClick="javascript:backupSelectAll()"/> 278 <input type='button' class='button' name='{$locale.437}' value='{$locale.437}' onClick="javascript:backupSelectNone()"/> 279 279 </div> 280 280 </td> -
trunk/themes/PLiTheme/templates/source/admin.images.tpl
r814 r835 44 44 {/if} 45 45 <br /><br > 46 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&ifolder={$ifolder}&del={$view}'><img src='{$smarty.const.THEME}forum/delete.gif' alt='{$locale.442}' title='{$locale.442}' /></a> 47 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&ifolder={$ifolder}'><img src='{$smarty.const.THEME}forum/cancel.gif' alt='{$locale.402}' title='{$locale.402}' /></a>46 {buttonlink name=$locale.462 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&ifolder="|cat:$ifolder|cat:"&del="|cat:$view} 47 {buttonlink name=$locale.465 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&ifolder="|cat:$ifolder} 48 48 <br /><br /> 49 49 </center> … … 65 65 </td> 66 66 <td align='center' width='50' class='{cycle values='tbl1,tbl2'}' style='white-space:nowrap'> 67 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&ifolder={$ifolder}&view={$image}'><img src='{$smarty.const.THEME}images/image_view.gif' alt='{$locale.461}' title='{$locale.461}' /></a> 68 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&ifolder={$ifolder}&del={$image}'><img src='{$smarty.const.THEME}images/image_delete.gif' alt='{$locale.462}' title='{$locale.462}' /></a>67 {buttonlink name=$locale.461 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&ifolder="|cat:$ifolder|cat:"&view="|cat:$image} 68 {buttonlink name=$locale.462 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&ifolder="|cat:$ifolder|cat:"&del="|cat:$image} 69 69 </td> 70 70 </tr> … … 72 72 <tr> 73 73 <td align='center' colspan='2' class='{cycle values='tbl1,tbl2'}'> 74 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&ifolder={$ifolder}&action=update'>{$locale.464}</a>74 {buttonlink name=$locale.464 link=$smarty.const.FUSION_SELF|cat:$aidlink|cat:"&ifolder="|cat:$ifolder|cat:"&action=update"} 75 75 </td> 76 76 </tr> -
trunk/themes/PLiTheme/templates/source/admin.modules.tpl
r814 r835 75 75 </td> 76 76 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 77 <a href='mailto:{$modules[id].email}'><img src='{$smarty.const.THEME}forum/email.gif' alt='{$locale.409}' title='{$locale.409}' /></a>77 {buttonlink name=$locale.409 link="mailto:"|cat:$modules[id].email} 78 78 79 <a href='mailto:{$modules[id].url}'><img src='{$smarty.const.THEME}forum/website.gif' alt='{$locale.410}' title='{$locale.410}' /></a>79 {buttonlink name=$locale.410 link=$modules[id].url} 80 80 </td> 81 81 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> -
trunk/themes/PLiTheme/templates/source/admin.news_cats.tpl
r814 r835 92 92 <center> 93 93 <br /> 94 <a href='{$smarty.const.ADMIN}images.php{$aidlink}&ifolder=news_cats'><img src='{$smarty.const.THEME}forum/uploadnewimage.gif' alt='{$locale.439}' title='{$locale.439}' /></a>94 {buttonlink name=$locale.439 link=$smarty.const.ADMIN|cat:"images.php"|cat:$aidlink|cat:"&ifolder=news_cats"} 95 95 <br /><br /> 96 96 </center> -
trunk/themes/PLiTheme/templates/source/forum.poll.tpl
r778 r835 27 27 {if ($userdata.user_id|default:"" == $poll_options.post_author && $total_votes == 0) || $smarty.const.iMOD || $smarty.const.iSUPERADMIN} 28 28 <td align='right' width='1%' class='tbl2'> 29 <a href='post.php?action=edit&forum_id={$forum_id}&thread_id={$thread_id}&post_id={$poll_options.post_id}'> 30 <img src='{$smarty.const.THEME}forum/edit.gif' alt='{$locale.568}' style='border:0px;'> 31 </a> 29 {buttonlink name=$locale.568 link="post.php?action=edit&forum_id="|cat:$forum_id|cat"&thread_id="|cat:$thread_id|cat:"&post_id="|cat:$poll_options.post_id} 32 30 </td> 33 31 {/if} -
trunk/themes/PLiTheme/templates/source/forum.resultdialog.tpl
r739 r835 28 28 {/if} 29 29 {if $thread_id|default:0 != 0} 30 <a href='viewthread.php?forum_id={$forum_id}&thread_id={$thread_id}'>{$locale.447}</a> |30 {buttonlink name=$locale.447 link="viewthread.php?forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 31 31 {/if} 32 <a href='viewforum.php?forum_id={$forum_id}'>{$locale.448}</a> |33 <a href='index.php'>{$locale.449}</a>32 {buttonlink name=$locale.448 link="viewforum.php?forum_id="|cat:$forum_id} 33 {buttonlink name=$locale.449 link="index.php"} 34 34 {if $backlink} 35 | <a href='javascript: history.go(-1);'>{$locale.457}</a>35 {buttonlink name=$locale.457 link="javascript: history.go(-1);" script="yes"} 36 36 {/if} 37 37 <br /><br /> -
trunk/themes/PLiTheme/templates/source/forum.viewforum.tpl
r795 r835 26 26 {if $smarty.const.iMEMBER && $user_can_post} 27 27 <td align='right'> 28 {if $unread_posts}29 <a href='viewforum.php?action=markallread&forum_id={$forum_id}'><img src='{$smarty.const.THEME}forum/markread.gif' alt='{$locale.573}' height='14' style='border:0px;' /></a> 30 {/if}31 <a href='post.php?action=newthread&forum_id={$forum_id}'><img src='{$smarty.const.THEME}forum/newthread.gif' alt='{$locale.566}' style='border:0px;' /></a>28 {if $unread_posts} 29 {buttonlink name=$locale.573 link="viewforum.php?action=markallread&forum_id="|cat:$forum_id} 30 {/if} 31 {buttonlink name=$locale.566 link="post.php?action=newthread&forum_id="|cat:$forum_id} 32 32 </td> 33 33 {/if} … … 191 191 <td align='right'> 192 192 {if $unread_posts} 193 <a href='viewforum.php?action=markallread&forum_id={$forum_id}'><img src='{$smarty.const.THEME}forum/markread.gif' alt='{$locale.573}' height='14' style='border:0px;' /></a> 194 {/if} 195 <a href='post.php?action=newthread&forum_id={$forum_id}'><img src='{$smarty.const.THEME}forum/newthread.gif' alt='{$locale.566}' style='border:0px;' /></a>193 {buttonlink name=$locale.573 link="viewforum.php?action=markallread&forum_id="|cat:$forum_id} 194 {/if} 195 {buttonlink name=$locale.566 link="post.php?action=newthread&forum_id="|cat:$forum_id} 196 196 </td> 197 197 {/if} -
trunk/themes/PLiTheme/templates/source/forum.viewthread.tpl
r834 r835 25 25 {if $settings.thread_notify} 26 26 {if $has_thread_notify} 27 <a href='post.php?action=track_off&forum_id={$forum_id}&thread_id={$thread_id}'> 28 <img src='{$smarty.const.THEME}forum/tracking-off.gif' alt='{$locale.515}' title='{$locale.515}' style='border:0px;margin-right:3px' /> 29 </a> 27 {buttonlink name=$locale.515 link="post.php?action=track_off&forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 30 28 {else} 31 <a href='post.php?action=track_on&forum_id={$forum_id}&thread_id={$thread_id}'> 32 <img src='{$smarty.const.THEME}forum/tracking-on.gif' alt='{$locale.516}' title='{$locale.516}' style='border:0px;margin-right:3px' /> 33 </a> 29 {buttonlink name=$locale.516 link="post.php?action=track_on&forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 34 30 {/if} 35 31 {/if} 36 32 {if $user_can_post } 37 33 {if !$thread.thread_locked} 38 <a href='post.php?action=reply&forum_id={$forum_id}&thread_id={$thread_id}'> 39 <img src='{$smarty.const.THEME}forum/postreply.gif' alt='{$locale.565}' style='border:0px;margin-right:2px' /> 40 </a> 41 {/if} 42 <a href='post.php?action=newthread&forum_id={$forum_id}'> 43 <img src='{$smarty.const.THEME}forum/newthread.gif' alt='{$locale.566}' style='border:0px;margin-right:3px' /> 44 </a> 34 {buttonlink name=$locale.565 link="post.php?action=reply&forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 35 {/if} 36 {buttonlink name=$locale.566 link="post.php?action=newthread&forum_id="|cat:$forum_id} 45 37 {/if} 46 38 {/if} … … 108 100 {if $settings.thread_notify} 109 101 {if $has_thread_notify} 110 <a href='post.php?action=track_off&forum_id={$forum_id}&thread_id={$thread_id}'> 111 <img src='{$smarty.const.THEME}forum/tracking-off.gif' alt='{$locale.515}' title='{$locale.515}' style='border:0px;margin-right:3px' /> 112 </a> 102 {buttonlink name=$locale.515 link="post.php?action=track_off&forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 113 103 {else} 114 <a href='post.php?action=track_on&forum_id={$forum_id}&thread_id={$thread_id}'> 115 <img src='{$smarty.const.THEME}forum/tracking-on.gif' alt='{$locale.516}' title='{$locale.516}' style='border:0px;margin-right:3px' /> 116 </a> 104 {buttonlink name=$locale.516 link="post.php?action=track_on&forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 117 105 {/if} 118 106 {/if} 119 107 {if $user_can_post } 120 108 {if !$thread.thread_locked} 121 <a href='post.php?action=reply&forum_id={$forum_id}&thread_id={$thread_id}'> 122 <img src='{$smarty.const.THEME}forum/postreply.gif' alt='{$locale.565}' style='border:0px;margin-right:2px' /> 123 </a> 124 {/if} 125 <a href='post.php?action=newthread&forum_id={$forum_id}'> 126 <img src='{$smarty.const.THEME}forum/newthread.gif' alt='{$locale.566}' style='border:0px;margin-right:3px' /> 127 </a> 109 {buttonlink name=$locale.565 link="post.php?action=reply&forum_id="|cat:$forum_id|cat:"&thread_id="|cat:$thread_id} 110 {/if} 111 {buttonlink name=$locale.566 link="post.php?action=newthread&forum_id="|cat:$forum_id} 128 112 {/if} 129 113 {/if} … … 152 136 {if $smarty.const.iMEMBER && $user_can_post} 153 137 {if $unread_posts} 154 <a href='viewforum.php?action=markallread&forum_id={$forum_id}'><img src='{$smarty.const.THEME}forum/markread.gif' alt='{$locale.573}' /></a> 138 {buttonlink name=$locale.573 link="viewforum.php?action=markallread&forum_id="|cat:$forum_id} 155 139 {/if} 156 140 {/if} -
trunk/themes/PLiTheme/templates/source/main.downloads.tpl
r787 r835 15 15 {* *} 16 16 {***************************************************************************} 17 {if $subcats}{assign var="_title" value=$locale.417}{else}{assign var="_title" value=$locale.4 00}{/if}17 {if $subcats}{assign var="_title" value=$locale.417}{else}{assign var="_title" value=$locale.418}{/if} 18 18 {assign var="columns" value="2"} {* number of columns *} 19 19 {math equation="(100 - x) / x" x=$columns format="%u" assign="colwidth"} … … 70 70 {if $smarty.section.item.first} 71 71 {include file="_opentable.tpl" name=$_name title=$locale.415|cat:" "|cat:$parent.download_cat_name state=$_state style=$_style} 72 <table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'> 72 73 {/if} 73 <table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>74 74 <tr> 75 <td colspan=' 3' class='forum-caption'>75 <td colspan='4' class='forum-caption'> 76 76 <b>{$downloads[item].download_title}</b> 77 77 </td> … … 79 79 {if $downloads[item].download_description|default:"" != ""} 80 80 <tr> 81 <td colspan=' 3' class='tbl1'>81 <td colspan='4' class='tbl1'> 82 82 {$downloads[item].download_description} 83 83 </td> … … 85 85 {/if} 86 86 <tr> 87 <td width='30%' class='tbl2'>87 <td class='tbl2' style='white-space:nowrap;'> 88 88 <b>{$locale.411}</b> {$downloads[item].download_license} 89 89 </td> 90 <td width='30%' class='tbl1'>90 <td class='tbl1' style='white-space:nowrap;'> 91 91 <b>{$locale.412}</b> {$downloads[item].download_os} 92 92 </td> 93 <td width='40%' class='tbl2'>93 <td class='tbl2' style='white-space:nowrap;'> 94 94 <b>{$locale.413}</b> {$downloads[item].download_version} 95 </td> 96 <td class='tbl1' rowspan='2' style='text-align:center;white-space:nowrap;'> 97 {buttonlink name=$locale.416 link=$smarty.const.FUSION_SELF|cat:"?cat_id="|cat:$downloads[item].download_cat|cat:"&download_id="|cat:$downloads[item].download_id} 95 98 </td> 96 99 </tr> 97 100 <tr> 98 <td width='30%' class='tbl2'>101 <td class='tbl2' style='white-space:nowrap;'> 99 102 <b>{$locale.414}</b> {$downloads[item].download_datestamp|date_format:'%A, %B %e, %Y'} 100 103 </td> 101 <td width='30%' class='tbl1'>104 <td class='tbl1' style='white-space:nowrap;'> 102 105 <b>{$locale.415}</b> {$downloads[item].download_count} 103 106 </td> 104 <td width='40%' class='tbl2'>105 < a href='{$smarty.const.FUSION_SELF}?cat_id={$downloads[item].download_cat}&download_id={$downloads[item].download_id}' target='_blank'>{$locale.416}</a> ({$downloads[item].download_filesize})107 <td class='tbl2' style='white-space:nowrap;'> 108 <b>{$locale.419}</b> {$downloads[item].download_filesize} 106 109 </td> 107 110 </tr> 108 </table> 109 {if !$smarty.section.item.last}<br />{/if} 111 {if !$smarty.section.item.last} 112 <tr> 113 <td colspan='4' class='tbl1'> 114 </td> 115 </tr> 116 {else} 117 </table> 118 {/if} 110 119 {sectionelse} 111 120 {include file="_opentable.tpl" name=$_name title=$locale.400 state=$_state style=$_style} -
trunk/themes/PLiTheme/templates/source/main.pm.options.tpl
r797 r835 36 36 <td align='left' class='tbl1'> 37 37 <br /> 38 <a href='{$smarty.const.FUSION_SELF}?action=post&msg_id=0'><img src='{$smarty.const.THEME}forum/newmessage.gif' alt='' /></a>38 {buttonlink name=$locale.401 link=$smarty.const.FUSION_SELF|cat:"?action=post&msg_id=0"} 39 39 </td> 40 40 </tr> -
trunk/themes/PLiTheme/templates/source/main.pm.renderpm.tpl
r782 r835 42 42 <td class='tbl_top_mid' style='text-align:right'> 43 43 {if !$is_preview} 44 <b> 45 <a href='{$smarty.const.FUSION_SELF}?folder={$folder}&action=forward&msg_id={$messages[id].pmindex_id}'><img src='{$smarty.const.THEME}forum/forward.gif' alt='' /></a> 46 {if $folder == "inbox" && $messages[id].pmindex_folder == 0} 47 {* <a href='{$smarty.const.FUSION_SELF}?folder={$folder}&action=reply&user_id={$messages[id].from_user_id}&msg_id={$messages[id].pmindex_id}'><img src='{$smarty.const.THEME}forum/reply.gif' alt='' /></a> *} 48 <a href='{$smarty.const.FUSION_SELF}?folder={$folder}&action=quote&user_id={$messages[id].from_user_id}&msg_id={$messages[id].pmindex_id}'><img src='{$smarty.const.THEME}forum/quote.gif' alt='' /></a> 49 {/if} 50 {if $folder == "archive" && $messages[id].pmindex_folder == 2} 51 <a href='{$smarty.const.FUSION_SELF}?folder={$folder}&action=restore&msg_id={$messages[id].pmindex_id}'><img src='{$smarty.const.THEME}forum/restore.gif' alt='' /></a> 52 {else} 53 <a href='{$smarty.const.FUSION_SELF}?folder={$folder}&action=archive&msg_id={$messages[id].pmindex_id}'><img src='{$smarty.const.THEME}forum/archive.gif' alt='' /></a> 54 {/if} 55 <a href='{$smarty.const.FUSION_SELF}?folder={$folder}&action=delete&msg_id={$messages[id].pmindex_id}'><img src='{$smarty.const.THEME}forum/delete.gif' alt='' /></a> 56 </b> 44 {buttonlink name=$locale.423 link=$smarty.const.FUSION_SELF|cat:"?folder="|cat:$folder|cat:"&action=forward&msg_id="|cat:$messages[id].pmindex_id} 45 {if $folder == "inbox" && $messages[id].pmindex_folder == 0} 46 {* {buttonlink name=$locale.433 link=$smarty.const.FUSION_SELF|cat:"?folder="|cat:$folder|cat:"&action=reply&msg_id="|cat:$messages[id].pmindex_id} *} 47 {buttonlink name=$locale.444 link=$smarty.const.FUSION_SELF|cat:"?folder="|cat:$folder|cat:"&action=quote&msg_id="|cat:$messages[id].pmindex_id} 48 {/if} 49 {if $folder == "archive" && $messages[id].pmindex_folder == 2} 50 {buttonlink name=$locale.416 link=$smarty.const.FUSION_SELF|cat:"?folder="|cat:$folder|cat:"&action=restore&msg_id="|cat:$messages[id].pmindex_id} 51 {else} 52 {buttonlink name=$locale.412 link=$smarty.const.FUSION_SELF|cat:"?folder="|cat:$folder|cat:"&action=archive&msg_id="|cat:$messages[id].pmindex_id} 53 {/if} 54 {buttonlink name=$locale.416 link=$smarty.const.FUSION_SELF|cat:"?folder="|cat:$folder|cat:"&action=delete&msg_id="|cat:$messages[id].pmindex_id} 57 55 {/if} 58 56 </td> … … 253 251 <tr valign='bottom'> 254 252 <td class='tbl_left_bottom'> 255 <a href='{$smarty.const.BASEDIR}pm.php?action=post&user_id={if $messages[id].pmindex_user_id == $messages[id].pmindex_to_id}{$messages[id].pmindex_from_id}{else}{$messages[id].pmindex_to_id}{/if}&msg_id=0'><img src='{$smarty.const.THEME}forum/pm.gif' alt='{$locale.517}' style='border:0px;margin-right:2px;' /></a> 253 {if $messages[id].pmindex_user_id == $messages[id].pmindex_to_id} 254 {buttonlink name=$locale.560 link=$smarty.const.FUSION_SELF|cat:"?action=post&user_id="|cat:$messages[id].pmindex_from_id|cat:"&msg_id=0"} 255 {else} 256 {buttonlink name=$locale.560 link=$smarty.const.FUSION_SELF|cat:"?action=post&user_id="|cat:$messages[id].pmindex_to_id|cat:"&msg_id=0"} 257 {/if} 256 258 {if $messages[id].user_msn|default:"" != ""} 257 <a href='mailto:{$messages[id].user_msn}'><img src='{$smarty.const.THEME}forum/msn.gif' alt='{$messages[id].user_msn}' style='border:0px;margin-right:2px' /></a>259 {buttonlink name=$locale.561 link="mailto:"|cat:$messages[id].user_msn} 258 260 {/if} 259 261 {if $messages[id].user_icq|default:"" != ""} 260 <a href='http://web.icq.com/wwp?Uin={$messages[id].user_icq}' target='_blank'><img src='{$smarty.const.THEME}forum/icq.gif' alt='{$messages[id].user_icq}' style='border:0px;margin-right:2px' /></a>262 {buttonlink name=$locale.562 link="http://web.icq.com/wwp?Uin="|cat:$messages[id].user_icq new="yes"} 261 263 {/if} 262 264 {if $messages[id].user_web|default:"" != ""} 263 <a href='{$messages[id].user_web}' target='_blank'><img src='{$smarty.const.THEME}forum/web.gif' alt='{$messages[id].user_web}' style='border:0px;margin-right:2px' /></a>265 {buttonlink name=$locale.563 link=$messages[id].user_web new="yes"} 264 266 {/if} 265 267 {if false && $messages[id].user_aim|default:"" != ""} 266 <a href='aim:goim?screenname={$messages[id].user_aim|replace:' ':'+'}' target='_blank'><img src='{$smarty.const.THEME}forum/aim.gif' alt='{$messages[id].user_aim}' style='border:0px;margin-right:2px' /></a>268 {buttonlink name=$locale.564 link="aim:goim?screenname="|cat:$messages[id].user_aim|replace:' ':'+'} 267 269 {/if} 268 270 {* used the YAHOO field to store the Skype ID *} 269 271 {if false && $messages[id].user_yahoo|default:"" != ""} 270 <a href='skype:{$messages[id].user_yahoo}?call' target='_blank'><img src='{$smarty.const.THEME}forum/skype.gif' alt='{$messages[id].user_yahoo}' style='border:0px;margin-right:2px' /></a>272 {buttonlink name=$locale.565 link="skype:"|cat:$messages[id].user_yahoo|cat:"?call"} 271 273 {/if} 272 274 </td> -
trunk/themes/PLiTheme/templates/source/main.pm.tpl
r797 r835 58 58 <tr> 59 59 <td width='140' align='left' class='tbl1'> 60 <a href='{$smarty.const.FUSION_SELF}?action=post&msg_id=0'><img src='{$smarty.const.THEME}forum/newmessage.gif' align='absbottom' alt='' /></a>60 {buttonlink name=$locale.401 link=$smarty.const.FUSION_SELF|cat:"?action=post&msg_id=0"} 61 61 </td> 62 62 <td class='tbl1' align='right'> 63 < a href='#' onClick="javascript:setChecked('pm_form','check_mark[]',1);return false;"><img src='{$smarty.const.THEME}forum/checkall.gif' align='absbottom' alt='' /></a>64 < a href='#' onClick="javascript:setChecked('pm_form','check_mark[]',0);return false;"><img src='{$smarty.const.THEME}forum/uncheckall.gif' align='absbottom' alt='' /></a>63 <input type='button' class='button' name='{$locale.410|replace:" ":"_"}' value='{$locale.410}' onClick="javascript:setChecked('pm_form','check_mark[]',1);return false;"> 64 <input type='button' class='button' name='{$locale.411|replace:" ":"_"}' value='{$locale.411}' onClick="javascript:setChecked('pm_form','check_mark[]',0);return false;"> 65 65 {$locale.409} 66 66 {if $folder != "archive"} 67 <input type='submit' name='multi_archive' value='{$locale.4 12}' class='button'>67 <input type='submit' name='multi_archive' value='{$locale.404}' class='button'> 68 68 {/if} 69 69 {if $folder == "archive"} … … 198 198 {$locale.409} 199 199 {if $folder != "archive"} 200 <input type='submit' name='multi_archive' value='{$locale.4 12}' class='button'>200 <input type='submit' name='multi_archive' value='{$locale.404}' class='button'> 201 201 {/if} 202 202 {if $folder == "archive"} … … 217 217 <tr> 218 218 <td width='140' align='left' class='tbl1'> 219 <a href='{$smarty.const.FUSION_SELF}?action=post&msg_id=0'><img src='{$smarty.const.THEME}forum/newmessage.gif' alt='' /></a>219 {buttonlink name=$locale.401 link=$smarty.const.FUSION_SELF|cat:"?action=post&msg_id=0"} 220 220 </td> 221 221 <td class='tbl1' align='right'> -
trunk/themes/PLiTheme/templates/source/main.profile.groups.tpl
r779 r835 20 20 <td align='center' colspan='{if $smarty.const.iUSER >= 102}4{else}2{/if}' class='tbl1'> 21 21 {if $smarty.const.iUSER >= 102} 22 <div style='display:inline;float:right;'> <a href='{$smarty.const.BASEDIR}pm.php?action=post&group_id={$data.group_id}'><img src='{$smarty.const.THEME}forum/pm.gif' alt='' /></a></div>22 <div style='display:inline;float:right;'>{buttonlink name=$locale.u053 link=$smarty.const.BASEDIR|cat:"pm.php?action=post&group_id="|cat:$data.group_id}</div> 23 23 {/if} 24 24 <b>{$data.group_name}</b> ({$data.member_count}) -
trunk/themes/PLiTheme/templates/source/main.profile.members.tpl
r790 r835 88 88 <td align='center' class='tbl1'> 89 89 {if $smarty.const.iUSER >= 102 || $data.user_hide_email != "1"} 90 [{mailto address=$data.user_email|default:"" text=$locale.u051|strip encode='javascript_charcode'}]90 {buttonlink name=$locale.u051 link="mailto:"|cat:$data.user_email|strip encode='javascript_charcode'} 91 91 {/if} 92 92 {if $data.user_web|default:"" != ""} 93 [<a href='{$data.user_web}' title='{$data.user_web}' target='_blank'>{$locale.u052}</a>]93 {buttonlink name=$locale.u052 link=$data.user_web new="yes"} 94 94 {/if} 95 95 {if $data.show_pm_button} 96 [<a href='{$smarty.const.BASEDIR}pm.php?action=post&user_id={$data.user_id}&msg_id=0' title='{$locale.u060}'>{$locale.u053}</a>]96 {buttonlink name=$locale.u053 link=$smarty.const.BASEDIR|cat:"pm.php?action=post&user_id="|cat:$data.user_id|cat:"&msg_id=0"} 97 97 {/if} 98 98 </td>
Note: See TracChangeset
for help on using the changeset viewer.
