Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from ramazansubasi/master
Turkish Language File added + No Print for Guests -- P.S: this plugin doesn't conform to my writing rules, but I can't be arsed to 'fix' it. I can't be anal all the time...
- Loading branch information
Showing
7 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
No Print For Guests | ||
------------------- | ||
|
||
Simple plugin which disables print function of topics for Guests. Nothing more. | ||
|
||
Installation | ||
------------ | ||
|
||
Drop `nopluginforguests` folder into /<your-wedge-installation>/plugins and activate it via ACP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
function npfg_display_main(){ | ||
|
||
global $context; | ||
if(we::$is_guest){ // If user is guest, delete print button | ||
unset($context['nav_buttons']['normal']['print']); | ||
} | ||
|
||
} | ||
|
||
function npfg_load_theme(){ | ||
global $context; | ||
log_error(print_r($context, true)); | ||
if(we::$is_guest && $context['action'] == 'printpage'){ // If user is guest, and action is printpage, abort it | ||
redirectexit(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" standalone="yes" ?> | ||
<plugin id="CerealGuy:NoPrintForGuests"> | ||
<name>No Print For Guests</name> | ||
<author>CerealGuy</author> | ||
<description>Disable Print for Guests</description> | ||
<version>1.0</version> | ||
<hooks> | ||
<function point="display_main" function="npfg_display_main" filename="$plugindir/NoPrintForGuests" /> | ||
<function point="load_theme" function="npfg_load_theme" filename="$plugindir/NoPrintForGuests" /> | ||
</hooks> | ||
|
||
</plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* WeMentions' plugins language file | ||
* | ||
* @package Dragooon:WeMentions | ||
* @author Ramazan Subaşi "subram" <Email subasiramazan@gmail.com> <Url http://ramazansubasi.com> | ||
* @copyright 2013, Shitiz "Dragooon" Garg <mail@dragooon.net> | ||
* @license | ||
* Licensed under "New BSD License (3-clause version)" | ||
* http://www.opensource.org/licenses/BSD-3-Clause | ||
* @version 1.0 | ||
*/ | ||
|
||
$txt['notifier_mentions_title'] = 'Uye Etiketleme'; | ||
$txt['notifier_mentions_desc'] = 'Uyelerin diger uyeleri @<uye adı> seklinde etiketlemesine ve bildirimlere izin ver'; | ||
$txt['notifier_mentions_subject'] = 'Bir yorumda senden bahsedildi!'; | ||
$txt['notifier_mentions_html'] = '{MEMBER_LINK} Bu yorumda etiketlendin "{OBJECT_LINK}".'; | ||
$txt['notifier_mentions_text'] = '{MEMBER_NAME} seni su yorumda etiketledi: "{OBJECT_NAME}". Yorumu buradan okuyabilirsin: | ||
{OBJECT_URL}'; | ||
$txt['permissionname_mention_member'] = 'Uye Etiketleme'; | ||
$txt['permissionhelp_mention_member'] = 'Uyeleri @ isaret ile etiketlemeye ve bildirimlere izin verir'; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
$txt['topicsolved'] = 'Konu Çözüldü'; | ||
$txt['topicsolved_style'] = 'Solved Topics are displayed with a different color in the list of topics. You can configure that here - remember, topics have two different background colors, and both are configured here.'; | ||
$txt['topicsolved_bg1'] = 'The darker column background-color'; | ||
$txt['topicsolved_bg2'] = 'The lighter column background-color'; | ||
$txt['topicsolved_fg'] = 'Metin Rengi'; | ||
$txt['topicsolved_boards'] = 'Boards that topics can be solved in'; | ||
|
||
$txt['modlog_ac_solve'] = 'Mark "{topic}" as solved'; | ||
$txt['modlog_ac_unsolve'] = 'Mark "{topic}" as unsolved'; | ||
|
||
$txt['topicsolved_own'] = 'Kim kendi başlıklarını Çözüldü olarak İşaretleyebilir?'; | ||
$txt['topicsolved_any'] = 'Kim herhangi bir başlığı Çözüldü olarak işaretleyibilir?'; | ||
$txt['permissionname_topicsolved'] = 'Çözüldü olarak çözüldü'; | ||
$txt['permissionname_topicsolved_own'] = 'Kendi konuları'; | ||
$txt['permissionname_topicsolved_any'] = 'Herhangi bir konu'; | ||
$txt['permissiongroup_ts_group'] = 'Konu Çözüldü'; | ||
|
||
$txt['group_perms_name_topicsolved_own'] = 'Kendi başlıklarını Çözüldü olarak işaretle'; | ||
$txt['group_perms_name_topicsolved_any'] = 'Herhangi bir başlığı Çözüldü olarak işaretle'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
$txt['topic_was_solved_missing_author'] = 'Bu %1$s Tarafından Çözüldü Olarak İşaretlendi '; | ||
$txt['topic_was_solved_author'] = 'Bu konu Çözüldü Olarak İşaretlendi,'; | ||
$txt['topic_was_solved_non_author'] = 'Bu Konu %1$s Tarafından %2$s Tarihinde Çözüldü Olarak İşaretlendi.'; | ||
$txt['topic_mark_solved'] = 'Çözüldü Olarak İşaretle'; | ||
$txt['topic_mark_unsolved'] = 'Çözülmedi Olarak İşaretle'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
|
||
$txt['quick_mod_marksolved'] = 'Çözüldü/Çözülmedi olarak İşaretle'; |