(no subject)

Aug 15, 2006 18:45

This is probably something obvious, but I can't figure out what the heck I'm doing wrong. I'm using pamelajoy's Opalish code and all I want to do is change the text of "Permalink".

layerinfo "type" = "theme";
layerinfo "name" = "Opalish";
layerinfo author_name = "Pam Culver";
layerinfo author_email = "pamelajoy@livejournal.com";
layerinfo des = "Based on ignited opal hacks.";
layerinfo lang = "en";
layerinfo source_viewable = 1;
layerinfo is_public = 1;

set summary_items = 0;
set page_recent_items = 20;
set page_friends_items = 20;
set show_entry_userpic = true;
set view_entry_disabled = true;
set text_nosubject = "(no subject)";
set lang_fmt_time_short = "%%month%% %%dayord%%, %%yyyy%% @ %%hh%%:%%min%%%%a%%m";
set text_post_comment = "Tell a tale";
set text_read_comments = "1 told // # told";
set text_post_comment_friends = "Tell a tale";
set text_read_comments_friends = "1 told // # told";
set text_permalink = "Mwahaha";

### Removes title ###
function Page::lay_print_header () {
var string title = $this->title();
"""

""";

foreach var string v ($.views_order) {
println " "+lang_viewname($v)+"";
}

var string website;
if($.journal.website_url != "") {
$website = """ $.journal.website_name""";
}

"""
$website

""";
}

### Gets rid of white background behind friends names on friends page ###
function FriendsPage::lay_make_username (Entry e) {
var Friend f = $.friends{$e.journal.username};
var string url = $e.poster->base_url();
"""

$e.poster.username
""";
if($e.poster.username != $e.journal.username) {
""" $e.journal""";
}
"""

""";
}

### bolds metadata ###
function Entry::print_metadata() {
var string caption;
var string val;
var Image i;
if (size $.metadata == 0) { return; }
foreach var string k ($.metadata) {
$caption = $k;
$val = $.metadata{$k};
if ($k == "music") {
$caption = $*text_meta_music;
} else {
if ($k == "mood") {
$caption = $*text_meta_mood;
if (defined $.mood_icon) {
$i = $.mood_icon;
$val = """
$val""";
}
}
}
println """
$caption: $val""";
}
}

