1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Bugtracker #3737 - hard coded text remove

This commit is contained in:
e107steved
2007-02-08 20:18:33 +00:00
parent ccca2b1d10
commit b5d81fef48
2 changed files with 19 additions and 11 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/admin_config.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/admin_config.php,v $
| $Revision: 1.2 $ | $Revision: 1.3 $
| $Date: 2007-02-07 21:48:26 $ | $Date: 2007-02-08 20:18:33 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -26,14 +26,14 @@ require_once(e_ADMIN."auth.php");
@include_once(e_PLUGIN."linkwords/languages/English.php"); @include_once(e_PLUGIN."linkwords/languages/English.php");
$lw_context_areas = array( $lw_context_areas = array(
'title' => 'Title areas', 'title' => LWLAN_33,
'summary' => 'Item summaries', 'summary' => LWLAN_34,
'body' => 'Body text', 'body' => LWLAN_35,
'description' => 'Descriptions (links etc)' 'description' => LWLAN_36
// Don't do the next three - linkwords are meaningless on them // Don't do the next three - linkwords are meaningless on them
// 'olddefault' => 'Legacy areas', // 'olddefault' => LWLAN_37,
// 'linktext' => 'Clickable links', // 'linktext' => LWLAN_38,
// 'rawtext' => 'Unprocessed text' // 'rawtext' => LWLAN_39'
); );
$deltest = array_flip($_POST); $deltest = array_flip($_POST);
@@ -158,8 +158,8 @@ if (($action == 'words') || ($action == 'edit'))
<td class='forumheader' style='width: 40%;'>$linkword_link</td> <td class='forumheader' style='width: 40%;'>$linkword_link</td>
<td class='forumheader' style='width: 10%; text-align: center;'>".(!$linkword_active ? LWLAN_12 : LWLAN_13)."</td> <td class='forumheader' style='width: 10%; text-align: center;'>".(!$linkword_active ? LWLAN_12 : LWLAN_13)."</td>
<td class='forumheader' style='width: 30%; text-align: center;'> <td class='forumheader' style='width: 30%; text-align: center;'>
<input class='button' type='button' onclick=\"document.location='".e_SELF."?edit.$linkword_id'\" value='Edit' id='edit_$linkword_id' name='edit_linkword_id' /> <input class='button' type='button' onclick=\"document.location='".e_SELF."?edit.$linkword_id'\" value='".LWLAN_16."' id='edit_$linkword_id' name='edit_linkword_id' />
<input class='button' type='submit' value='Delete' id='delete_$linkword_id' name='delete_$linkword_id' /> <input class='button' type='submit' value='".LWLAN_17."' id='delete_$linkword_id' name='delete_$linkword_id' />
</td> </td>
</tr> </tr>
</form>\n"; </form>\n";

View File

@@ -32,6 +32,14 @@ define("LWLAN_29", "Same format as menu visibility control. One match per line.
define("LWLAN_30", "Save options"); define("LWLAN_30", "Save options");
define("LWLAN_31", "Add/edit linkword"); define("LWLAN_31", "Add/edit linkword");
define("LWLAN_32", "Linkword Options"); define("LWLAN_32", "Linkword Options");
define("LWLAN_33", 'Title areas');
define("LWLAN_34", 'Item summaries');
define("LWLAN_35", 'Body text');
define("LWLAN_36", 'Descriptions (links etc)');
define("LWLAN_37", 'Legacy areas');
define("LWLAN_38", 'Clickable links');
define("LWLAN_39", 'Unprocessed text');
define("LWLANINS_1", "Linkwords"); define("LWLANINS_1", "Linkwords");
define("LWLANINS_2", "This plugin will link specified words with a defined link"); define("LWLANINS_2", "This plugin will link specified words with a defined link");