From 71562bb5c25380edead4227da20d1bb83a83e9cd Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Sat, 17 Jan 2015 14:40:00 +0100 Subject: [PATCH] remove webpasties plugin, defunct --- .../UTF-8/lang_cs.inc.php | 29 ----- .../UTF-8/lang_cz.inc.php | 29 ----- serendipity_plugin_webpasties/lang_cs.inc.php | 29 ----- serendipity_plugin_webpasties/lang_cz.inc.php | 29 ----- serendipity_plugin_webpasties/lang_en.inc.php | 32 ----- .../serendipity_plugin_webpasties.php | 122 ------------------ 6 files changed, 270 deletions(-) delete mode 100644 serendipity_plugin_webpasties/UTF-8/lang_cs.inc.php delete mode 100644 serendipity_plugin_webpasties/UTF-8/lang_cz.inc.php delete mode 100644 serendipity_plugin_webpasties/lang_cs.inc.php delete mode 100644 serendipity_plugin_webpasties/lang_cz.inc.php delete mode 100644 serendipity_plugin_webpasties/lang_en.inc.php delete mode 100644 serendipity_plugin_webpasties/serendipity_plugin_webpasties.php diff --git a/serendipity_plugin_webpasties/UTF-8/lang_cs.inc.php b/serendipity_plugin_webpasties/UTF-8/lang_cs.inc.php deleted file mode 100644 index 32cca0d7..00000000 --- a/serendipity_plugin_webpasties/UTF-8/lang_cs.inc.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @translated 2009/05/10 - */ - -@define('PLUGIN_WEBPASTIES_NAME', 'WebPasties'); -@define('PLUGIN_WEBPASTIES_DESC', 'Internetová služba WebPasties umožňuje spravovat na jednom místě více věcí, jako jsou například RSS kanály, ankety, kalendáře akcí a status tlačítka insatant messengerů jako ICQ nebo jabber. Tento plugin dokáže zobrazovat vybrané informace uložené na WebPasties.'); -@define('PLUGIN_WEBPASTIES_CHECK_BELOW', 'Podívejte se na pokyny níže, kde to lze najít.'); -@define('PLUGIN_WEBPASTIES_TITLE', 'Nadpis'); -@define('PLUGIN_WEBPASTIES_TITLE_DESC', 'Nadpis postranního bloku s informacemi z WebPasties. Ponechte prázdné pro vynechání nadpisu.'); -@define('PLUGIN_WEBPASTIES_TITLE_ERR', 'Nesprávný nadpis. Zadejte prosím nekódovaný nadpis (žádné html). Použijte CSS styly ke změně vzhledu nadpisu.'); -@define('PLUGIN_WEBPASTIES_MODE', 'Mód'); -@define('PLUGIN_WEBPASTIES_MODE_DESC', 'Mód výpisu WebPasties'); -@define('PLUGIN_WEBPASTIES_MODE_SCROLL', 'RSS kanál - scroll'); -@define('PLUGIN_WEBPASTIES_MODE_CAL', 'Kalendář událostí - cal'); -@define('PLUGIN_WEBPASTIES_MODE_POLL', 'Anketa - poll'); -@define('PLUGIN_WEBPASTIES_MODE_IM', 'InstantMessenger status - im'); -@define('PLUGIN_WEBPASTIES_MID', 'mID'); -@define('PLUGIN_WEBPASTIES_MID_DESC', 'Vaše uživatelské číslo (ID) na WebPasties'); -@define('PLUGIN_WEBPASTIES_MID_ERR', 'Nesprávné mID. Zadejte prosím číslo.'); -@define('PLUGIN_WEBPASTIES_ID', 'WebPastie ID'); -@define('PLUGIN_WEBPASTIES_ID_DESC', 'Identifikační číslo (ID) konkrétního webpastie'); -@define('PLUGIN_WEBPASTIES_ID_ERR', 'Nesprávné číslo webpastie. Zadejte číslo.'); -@define('PLUGIN_WEBPASTIES_EXAMPLE', '

Podívejte se na WebPasties.com. Tam můžete spravovat Vaše webpastie. Jakmile je jednou vytvoříte, jejich mód, id a mid se nemohou dále měnit, ale můžete pozměnit jejich vzhled a chování.

Níže následuje příklad HTML kódu, který generují WebPasties jako RSS kanál. Zvýrazněné části jsou potřeba pro správnou funkci tohoto pluginu.'); - -/* vim: set sts=4 ts=4 expandtab: */ -?> diff --git a/serendipity_plugin_webpasties/UTF-8/lang_cz.inc.php b/serendipity_plugin_webpasties/UTF-8/lang_cz.inc.php deleted file mode 100644 index 32cca0d7..00000000 --- a/serendipity_plugin_webpasties/UTF-8/lang_cz.inc.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @translated 2009/05/10 - */ - -@define('PLUGIN_WEBPASTIES_NAME', 'WebPasties'); -@define('PLUGIN_WEBPASTIES_DESC', 'Internetová služba WebPasties umožňuje spravovat na jednom místě více věcí, jako jsou například RSS kanály, ankety, kalendáře akcí a status tlačítka insatant messengerů jako ICQ nebo jabber. Tento plugin dokáže zobrazovat vybrané informace uložené na WebPasties.'); -@define('PLUGIN_WEBPASTIES_CHECK_BELOW', 'Podívejte se na pokyny níže, kde to lze najít.'); -@define('PLUGIN_WEBPASTIES_TITLE', 'Nadpis'); -@define('PLUGIN_WEBPASTIES_TITLE_DESC', 'Nadpis postranního bloku s informacemi z WebPasties. Ponechte prázdné pro vynechání nadpisu.'); -@define('PLUGIN_WEBPASTIES_TITLE_ERR', 'Nesprávný nadpis. Zadejte prosím nekódovaný nadpis (žádné html). Použijte CSS styly ke změně vzhledu nadpisu.'); -@define('PLUGIN_WEBPASTIES_MODE', 'Mód'); -@define('PLUGIN_WEBPASTIES_MODE_DESC', 'Mód výpisu WebPasties'); -@define('PLUGIN_WEBPASTIES_MODE_SCROLL', 'RSS kanál - scroll'); -@define('PLUGIN_WEBPASTIES_MODE_CAL', 'Kalendář událostí - cal'); -@define('PLUGIN_WEBPASTIES_MODE_POLL', 'Anketa - poll'); -@define('PLUGIN_WEBPASTIES_MODE_IM', 'InstantMessenger status - im'); -@define('PLUGIN_WEBPASTIES_MID', 'mID'); -@define('PLUGIN_WEBPASTIES_MID_DESC', 'Vaše uživatelské číslo (ID) na WebPasties'); -@define('PLUGIN_WEBPASTIES_MID_ERR', 'Nesprávné mID. Zadejte prosím číslo.'); -@define('PLUGIN_WEBPASTIES_ID', 'WebPastie ID'); -@define('PLUGIN_WEBPASTIES_ID_DESC', 'Identifikační číslo (ID) konkrétního webpastie'); -@define('PLUGIN_WEBPASTIES_ID_ERR', 'Nesprávné číslo webpastie. Zadejte číslo.'); -@define('PLUGIN_WEBPASTIES_EXAMPLE', '

Podívejte se na WebPasties.com. Tam můžete spravovat Vaše webpastie. Jakmile je jednou vytvoříte, jejich mód, id a mid se nemohou dále měnit, ale můžete pozměnit jejich vzhled a chování.

Níže následuje příklad HTML kódu, který generují WebPasties jako RSS kanál. Zvýrazněné části jsou potřeba pro správnou funkci tohoto pluginu.'); - -/* vim: set sts=4 ts=4 expandtab: */ -?> diff --git a/serendipity_plugin_webpasties/lang_cs.inc.php b/serendipity_plugin_webpasties/lang_cs.inc.php deleted file mode 100644 index 2069fd03..00000000 --- a/serendipity_plugin_webpasties/lang_cs.inc.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @translated 2009/05/10 - */ - -@define('PLUGIN_WEBPASTIES_NAME', 'WebPasties'); -@define('PLUGIN_WEBPASTIES_DESC', 'Internetov sluba WebPasties umouje spravovat na jednom mst vce vc, jako jsou napklad RSS kanly, ankety, kalende akc a status tlatka insatant messenger jako ICQ nebo jabber. Tento plugin doke zobrazovat vybran informace uloen na WebPasties.'); -@define('PLUGIN_WEBPASTIES_CHECK_BELOW', 'Podvejte se na pokyny ne, kde to lze najt.'); -@define('PLUGIN_WEBPASTIES_TITLE', 'Nadpis'); -@define('PLUGIN_WEBPASTIES_TITLE_DESC', 'Nadpis postrannho bloku s informacemi z WebPasties. Ponechte przdn pro vynechn nadpisu.'); -@define('PLUGIN_WEBPASTIES_TITLE_ERR', 'Nesprvn nadpis. Zadejte prosm nekdovan nadpis (dn html). Pouijte CSS styly ke zmn vzhledu nadpisu.'); -@define('PLUGIN_WEBPASTIES_MODE', 'Md'); -@define('PLUGIN_WEBPASTIES_MODE_DESC', 'Md vpisu WebPasties'); -@define('PLUGIN_WEBPASTIES_MODE_SCROLL', 'RSS kanl - scroll'); -@define('PLUGIN_WEBPASTIES_MODE_CAL', 'Kalend udlost - cal'); -@define('PLUGIN_WEBPASTIES_MODE_POLL', 'Anketa - poll'); -@define('PLUGIN_WEBPASTIES_MODE_IM', 'InstantMessenger status - im'); -@define('PLUGIN_WEBPASTIES_MID', 'mID'); -@define('PLUGIN_WEBPASTIES_MID_DESC', 'Vae uivatelsk slo (ID) na WebPasties'); -@define('PLUGIN_WEBPASTIES_MID_ERR', 'Nesprvn mID. Zadejte prosm slo.'); -@define('PLUGIN_WEBPASTIES_ID', 'WebPastie ID'); -@define('PLUGIN_WEBPASTIES_ID_DESC', 'Identifikan slo (ID) konkrtnho webpastie'); -@define('PLUGIN_WEBPASTIES_ID_ERR', 'Nesprvn slo webpastie. Zadejte slo.'); -@define('PLUGIN_WEBPASTIES_EXAMPLE', '

Podvejte se na WebPasties.com. Tam mete spravovat Vae webpastie. Jakmile je jednou vytvote, jejich md, id a mid se nemohou dle mnit, ale mete pozmnit jejich vzhled a chovn.

Ne nsleduje pklad HTML kdu, kter generuj WebPasties jako RSS kanl. Zvraznn sti jsou poteba pro sprvnou funkci tohoto pluginu.'); - -/* vim: set sts=4 ts=4 expandtab: */ -?> diff --git a/serendipity_plugin_webpasties/lang_cz.inc.php b/serendipity_plugin_webpasties/lang_cz.inc.php deleted file mode 100644 index dccde2eb..00000000 --- a/serendipity_plugin_webpasties/lang_cz.inc.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @translated 2009/05/10 - */ - -@define('PLUGIN_WEBPASTIES_NAME', 'WebPasties'); -@define('PLUGIN_WEBPASTIES_DESC', 'Internetov sluba WebPasties umouje spravovat na jednom mst vce vc, jako jsou napklad RSS kanly, ankety, kalende akc a status tlatka insatant messenger jako ICQ nebo jabber. Tento plugin doke zobrazovat vybran informace uloen na WebPasties.'); -@define('PLUGIN_WEBPASTIES_CHECK_BELOW', 'Podvejte se na pokyny ne, kde to lze najt.'); -@define('PLUGIN_WEBPASTIES_TITLE', 'Nadpis'); -@define('PLUGIN_WEBPASTIES_TITLE_DESC', 'Nadpis postrannho bloku s informacemi z WebPasties. Ponechte przdn pro vynechn nadpisu.'); -@define('PLUGIN_WEBPASTIES_TITLE_ERR', 'Nesprvn nadpis. Zadejte prosm nekdovan nadpis (dn html). Pouijte CSS styly ke zmn vzhledu nadpisu.'); -@define('PLUGIN_WEBPASTIES_MODE', 'Md'); -@define('PLUGIN_WEBPASTIES_MODE_DESC', 'Md vpisu WebPasties'); -@define('PLUGIN_WEBPASTIES_MODE_SCROLL', 'RSS kanl - scroll'); -@define('PLUGIN_WEBPASTIES_MODE_CAL', 'Kalend udlost - cal'); -@define('PLUGIN_WEBPASTIES_MODE_POLL', 'Anketa - poll'); -@define('PLUGIN_WEBPASTIES_MODE_IM', 'InstantMessenger status - im'); -@define('PLUGIN_WEBPASTIES_MID', 'mID'); -@define('PLUGIN_WEBPASTIES_MID_DESC', 'Vae uivatelsk slo (ID) na WebPasties'); -@define('PLUGIN_WEBPASTIES_MID_ERR', 'Nesprvn mID. Zadejte prosm slo.'); -@define('PLUGIN_WEBPASTIES_ID', 'WebPastie ID'); -@define('PLUGIN_WEBPASTIES_ID_DESC', 'Identifikan slo (ID) konkrtnho webpastie'); -@define('PLUGIN_WEBPASTIES_ID_ERR', 'Nesprvn slo webpastie. Zadejte slo.'); -@define('PLUGIN_WEBPASTIES_EXAMPLE', '

Podvejte se na WebPasties.com. Tam mete spravovat Vae webpastie. Jakmile je jednou vytvote, jejich md, id a mid se nemohou dle mnit, ale mete pozmnit jejich vzhled a chovn.

Ne nsleduje pklad HTML kdu, kter generuj WebPasties jako RSS kanl. Zvraznn sti jsou poteba pro sprvnou funkci tohoto pluginu.'); - -/* vim: set sts=4 ts=4 expandtab: */ -?> diff --git a/serendipity_plugin_webpasties/lang_en.inc.php b/serendipity_plugin_webpasties/lang_en.inc.php deleted file mode 100644 index 6afd9b2a..00000000 --- a/serendipity_plugin_webpasties/lang_en.inc.php +++ /dev/null @@ -1,32 +0,0 @@ - - * EN-Revision: Revision of lang_en.inc.php - * Mar 02, 2006 - * Version 0.1 - */ - -@define('PLUGIN_WEBPASTIES_NAME', 'WebPasties'); -@define('PLUGIN_WEBPASTIES_DESC', 'WebPasties allow you to manage things like RSS feeds, polls, event calendars, and IM status buttons. (stackable)'); -@define('PLUGIN_WEBPASTIES_CHECK_BELOW', 'Check below for instructions on where to find this.'); -@define('PLUGIN_WEBPASTIES_TITLE', 'Title'); -@define('PLUGIN_WEBPASTIES_TITLE_DESC', 'The header to appear above your WebPastie. Leave blank for no title.'); -@define('PLUGIN_WEBPASTIES_TITLE_ERR', 'Invalid Title, please enter un-coded content. Use CSS stylesheet to change title appearance.'); -@define('PLUGIN_WEBPASTIES_MODE', 'Mode'); -@define('PLUGIN_WEBPASTIES_MODE_DESC', 'The mode of the webpastie. '. PLUGIN_WEBPASTIES_CHECK_BELOW); -@define('PLUGIN_WEBPASTIES_MODE_SCROLL', 'RSS Feed - scroll'); -@define('PLUGIN_WEBPASTIES_MODE_CAL', 'Event Calendar - cal'); -@define('PLUGIN_WEBPASTIES_MODE_POLL', 'Web Poll - poll'); -@define('PLUGIN_WEBPASTIES_MODE_IM', 'IM status - im'); -@define('PLUGIN_WEBPASTIES_MID', 'mID'); -@define('PLUGIN_WEBPASTIES_MID_DESC', 'Your WebPasties User ID #. '. PLUGIN_WEBPASTIES_CHECK_BELOW); -@define('PLUGIN_WEBPASTIES_MID_ERR', 'Invalid mID. Please enter a number. '. PLUGIN_WEBPASTIES_CHECK_BELOW); -@define('PLUGIN_WEBPASTIES_ID', 'WebPastie ID'); -@define('PLUGIN_WEBPASTIES_ID_DESC', 'The ID # of the webpastie. '. PLUGIN_WEBPASTIES_CHECK_BELOW); -@define('PLUGIN_WEBPASTIES_ID_ERR', 'Invalid WebPastie ID. Please enter a number. '. PLUGIN_WEBPASTIES_CHECK_BELOW); -@define('PLUGIN_WEBPASTIES_EXAMPLE', '

Check WebPasties.com to manage your individual webpasties. Once you have created them, their mode, id, and mid will not change, but you can still customize them on the webpasties website.

Below is an example of the RSS feed HTML code generated by WebPasties. The highlighted sections are needed for this plugin'); - -/* vim: set sts=4 ts=4 expandtab: */ -?> diff --git a/serendipity_plugin_webpasties/serendipity_plugin_webpasties.php b/serendipity_plugin_webpasties/serendipity_plugin_webpasties.php deleted file mode 100644 index a5bae420..00000000 --- a/serendipity_plugin_webpasties/serendipity_plugin_webpasties.php +++ /dev/null @@ -1,122 +0,0 @@ - - * Mar 02, 2006 - * Version 0.1 */ - -// Probe for a language include with constants. Still include defines later on, if some constants were missing - -if (IN_serendipity !== true) { - die ("Don't hack!"); -} - -$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php'; - -if (file_exists($probelang)) { - include $probelang; -} - -include dirname(__FILE__) . '/lang_en.inc.php'; - -@define('PLUGIN_WEBPASTIES_URL', 'http://www.webpasties.com/pastie.php'); - -class serendipity_plugin_webpasties extends serendipity_plugin { - - var $title = PLUGIN_WEBPASTIES_NAME; - - function introspect(&$propbag) - { - $this->title = $this->get_config('title', $this->title); - $propbag->add('name', PLUGIN_WEBPASTIES_NAME); - $propbag->add('description', PLUGIN_WEBPASTIES_DESC); - $propbag->add('stackable', true); - $propbag->add('author', 'Jabrwock'); - $propbag->add('version', '0.2'); - $propbag->add('configuration', array('title','mode', 'mid', 'id')); - $propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES')); - $propbag->add('requirements', array( - 'serendipity' => '0.9.1', - 'php' => '4.1.0' - )); - $this->protected = TRUE; - } - - function introspect_config_item($name, &$propbag) - { - switch($name) { - case 'title': - $propbag->add('type', 'string'); - $propbag->add('name', PLUGIN_WEBPASTIES_TITLE); - $propbag->add('description', PLUGIN_WEBPASTIES_TITLE_DESC); - $propbag->add('default', ''); - $propbag->add('validate', 'words'); - $propbag->add('validate_error', PLUGIN_WEBPASTIES_TITLE_ERR); - break; - case 'mode': - $select_mode = array( - 'scroll' => PLUGIN_WEBPASTIES_MODE_SCROLL, - 'poll' => PLUGIN_WEBPASTIES_MODE_POLL, - 'cal' => PLUGIN_WEBPASTIES_MODE_CAL, - 'im' => PLUGIN_WEBPASTIES_MODE_IM - ); - $propbag->add('type', 'select'); - $propbag->add('select_values', $select_mode); - $propbag->add('name', PLUGIN_WEBPASTIES_MODE); - $propbag->add('description', PLUGIN_WEBPASTIES_MODE_DESC); - $propbag->add('default', 'scroll'); - break; - case 'mid': - $propbag->add('type', 'string'); - $propbag->add('name', PLUGIN_WEBPASTIES_MID); - $propbag->add('description', PLUGIN_WEBPASTIES_MID_DESC); - $propbag->add('default', ''); - $propbag->add('validate', 'number'); - $propbag->add('validate_error', PLUGIN_WEBPASTIES_MID_ERR); - break; - case 'id': - $propbag->add('type', 'string'); - $propbag->add('name', PLUGIN_WEBPASTIES_ID); - $propbag->add('description', PLUGIN_WEBPASTIES_ID_DESC); - $propbag->add('default', ''); - $propbag->add('validate', 'number'); - $propbag->add('validate_error', PLUGIN_WEBPASTIES_ID_ERR); - break; - default: - return false; - break; - } - return true; - } - - function generate_content(&$title) - { - echo '

'. $this->get_config('title', '') .'

'; - - switch($this->get_config('mode', 'scroll')) - { - case 'scroll': - $type = 's'; - break; - case 'poll': - $type = 'p'; - break; - case 'cal': - $type = 'c'; - break; - case 'im': - $type = 'i'; - break; - default: - break; - } - echo ''; - } - - function example() - { - return PLUGIN_WEBPASTIES_EXAMPLE . '

<script language="JavaScript" type="text/javascript" src="http://www.webpasties.com/pastie.php?mode=scroll&sid=6383&mid=38"></script>'; - } -} - -/* vim: set sts=4 ts=4 expandtab: */