Changeset 5683
- Timestamp:
- 02/24/10 19:08:50 (3 years ago)
- Location:
- luci2/cbi2
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
luci2/cbi2/cbi.c
r5682 r5683 544 544 } 545 545 546 staticconst char* cbi_virt_path(struct cbi_ctx *ctx, const char *path, const char *file)546 const char* cbi_virt_path(struct cbi_ctx *ctx, const char *path, const char *file) 547 547 { 548 548 static char buf[256]; -
luci2/cbi2/cbi.h
r5682 r5683 108 108 int cbi_dump_blob(char *file); 109 109 void cbi_request(struct cbi_ctx *ctx, char *request); 110 const char* cbi_virt_path(struct cbi_ctx *ctx, const char *path, const char *file); 110 111 111 112 void cbi_widget_register(char *name, struct cbi_widget *w); -
luci2/cbi2/lang.c
r5682 r5683 8 8 if(ctx->lmo) 9 9 lmo_close(ctx->lmo); 10 ctx->lmo = (lmo_archive_t *)lmo_open(file); 10 printf("loading %s\n", cbi_virt_path(ctx, ctx->path, file)); 11 ctx->lmo = (lmo_archive_t *)lmo_open(cbi_virt_path(ctx, ctx->path, file)); 11 12 if(!ctx->lmo) 12 13 { -
luci2/cbi2/Makefile
r5682 r5683 30 30 31 31 run: $(BINARY) 32 mkdir -p ./root 32 mkdir -p ./root/lib/luci2/ ./root/etc/config/ 33 33 cp *.luci ./root/lib/luci2/ 34 ./lmo_po2lmo en.po en.lmo 35 ./luci -s -V ./root/ 34 cp luci.uci ./root/etc/config/luci 35 ./lmo_po2lmo en.po ./root/lib/luci2/en.lmo 36 ./luci -s -V ./root 36 37 37 38 %.o: $(wildcard *.h)
