From: bruno Date: Wed, 9 Oct 2002 16:09:05 +0000 (+0000) Subject: contains only admin templates which should not be changed by users X-Git-Tag: BEFORE_MERGE_1_1~517 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=96bf21dac3192e475bd470dcb8e9581393161895 contains only admin templates which should not be changed by users --- diff --git a/build.xml b/build.xml index 0dcf3ec1..63855090 100755 --- a/build.xml +++ b/build.xml @@ -114,33 +114,36 @@ + + + + - - + + + + + + + + + + - - - - - - - - @@ -153,7 +156,7 @@ - + @@ -208,24 +211,12 @@ debug="on" optimize="off" deprecation="on"> - - - - - - - - - - - + diff --git a/doc/TODO.txt b/doc/TODO.txt index 6b9f24dd..5b6ab511 100755 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -1,4 +1,4 @@ -[Updated $Date: 2002/09/03 14:21:04 $] +[Updated $Date: 2002/10/09 16:09:05 $] v 1.1 @@ -58,6 +58,8 @@ n) Media infrastructure stuff: - use FM's TemplateMethodModel to access the MediaHandler method in templates instead of the crude way it's done now. +*) move log to WEB-INF!!! (security problem) +*) --- wishlist --- @@ -71,4 +73,4 @@ n) Media infrastructure stuff: possibility to block submissions in case of spam attacks apache: 1-2 postings / IP / minute close artice for comments - image with password \ No newline at end of file + image with password diff --git a/etc/web.xml b/etc/web.xml index 001d9a03..5415ac6e 100755 --- a/etc/web.xml +++ b/etc/web.xml @@ -15,7 +15,7 @@ Config - config + etc/config.properties diff --git a/perms.sh-dist b/perms.sh-dist index e3737267..5ecc1410 100755 --- a/perms.sh-dist +++ b/perms.sh-dist @@ -41,9 +41,8 @@ function grant() umask $UMASK } -chgrp $GROUP $INSTDIR -R > /dev/null 2>&1 +chgrp $GROUP $INSTDIR -R #> /dev/null 2>&1 grant 775 664 $INSTDIR > /dev/null 2>&1 -grant 750 640 $INSTDIR/WEB-INF/classes/config.properties -grant 740 640 $INSTDIR/src/config.properties +grant 750 640 $INSTDIR/WEB-INF/etc/config.properties -echo "Permissions set." \ No newline at end of file +echo "Permissions set." diff --git a/source/Mir.java b/source/Mir.java index dd73556e..ea6ddaa0 100755 --- a/source/Mir.java +++ b/source/Mir.java @@ -61,13 +61,18 @@ import java.util.HashMap; import java.util.Locale; import java.util.*; +import mir.log.Log; + /** * Mir.java - main servlet, that dispatches to servletmodules * - * @author $Author: mh $ - * @version $Revision: 1.19 $ $Date: 2002/09/01 22:05:47 $ + * @author $Author: bruno $ + * @version $Revision: 1.20 $ $Date: 2002/10/09 16:09:05 $ * * $Log: Mir.java,v $ + * Revision 1.20 2002/10/09 16:09:05 bruno + * contains only admin templates which should not be changed by users + * * Revision 1.19 2002/09/01 22:05:47 mh * Mir goes GPL * @@ -96,6 +101,8 @@ public class Mir extends AbstractServlet { public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException, UnavailableException { + + long startTime = System.currentTimeMillis(); long sessionConnectTime = 0; EntityUsers userEntity; @@ -108,6 +115,9 @@ public class Mir extends AbstractServlet { } MirConfig.setServletName(getServletName()); + //*** test + // Log.info(this, "blalalala"); + session = req.getSession(true); userEntity = (EntityUsers) session.getAttribute("login.uid"); @@ -339,7 +349,7 @@ public class Mir extends AbstractServlet { } private void _sendStartPage(HttpServletResponse res, HttpServletRequest req, PrintWriter out, EntityUsers userEntity) { - String startTemplate = "admin/start_admin.template"; + String startTemplate = "templates/admin/start_admin.template"; String sessionUrl = res.encodeURL(""); try { // merge with logged in user and messages diff --git a/source/mir/misc/Configuration.java b/source/mir/misc/Configuration.java index dc9f566a..016a0dca 100755 --- a/source/mir/misc/Configuration.java +++ b/source/mir/misc/Configuration.java @@ -47,15 +47,26 @@ public class Configuration { private String confFilename; private static String defaultconfFilename; - static ResourceBundle conf; + private static Properties conf; protected static void initConfResource(String confName) { - conf = ResourceBundle.getBundle(confName); + + conf = new Properties(); + try { + conf.load( new BufferedInputStream(new FileInputStream(confName))); + } + catch ( java.io.FileNotFoundException fnfe ) { + System.err.println("could not read config file. not found: "+confName); + } + catch ( java.io.IOException ioex ) { + System.err.println("could not read config file: "+confName); + } + confs.put("confname",confName); } protected static Enumeration getResourceKeys() { - return conf.getKeys(); + return conf.propertyNames(); } @@ -73,7 +84,7 @@ public class Configuration { * @return Wert der Property */ protected static String getProperty(String propName) { // default - return conf.getString(propName); + return conf.getProperty(propName); } /** @@ -81,7 +92,7 @@ public class Configuration { * @return true if open posting should be direct */ protected static boolean directOp() { - String op = conf.getString("DirectOpenposting"); + String op = conf.getProperty("DirectOpenposting"); if(op.equals("yes") || op.equals("Yes") || op.equals("y") || op.equals("Y")){ return true; } diff --git a/source/mir/misc/MirConfig.java b/source/mir/misc/MirConfig.java index 042ff63b..b84c21b7 100755 --- a/source/mir/misc/MirConfig.java +++ b/source/mir/misc/MirConfig.java @@ -76,10 +76,12 @@ public class MirConfig extends Configuration { */ public static synchronized void initConfig(ServletContext ctx, String uri, String name, String confName) { - initConfResource(confName); + + initConfResource(ctx.getRealPath("/WEB-INF/")+"/"+confName); + configHash = new HashMap(); - configHash.put("Home", ctx.getRealPath("/")); + configHash.put("Home", ctx.getRealPath("/WEB-INF/")+"/"); configHash.put("ServletContext", ctx); configHash.put("RootUri", uri); @@ -109,8 +111,6 @@ public class MirConfig extends Configuration { if (result==null) throw new ConfigException("config property '"+propName+"' not available!"); - - return result; } diff --git a/source/mir/storage/store/ObjectStore.java b/source/mir/storage/store/ObjectStore.java index ab83ab1e..1d93f22a 100755 --- a/source/mir/storage/store/ObjectStore.java +++ b/source/mir/storage/store/ObjectStore.java @@ -62,9 +62,12 @@ package mir.storage.store; */ import java.util.*; +import java.io.BufferedInputStream; +import java.io.FileInputStream; import javax.servlet.http.*; import javax.servlet.*; import mir.misc.Logfile; +import mir.misc.MirConfig; public class ObjectStore { @@ -72,12 +75,21 @@ public class ObjectStore { private final static HashMap containerMap=new HashMap(); // StoreContainerType/StoreContainer private static Logfile storeLog; private static long storeHit=0,storeMiss=0; - private ResourceBundle ostoreConf; + private Properties ostoreConf; private ObjectStore() { - ostoreConf = ResourceBundle.getBundle("objectstore"); - if ( ostoreConf == null ) - System.err.println("FATAL: could not find objectstore.properties"); + String confName=MirConfig.getProp("Home")+"etc/objectstore.properties"; + Properties conf = new Properties(); + try { + conf.load( new BufferedInputStream(new FileInputStream(confName))); + } + catch ( java.io.FileNotFoundException fnfe ) { + System.err.println("could not read config file. not found: "+confName); + } + catch ( java.io.IOException ioex ) { + System.err.println("could not read config file: "+confName); + } + ostoreConf = conf; } public static ObjectStore getInstance() { return INSTANCE; } @@ -190,7 +202,7 @@ public class ObjectStore { if (name!=null ) { String returnValue=""; try { - return ostoreConf.getString(name); + return ostoreConf.getProperty(name); } catch (MissingResourceException e) { System.err.println("ObjectStore: " + e.toString()); diff --git a/templates/admin/audio.template b/templates/admin/audio.template new file mode 100755 index 00000000..7a8ab723 --- /dev/null +++ b/templates/admin/audio.template @@ -0,0 +1,114 @@ + + + ${config["Mir.Name"]} | ${lang("audio.htmltitle")} + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + ${lang("media.created")}: ${data.webdb_create} + / ${lang("media.changed")} ${data.webdb_lastchange}
+ ${lang("media.published")}: ${data.publish_date} / ${data.publish_server}${data.publish_path}
+ ${lang("media.format")}: ${data.mimetype} / ${data.descr}
+ ${lang("media.rights")}: ${data.rightsHashdata[to_rights]["name"]}
+
+ ${lang("media.mediafolder")}: + +
+ ${lang("media.title")}:
+ ${lang("media.description")}:
+ ${lang("media.date")}: +
+ ${lang("media.location")}:
+ ${lang("media.creator")}: + +
+ ${lang("media.keywords")}:
+ ${lang("media.comment")}:
+ ${lang("media.source")}:
+ ${lang("media.is_published")} checked> + + + + + +
+ + + diff --git a/templates/admin/audiolist.template b/templates/admin/audiolist.template new file mode 100755 index 00000000..48269ed4 --- /dev/null +++ b/templates/admin/audiolist.template @@ -0,0 +1,106 @@ + + + ${config["Mir.Name"]} | ${lang("audiolist.htmltitle")} + + + + + + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
${lang("medialist.search_text_in")}:${lang("media.published")}:${lang("media.mediafolder")}: 
+ + + + + + + + +
+
+
+ ${lang("media.icon")} + ${lang("media.title")} + ${lang("media.mediafolder")} + ${lang("media.creator")}
+ ${entry.title}  +
${entry.description}
${data.mediafolderHashdata[entry.to_media_folder]["name"]} ${entry.creator}   + ${lang("attach")} + + ${lang("delete")} + | ${lang("edit")} + +
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ + zurueck  + + +weiter + +
${lang("no_matches_found")}
+ + + diff --git a/templates/admin/breaking.template b/templates/admin/breaking.template new file mode 100755 index 00000000..d0ed0204 --- /dev/null +++ b/templates/admin/breaking.template @@ -0,0 +1,42 @@ + + + ${config["Mir.Name"]} | ${lang("breaking.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + +
+ ${lang("breaking.date")}: + ${data.webdb_create_formatted} +
+ ${lang("breaking.text")}: ${lang("breaking.textinfo")} + +
+ + + + +
+ + + diff --git a/templates/admin/breakinglist.template b/templates/admin/breakinglist.template new file mode 100755 index 00000000..d9b5bfb1 --- /dev/null +++ b/templates/admin/breakinglist.template @@ -0,0 +1,49 @@ + + + ${config["Mir.Name"]} | ${lang("breakinglist.htmltitle")} + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + +
${lang("breaking.date")}${lang("breaking.text")} 
${entry.webdb_create_formatted} ${entry.text}  ${lang("delete")} + | ${lang("edit")}
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ +

+ + ${lang("list.previous")}  + + +${lang("list.next")} + + + +

${lang("no_matches_found")}

+
+ + + + + diff --git a/templates/admin/comment.template b/templates/admin/comment.template new file mode 100755 index 00000000..4a3d5538 --- /dev/null +++ b/templates/admin/comment.template @@ -0,0 +1,85 @@ + + + ${config["Mir.Name"]} | ${lang("comment.htmltitle")} + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ${lang("comment.date")}:${utility.encodeHTML(utility.encodeHTML(data.date))}
+ ${lang("comment.title")}:
+ ${lang("comment.creator")}:
+ ${lang("comment.url")}:
+ ${lang("comment.email")}:
+ ${lang("comment.phone")}:
+ ${lang("comment.address")}:
+ ${lang("comment.text")}:
+ ${lang("comment.published")} checked> + + + + + +
+ + + + diff --git a/templates/admin/commentlist.template b/templates/admin/commentlist.template new file mode 100755 index 00000000..c4fbfbaf --- /dev/null +++ b/templates/admin/commentlist.template @@ -0,0 +1,102 @@ + + + ${config["Mir.Name"]} | ${lang("commentlist.htmltitle")} + + + + + + + + + + + + + + + + + + + + + + + class="list1"class="list2"> + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+

${lang("comment.date")}

${lang("comment.title")}/ ${lang("comment.creator")}
+ ${lang("comment.text")}

${lang("comment.article")}

${entry.webdb_create_short}
+ hidden- +
+ ${entry.title}
+ Von: ${entry.creator}
+ ${entry.description} +
URL: ${entry.main_url}
+
${lang("edit")} +
+ ${data.articleHash[entry.to_media]["title"]}
+ + edit | + + view +
 ${lang("delete")} +
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ + +zurueck  + + +weiter + +
${lang("no_matches_found")}
+ + + + + + + diff --git a/templates/admin/confirm.template b/templates/admin/confirm.template new file mode 100755 index 00000000..a2296303 --- /dev/null +++ b/templates/admin/confirm.template @@ -0,0 +1,35 @@ + + + ${config["Mir.Name"]} | ${lang("confirm.htmltitle")} + + + + + + + + + + + + + +
+

${lang("confirm.really_delete")}

+
+
+
+ + + + + + + + +
+
+
+ + + diff --git a/templates/admin/content.template b/templates/admin/content.template new file mode 100755 index 00000000..74b064cd --- /dev/null +++ b/templates/admin/content.template @@ -0,0 +1,346 @@ + + + ${lang("content.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ${lang("content.owner")}: + + + + ${utility.encodeHTML(data.login_user.login)} + +  
+ + ${lang("content.import_date")}: + + + + ${utility.encodeHTML(data.date)} + +  
+ + ${lang("content.lastchange_date")}: + + + ${utility.encodeHTML(data.webdb_lastchange)}
+
 
+ + ${lang("content.create_date")}: + + + ${utility.encodeHTML(data.webdb_create)}

${lang("edit")} (yyyy-mm-dd [HH:mm]): +
+
 
+ + ${lang("content.topic")}  + +  / ${lang("content.feature")}:  + + + + + + + + + + + + +
+ + + + +
+ + +
+
+ + ${lang("content.title")}: 

${lang("content.subtitle")}: 
+ + +
+
+
+
+ + +
+ + ${lang("content.location")}: + + + + + + +
+ + ${lang("content.creator")}: + + + + +
+
+ + ${lang("content.creator.email")}/${lang("content.creator.url")}: + + + + + + +
+ + ${lang("content.creator.address")}/${lang("content.creator.telephone")}: + + + + + + +
+ + ${lang("content.abstract")}: + + + + + +
+ + ${lang("content.content")}: + + + ${lang("content.html")} + checked>  + + + + + + +
+ + ${lang("content.comment")}:
+ ${lang("content.internal")} + +
+ +
    + frei : + checked> + + + + + +
${lang("content.attachments")}
+ + ${lang("content.images")}: + + + edit + ${lang("delete")} +
+ + ${lang("content.media")}: + + ${lang("content.addimage")} +
+ + ${lang("content.audio")}: + + + edit + ${lang("delete")} +
+ + ${lang("content.media")}: + + + ${lang("content.addaudio")} +
+ + ${lang("content.video")}: + + + edit + ${lang("delete")} +
+ + ${lang("content.media")}: + + + ${lang("content.addvideo")} +
+ + ${lang("content.other")}: + + + edit + ${lang("delete")} +
+ + ${lang("content.media")}: + + + ${lang("content.addother")} +
+
+ + + diff --git a/templates/admin/content.template.trez.backed-up-by-mh.20020805 b/templates/admin/content.template.trez.backed-up-by-mh.20020805 new file mode 100755 index 00000000..e6e718dc --- /dev/null +++ b/templates/admin/content.template.trez.backed-up-by-mh.20020805 @@ -0,0 +1,328 @@ + + + ${lang("content.htmltitle")} + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ${lang("content.owner")}: + + ${data.login_user.login} +  
+ + ${lang("content.import_date")}: + + ${data.date} +  
+ + ${lang("content.lastchange_date")}: + + ${data.webdb_lastchange} +
+
 
+ + ${lang("content.create_date")}: + + +
+
 
+ ${lang("content.topic")}  + +  / ${lang("content.feature")}:  + + + + + + + + + + + +
+ + + + +
+ + +
+
+ ${lang("content.title")}: 

${lang("content.subtitle")}: 
+ + +
+
+
+ + +
+ ${lang("content.location")}: + + + + + + +
+ ${lang("content.creator")}: + + + + +
+
+ ${lang("content.creator.email")}/${lang("content.creator.url")}: + + + + + + +
+ ${lang("content.creator.address")}/${lang("content.creator.telephone")}: + + + + + + +
+ ${lang("content.abstract")}: + + + + +
+ ${lang("content.content")}: + + + ${lang("content.html")} checked>  + + + +
+ ${lang("content.comment")}:
+ ${lang("content.internal")} +
+ +
    + free: : + checked> + + + + + +
${lang("content.attachments")}
+ ${lang("content.images")}:
+ edit + ${lang("delete")} +
+ ${lang("content.media")}:
+ ${lang("content.addimage")} +
+ ${lang("content.audio")}:
+ edit + ${lang("delete")} +
+ ${lang("content.media")}:
+ ${lang("content.addaudio")} +
+ ${lang("content.video")}:
+ edit + ${lang("delete")} +
+ ${lang("content.media")}:
+ ${lang("content.addvideo")} +
+ ${lang("content.other")}:
+ edit + ${lang("delete")} +
+ ${lang("content.media")}:
+ ${lang("content.addother")} +
+
+ + + diff --git a/templates/admin/contentlist.template b/templates/admin/contentlist.template new file mode 100755 index 00000000..1b2e13e4 --- /dev/null +++ b/templates/admin/contentlist.template @@ -0,0 +1,78 @@ + + + ${config["Mir.Name"]} | ${lang("contentlist.htmltitle")} + + + + + + + + + + + + + + + + + + class="list1"class="list2"> + + + + + + + + + +
+ ${lang("content.creationdate")}
+ ${lang("content.modificationdate")}
+ ${lang("content.status")}
+ ${lang("content.type")} / ${lang("content.location")}: ${lang("content.title")}
+ ${lang("content.creator")}
${lang("content.topic")}
${lang("content.feature")}
+ ${lang("content.comment")} 
+ ${entry.webdb_create_formatted}
+ ${entry.webdb_lastchange_formatted}-
+ F- + H- +
+ ${articletypeHash[entry.to_article_type]["name"]} -- ${entry.place}: ${entry.title}
+ ${entry.creator}  + ${lang("edit")} +  | newswire
+ ${themenHashData[entry.thema_id]["name"]} 
+ ${schwerpunktHashData[entry.to_feature]["title"]} 
class="list3"class="list4" valign="top"> + ${entry.comment}  + ${lang("delete")} +
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)}
+ +

+ +

+ + + + + + + + + + + + +
+
+ + +

${lang("no_matches_found")}

+ + + + + diff --git a/templates/admin/feature.template b/templates/admin/feature.template new file mode 100755 index 00000000..92f993e1 --- /dev/null +++ b/templates/admin/feature.template @@ -0,0 +1,65 @@ + + + ${config["Mir.Name"]} | ${lang("feature.htmltitle")} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${lang("feature.title")}: + + +
${lang("feature.filename")}: + +
${lang("feature.abstract")}: + +
${lang("feature.link")}: + +
+ + + +
+ + + diff --git a/templates/admin/featurelist.template b/templates/admin/featurelist.template new file mode 100755 index 00000000..2ee4c107 --- /dev/null +++ b/templates/admin/featurelist.template @@ -0,0 +1,70 @@ + + + ${config["Mir.Name"]} | ${lang("featurelist.htmltitle")} + + + + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + + + + +
${lang("feature.published")}${lang("feature.title")}${lang("feature.filename")}${lang("feature.link")}${lang("feature.abstract")}
X ${entry.title} ${entry.filename} ${entry.main_url} ${entry.description}  ${lang("delete")} + | ${lang("edit")}
+
${data.count} ${lang("records")} / + ${lang("show_from_to", data.from, data.to)}
+
 ${lang("back")}
+ +

+ +

+ + + + + + + + + + +
+
+ + + + +

${lang("no_matches_found")}

+ + + + + + + + diff --git a/templates/admin/fileedit.template b/templates/admin/fileedit.template new file mode 100755 index 00000000..1a7c975c --- /dev/null +++ b/templates/admin/fileedit.template @@ -0,0 +1,51 @@ + + + ${config["Mir.Name"]} | ${lang("fileedit")} + + + + + + + +
+${lang("fileedit")} : ${data.filename} + +
+ +
+ + + + + + + + +
+ + + +   + + + +
+
+
+ +${lang("preview")} + +
+ +${data.text} + +
+
+ + + + + + + diff --git a/templates/admin/fileeditlist.template b/templates/admin/fileeditlist.template new file mode 100755 index 00000000..2867b107 --- /dev/null +++ b/templates/admin/fileeditlist.template @@ -0,0 +1,42 @@ + + + ${config["Mir.Name"]} | ${lang("fileedit")} + + + + + + + + + + + + + + + + + + + + class="list1"class="list2" + > + + + + + +
${lang("language.file")} 
${entry} ${lang("edit")}
+ +

+ + +

${lang("no_matches_found")}

+
+ + + + + diff --git a/templates/admin/foot.template b/templates/admin/foot.template new file mode 100755 index 00000000..bb724ba5 --- /dev/null +++ b/templates/admin/foot.template @@ -0,0 +1,11 @@ + + + + + + + + +

+ ${lang("foot.top")} + ${config["Mir.Shortname"]} - ${config["Mir.Version"]}
diff --git a/templates/admin/head.template b/templates/admin/head.template new file mode 100755 index 00000000..7c25dede --- /dev/null +++ b/templates/admin/head.template @@ -0,0 +1,13 @@ + + + + + + +
+   + + ${config["Mir.Name"]}
+ ${lang("head.start")} | + ${lang("head.logout")} | + ${lang("head.help")} | ${lang("head.search")}

diff --git a/templates/admin/head_nonavi.template b/templates/admin/head_nonavi.template new file mode 100755 index 00000000..95660c1d --- /dev/null +++ b/templates/admin/head_nonavi.template @@ -0,0 +1,14 @@ +
+ + + + + + +
+   + + ${config["Mir.Name"]}
+ ${login_user.login} ${lang("head.logged_in")} / + ${lang("head.logout")} +

diff --git a/templates/admin/hiddenlist.template b/templates/admin/hiddenlist.template new file mode 100755 index 00000000..0e7e9ccb --- /dev/null +++ b/templates/admin/hiddenlist.template @@ -0,0 +1,108 @@ + + + ${config["Mir.Name"]} | ${lang("start.content.hidden")} + + + + + + + + + + + +
+ + +
+ + + + + + ${lang("month")} + + ${lang("year")} + + +   + + +
+ + +
+ + +

+ +
+ + + + + + +
+

${lang("start.content.hidden")} | ${lang("month")}: ${data.month} , ${lang("year")}:${data.year}

+
+ + +

+${lang("content.title")}: ${i.title}
+${lang("content.creator")}: ${i.creator}
+${lang("message.date")}: ${i.webdb_create_formatted}
+
+additional media, type: audio
+additional media, type: video
+additional media, type: other
+additional media, type: image
+

+ +

+${lang("content.abstract")}:
+${i.description_parsed}

+ +

+${lang("content.content")}:
+${i.content_data_parsed} +

+

 

+
+

 

+ +
+ + + + + ${lang("no_matches_found")} +
+ + + + + + + + diff --git a/templates/admin/image.template b/templates/admin/image.template new file mode 100755 index 00000000..aedb80d6 --- /dev/null +++ b/templates/admin/image.template @@ -0,0 +1,154 @@ + + + ${config["Mir.Name"]} | ${lang("image.htmltitle")} + + + + + + + + + + +
+ + + + + +
+ + ${lang("media.nr_of_media")}
+
+
+   +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + ${lang("media.created")}: ${data.webdb_create} / ${lang("media.changed")} ${data.webdb_lastchange}
+ ${lang("media.published")}: ${data.publish_date} / ${data.publish_server}${data.publish_path}
+ ${lang("media.format")}: ${data.img_width}x${data.img_height} / ${data.imgformatHashdata[to_img_format]["name"]} / ${data.imglayoutHashdata[to_img_layout]["name"]} / ${data.imgcolorHashdata[to_img_color]["name"]}
+ ${lang("media.rights")}: ${data.rightsHashdata[to_rights]["name"]}
+ ${lang("media.type")}: ${data.imgtypeHashdata[to_img_type]["name"]}
+
+
+ + ${lang("media.title")}: + + +
+
+
+ ${lang("media.title")}: + + +
+ ${lang("media.mediafolder")}: + +
+ ${lang("media.description")}:
+ ${lang("media.date")}: +
+ ${lang("media.location")}:
+ ${lang("media.creator")}: + +
+ ${lang("media.keywords")}:
+ ${lang("media.comment")}:
+ ${lang("media.source")}:
+ ${lang("media.is_published")} checked> + + + + + +
+ + + diff --git a/templates/admin/imagelist.template b/templates/admin/imagelist.template new file mode 100755 index 00000000..970ce947 --- /dev/null +++ b/templates/admin/imagelist.template @@ -0,0 +1,109 @@ + + + ${config["Mir.Name"]} | ${lang("imagelist.htmltitle")} + + + + + + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
${lang("medialist.search_text_in")}:${lang("media.published")}:${lang("media.mediafolder")}: 
+ + + + + + + + +
+
+
+ ${lang("media.icon")} + ${lang("media.title")} + ${lang("media.mediafolder")} + ${lang("media.creator")}
+ + + ${entry.title}  +
${entry.description}
${data.mediafolderHashdata[entry.to_media_folder]["name"]} ${entry.creator}   + ${lang("attach")} + + ${lang("delete")} + | ${lang("edit")} + +
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ + zurueck  + + +weiter + +
${lang("no_matches_found")}
+ + + diff --git a/templates/admin/language.template b/templates/admin/language.template new file mode 100755 index 00000000..5b034a55 --- /dev/null +++ b/templates/admin/language.template @@ -0,0 +1,44 @@ + + + ${config["Mir.Name"]} | ${lang("language.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ ${lang("language.name")}: + +
+ ${lang("language.code")}: + +
+ + + + +
+ + + diff --git a/templates/admin/languagelist.template b/templates/admin/languagelist.template new file mode 100755 index 00000000..5ea92b38 --- /dev/null +++ b/templates/admin/languagelist.template @@ -0,0 +1,49 @@ + + + ${config["Mir.Name"]} | ${lang("languagelist.htmltitle")} + + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + +
${lang("language.name")}${lang("language.code")} 
${entry.name} ${entry.code}  ${lang("delete")} + | ${lang("edit")}
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ +

+ + ${lang("list.previous")}  + + +${lang("list.next")} + + + +

${lang("no_matches_found")}

+ + + + + + diff --git a/templates/admin/linksimcs.template b/templates/admin/linksimcs.template new file mode 100755 index 00000000..adbc65b3 --- /dev/null +++ b/templates/admin/linksimcs.template @@ -0,0 +1,74 @@ + + + ${config["Mir.Name"]} | ${lang("linkimcs.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
${lang("linkimcs.url")}: + +
${lang("linkimcs.sort_by")}: + +
${lang("linkimcs.language")}: + +
+ + + + + +
+ + + diff --git a/templates/admin/linksimcslist.template b/templates/admin/linksimcslist.template new file mode 100755 index 00000000..9f442527 --- /dev/null +++ b/templates/admin/linksimcslist.template @@ -0,0 +1,108 @@ + + + ${config["Mir.Name"]} | ${lang("linkimcslist.htmltitle")} + + + + + + + +
+ + + + + + + + + + + + + + + + + +
${lang("linkimcslist.search_in")}:${lang("linkimcs.parent")}:${lang("linkimcs.language")}: 
+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + + + +
+ ${lang("linkimcs.name")} + ${lang("linkimcs.parent")} + ${lang("linkimcs.url")} + ${lang("linkimcs.sort_by")} + ${lang("linkimcs.language")} +  
${entry.title} ${parent}${entry.url}${entry.sortpriority}${data.language} ${lang("delete")} + | ${lang("edit")} +
+ ${data.count} ${lang("records")} / ${lang("show_from_to", data.from, data.to)} 
+

+ + ${lang("list.previous")}  + + +${lang("list.next")} + + + +

${lang("no_matches_found")}

+
+ + + \ No newline at end of file diff --git a/templates/admin/login.template b/templates/admin/login.template new file mode 100755 index 00000000..39e7d1ca --- /dev/null +++ b/templates/admin/login.template @@ -0,0 +1,80 @@ + + + + ${config["Mir.Name"]} | ${lang("login.htmltitle")} + + + + + + + +
+

+ ${lang("login.info")} + ${config["Mir.Contact-email.name"]}. +

+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + ${lang("login.title")} +
+ ${lang("login.name")} + + +
+ ${lang("login.password")} + + +
+ ${lang("login.language")} + + + +
  + +
+
+ + + + diff --git a/templates/admin/media.template b/templates/admin/media.template new file mode 100755 index 00000000..b3640569 --- /dev/null +++ b/templates/admin/media.template @@ -0,0 +1,114 @@ + + + ${config["Mir.Name"]} | ${lang("other_media.htmltitle")} + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + ${lang("media.created")}: ${data.webdb_create} + / ${lang("media.changed")} ${data.webdb_lastchange}
+ ${lang("media.published")}: ${data.publish_date} / ${data.publish_server}${data.publish_path}
+ ${lang("media.format")}: ${data.mimetype} / ${data.descr}
+ ${lang("media.rights")}: ${data.rightsHashdata[to_rights]["name"]}
+
+ ${lang("media.mediafolder")}: + +
+ ${lang("media.title")}:
+ ${lang("media.description")}:
+ ${lang("media.date")}: +
+ ${lang("media.location")}:
+ ${lang("media.creator")}: + +
+ ${lang("media.keywords")}:
+ ${lang("media.comment")}:
+ ${lang("media.source")}:
+ ${lang("media.is_published")} checked> + + + + + +
+ + + diff --git a/templates/admin/mediafolder.template b/templates/admin/mediafolder.template new file mode 100755 index 00000000..b19878e1 --- /dev/null +++ b/templates/admin/mediafolder.template @@ -0,0 +1,52 @@ + + + ${config["Mir.Name"]} | ${lang("mediafolder.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
${lang("mediafolder.date")}:
${lang("mediafolder.name")}:
${lang("mediafolder.location")}:
${lang("mediafolder.comment")}:
${lang("mediafolder.keywords")}:
+ + + +
+ + + diff --git a/templates/admin/mediafolderlist.template b/templates/admin/mediafolderlist.template new file mode 100755 index 00000000..e13c0e44 --- /dev/null +++ b/templates/admin/mediafolderlist.template @@ -0,0 +1,51 @@ + + + ${config["Mir.Name"]} | ${lang("mediafolderlist.htmltitle")} + + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + + + +
${lang("mediafolder.date")}${lang("mediafolder.name")}${lang("mediafolder.location")}${lang("mediafolder.comment")}${lang("mediafolder.keywords")}
${entry.date} ${entry.name} ${entry.place} ${entry.comment} ${entry.keywords} ${lang("delete")} + | ${lang("edit")} + | ${lang("list")}
${data.count} ${lang("records")} / + ${lang("show_from_to", data.from, data.to)} 
+

+ + ${lang("list.previous")}  + + + ${lang("list.next")} + + +

${lang("no_matches_found")}

+
+ + + + + diff --git a/templates/admin/medialist.template b/templates/admin/medialist.template new file mode 100755 index 00000000..2e3f7c85 --- /dev/null +++ b/templates/admin/medialist.template @@ -0,0 +1,106 @@ + + + ${config["Mir.Name"]} | ${lang("other_media.htmltitle")} + + + + + + + + + + + + + + + + + + + + + bgcolor="#dddddd" + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
${lang("medialist.search_text_in")}:${lang("media.published")}:${lang("media.mediafolder")}: 
+ + + + + + + + +
+
+
+ ${lang("media.icon")} + ${lang("media.title")} + ${lang("media.mediafolder")} + ${lang("media.creator")}
+ ${entry.title}  +
${entry.description}
${data.mediafolderHashdata[entry.to_media_folder]["name"]} ${entry.creator}   + ${lang("attach")} + + ${lang("delete")} + | ${lang("edit")} + +
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ + zurueck  + + +weiter + +
${lang("no_matches_found")}
+ + + diff --git a/templates/admin/message.template b/templates/admin/message.template new file mode 100755 index 00000000..de72ef91 --- /dev/null +++ b/templates/admin/message.template @@ -0,0 +1,58 @@ + + + ${config["Mir.Name"]} | ${lang("message.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ${lang("message.date")}: + ${data.date} +
+ ${lang("message.title")}: + +
+ ${lang("message.creator")}: + +
+ ${lang("message.text")}: ${lang("message.textinfo")} + +
+ + + + +
+ + + diff --git a/templates/admin/messagelist.template b/templates/admin/messagelist.template new file mode 100755 index 00000000..01dcdc73 --- /dev/null +++ b/templates/admin/messagelist.template @@ -0,0 +1,52 @@ + + + ${config["Mir.Name"]} | ${lang("messagelist.htmltitle")} + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + +
+ ${lang("message.date")} + ${lang("message.title")}
${lang("message.creator")}
+ ${lang("message.text")}
${entry.webdb_create} ${entry.title}
+ ${entry.creator}
${entry.description}  ${lang("delete")} + | ${lang("edit")}
${data.count} ${lang("records")} / + ${lang("show_from_to", data.from, data.to)} 
+ +

+ + ${lang("list.previous")}  + + +${lang("list.next")} + + + +

${lang("no_matches_found")}

+
+ + + \ No newline at end of file diff --git a/templates/admin/start_admin.template b/templates/admin/start_admin.template new file mode 100755 index 00000000..267b29b1 --- /dev/null +++ b/templates/admin/start_admin.template @@ -0,0 +1,261 @@ + + + ${config["Mir.Name"]} | ${lang("start.htmltitle")} + + + + + + + + + + + + + + + + + + + +
+ + + + ${lang("start.openpostings.title")} + +

+ +  ${lang("edit")} + +

+ + ${lang("start.comments.title")} +

+ +  ${lang("edit")} +

+ + ${lang("start.breaking.title")} +

+   + ${lang("edit")} +   + ${lang("start.breaking.new")} + + + +
 
+ + + ${lang("start.content.title")} + +

+   + ${lang("start.content.new")} +

+ ${lang("start.show")}:
+ + + ${a.name}
+
+ +
+   + ${lang("start.content.not_published")}
+   + ${lang("start.content.with_media")}
+   + ${lang("start.content.last_changes")}
+   + ${lang("start.content.with_comments")}
+
+   + ${lang("start.content.hidden")}

+ + here to edit all the include files: +
+   + ${lang("edit")} ${lang("file")} + +

+ +

+ + + + ${lang("start.content.search")}: + + +
+ + + +
 
+ + + Localizer producers + + +
+ + + + + + + + + + + + +
producerverbs
${p.key} + + + + + + +
+ + ${v} + +
+
+
+ +
  + + + + + ${lang("start.topics.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} + +

+ + ${lang("start.images.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} + +

+ + + ${lang("start.audio.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} + +

+ + + ${lang("start.video.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} + +

+ + + ${lang("start.other_media.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} + +

+ + + ${lang("start.mediafolder.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} + +

+ + + ${lang("start.imcs.title")} + +

+ +   ${lang("edit")}
+ +   ${lang("add")} +

  + + + + + + ${lang("start.messageboard.title")} +
${lang("add")}
+ + +

+ ${m.title}
+ ${m.description}
+ + von: ${m.creator} / ${m.webdb_create}
+
+ + +

${lang("start.messageboard.no_messages")} + +

+ + + + + diff --git a/templates/admin/topic.template b/templates/admin/topic.template new file mode 100755 index 00000000..d64e2363 --- /dev/null +++ b/templates/admin/topic.template @@ -0,0 +1,58 @@ + + + ${config["Mir.Name"]} | ${lang("topic.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ${lang("topic.title")}: + +
${lang("topic.description")}: + +
${lang("topic.filename")}: + +
${lang("topic.main_url")} + + +
${lang("topic.archive_url")}: + +
+ + + + +
+ + + diff --git a/templates/admin/topiclist.template b/templates/admin/topiclist.template new file mode 100755 index 00000000..a7f5560e --- /dev/null +++ b/templates/admin/topiclist.template @@ -0,0 +1,63 @@ + + + ${config["Mir.Name"]} | ${lang("topiclist.htmltitle")} + + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + + +
+ ${lang("topic.title")} + ${lang("topic.description")} + ${lang("topic.main_url")}
${lang("topic.archive_url")}
 
${entry.title} ${entry.description}  + ${entry.main_url}
+ ${entry.archiv_url}
 ${lang("delete")} + | ${lang("edit")}
+ ${data.count} ${lang("records")} / ${lang("show_from_to", data.from, data.to)} 
+

+ +

+ + + + + + + + + + + + +
+
+ + +

${lang("no_matches_found")}

+ + + + + + diff --git a/templates/admin/user.template b/templates/admin/user.template new file mode 100755 index 00000000..cf562191 --- /dev/null +++ b/templates/admin/user.template @@ -0,0 +1,47 @@ + + + ${config["Mir.Name"]} | ${lang("user.htmltitle")} + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ ${lang("user.login")}: + +
+ ${lang("user.password")}: + +
+ ${lang("user.admin")}:(?) + checked> +
+ + + + +
+ + + diff --git a/templates/admin/userlist.template b/templates/admin/userlist.template new file mode 100755 index 00000000..140bebe4 --- /dev/null +++ b/templates/admin/userlist.template @@ -0,0 +1,48 @@ + + + ${config["Mir.Name"]} | ${lang("userlist.htmltitle")} + + + + + + + + + + + + + + + class="list1"class="list2" > + + + + + + + + + +
${lang("user.login")}${lang("user.admin")}
${entry.login} ${entry.is_admin}  ${lang("delete")} + | ${lang("edit")}
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ +

+ + ${lang("list.previous")}  + + +${lang("list.next")} + + + +

${lang("no_matches_found")}

+
+ + + + + diff --git a/templates/admin/video.template b/templates/admin/video.template new file mode 100755 index 00000000..45ba9bdb --- /dev/null +++ b/templates/admin/video.template @@ -0,0 +1,114 @@ + + + ${config["Mir.Name"]} | {lang("video.htmltitle")} + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + ${lang("media.created")}: ${data.webdb_create} + / ${lang("media.changed")} ${data.webdb_lastchange}
+ ${lang("media.published")}: ${data.publish_date} / ${data.publish_server}${data.publish_path}
+ ${lang("media.format")}: ${data.mimetype} / ${data.descr}
+ ${lang("media.rights")}: ${data.rightsHashdata[to_rights]["name"]}
+
+ ${lang("media.mediafolder")}: + +
+ ${lang("media.title")}:
+ ${lang("media.description")}:
+ ${lang("media.date")}: +
+ ${lang("media.location")}:
+ ${lang("media.creator")}: + +
+ ${lang("media.keywords")}:
+ ${lang("media.comment")}:
+ ${lang("media.source")}:
+ ${lang("media.is_published")} checked> + + + + + +
+ + + diff --git a/templates/admin/videolist.template b/templates/admin/videolist.template new file mode 100755 index 00000000..009e98a6 --- /dev/null +++ b/templates/admin/videolist.template @@ -0,0 +1,106 @@ + + + ${config["Mir.Name"]} | ${lang("video.htmltitle")} + + + + + + + + + + + + + + + + + + + + + class="list1"class="list1" > + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + +
${lang("medialist.search_text_in")}:${lang("media.published")}:${lang("media.mediafolder")}: 
+ + + + + + + + +
+
+
+ ${lang("media.icon")} + ${lang("media.title")} + ${lang("media.mediafolder")} + ${lang("media.creator")}
+ ${entry.title}  +
${entry.description}
${data.mediafolderHashdata[entry.to_media_folder]["name"]} ${entry.creator}   + ${lang("attach")} + + ${lang("delete")} + | ${lang("edit")} + +
${data.count} ${lang("records")} + / ${lang("show_from_to", data.from, data.to)} 
+ + zurueck  + + +weiter + +
${lang("no_matches_found")}
+ + + diff --git a/templates/error.template b/templates/error.template new file mode 100755 index 00000000..2a0395d0 --- /dev/null +++ b/templates/error.template @@ -0,0 +1,37 @@ + + + ${config["Mir.Name"]} | ${lang("error.htmltitle")} + + + + + + + + + + + + + + + + + +
+

${lang("error.title")}

+
+
+

${lang("error.text", config["Mir.Tech-email.address"], config["Mir.Tech-email.name"])} +

+

+

${data.date} -- ${data.errorstring} +

+

+

+ ${lang("error.text2", config["Mir.Tech-email.address"], config["Mir.Tech-email.name"])} +

+

+ + + diff --git a/templates/usererror.template b/templates/usererror.template new file mode 100755 index 00000000..fc61c25c --- /dev/null +++ b/templates/usererror.template @@ -0,0 +1,37 @@ + + +${lang("usererror.htmltitle")} + + + + + + + + + + + + + + + + +
+

${lang("usererror.title")}

+
+
+

${lang("usererror.text")} +

+

+

${data.errorstring} +

+

+

+

${lang("usererror.what_to_do")} + +

+

+ + +