Skip to content

Commit

Permalink
updates to admin.js and settings.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed Apr 26, 2011
1 parent 6bfeac5 commit f264594
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions vhost/cgi-bin/config/settings.ini
Expand Up @@ -56,5 +56,6 @@ testing=0
rsstitle=CPAN Testers Blog
rssdesc=Latest news and views about CPAN Testers
rsslink=http://blog.cpantesters.org
rssweb=http://blog.cpantesters.org
rssname=Barbie
rssmail=barbie@missbarbell.co.uk
7 changes: 7 additions & 0 deletions vhost/html/js/admin.js
Expand Up @@ -57,3 +57,10 @@ function ImageGallery(callback) {
window.open(cgipath+"pages.cgi?act=imgs-gallery&imagetype=0,1,2,4,9", "popup", "width=340,height=390,scrollbars=no,menubar=no,resizable=no,status=no,toolbar=no,location=no");
}

function AddTag(tag) {
var meta = document.getElementById('metadata');
var val = meta.value;
if(val) { val = val + ' ' }
val = val + tag
meta.value = val;
}

0 comments on commit f264594

Please sign in to comment.