Roxen.git / server / config_interface / actions / listfonts.pike

version» Context lines:

Roxen.git/server/config_interface/actions/listfonts.pike:1:   /* -  * $Id: listfonts.pike,v 1.20 2001/11/14 13:38:06 grubba Exp $ +  * $Id: listfonts.pike,v 1.21 2002/04/18 16:02:20 anders Exp $    */      #include <roxen.h>   //<locale-token project="admin_tasks"> LOCALE </locale-token>   #define LOCALE(X,Y) _STR_LOCALE("admin_tasks",X,Y)      constant action = "status";      string name= LOCALE(10, "List fonts");   string doc = LOCALE(11, "List all available fonts");
Roxen.git/server/config_interface/actions/listfonts.pike:71:    "<font size='+1'><b>" +    LOCALE(58,"Available font loaders") + "</b></font><p>"+    font_loaders()+"<font size='+1'><b>" +    LOCALE("dI","All available fonts") + "</b></font><p>");    foreach(sort(roxen.fonts.available_fonts(1)), string font)    res+=list_font(font);    res += ("</p><p>" + LOCALE(236,"Example text") +    "<font size=-1><input name=text size=46 value='" +    LOCALE(237,"Jackdaws love my big sphinx of quartz.") +    "'></p><p><table width='70%'><tr><td align='left'>" -  "<cf-cancel href='?class=maintenance'/></td><td align='right'>" +  "<cf-cancel href='?class=status'/></td><td align='right'>"    "<cf-next/></td></tr></table></p>");    return res;   }      string page_1(RequestID id)   {    string res="";    mapping v = id->real_variables;    string txt = v->text && v->text[0];    foreach(roxen.fonts.available_fonts(), string fn)