### stylesheet ###
function print_stylesheet() {
"""
a, a:active {
color: #4040ff;
}

a:visited {
color: #0000C0;
}

a:hover {
color: #000080;
}

.backtop {
text-align: right;
}

.backtop a {
color: #8080FF;
font-size: 10pt;
text-decoration: none;
padding-bottom: 1px;
margin-top: 1px;
}

.bigday {
font-size: 10pt;
color: #000033;
float: left;
font-weight: bold;
}

body {
font-family: Book Antiqua, Verdana, sans-serif;
background-image: url("http://img.photobucket.com/albums/v504/aidara/parchment_background_light.jpg");
border: 0;
background-repeat: repeat;
background-attachment: scroll;
margin: 5px;
}

#bodycontent {
background-color: transparent;
border: 0px solid #8080ff;
padding: 0px;
}

.bodytable {
width: 75%;
}

.border2 {
border: 0px solid #8080FF;
}

.border2 {
border: 0px solid #4040FF;
}

.border3 {
border: 0px solid #8080FF;
}

.border4 {
border: 0px solid #8080FF;
}

#cal a {
text-decoration: none;
color: #4040FF;
width: 127px;
}

.calactitem {
white-space: nowrap;
/*float: left;*/
margin: 1px;
width: 3px;
font-size: 6px;
text-align: center;
background-color: #404040;
border-right: 1px solid #4040FF;
border-bottom: 1px solid #4040FF;
}

.calempty {
color: #404040;
width: 7pt;
font-size: 8px;
margin: 1px;
/*float: left;*/
}

.calinitem {
white-space: nowrap;
/*float: left;*/
margin: 1px;
width: 3px;
font-size: 6px;
text-align: center;
border-right: 1px solid #4040ff;
border-bottom: 1px solid #4040ff;
}

.calrow {
clear: both;
width: 120px;
}

.columncontent {
background-color: #c0c0ff;
border: 2px solid #8080ff;
padding: 2px;
font-size: 7pt;
text-align: left;
color: #404040;
}

.columnitem {
font-size: 7pt;
background-color: #c0c0ff;
padding: 3px;
margin-top: 5px;
color: #4040ff;
border: 1px solid #8080ff;
overflow: visible;
}

.comments {
padding-left: 4px;
padding-right: 6px;
}

#content {
background-color: #c0c0ff;
border: 1px solid #8080ff;
padding: 1px;
}

.entries {
font-size: 10pt;
color: #000033;
text-align: justify;
}

.entry {
margin-bottom: 10px;
}

.entrycontent {
width: 100%;
}

.entrydivider {
border-top: 1px solid #8080ff;
border-bottom: 1px solid #8080ff;
}

.entryinfo {
color: #4040ff;
text-align: right;
background-color: #8080ff;
border: 0px solid #4040ff;
font-size: 10pt;
padding: 2px;
font-weight: bold;
letter-spacing: 0.02em;
}

.entrylinks {
border: 0px solid #4040ff;
background-color: #8080ff;
padding-top: 2px;
padding-bottom: 2px;
font-size: 10pt;
}

.entrylinks a {
text-decoration: none;
padding-top: 2px;
padding-bottom: 2px;
white-space: nowrap;
color: #000080;
}

.entrylinks a:hover {
background-color: #c0c0c0;
}

.entrytext {
color: #000033;
font-size: 10pt;
margin-top: 7pt;
overflow-x: hidden;
text-overflow: clip;
word-wrap: break-word;
}

.entrytext p {
color: #000033;
font-size: 10pt;
text-align: justify;
width: 100%;
}

.friendcolor {
background: transparent;
width: 10px;
height: 10px;
border: 2px solid transparent;
}

.friendname {
background: transparent;
padding: 4px;
text-decoration: none;
border-left: 0px solid transparent;
border-right: 0px solid transparent;
}

#header {
background: transparent;
}

#headerinfo {
background: transparent;
color: #000000;
text-align: right;
font-size: 10px;
padding: 2px;
margin-top: 1px;
}

#header p {
font-weight: bold;
}

.ip {
color: #404040;
}

span.ljuser img {
visibility: hidden;
}

span.ljuser a {
width: 27px;
height: 16px;
background-image: url(http://www.more-reme-than-rome.net/McShep.gif);
background-repeat: no-repeat;
background-position: left center;
padding-top: 2px;
padding-bottom: 2px;
margin-right: 2px;
}

.ljuser a img {
width: 27px;
height: 16px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0px;
}

span.ljuser a b {
padding-top: 2px;
padding-bottom: 2px;
background: #c0c0ff;
}

.messageholder {
border: 1px solid #404040;
margin-bottom: 7pt;
margin-top: 7pt;
}

.meta {
font-size: 10pt;
padding: 4px;
}

.minicomment {
background-color: #c0c0ff;
padding: 4px;
color: #000033;
border: 1px solid #8080ff;
font-size: 10pt;
}

.minicommentholder {
border: 0px solid #8080ff;
}

.multiform {
background-color: #c0c0ff;
font-weight: bold;
}

#nav {
display:none
}

.notablemessage {
padding: 4px;
}

.pagealign {
text-align: center;
}

.postedby {
background-color: #c0c0ff;
padding: 6px;
font-size: 7pt;
color: #4040ff
}

#sidecolumn a {
text-decoration: none;
color: #4040ff;
width: 175px;
}

#sidecolumn td {
color: #8080ff;
}

.sidetd {
width: 175px;
}

strong {
font-size: 10pt;
}

.subject {
font-weight: bold;
color: #000033;
font-size: 11pt;
}

.systemmessage {
background-color: #c0c0ff;
color: #000033;
border: 1px solid #8080ff;
font-size: 10pt;
}

.systemmessage a {
text-decoration: none;
padding-left: 10px;
padding-right: 10px;
color: #8080ff;
padding-top: 4px;
padding-bottom: 4px;
}

.systemmessage a:hover {
background-color: #8080ff;
}

.systemmessage input, .systemmessage textarea, .systemmessage select {
background-color: #c0c0ff;
border:1px solid #8080ff;
color: #000033;
}

.systemmessage td {
padding: 4px;
font-size: 10pt;
color: #000033;
}

.systemtext {
font-weight: normal;
padding-left: 10px;
padding-right: 10px;
}

.systemtext a {
font-weight: normal;
padding-left: 10px;
padding-right: 10px;
}

#userpic {
overflow: visible;
margin-left: 12pt;
margin-bottom: 5pt;
}

.userpic2 {
float: right;
text-align: right;
margin-top: 0px;
margin-right: 0px;
padding-top: 0px;
padding-left: 12px;
padding-right: 3px;
}

""";
}

function Page::lay_print_sidebar () {
$this->lay_print_calendar();
$this->lay_print_freetext();
$this->print_linklist();
$this->lay_print_summary();

var string favorites = """

print_box("Favorite Icons", $text);
}

function Page::print () {

var string title = $this->title();

"""

Can anyone tell me what I'm doing wrong?"

entry-tags

Previous post Next post
Up